Capital Gains Tax on Your Home Sale: The Complete 2026 Guide for Single Sellers, Married Couples, Divorcees, Widows, and Multiple-Home Owners
Do you have to pay capital gains tax when you sell your house in New Jersey? Most homeowners don't — the federal home sale exclusion lets a single filer exclude up to $250,000 of gain and a married couple filing jointly exclude up to $500,000 — but whether you actually qualify for the full exclusion, a partial one, or none at all depends heavily on your marital status, whether you're recently divorced or widowed, and whether the home you're selling is the only one you own.
We field some version of this question in nearly every listing consultation we do, and it's rarely as simple as "am I single or married." A divorce that finalized mid-ownership, a spouse who passed away last year, a shore house you've owned alongside your primary residence for a decade, a home you inherited and later moved into — each of these situations changes the math in a specific, calculable way, and getting it wrong can mean either overpaying the IRS or getting blindsided by a tax bill you didn't budget for at the closing table. This guide walks through exactly how home sale capital gains work in 2026, with the specific rules for each of these situations, using real 2026 tax brackets and thresholds rather than rounded rules of thumb.
Before we go further: we are real estate agents, not accountants or tax attorneys, and nothing in this guide is tax advice for your specific situation. What we can offer — and what this guide is built to do — is give you an accurate, current framework for the conversation you should be having with your accountant before you list, so that conversation is efficient and so you already understand the shape of what they're going to tell you.
The Basics: How Capital Gains Tax Actually Works on a Home Sale
Before getting into the special situations that make up most of this guide, it's worth being precise about what "capital gain" even means in the context of a home sale, because a surprising number of sellers overestimate their exposure simply by miscalculating this first number.
Calculating Your Actual Gain
Your capital gain isn't your sale price. It's your sale price, minus your selling costs, minus your adjusted basis. Your adjusted basis starts with what you originally paid for the home, and then it's increased by the cost of capital improvements you made over your years of ownership — a new roof, a kitchen renovation, a finished basement, an addition, new windows, a new HVAC system, a paved driveway, and similar permanent improvements. Routine repairs and maintenance — repainting a room, fixing a leaky faucet, replacing a broken window pane — do not increase your basis, only genuine improvements do, and we'll cover exactly why this distinction is worth taking seriously later in this guide.
Selling costs — your real estate commission, attorney fees, title costs, and other closing costs directly tied to the sale — reduce your amount realized, effectively lowering your taxable gain further. Put together: Gain = (Sale Price − Selling Costs) − (Original Purchase Price + Capital Improvements). For a homeowner who bought a Westfield colonial for $650,000 in 2010, put roughly $150,000 into a kitchen renovation, a finished basement, and a new roof over the years, and sells today for $1,550,000 with $95,000 in commission and closing costs, the real taxable gain isn't $900,000 — it's closer to $655,000 ($1,550,000 − $95,000 − $650,000 − $150,000). That's still a substantial gain, and depending on filing status, it may or may not clear the exclusion thresholds we're about to cover — but it's a meaningfully different number than the sale price alone would suggest, which is exactly why accurate recordkeeping over years of ownership matters as much as it does.
What Actually Counts as a Capital Improvement
Because this single line item does so much work in reducing your taxable gain, it's worth being specific about what genuinely qualifies, since the IRS draws a real, meaningful line between an improvement and a repair, and that line trips up more sellers than almost any other part of this calculation.
Improvements that generally qualify and increase your basis include: room additions and dormers, a finished or refinished basement or attic, a new roof or roof replacement, new siding, replacement windows and doors, a new heating or central air system, a new well or septic system, a new or resurfaced driveway or walkway, a new deck, patio, or fence, a kitchen or bathroom remodel, new flooring throughout a home (as opposed to spot repairs), upgraded electrical service or rewiring, new plumbing systems or repiping, a swimming pool installation, landscaping that constitutes a permanent structural change (retaining walls, a permanent irrigation system), and energy-efficiency upgrades like solar panel installation or spray-foam insulation.
Costs that generally do not qualify as capital improvements — because they're maintenance rather than improvement — include: routine repainting, patching a section of drywall, fixing a leaking faucet or running toilet, replacing a single broken window pane, routine gutter cleaning, lawn care and routine landscaping maintenance, replacing a few damaged roof shingles rather than the whole roof, and general appliance repair. The distinction the IRS is drawing is between spending that restores the home to its prior condition (a repair) versus spending that adds value, extends useful life, or adapts the home to new uses (an improvement) — and it's worth applying that same test to any specific project you're trying to categorize as you reconstruct your records.
Long-Term vs. Short-Term Gains
Almost every home sale we're involved in qualifies as a long-term capital gain, meaning the property was owned for more than one year before the sale. Long-term gains get preferential tax rates. If you're selling a home you've owned for less than a year — an unusual situation for most homeowners, but a real one for some investors, flippers, or sellers facing an unexpected relocation — your gain is taxed as ordinary income at your regular marginal tax rate instead, which can be considerably more expensive.
The 2026 Federal Long-Term Capital Gains Brackets
For gain that isn't covered by the home sale exclusion (which we'll cover next), the federal government taxes long-term capital gains at one of three rates, based on your total taxable income for the year, including the gain itself:
For single filers in 2026: a 0% rate applies up to $49,450 of taxable income, a 15% rate applies from $49,451 to $545,500, and a 20% rate applies above $545,501.
For married couples filing jointly in 2026: the 0% rate applies up to $98,900, the 15% rate applies from $98,901 to $613,700, and the 20% rate applies above $613,701.
Because a large home sale gain gets added directly on top of your other income for the year, a home sale is frequently the single event that pushes a retired or moderate-income household from the 0% or 15% bracket into the 20% bracket, if the gain is large enough and isn't fully covered by the exclusion — which is exactly why understanding the exclusion rules that follow matters so much.
The Net Investment Income Tax (NIIT): The 3.8% Most Sellers Forget About
On top of the capital gains rates above, a 3.8% Net Investment Income Tax applies to net investment income — which includes any taxable home sale gain above the exclusion — once your modified adjusted gross income exceeds $200,000 for single filers, $250,000 for married couples filing jointly, or $125,000 for married filing separately. These thresholds are not indexed for inflation and have stayed fixed since the tax was introduced in 2013, which means more sellers cross them every year simply because incomes and home values have both risen substantially since then. For a seller with a large taxable gain and income otherwise near these thresholds, the NIIT is genuinely easy to overlook and can add a meaningful amount to the final tax bill beyond the headline federal capital gains rate.
New Jersey's Own Tax Treatment
New Jersey does not have a separate, preferential capital gains tax rate the way the federal government does. Instead, New Jersey taxes capital gains as ordinary income, under the state's regular graduated Gross Income Tax brackets, which top out at 10.75% for income above $1 million. New Jersey generally follows the same federal Section 121 home sale exclusion framework covered throughout this guide, meaning gain excluded at the federal level is typically also excluded from New Jersey Gross Income Tax — but any gain that exceeds the federal exclusion is taxed by New Jersey as ordinary income, on top of whatever federal capital gains rate and NIIT apply. We've written separately and in detail about how New Jersey's non-resident withholding requirement (sometimes called the "exit tax," though that's a misnomer) interacts with this gain calculation at closing — that withholding is a prepayment against exactly the state tax liability described here, reconciled when you file your return.
The Section 121 Exclusion: Why Most Home Sellers Pay Nothing At All
Here's the good news underneath everything above: the federal tax code, under Section 121, allows most homeowners to exclude a substantial amount of home sale gain from taxation entirely, which is why the majority of home sellers — even in a high-appreciation market like ours — end up owing little or no federal or state tax on the sale of their primary residence.
The Ownership Test and the Use Test
To qualify for any exclusion, you need to satisfy two separate tests, both measured against the five-year period ending on the date of sale:
The ownership test: you must have owned the home for at least two of the last five years (an aggregate of 24 months — it doesn't need to be continuous).
The use test: you must have used the home as your primary residence for at least two of the last five years, again as an aggregate rather than a single continuous stretch.
For a single filer, meeting both tests unlocks an exclusion of up to $250,000 of gain. For a married couple filing jointly, meeting both tests — with the specific married-couple rules covered in the next section — unlocks an exclusion of up to $500,000.
The Once-Every-Two-Years Rule
There's one more requirement that trips up sellers who own more than one qualifying home over time: you generally can't use the Section 121 exclusion again if you've already used it for a different home sale within the two years immediately before the current sale. This rule exists specifically to prevent someone from rapidly buying, briefly occupying, and reselling multiple properties while claiming a fresh exclusion on each one — a detail we'll return to in the multiple-homes section of this guide.
Partial Exclusions for Unforeseen Circumstances
The IRS does allow a reduced, prorated exclusion for sellers who don't fully meet the two-year ownership and use tests, in specific circumstances the IRS treats as legitimate reasons for an early sale — a change in employment location, certain health-related moves, or other IRS-recognized unforeseeable circumstances. The math on a partial exclusion is genuinely case-specific, calculated based on the fraction of the two-year period you actually satisfied, and it's exactly the kind of calculation worth bringing to your accountant directly if your situation might qualify, rather than assuming either that you're fully covered or fully excluded from any benefit.
Single Sellers: Understanding the $250,000 Line
For an unmarried seller — whether you've never married, are currently divorced, or are widowed outside the special two-year window covered later in this guide — $250,000 is the number that matters most, and it's worth being direct about how quickly today's home values in our market can approach or exceed it.
Using the calculation method covered earlier in this guide — sale price minus selling costs minus original purchase price minus capital improvements — a single seller in a town like Westfield, where the current median sale price runs well into the mid-seven-figures, or Montclair, where average home values and tax bills both run high, can realistically be sitting on a gain well above $250,000 if they've owned the home for a decade or more through this market's appreciation. That doesn't necessarily mean a large tax bill — the improvements you've made and your original purchase price both work in your favor in the calculation — but it does mean the exclusion isn't the automatic, don't-think-about-it protection it may have been when home values in our towns were lower.
A single seller who exceeds the $250,000 exclusion pays capital gains tax — at the 0%, 15%, or 20% federal rate depending on total income, plus NIIT if applicable, plus New Jersey's ordinary income rate — on the excess amount only, not the entire gain. If your total gain is $310,000, you're not taxed on all $310,000; you're taxed on the $60,000 above the $250,000 exclusion.
Married Filing Jointly: The $500,000 Line, and Why Both Spouses' Use Actually Matters
For a married couple, $500,000 is double the single exclusion — but getting the full $500,000 requires meeting a slightly more specific set of conditions than simply "we're married and we're selling our house," and this is one of the most commonly misunderstood parts of Section 121.
The Rule, Precisely
To claim the full $500,000 exclusion on a joint return, the IRS requires: either spouse meets the ownership test (owned the home at least two of the last five years), and each spouse individually meets the use test (each personally used the home as a primary residence for at least two of the last five years). Only one spouse needs to clear the ownership bar — but both spouses need to clear the use bar independently.
Where This Actually Trips Couples Up
This distinction matters in a handful of real, common situations. If one spouse owned the home before the marriage and it wasn't retitled into both names, the couple can still potentially claim the full $500,000, because only one spouse needs to satisfy the ownership test. But if one spouse has spent significant time living elsewhere during the relevant five-year window — a long military deployment, an extended work assignment in another city or country, a lengthy stay in an assisted living or medical facility unrelated to the couple's shared home — and hasn't personally used the home as a primary residence for the required two years, the couple may only qualify for the $250,000 exclusion tied to the spouse who does meet the use test, not the full $500,000, even though they file jointly and are legally married at the time of sale. This is a genuinely underappreciated wrinkle, and it's worth flagging directly to your accountant if either spouse has had an extended period of separate living arrangements at any point during the five years before your sale, for any reason.
If You Married Partway Through Ownership
If you owned your home individually before marrying, then married, and are now selling as a married couple, the ownership test only requires one spouse to have owned it for the required period — meaning the original owner's ownership history carries the couple's eligibility, as long as both spouses have since lived in the home together long enough to individually satisfy their own use tests.
Divorce and Capital Gains: What Actually Happens to Your Exclusion
This is one of the areas where the rules genuinely differ from what most people assume, and it's an area we walk clients through carefully, because the timing of a sale relative to a divorce can materially change the tax outcome.
Transfers Between Spouses Incident to Divorce Are Not Taxable Events
If, as part of a divorce settlement, one spouse transfers their ownership interest in the home to the other spouse, that transfer itself is not a taxable event under federal tax law (IRC Section 1041). No capital gain is recognized on the transfer, and the receiving spouse takes over the transferring spouse's original cost basis in that share of the property — sometimes called a "carryover basis" — rather than the property's current market value. This matters enormously later, because it means the spouse who keeps the home after divorce inherits the full built-in gain that had accumulated over the entire marriage, not just their own original half.
Selling While Still Legally Married
If a divorcing couple sells the home before the divorce is finalized — meaning they're still legally married and filing (or eligible to file) a joint return for that tax year — they can potentially still claim the full $500,000 exclusion, provided both spouses independently meet the use test covered above. For couples anticipating a divorce and weighing whether to sell the house before or after the divorce is finalized, this is one of the most financially significant timing decisions in the entire process, and it's worth raising with both your divorce attorney and your accountant before any settlement agreement is finalized, not after.
Selling After the Divorce Is Finalized
Once a divorce is finalized, each former spouse is a separate, unmarried filer for tax purposes, and each is limited to the $250,000 individual exclusion — even if the sale happens the following week. If both ex-spouses retained joint ownership of the home after the divorce and it's later sold together, each ex-spouse can potentially claim up to $250,000 on their own share of the gain, provided each independently meets the ownership and use tests.
The Special Rule for a Spouse Who Moved Out
Here's the detail that surprises the most people: if one spouse moved out of the home as part of the separation or divorce — a common, practical arrangement — but the other spouse continued living in the home under the terms of a divorce or separation instrument, the spouse who moved out can generally still count the other spouse's continued use of the home toward their own use test. In practice, this means a spouse who moved out three years ago, and hasn't personally lived in the home since, can still potentially qualify for their own $250,000 exclusion on their share of the home's eventual sale, as long as their ex-spouse has continued using it as a primary residence and the arrangement is properly documented in a divorce or separation agreement — not simply an informal understanding between the two of you. This is exactly the kind of provision worth making sure your divorce attorney explicitly addresses in your settlement paperwork, rather than leaving as an assumption, since the documentation requirement is what makes this rule actually available to you years later.
Property Division Itself Isn't Taxed — Don't Confuse It With Alimony
One source of genuine confusion during divorce is conflating three separate things that get taxed in three completely different ways: the division of the home itself (covered above — generally not a taxable event under Section 1041, with carryover basis), alimony (under current federal law, alimony payments are neither deductible by the paying spouse nor taxable income to the receiving spouse for divorce agreements executed after 2018, a significant change from the rules that applied to older divorces), and the eventual capital gain when the home is actually sold (taxed under the Section 121 framework covered throughout this guide, to whichever spouse owns it and however the proceeds are ultimately split). It's common for divorcing spouses to assume that because "the house was part of the settlement," any later sale is somehow already accounted for tax-wise — it isn't. The settlement determines who owns what; the tax code separately determines what's owed when that asset is eventually sold, based on the rules in this guide, regardless of how the divorce agreement characterized the transfer at the time.
A Practical Example
Consider a Cranford couple who bought their home together in 2008 for $420,000. They separate in 2022; one spouse moves out while the other continues living in the home with the children, under a written separation agreement. The divorce finalizes in 2023, at which point the departing spouse's ownership interest is formally addressed in the settlement — perhaps a buyout, perhaps continued joint ownership pending an eventual sale. If the home is eventually sold jointly in 2026 for $780,000, and both ex-spouses' use and ownership tests are satisfied (the remaining spouse through direct occupancy, the departing spouse through the divorce-instrument provision above), each ex-spouse can potentially exclude up to $250,000 of their respective share of the gain — meaning, depending on how the gain and proceeds are split between them, the couple's combined exclusion could still reach the same $500,000 a still-married couple would have received, just claimed as two separate $250,000 exclusions on two separate returns instead of one joint $500,000 exclusion.
Widows and Widowers: The Two-Year Window and the Power of Stepped-Up Basis
Losing a spouse is difficult enough without also navigating a complicated tax situation on top of it, and this is an area where the tax code, to its credit, provides real, meaningful relief — but only if you understand the timing.
The Surviving Spouse's $500,000 Exclusion
A surviving spouse can claim the full $500,000 exclusion — the same as a married couple filing jointly — on a home sale that occurs within two years of the spouse's death, provided the couple would have qualified for the $500,000 exclusion had they sold the home jointly immediately before the death (meaning the ownership and use tests were satisfied at that point), and provided the surviving spouse has not remarried before the sale. Once two years have passed since the date of death, or if the surviving spouse remarries before selling, the exclusion reverts to the standard $250,000 available to any single filer.
This two-year window is worth taking seriously as an actual planning deadline, not just a technicality. A widow or widower sitting on a highly appreciated home who is even loosely considering a sale — downsizing, relocating to be near family, moving into a smaller home or a retirement community — has real financial reason to understand exactly when that two-year clock started and to factor it into the timing of a listing decision, rather than letting the date pass unnoticed during an understandably difficult period.
Stepped-Up Basis: The Other Half of the Equation
Separately from the exclusion itself, a surviving spouse also benefits from stepped-up basis treatment on the deceased spouse's share of the property, which frequently does even more to reduce the taxable gain than the exclusion alone.
New Jersey is a common-law property state, not a community-property state, which affects exactly how much of a jointly owned home receives this step-up. In a common-law state, when one spouse dies, only the deceased spouse's ownership share (typically half, for a jointly titled home) receives a step-up in basis to the property's fair market value on the date of death. The surviving spouse's own half retains its original cost basis, unchanged.
Here's how that plays out in real numbers: imagine a couple bought their home decades ago for $200,000, held it jointly, and it's worth $900,000 at the time one spouse passes away. The surviving spouse's new combined basis becomes $550,000 — their own original $100,000 half of the purchase price, plus the deceased spouse's half stepped up to $450,000 (half of the $900,000 date-of-death value) — rather than the original $200,000 basis they'd have carried forward as a couple. If that surviving spouse then sells the home within the two-year window for $950,000, the gain is roughly $400,000 ($950,000 minus the $550,000 stepped-up basis, before selling costs), comfortably inside the $500,000 surviving-spouse exclusion — meaning, in this specific example, no federal capital gains tax owed at all, even on a home that had appreciated by $750,000 over the course of the marriage.
Compare that to a widow or widower who sells the same home three years after their spouse's death, past the two-year window: they'd be limited to the $250,000 single-filer exclusion instead of $500,000, though they'd still retain the full stepped-up basis benefit on the deceased spouse's half, since basis step-up isn't tied to the same two-year clock as the exclusion — only the larger $500,000 exclusion amount is.
A Brief Note on Community Property States
For context, if you or family members hold property in a community-property state — Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, or Wisconsin — the step-up treatment is considerably more generous: the entire property typically receives a step-up to fair market value at the first spouse's death, not just half, which can eliminate the built-in gain entirely regardless of how long the couple originally held the property. This isn't the rule in New Jersey, but it's worth knowing if you're helping settle an estate that includes property in one of those states, or if you're a widow or widower who previously lived in one before relocating to New Jersey.
Owning More Than One Home: Second Homes, Vacation Homes, and Investment Properties
This is where the exclusion rules diverge most sharply from what many sellers assume, particularly for the meaningful number of our clients who own a Jersey Shore property, a vacation home, or an inherited or investment property in addition to their primary residence.
Only Your Primary Residence Qualifies
The Section 121 exclusion applies exclusively to a property that qualifies as your primary residence under the ownership and use tests covered earlier in this guide. A second home, vacation home, or investment property that you don't primarily live in — even one you visit frequently and love dearly — does not qualify for any portion of the $250,000 or $500,000 exclusion, no matter how long you've owned it. The full gain on the sale of a genuine second home is subject to capital gains tax (at the appropriate long-term rate), potential NIIT, and New Jersey ordinary income tax, exactly the way any other investment asset would be.
What Actually Makes a Home Your "Primary Residence"
The IRS looks at the facts and circumstances of where you actually live most of the time, not simply which property you'd prefer to call your primary residence. Relevant factors include your address on your driver's license and voter registration, where your mail is sent, where your family and children attend school if applicable, and the actual number of days spent at each property. If you own both a primary home in one of our towns and a shore property, and you're audited or questioned on this point, the burden is on you to substantiate which property was genuinely your primary residence during the relevant period — which is exactly why keeping some documentation of your actual living pattern, particularly in the years leading up to a sale, is worth doing even if it feels unnecessary at the time.
The Nonqualified Use Rule: Why You Can't Just "Move In For Two Years" Anymore
Before 2009, some owners of second homes and rental properties used a straightforward strategy: convert the property to a primary residence for the final two years before selling, satisfy the ownership and use tests, and exclude the entire gain — including gain that had built up during years when the property was actually a rental or vacation home. The Housing Assistance Tax Act of 2008 closed this strategy with the nonqualified use rule.
Under this rule, for any period of "nonqualified use" occurring after 2008 — meaning any time the property was used as a second home, vacation home, or rental rather than your primary residence — the exclusion no longer applies to the gain allocable to that period. The exclusion gets prorated based on the ratio of qualifying use (time it was genuinely your primary residence) to your total period of ownership. In practice, this means an owner who bought a shore property in 2015, used it purely as a vacation rental for eight years, and then moved in full-time for the final two years before a 2026 sale would only be able to exclude roughly 20% of their total gain (two years of qualifying primary-residence use out of ten years of total ownership) — a meaningfully smaller benefit than the strategy would have provided before 2009, and a calculation genuinely worth running with your accountant well before you convert a rental or vacation property into a primary residence with tax savings in mind.
Depreciation Recapture: The Portion You Can Never Exclude
If you ever rented out the property — even for a portion of your ownership period, even if it later became your primary residence — and claimed depreciation deductions on your tax returns during that rental period, that depreciation must be recaptured when you sell, taxed separately at a maximum rate of 25% under the "unrecaptured Section 1250 gain" rules. This portion of your gain is never eligible for the Section 121 exclusion, regardless of how long the property has since served as your primary residence or how well you otherwise satisfy the ownership and use tests. For any owner who rented out a property at any point — a common pattern for owners who bought a starter condo, rented it out after moving to a larger home, and are now considering selling it — this recapture amount is worth calculating precisely with your accountant rather than estimated, since it applies on top of, not instead of, any other capital gains exposure.
1031 Exchanges: Deferral, Not Exclusion, for True Investment Properties
For a property held purely as a rental or investment — never your primary residence at all — the Section 121 exclusion isn't available, but a different tool, the 1031 like-kind exchange, allows you to defer (not eliminate) capital gains tax by rolling the proceeds into another qualifying investment property, following specific IRS timing and identification rules. If you later convert a 1031-acquired property into your primary residence, the IRS requires you to hold that property for at least five years after the exchange before any Section 121 exclusion becomes available on its eventual sale, and even then, the nonqualified use and depreciation recapture rules above still apply to the portion of ownership that wasn't primary-residence use. This is a genuinely specialized area of tax planning, and any owner considering a 1031 exchange, or converting a 1031-acquired property into a home, should be working closely with both a qualified intermediary and a tax professional well before initiating the exchange — the rules are unforgiving of timing mistakes.
You Can't Claim Two Exclusions in the Same Two-Year Period
As covered earlier in this guide, the once-every-two-years rule applies here too: if you own more than one qualifying primary residence over time — for example, you sell your primary home, buy a new one, and it later also becomes your primary residence — you generally can't claim the Section 121 exclusion on a second sale if you already used it on a different home sale within the prior two years, even if both properties independently satisfy their own ownership and use tests.
A Practical Scenario: The Primary Home Plus the Shore House
Consider a Scotch Plains couple who owns both their primary residence and a Long Beach Island shore house they've held for fifteen years, using it as a personal vacation home (never rented, no depreciation claimed) for the entire period. If they sell their Scotch Plains primary residence, the full $500,000 married exclusion applies normally, exactly as covered earlier in this guide, since it has always been their primary residence. If they separately sell the shore house — which has never been their primary residence — the full gain is taxable, with no Section 121 exclusion available at all, regardless of how long they've owned it or how much sentimental and actual value it holds for the family. The two properties are evaluated completely independently under this framework; owning and successfully excluding gain on one has no bearing on the tax treatment of the other.
Multiple Owners, Unequal Shares: How the Exclusion Works When More Than Two People Own the Home
Beyond married couples and divorced ex-spouses, we regularly work with sellers who co-own a home in less traditional arrangements — unmarried domestic partners who bought together, adult siblings who inherited a family home jointly, or a parent and adult child who hold title together. The Section 121 exclusion doesn't care about the nature of the relationship between co-owners; it applies per owner, based on each individual owner's own ownership percentage, and their own individual ownership and use test qualification.
In practice, this means each co-owner who can independently satisfy the ownership and use tests can exclude up to $250,000 of their own share of the gain — not $250,000 total split between them, but potentially $250,000 each. Three unmarried siblings who jointly inherited and later lived in a family home at different points, each independently satisfying their own two-year use requirement on their respective ownership share, could theoretically shelter up to $750,000 of combined gain across three separate returns, three separate $250,000 exclusions. Where this breaks down is the use test specifically: co-owners who hold title but never actually lived in the home as their primary residence — a common pattern for an adult child added to a parent's deed for estate planning purposes, who has their own separate primary residence elsewhere — cannot claim any exclusion on their share, since they don't satisfy the use test individually, even though they satisfy the ownership test. Their share of the gain is fully taxable, while a co-owner who did live there as a primary residence excludes their own share normally. This is exactly the kind of situation worth mapping out ownership percentages and use history for, person by person, before a multi-owner sale, since the exclusion doesn't apply uniformly across everyone on the deed.
Investment and Rental Properties You've Never Lived In
Distinct from the "second home you occasionally use" scenario covered above, a genuine rental or investment property — one you've never used as a personal residence at all — follows a more straightforward, and generally less favorable, tax framework, worth addressing directly for the landlords and investors among our clients.
Because you've never satisfied the use test at all, the Section 121 exclusion is entirely unavailable, regardless of how long you've owned the property. The full gain is taxable, calculated the same way covered earlier in this guide (sale price minus selling costs minus adjusted basis), except that your adjusted basis on a rental property is also reduced, year over year, by the depreciation you've claimed (or were entitled to claim, whether or not you actually claimed it) on your tax returns while it was a rental — meaning your basis is typically lower, and your taxable gain correspondingly higher, than the simple purchase-price-plus-improvements calculation that applies to a primary residence. As covered earlier, the depreciation portion of your gain is recaptured separately at a maximum 25% rate, on top of the standard capital gains treatment on the remaining gain. For an investor holding several rental properties in or near our market, a 1031 exchange remains the primary tool for deferring this liability when it's time to sell, provided you're working within a reasonable timeline to identify and close on a qualifying replacement property with a qualified intermediary managing the exchange.
Reporting the Sale: What the IRS Actually Sees
A practical, procedural note worth including here: at closing, your title company or attorney typically issues a Form 1099-S reporting the gross proceeds of your sale to both you and the IRS — this happens for the large majority of home sales, regardless of whether you ultimately owe any tax. If your entire gain is covered by the Section 121 exclusion and you meet certain requirements around the closing agent's certification, a 1099-S may not always be issued, but sellers should assume it will be and plan their tax return accordingly rather than assuming a fully-excluded sale is invisible to the IRS.
Any taxable gain — meaning gain above your available exclusion — is reported on Schedule D and Form 8949 of your federal tax return, and on the corresponding New Jersey schedule for state purposes. Even if your gain is fully excluded and you owe nothing, you may still be required to report the sale on your return if you received a 1099-S or if only part of the gain qualifies for exclusion. This is a detail worth confirming with your accountant for your specific situation rather than assuming that "no tax owed" automatically means "nothing to report."
What Happens If You Inherit a Home You Later Sell
A related but distinct situation worth addressing directly: inheriting a home — from a parent, a relative, or anyone other than a spouse — carries its own basis rules, separate from the spousal stepped-up basis covered in the widow and widower section above.
When you inherit real estate, you generally receive a full step-up in basis to the property's fair market value as of the date of death (or, in some estates, an alternate valuation date the estate elects), regardless of what the original owner paid for it decades earlier. If you later move into that inherited home and it becomes your primary residence, you're still subject to the same ownership and use tests as any other seller for Section 121 purposes — inheriting a home doesn't automatically grant you an exclusion, it only resets your basis. If instead you keep the inherited home as a rental or a second home rather than moving in, the same rules covered in the section above — no Section 121 exclusion, potential 1031 deferral instead, applicable depreciation recapture if you rent it — apply exactly as they would to any other non-primary-residence property.
Don't Confuse Capital Gains Tax With New Jersey's Inheritance Tax
Because so much of this guide involves inherited property and the estates of deceased spouses or parents, it's worth being precise about one more common point of confusion: capital gains tax and New Jersey's separate inheritance tax are two entirely different taxes, assessed at different times, on different things, to different people.
New Jersey's inheritance tax, which we've covered in more detail elsewhere on this site in the context of relocation planning, is assessed on the estate, at the time of a person's death, based on the relationship between the deceased and the beneficiary — spouses, children, parents, and grandparents (Class A) owe nothing, while siblings, nieces, nephews, and non-relatives face rates ranging from 11% to 16% depending on the amount and the relationship class. This tax has nothing to do with what the home is later sold for, or whether it's appreciated since the death — it's based on the home's value (along with the rest of the estate) at the time of death, paid by or on behalf of the beneficiary as part of settling the estate.
Capital gains tax, the subject of this entire guide, is assessed later, on the beneficiary personally, only if and when they eventually sell the inherited property, based on the gain between their (typically stepped-up) basis and the eventual sale price. A Class A beneficiary — a child inheriting a parent's home, for example — may owe no New Jersey inheritance tax at all on the inheritance itself, and separately may owe little or no capital gains tax on an eventual sale either, thanks to the stepped-up basis covered earlier in this guide, even though the home has been in the family for decades and has appreciated enormously in that time. These are genuinely two separate calculations, assessed on two separate events, and conflating them is one of the more common mistakes we see families make while settling an estate that includes a home in one of our towns.
Capital Improvements: The Most Overlooked Way to Legitimately Reduce Your Gain
We touched on this at the start of this guide, but it deserves its own emphasis, because it's the single most common area where sellers leave real money on the table simply through incomplete recordkeeping.
Every dollar you can substantiate as a capital improvement — rather than routine maintenance — increases your cost basis and directly reduces your taxable gain, dollar for dollar. For homes in our towns, many of which are older housing stock that's been through multiple rounds of renovation over the decades, this can add up to a genuinely significant number: a kitchen renovation, a primary suite addition, a finished basement, a new roof, replacement windows, a new HVAC system, a paved driveway or new patio, a renovated bathroom, updated electrical or plumbing systems, a new septic system or well, and similar permanent improvements all qualify. Routine repairs — painting, minor patching, replacing a broken fixture with an equivalent one — do not.
The practical challenge is that most homeowners don't keep meticulous records of a kitchen renovation from twelve years ago, or a roof replacement from 2016. If you're planning to sell in the next few years and haven't been tracking this, it's worth taking the time now — pulling old contractor invoices, permit records from your municipal building department (which often retain historical permit files), and even old bank or credit card statements — to reconstruct as complete a picture as possible before you list, rather than trying to remember it accurately during the stress of a closing.
Worked Examples Across Different Seller Situations
Numbers are easier to evaluate concretely than abstractly, so here are several simplified, hypothetical scenarios built from the rules covered throughout this guide, using home values and figures consistent with our market.
A single seller in Cranford. Bought in 2012 for $380,000, made $60,000 in documented capital improvements, sells in 2026 for $780,000 with $55,000 in selling costs. Gain: $780,000 − $55,000 − $380,000 − $60,000 = $285,000. As a single filer, the $250,000 exclusion covers most of this, leaving $35,000 taxable — likely at the 15% federal long-term rate plus New Jersey ordinary income tax, a modest bill relative to the total proceeds.
A married couple in Westfield. Bought in 2005 for $600,000, made $180,000 in documented improvements over two decades, sells in 2026 for $1,650,000 with $110,000 in selling costs. Gain: $1,650,000 − $110,000 − $600,000 − $180,000 = $760,000. Both spouses have lived in the home the entire time, satisfying the use test individually, and the $500,000 married exclusion applies, leaving $260,000 taxable — a real tax liability, but on well under half of the total gain.
A recently divorced seller in Scotch Plains. Owned the home jointly with an ex-spouse who moved out three years ago under a documented separation agreement; the remaining spouse has lived there continuously and the divorce finalized last year. The home sells in 2026 for $720,000, with an original 2009 purchase price of $410,000, $40,000 in improvements, and $50,000 in selling costs, generating a total gain of $220,000. Because both ex-spouses' interests were formally addressed at divorce, and the departing spouse's use test is satisfied through the documented separation agreement, each ex-spouse can potentially exclude up to $250,000 of their respective share of the gain — comfortably covering the full $220,000 combined gain between the two returns, depending on how the proceeds were split in the settlement.
A widow in Montclair. Purchased jointly with her late husband in 1998 for $340,000; he passed away eight months ago. The home is worth $980,000 today, generating a stepped-up combined basis (her original half plus his date-of-death stepped-up half) of roughly $660,000. She sells for $980,000 within the two-year window, with $65,000 in selling costs, generating a gain of roughly $255,000 ($980,000 − $65,000 − $660,000) — comfortably inside her available $500,000 surviving-spouse exclusion, resulting in no federal capital gains tax owed at all.
A second-home owner in Basking Ridge. Owns a primary residence in Basking Ridge and a Jersey Shore vacation home purchased in 2016 for $410,000, held purely as a personal vacation property with no rental history or depreciation claimed. Selling the shore home in 2026 for $650,000 with $45,000 in selling costs generates a gain of roughly $195,000 ($650,000 − $45,000 − $410,000) — none of which qualifies for any Section 121 exclusion, since the shore home was never a primary residence, resulting in the full $195,000 being subject to capital gains tax, potential NIIT, and New Jersey ordinary income tax, entirely independent of whatever happens with their separate Basking Ridge primary residence.
A remarried widow in Summit. She inherited full stepped-up basis on her late husband's share of their home three years ago, then remarried last year, before ever selling the home. Because she remarried before the sale, the special surviving-spouse $500,000 exclusion is no longer available to her — even though it's now within her new marriage, she and her new spouse would need to independently satisfy the standard married-filing-jointly rules covered earlier in this guide (both meeting the use test, at least one meeting the ownership test) to claim any $500,000 exclusion together, and her new spouse's lack of any ownership or use history in this specific home means the couple would likely only qualify for her individual $250,000 exclusion on this particular property, not the full $500,000, unless her new spouse also independently satisfies the two-year use test before any sale.
An investment property owner with no personal use. Owns a two-family rental property purchased in 2014 for $340,000 that has never been the owner's primary residence, with $85,000 in cumulative depreciation claimed over the ownership period. Sold in 2026 for $620,000 with $42,000 in selling costs, the adjusted basis is reduced by the depreciation claimed, to $255,000 ($340,000 original basis minus $85,000 depreciation), producing a total gain of roughly $323,000 ($620,000 − $42,000 − $255,000). Of that, the $85,000 tied to depreciation is taxed separately as unrecaptured Section 1250 gain at up to 25%, while the remaining approximately $238,000 is taxed at standard long-term capital gains rates — with no Section 121 exclusion available on any portion of it, since the property was never a primary residence.
How This Intersects With New Jersey's Mansion Tax and Non-Resident Withholding
Capital gains tax is a separate matter from two other New Jersey seller costs we've covered in depth elsewhere on this site, but all three frequently apply to the same transaction and are worth understanding together rather than in isolation. New Jersey's mansion tax (the Graduated Percent Fee) applies to sales above $1,000,000 regardless of your gain or profit — it's calculated on the sale price itself, not your capital gain, so even a seller with little or no taxable gain under the exclusion rules above may still owe a substantial mansion tax at closing. Separately, New Jersey's non-resident withholding requirement (Form GIT/REP, sometimes called the "exit tax") applies specifically to sellers who are non-residents at the time of closing, functioning as a prepayment against the New Jersey state tax liability on your gain — the same gain calculated throughout this guide — reconciled when you file your non-resident return. A seller relocating out of state, selling above $1,000,000, with a gain exceeding their available exclusion, can realistically encounter all three of these at once, which is exactly why we recommend building a full net proceeds estimate — not just a sale price estimate — before you decide on a list price or a closing timeline.
Practical Steps to Take Before You List
Pulling everything in this guide into a concrete sequence, here's what we'd recommend to any seller in one of the situations covered above:
Reconstruct your capital improvement records as completely as you can, well before you list, using contractor invoices, permits, and financial records rather than memory.
Confirm your filing status and ownership history precisely — including any period of separate living arrangements, a divorce timeline, or a spouse's date of death — since these details directly determine which exclusion amount actually applies to you.
Get a real, current valuation of your home so you're working from an actual expected gain rather than a guess, particularly important if you're near one of the exclusion thresholds covered throughout this guide.
Sit down with your accountant before you list, not after you've accepted an offer, especially if your situation involves a recent divorce, a recent death of a spouse, a property with any rental or depreciation history, or a sale price likely to exceed $1,000,000.
Time your sale deliberately where the rules allow it — before a divorce finalizes if that preserves a larger joint exclusion, within two years of a spouse's death to preserve the surviving-spouse exclusion, or with full awareness of the nonqualified use proration if you're converting a second home into a primary residence.
Ask your accountant whether an estimated tax payment is required. If you expect a meaningful taxable gain above your exclusion, both the IRS and New Jersey generally expect payment throughout the year, not simply at filing time the following spring — underpayment can trigger its own penalties and interest on top of the tax itself, an avoidable cost for a liability you can typically calculate with reasonable accuracy well before your return is due.
Loop in your divorce attorney or estate attorney early if your situation involves either circumstance, since the tax outcomes covered in this guide are frequently shaped by decisions made in a settlement agreement or an estate's administration long before a home ever goes on the market — decisions that are far easier to get right the first time than to unwind afterward.
Frequently Asked Questions
How much capital gains tax will I actually pay when I sell my house in New Jersey? It depends on your gain above your available exclusion ($250,000 single, $500,000 married filing jointly, or $500,000 for a qualifying widow or widower within two years of a spouse's death), your total income for the year (which determines your 0%, 15%, or 20% federal rate), whether the 3.8% Net Investment Income Tax applies, and New Jersey's ordinary income tax on any gain above the exclusion, which can run up to 10.75%.
Do I have to pay capital gains tax if I sell my house after a divorce? Possibly, but the specific rules depend heavily on timing. Selling while still legally married can preserve the full $500,000 joint exclusion if both spouses meet the use test; selling after the divorce finalizes generally limits each ex-spouse to $250,000 individually, though a spouse who moved out can often still qualify using their ex-spouse's continued residency under a properly documented divorce or separation agreement.
How long do I have to sell my house after my spouse dies to get the full $500,000 exclusion? Two years from the date of death, provided you haven't remarried before the sale and the couple would have qualified for the $500,000 exclusion had they sold jointly immediately before the death. After two years, the exclusion reverts to the standard $250,000 available to any single filer.
Do I have to pay capital gains tax when I sell a second home or vacation property? Yes, in almost all cases. The Section 121 exclusion only applies to your primary residence — a genuine second home, vacation home, or investment property doesn't qualify for any portion of the $250,000 or $500,000 exclusion, regardless of how long you've owned it.
What's the "two out of five years" rule? It's the ownership and use test underlying the entire Section 121 exclusion: you must have owned the home for at least two of the five years before the sale, and used it as your primary residence for at least two of the five years before the sale, though these two years don't need to be continuous or overlap perfectly.
Can I convert my vacation home into my primary residence to get the tax exclusion? You can, but the "nonqualified use" rule enacted in 2008 prorates your exclusion based on the ratio of time the home was genuinely your primary residence versus time it served as a second home or rental — you can no longer erase years of non-primary-residence gain simply by moving in for the final two years before a sale.
Does capital improvement spending really reduce my tax bill? Yes, directly and dollar for dollar — every documented capital improvement increases your cost basis, which reduces your taxable gain by the same amount. This is exactly why keeping renovation records over your years of ownership is worth the effort well before you're preparing to list.
Is New Jersey's mansion tax the same as capital gains tax? No — they're entirely separate. The mansion tax is calculated on your sale price above $1,000,000 regardless of profit, while capital gains tax is calculated on your actual gain above your available exclusion. Many sellers above $1,000,000 owe both.
If I remarry after being widowed, do I lose my $500,000 exclusion? The special surviving-spouse provision that allows $500,000 within two years of a spouse's death requires that you have not remarried before the sale. If you remarry, you'd instead need to qualify under the standard married-filing-jointly rules with your new spouse, which typically requires your new spouse to independently satisfy their own use test on that specific property.
Is New Jersey's inheritance tax the same thing as capital gains tax on an inherited home? No. New Jersey's inheritance tax is assessed on the estate at the time of death, based on your relationship to the deceased. Capital gains tax is assessed separately, only if and when you later sell the inherited property, based on the gain between your stepped-up basis and the sale price — two different taxes on two different events.
Do all co-owners of a home get their own separate $250,000 exclusion? Only if each co-owner independently satisfies both the ownership and use tests on their share of the property. A co-owner who holds title but has never lived in the home as a primary residence doesn't qualify for any exclusion on their share, even if another co-owner on the same deed does.
Selling a Home in a Complex Financial Situation? Let's Build Your Real Numbers Together
Every situation covered in this guide — a straightforward single-filer sale, a married couple's joint exclusion, a post-divorce sale, a sale following the loss of a spouse, or a second home you've owned alongside your primary residence — ultimately comes down to your specific numbers, your specific timeline, and your specific documentation, not a general rule of thumb. Before you list, we build a real net proceeds estimate with every client, accounting for your actual basis, your actual filing situation, and how your specific sale interacts with New Jersey's mansion tax and non-resident withholding rules where applicable — and we coordinate directly with your accountant or attorney wherever your situation calls for it.
If you're weighing a sale in Westfield, Cranford, Mountainside, Scotch Plains, Summit, New Providence, Basking Ridge, Maplewood, or Montclair, and your situation involves any of the circumstances covered in this guide, Galina Kaplan and Marina Fridman-Rybner of The GAMA Team would welcome the chance to walk through your specific numbers before you set a list price.
Reach out to The GAMA Team at Corcoran Sawyer Smith, 52a Elm Street, Westfield, NJ, or call or text 908-379-0525, or connect through thegamateam.com to talk through your specific situation before you list.
Marina Fridman-Rybner & Galina Kaplan The GAMA Team | Corcoran New Jersey Real Estate | Home Sellers | Home Buyers | NYC to NJ Relocation
This article is intended for general informational purposes and reflects our understanding of federal and New Jersey tax law as of August 2026. It is not legal, tax, or financial advice, and it is not a substitute for consultation with a licensed accountant, tax attorney, or financial advisor regarding your specific ownership history, filing status, and transaction. Tax rates, exclusion amounts, and thresholds referenced throughout are subject to change by future legislation and should be confirmed for your specific tax year before making any decision based on this guide.
Sources
- 121 Home Sale Exclusion: Rules & Requirements (2026) — Lucas Real Estate
- Paying Taxes on a Home Sold After a Spouse's Death — Kiplinger
- 2025 and 2026 Capital Gains Tax Rates and Rules — NerdWallet
- Topic No. 559, Net Investment Income Tax — IRS
- Section 121 Primary Residence Exclusion — 1031 CORP
- What Is the 2% New Jersey Exit Tax? A Complete Guide for New Jersey Home Sellers (2026) — Properties by Matt
- The GAMA Team — NJ Mansion Tax 2026 Seller Guide


