Home Sale Capital Gains Exclusion 2026: The Section 121 $250k/$500k Tax Break Explained
Last updated: June 8, 2026
The 2026 Home Sale Tax Break at a Glance
When you sell your main home at a profit, federal tax law lets most owners keep that profit tax-free up to a limit. Under Internal Revenue Code §121, you can exclude up to $250,000 of gain if you are single (or married filing separately) and up to $500,000 if you are married filing jointly. The IRS states the rule plainly in Topic No. 701: you may qualify to exclude that gain from your income entirely. The catch most sellers miss is that these dollar figures have not changed since 1997 — they are not adjusted for inflation — so after nearly three decades of rising home prices, a growing share of sellers now exceed them.[1, 3, 23]
Unlike most write-offs, this is an exclusion, not a deduction: you do not have to itemize, and qualifying gain never appears in your taxable income at all. To claim the full amount you must pass an ownership test and a use test, respect a once-every-two-years frequency rule, and — if you ever rented the home or took depreciation — navigate two traps that quietly shrink the break. This guide walks through every rule with the exact figures, shows how the leftover gain is taxed at 2026 capital-gains rates, and covers the active 2026 bills that could double or eliminate the cap. Every number is drawn from IRS publications, the U.S. Code, and other authoritative sources, verified in June 2026.[4, 2]
How much capital gains can I exclude when I sell my house in 2026?
+
Up to $250,000 of gain if you file single or married filing separately, and up to $500,000 if you are married filing jointly, provided you meet the ownership and use tests for your main home. These limits are set by IRC §121 and have not been adjusted for inflation since 1997. Any gain above your limit is taxed as a long-term capital gain (assuming you owned the home more than a year).
Smart Investing Tips
Diversify across asset classes, keep costs low, and stay invested through market cycles. Time in the market typically beats timing the market — disciplined contributions compound over decades.
What the Section 121 Exclusion Actually Does
The statute begins simply: §121(a) says gross income "shall not include gain from the sale or exchange of property if, during the 5-year period ending on the date of the sale or exchange, such property has been owned and used by the taxpayer as the taxpayer's principal residence for periods aggregating 2 years or more." In plain terms, profit on your main home is invisible to the IRS up to your dollar limit. If your gain is fully within the limit and you receive no Form 1099-S at closing, you generally do not even have to report the sale.[1, 3]
The key phrase is principal residence — the home you actually live in most of the time, not a vacation cabin or a pure rental. The regulations at 26 CFR §1.121-1 look at the facts: where you spend most days, your mailing and voter-registration address, where your car is registered, and the location of your job and bank. A house, condominium, co-op apartment, mobile home, or even a houseboat can qualify, so long as it has eating, sleeping, and bathroom facilities and is genuinely your home base. If you own two homes, only the one that is your principal residence for the period qualifies.[2, 4]
The Ownership Test and the Use Test (the 2-out-of-5-Year Rule)
To claim the exclusion you must pass two separate tests during the five years ending on the sale date. The ownership test: you owned the home for at least 24 months. The use test: you lived in it as your principal residence for at least 24 months. Per IRS Topic 701, the 24 months of use do not have to be continuous — they can be any 730 days within the five-year window — and the ownership and use periods do not have to be the same two years. Short, ordinary absences (a summer vacation, for example) still count as use even though you were not physically present.[3, 4]
For married couples claiming the $500,000 limit, the rules split. Under §121(b)(2), only one spouse needs to meet the ownership test, but both spouses must individually meet the use test, and neither may have used the exclusion within the last two years. If only one spouse qualifies — say one moved in recently — the couple is generally limited to a $250,000 exclusion (the amount the qualifying spouse would get alone). Unmarried co-owners each apply §121 separately to their share, so two unmarried co-owners who each qualify can exclude up to $250,000 apiece.[1, 4]
Do the 2 years of ownership and the 2 years of use have to be the same period?
+
No. You must meet both tests within the same 5-year period ending on the sale date, but the ownership and use periods can be different. For example, if you rented the home for two years before buying it from your landlord, then owned and lived in it for the next two years, you can count the earlier years toward the use test and the later years toward the ownership test. The 24 months of use also need not be consecutive.
How to Calculate Your Gain: Amount Realized Minus Adjusted Basis
Your gain is not simply the sale price minus what you paid. It is the amount realized (the sale price minus selling expenses such as the real-estate commission and certain closing costs) minus your adjusted basis. Publication 523 provides a worksheet to walk through it. Adjusted basis starts with what you paid — the purchase price plus settlement costs like legal, recording, survey, and title-insurance fees — and then goes up for capital improvements and down for things like depreciation and casualty-loss payments.[4, 8]
The improvement-versus-repair line is where many sellers leave money on the table. Publication 551 explains that capital improvements — a new roof, an addition, central air conditioning, a kitchen remodel, new windows — add to basis and therefore shrink your taxable gain, while routine repairs and maintenance (painting, fixing a leak) do not. Decades of improvement receipts can add tens of thousands of dollars to your basis, which is exactly why keeping those records matters most for owners whose gain may exceed the exclusion. The IRS basis FAQ confirms how improvements adjust basis.[8, 7]
Do home improvements reduce capital gains tax when I sell?
+
Yes. Capital improvements add to your adjusted basis, which lowers your taxable gain dollar for dollar. A new roof, room addition, central air, kitchen or bathroom remodel, new windows, or landscaping that adds lasting value all count. Routine repairs and maintenance do not. Keep receipts for the entire time you own the home — for a long-held home, improvements can be the difference between staying under the exclusion and owing tax.
$250,000 vs. $500,000: How Your Filing Status Sets the Limit
The exclusion comes in two sizes. Single filers, heads of household, and married people filing separately each get the $250,000 limit from §121(b)(1). Married couples filing jointly get $500,000 if they meet the combined conditions described earlier. Because the figure is per taxpayer rather than indexed, a couple who bought a starter home decades ago in a hot market can easily clear $500,000 of gain and owe tax on the rest — a situation that was rare in 1997 and is increasingly common today.[1, 23]
Can a married couple always exclude $500,000 of gain on their home?
+
Not automatically. To get the full $500,000 on a joint return, at least one spouse must meet the ownership test, BOTH spouses must meet the use test (each lived there 2 of the last 5 years), and neither spouse may have excluded gain from another home sale in the past 2 years. If only one spouse meets the use test, the couple is generally limited to $250,000. Recently married couples and situations where one spouse just moved in are the usual reasons the larger exclusion is reduced.
Smart Investing Tips
Diversify across asset classes, keep costs low, and stay invested through market cycles. Time in the market typically beats timing the market — disciplined contributions compound over decades.
The Once-Every-Two-Years Rule
You can use the §121 exclusion repeatedly over a lifetime, but not back-to-back. §121(b)(3) bars the exclusion if, during the two-year period ending on the sale date, you already excluded gain from another home sale. The IRS look-back rule is the practical test: you meet it only if you did not sell another home and take the exclusion within the prior two years. This stops people from flipping a series of short-term residences entirely tax-free, while still letting genuine movers exclude gain every few years.[1, 4]
Partial Exclusion: When You Sell Early for Work, Health, or Unforeseen Reasons
If you fail the two-year tests, you are not automatically shut out. §121(c) grants a reduced (partial) exclusion when the main reason you sold was a change in place of employment, a health problem, or an unforeseen circumstance. Publication 523 includes safe harbors: a work-related move generally qualifies if the new job is at least 50 miles farther from the home than the old job was; health qualifies when a physician recommends a move for diagnosis, treatment, or care; and unforeseen circumstances include events like death, divorce or legal separation, job loss with unemployment benefits, multiple births from one pregnancy, or a casualty that makes the home unusable.[1, 4]
The partial exclusion is prorated, not all-or-nothing — and the proration is generous because it applies to the limit, not just to your gain. You take the fraction of time you actually qualified (the shortest of your ownership period, your use period, or the time since your last §121 sale) over two years, and multiply it by your full $250,000 or $500,000 limit. For example, a single owner who lived in the home 12 of the required 24 months before a qualifying job relocation can still exclude up to 12/24 × $250,000 = $125,000 of gain — often more than enough to cover the whole profit on a home sold after just a year.[1, 4]
What if I have to sell my home before living there 2 years?
+
You may still qualify for a partial exclusion if the main reason for selling was a job change (new job 50+ miles farther away), a health issue, or an unforeseen circumstance such as divorce, death, job loss, or multiple births. The reduced exclusion is a fraction of the full $250,000/$500,000 limit, based on how long you qualified out of 2 years. If you lived there 1 of 2 years, you could exclude up to half — $125,000 single or $250,000 married — which often covers the entire gain on a quickly sold home.
The Depreciation Trap: Home Offices and Former Rentals
Even if you qualify for the full exclusion, one slice of gain can never be excluded: gain equal to depreciation you claimed (or could have claimed) after May 6, 1997. This applies if you ever deducted a home office or rented the property out. §121(d)(6) carves this out, and IRS Topic 409 confirms the rate: "the portion of any unrecaptured section 1250 gain from selling section 1250 real property is taxed at a maximum 25% rate." So if you claimed $27,000 of depreciation during a rental period, that $27,000 is unrecaptured §1250 gain taxed at up to 25%, even when the rest of your gain is fully excluded.[1, 10, 12]
This recaptured portion is figured on Form 4797 and flows into the unrecaptured §1250 gain worksheet for Schedule D; Publication 544 covers the mechanics of §1250 property in detail. A crucial nuance: the recapture rule bites even if you never actually deducted the depreciation, because the law looks at depreciation "allowed or allowable." If you ran a home office or rented a room, find out how much depreciation was (or should have been) taken before you sell — it determines a tax bill the exclusion cannot erase.[14, 12]
I claimed a home office or rented out my house — does that affect the exclusion?
+
Yes, in two ways. First, any depreciation you claimed (or could have claimed) after May 6, 1997 cannot be excluded — it is "unrecaptured section 1250 gain" taxed at up to 25%, reported on Form 4797. Second, periods the home was a rental after 2008 may count as "nonqualified use" that proportionally reduces your exclusion. The principal-residence exclusion still shelters the rest of your gain if you meet the tests, but the depreciation piece is always taxable.
Smart Investing Tips
Diversify across asset classes, keep costs low, and stay invested through market cycles. Time in the market typically beats timing the market — disciplined contributions compound over decades.
Nonqualified Use: When Renting First Shrinks the Break
A second trap, separate from depreciation, applies when a home was a rental or second home before it became your residence. Under §121(b)(5), gain allocated to periods of nonqualified use after December 31, 2008 cannot be excluded. The excludable share is the ratio of qualified-use time to total ownership time. Crucially, the statute excludes from nonqualified use any time after the last date you used the home as your principal residence within the 5-year window — so converting a residence into a rental shortly before selling generally does not trigger the allocation, while renting first and moving in later does.[1, 4]
If I convert my rental property into my main home, can I exclude all the gain?
+
Usually not all of it. Two limits apply. First, depreciation you took while it was a rental is always taxable (unrecaptured §1250 gain, up to 25%). Second, the years it was a rental after 2008 are "nonqualified use," so only the portion of gain matching your years of qualified residential use can be excluded. You still must live in it 2 of the last 5 years to qualify at all. Renting first and living there later is treated less favorably than living there first and renting later.
Special Situations: Widows and Widowers, Divorce, Military, and Inherited Homes
Several life events have their own §121 rules. A surviving spouse may use the full $500,000 limit if the home is sold within two years of the spouse's death, the survivor has not remarried, and the joint-return conditions were met just before the death — see §121(b)(4). In divorce, a spouse who receives the home in a settlement can add the other spouse's ownership time, and a spouse who moves out can still count use while the home remains the ex-spouse's residence under the decree. Members of the uniformed services, Foreign Service, and intelligence community can elect under §121(d)(9) to suspend the 5-year test for up to 10 years of qualified extended duty, so a long deployment does not cost them the exclusion.[1, 4]
An inherited home follows a completely different and often more favorable path. Heirs generally receive a stepped-up basis equal to the home's fair market value on the date of the decedent's death, so decades of the deceased owner's appreciation simply disappear for tax purposes. If you sell an inherited home soon after inheriting, your gain — measured from that stepped-up value — is often small or zero, which is why §121 and its tests are usually irrelevant for a recently inherited property. The IRS sale-of-residence tax tips page is a useful starting point for sorting out which rules apply to your facts.[5, 4]
How Gain Above the Exclusion Is Taxed in 2026
Gain above your $250,000/$500,000 limit is taxed as a capital gain. If you owned the home more than one year — almost always true for a residence — it is a long-term gain taxed at the preferential 0%, 15%, or 20% rates, per IRS Topic 409. For 2026, drawing on Revenue Procedure 2025-32 and cross-checked against the Tax Foundation, the 0% rate applies to taxable income up to $49,450 (single), $98,900 (married filing jointly), or $66,200 (head of household); the 15% rate runs up to $545,500 / $613,700 / $579,600 respectively; and the 20% rate applies above those amounts. Because the excluded gain never enters taxable income, it also does not push your other income into a higher bracket.[10, 19, 20]
High earners face one more layer: the 3.8% Net Investment Income Tax (NIIT). IRS Topic 559 applies it to net investment income when modified adjusted gross income exceeds $200,000 (single or head of household), $250,000 (married filing jointly), or $125,000 (married filing separately). Critically, the IRS confirms the NIIT "doesn't apply to … gain from the sale of a principal residence on that portion that's excluded for income tax purposes." In other words, your §121-excluded gain is shielded from the 3.8% tax too — only gain above the exclusion can be hit, and it is computed on Form 8960.[11, 18]
How much tax will I pay on home sale gain above the $250,000/$500,000 exclusion?
+
Gain above the exclusion is a long-term capital gain (assuming you owned the home more than a year), taxed at 0%, 15%, or 20% depending on your 2026 taxable income. For 2026 the 0% rate covers taxable income up to $49,450 single / $98,900 married filing jointly; 15% applies up to $545,500 / $613,700; and 20% applies above that. High earners may also owe the 3.8% Net Investment Income Tax on the excess gain. Depreciation from any rental or home-office use is taxed separately at up to 25%.
How to Report the Sale (and Why a Loss Is Not Deductible)
You must report the sale on your return if you receive a Form 1099-S from the closing agent, or if any part of your gain is taxable (above the exclusion). Reporting is done on Form 8949 and Schedule D, where the exclusion is entered as a negative adjustment so only the taxable portion remains. If your entire gain is excluded and you do not receive a 1099-S, the IRS generally does not require you to report the sale at all — though many sellers still attach the calculation to document that the gain qualified.[17, 16, 15, 6]
One asymmetry surprises sellers in a down market: a loss on the sale of a personal residence is not deductible. The IRS treats your home as personal-use property, so while gain (above the exclusion) is taxable, a loss yields no write-off — see Publication 523 and Publication 530. This is the opposite of how investment or rental property is treated, and it is why converting a residence you expect to sell at a loss into a rental before selling is sometimes discussed — though that brings its own depreciation and nonqualified-use consequences.[4, 9]
Do I have to report the sale of my home if all the gain is excluded?
+
Generally no — if your entire gain qualifies for the exclusion and you do not receive a Form 1099-S, you usually do not need to report the sale. But you must report it (on Form 8949 and Schedule D) if you receive a 1099-S or if any gain is taxable above the exclusion. When in doubt, reporting and showing the exclusion is the safe choice. Note that a loss on your personal home is never deductible.
Smart Investing Tips
Diversify across asset classes, keep costs low, and stay invested through market cycles. Time in the market typically beats timing the market — disciplined contributions compound over decades.
The 2026 Push to Raise or Repeal the Cap
Because the $250,000/$500,000 limits have been frozen since 1997, pressure to update them has become a live issue in 2026. The National Association of REALTORS, which tracks the impact on its Capital Gains page, warns of a looming "capital gains cliff": because the exclusion has not been updated since 1997, a growing number of long-tenured — and often older — homeowners with large built-up gains are now dissuaded from selling, since a sale would trigger a tax bill. Two bills lead the response. The bipartisan More Homes on the Market Act, reintroduced by Rep. Jimmy Panetta and colleagues, would double the limits to $500,000 / $1 million and index them to inflation going forward; the sponsor's announcement frames it as a way to unlock the supply of long-held homes whose owners are reluctant to sell and trigger a tax bill.[23, 22]
A more sweeping measure, the No Tax on Home Sales Act (H.R. 4327), introduced by Rep. Marjorie Taylor Greene on July 10, 2025, would eliminate the dollar caps entirely, making qualifying principal-residence gain fully tax-free. Both bills sit in the House Ways and Means Committee and are not law; either could instead be folded into a future budget package. Until something passes, the 2026 rules in this guide are the rules that apply — plan around the current $250,000/$500,000 limits, and treat any increase as upside rather than something to count on. The wisest move is to know your numbers before you list.[21, 23]
Is the home sale capital gains exclusion changing in 2026?
+
Not yet. As of June 2026 the limits remain $250,000 (single) and $500,000 (married filing jointly), unchanged since 1997. Two bills would change that — the More Homes on the Market Act (double the limits and index to inflation) and the No Tax on Home Sales Act, H.R. 4327 (eliminate the caps) — but both are still in committee and neither is law. Plan around today's limits; treat any increase as a future possibility, not a current rule.
Smart Moves and Common Mistakes
The single highest-value habit is keeping every improvement receipt for as long as you own the home. For owners whose gain approaches the limit, a documented basis can be the difference between a tax-free sale and a five-figure bill. Other smart moves: time a sale to satisfy the 2-of-5-year tests when you are close (even a few extra weeks of residence can flip you from a partial to a full exclusion); for married couples, be aware that selling within two years of a spouse's death preserves the $500,000 limit; and if you have a home office or former rental, calculate the depreciation recapture before you sell so the tax is no surprise.[4, 8]
The most common mistakes are mirror images of those tips: assuming the exclusion is automatic without checking the use test; forgetting that depreciation from a home office is always recaptured; overlooking that a loss is not deductible; and — increasingly — assuming the old $250,000/$500,000 cap will easily cover a long-held home in a high-appreciation market. None of this is tax advice for your specific situation; rules interact in ways that depend on dates and dollar amounts. For anything close to the limit or involving a rental, depreciation, divorce, or death, confirm the result with a CPA or enrolled agent, using the IRS publications cited here as your reference.[4, 3]
How can I avoid or reduce capital gains tax when selling my home?
+
Legitimate steps: make sure you meet the 2-of-5-year ownership and use tests (timing your sale if you are close); add every capital improvement to your basis with documentation; if married, file jointly and confirm both spouses meet the use test for the $500,000 limit; sell within 2 years of a spouse's death to keep the $500,000 figure; and account for depreciation recapture from any home-office or rental use. Gain above the exclusion is taxed at long-term capital-gains rates. For a large or complicated gain, consult a tax professional.
References
- [1] Cornell LII: 26 U.S.C. §121, Exclusion of gain from sale of principal residence (general rule (a); $250,000 limit (b)(1); $500,000 joint limit (b)(2); 2-year frequency (b)(3); surviving spouse (b)(4); nonqualified use (b)(5); reduced exclusion (c); depreciation after May 6, 1997 (d)(6); military 10-year suspension (d)(9)) (opens in new tab)
- [2] Cornell LII: 26 CFR §1.121-1, Exclusion of gain from sale or exchange of a principal residence (regulations defining principal residence by facts and circumstances) (opens in new tab)
- [3] IRS: Topic No. 701, Sale of Your Home ($250,000/$500,000 exclusion, ownership and use tests, reporting requirements) (opens in new tab)
- [4] IRS: Publication 523, Selling Your Home (partial exclusion safe harbors, depreciation recapture, nonqualified use, surviving spouse, military election, basis worksheets) (opens in new tab)
- [5] IRS: Sale of Residence — Real Estate Tax Tips (overview of the principal-residence exclusion rules) (opens in new tab)
- [6] IRS: Frequently Asked Questions — Capital Gains, Losses, and Sale of Home (when a home sale must be reported) (opens in new tab)
- [7] IRS: FAQ — Property (Basis, Sale of Home, etc.) (how improvements adjust the basis of a home) (opens in new tab)
- [8] IRS: Publication 551, Basis of Assets (cost basis, capital improvements that increase basis vs. repairs that do not, adjusted basis) (opens in new tab)
- [9] IRS: Publication 530, Tax Information for Homeowners (homeowner basis records; loss on a personal residence not deductible) (opens in new tab)
- [10] IRS: Topic No. 409, Capital Gains and Losses (holding period for long-term gain; 0%/15%/20% rates; maximum 25% rate on unrecaptured section 1250 gain) (opens in new tab)
- [11] IRS: Topic No. 559, Net Investment Income Tax (3.8% NIIT; MAGI thresholds $200k/$250k/$125k; §121-excluded home-sale gain is not subject to NIIT; Form 8960) (opens in new tab)
- [12] IRS: Publication 544, Sales and Other Dispositions of Assets (section 1250 property and depreciation recapture mechanics) (opens in new tab)
- [13] Cornell LII: 26 U.S.C. §1250, Gain from dispositions of certain depreciable realty (statutory basis for depreciation recapture on real property) (opens in new tab)
- [14] IRS: About Form 4797, Sales of Business Property (reporting depreciation recapture / unrecaptured section 1250 gain) (opens in new tab)
- [15] IRS: About Schedule D (Form 1040), Capital Gains and Losses (where home-sale gain and the exclusion are reported) (opens in new tab)
- [16] IRS: About Form 8949, Sales and Other Dispositions of Capital Assets (line-item reporting of the home sale and exclusion adjustment) (opens in new tab)
- [17] IRS: About Form 1099-S, Proceeds From Real Estate Transactions (the form that may trigger a reporting requirement at closing) (opens in new tab)
- [18] IRS: About Form 8960, Net Investment Income Tax — Individuals, Estates, and Trusts (computing the 3.8% NIIT on taxable home-sale gain) (opens in new tab)
- [19] IRS: Revenue Procedure 2025-32, 2026 inflation adjustments (source of the 2026 long-term capital-gains rate breakpoints) (opens in new tab)
- [20] Tax Foundation: 2026 Tax Brackets (independent cross-check of the 2026 long-term capital-gains breakpoints by filing status) (opens in new tab)
- [21] U.S. GPO (govinfo.gov): H.R. 4327, No Tax on Home Sales Act, 119th Congress (bill to eliminate the §121 dollar caps; introduced July 10, 2025) (opens in new tab)
- [22] U.S. House (Rep. Jimmy Panetta): More Homes on the Market Act press release (bipartisan bill to double the §121 limits to $500k/$1M and index them to inflation) (opens in new tab)
- [23] National Association of REALTORS: Capital Gains (the §121 exclusion unchanged since 1997 and the looming "capital gains cliff" as long-tenured owners with large gains are dissuaded from selling) (opens in new tab)
Smart Investing Tips
Diversify across asset classes, keep costs low, and stay invested through market cycles. Time in the market typically beats timing the market — disciplined contributions compound over decades.