Home Sale Capital Gains Exclusion 2026: $250k/$500k Rule
Keep up to $250k ($500k married) of home-sale gain tax-free in 2026. Ownership and use tests, partial exclusions, and what you owe above the cap.
Selling your home can hand you one of the largest single payments of your life, and the IRS lets a big chunk of the profit go untaxed. Under Section 121 of the tax code, a single filer can exclude up to $250,000 of gain, and a married couple filing jointly can exclude up to $500,000. Pass the tests, and that money never shows up on your return.
The rules trip people up in two places: who actually qualifies, and how to figure the gain in the first place. Many sellers panic over a number that turns out to be far smaller once they account for what they paid and what they improved. This guide walks through both.
The $250k/$500k Home Sale Exclusion in One Minute
When you sell your main home at a profit, that profit is a capital gain. Section 121 of the Internal Revenue Code lets you keep a set amount of it tax-free:
- $250,000 of gain if you file single, head of household, or married filing separately.
- $500,000 of gain if you are married filing jointly.
If your gain comes in under your limit and you qualify, the IRS does not tax it. In most cases you do not even report the sale. You only owe tax on the slice of gain that runs past the exclusion, and that slice is taxed at long-term capital gains rates.
One detail worth pinning down early: these numbers were set by the Taxpayer Relief Act of 1997 and have never been adjusted for inflation. A $250,000 cap meant a lot more in 1997 than it does today. Long-time owners in hot markets increasingly find their gain spilling past the limit, which is exactly why running the math before you list matters.
Who Qualifies: The Ownership and Use Tests
The exclusion is gated by two tests, both measured over the 5-year period ending on the date of sale. You have to pass both.
The ownership test
You must have owned the home for at least 24 months out of the last 5 years. The months do not need to run back to back.
The use test
You must have lived in the home as your principal residence for at least 24 months out of the last 5 years. Again, the time does not have to be continuous, and it does not have to be the same 24 months that satisfy the ownership test.
So a home you owned for two years, rented out for a stretch, then moved back into can still qualify, as long as the owned months and the lived-in months each hit 24 within the five-year window.
The once-every-two-years rule
You generally can claim the exclusion only once every two years. You are not eligible if you already excluded gain from the sale of a different home during the two-year period ending on the date of the current sale. This stops people from chaining sales to wipe out gain repeatedly.
How it works for married couples
The $500,000 figure has a catch. For a couple filing jointly, either spouse can satisfy the ownership test, but both spouses must satisfy the use test. If only one spouse lived in the home long enough, the couple is usually capped at the $250,000 single exclusion instead of the full $500,000.
How to Figure Your Gain (and Why Basis Matters)
Your gain is not your sale price, and it is not the cash you walk away with. It is the sale price minus what the IRS calls your adjusted basis. This is where sellers most often overestimate their tax.
The formula:
Gain = Amount Realized minus Adjusted Basis
- Amount realized is the sale price minus selling costs, such as real estate commissions and certain closing fees.
- Adjusted basis starts with what you paid for the home, adds buying costs and the cost of capital improvements, then subtracts any depreciation you claimed (for example, if you ever used part of the home for business or rented it).
Capital improvements are the part people forget. A new roof, an addition, a kitchen remodel, a finished basement, central air: these add to your basis and shrink your taxable gain. Routine repairs and maintenance do not count.
A worked example
Say a single homeowner bought a house for $300,000, spent $80,000 on a kitchen renovation and a new roof over the years, and sold for $700,000 with $42,000 in commissions and closing costs.
- Amount realized: $700,000 minus $42,000 = $658,000
- Adjusted basis: $300,000 plus $80,000 = $380,000
- Gain: $658,000 minus $380,000 = $278,000
The single exclusion covers $250,000, so only $28,000 is taxable. Without counting the $80,000 in improvements, this seller might have assumed $358,000 of gain and braced for a tax bill on $108,000. The improvements alone shaved $80,000 off the taxable amount.
If you want to see how a number like that $28,000 of taxable gain lands on a full return alongside your wages and other income, Tax47 lets you assemble the return and watch the estimate update as you add each piece.
Partial Exclusions: Job Moves, Health, and Unforeseen Events
What if you have to sell before hitting the 24-month mark? You may still get a reduced exclusion if the sale was driven by one of three qualifying reasons:
- A change in your place of employment.
- A health reason (a move for medical treatment or to care for a family member).
- An unforeseen circumstance, such as a death, divorce, job loss, natural disaster, or having the home destroyed or condemned.
The partial exclusion is prorated. You take your full limit and multiply it by the number of qualifying months divided by 24:
Partial exclusion = Full limit × (qualifying months ÷ 24)
Picture a single filer who lived in a home for 15 months, then sold because a new job required a move. Their reduced exclusion is $250,000 × (15 ÷ 24) = $156,250. That is a generous cap even at a partial rate, and it often covers the entire gain on a short hold.
For a work-related move to count, the new workplace generally has to be at least 50 miles farther from the home than your old workplace was. Keep documentation: an employer letter, medical records, or proof of the unforeseen event supports the claim if the IRS asks.
What You Owe on Gain Above the Exclusion in 2026
Gain that exceeds your exclusion does not vanish. If you owned the home for more than a year (almost always the case if you passed the use test), that excess is a long-term capital gain. For 2026 the long-term rates are 0%, 15%, or 20%, depending on your taxable income.
| Rate | Single | Married Filing Jointly |
|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 |
| 15% | $49,451 to $545,500 | $98,901 to $613,700 |
| 20% | Over $545,500 | Over $613,700 |
These thresholds were indexed up roughly 2.7% for 2026 under IRS Revenue Procedure 2025-32. Remember that capital gain stacks on top of your other taxable income, so a large gain can push part of itself into the 15% or 20% band even if your wages alone would have stayed in the 0% range.
There is one more layer for higher earners. The Net Investment Income Tax adds 3.8% on net investment income, including taxable capital gains, once your modified adjusted gross income passes $200,000 (single) or $250,000 (married filing jointly). Those thresholds have been frozen since 2013, so they catch more sellers each year a big gain lands.
Mistakes That Cost Sellers Money
- Ignoring improvements. Every qualifying capital improvement raises your basis and lowers your gain. Dig up old receipts before you assume you owe tax.
- Assuming both spouses automatically get $500,000. Both have to meet the use test. A spouse who never lived in the home does not unlock the higher exclusion.
- Forgetting depreciation recapture. If you ever depreciated part of the home for a rental or home office, that depreciation is generally taxed even within the exclusion and is not wiped out by Section 121.
- Selling too soon without a qualifying reason. Sell before 24 months with no work, health, or unforeseen trigger, and you lose the exclusion entirely. The partial exclusion is only for qualifying sales.
- Skipping the once-every-two-years check. If you used the exclusion on a prior home recently, a second sale inside two years may not qualify.
If your numbers are close to the line, it is worth modeling the sale a few different ways. Adding up your improvement receipts, confirming both tests, and estimating the tax on any excess can be the difference between a tax-free sale and a surprise bill in April.
Frequently Asked Questions
How much capital gain is tax-free when I sell my home in 2026?
You can exclude up to $250,000 of gain if you file single, and up to $500,000 if you are married filing jointly. The exclusion applies to your principal residence, and you have to pass the ownership and use tests to claim it.
What are the ownership and use tests for the home sale exclusion?
The ownership test means you owned the home for at least 24 months during the 5 years before the sale. The use test means you lived in it as your main home for at least 24 months during that same 5-year window. The months do not have to be continuous, and the two tests do not have to cover the same 24 months.
Do I owe tax if my home gain is under $500,000?
If you qualify for the exclusion and your gain is below your limit ($250,000 single or $500,000 married filing jointly), the gain is tax-free and you usually do not even report it. You only owe tax on the part of the gain that exceeds your exclusion amount.
How do I calculate the gain on my home sale?
Take the amount you realized from the sale (the sale price minus selling costs like agent commissions) and subtract your adjusted basis. Your adjusted basis is what you paid for the home, plus buying costs and the cost of capital improvements, minus any depreciation you claimed. The result is your gain.
Can I get a partial exclusion if I lived in the home less than two years?
Yes, if you sold because of a change in workplace, a health reason, or an unforeseen circumstance. The partial exclusion equals your full limit multiplied by the number of qualifying months divided by 24. A single filer who lived in the home 15 months before a job move could exclude $250,000 times 15/24, or $156,250.
How often can I use the home sale exclusion?
Generally once every two years. You are not eligible if you already excluded gain from the sale of another home during the two-year period ending on the date of this sale.
Does both spouses need to meet the tests to get the $500,000 exclusion?
To claim the full $500,000, either spouse can satisfy the ownership test, but both spouses must satisfy the use test. If only one spouse meets the use test, the couple is generally limited to the $250,000 single exclusion.
What tax rate applies to home sale gain above the exclusion?
Gain above your exclusion is a long-term capital gain if you owned the home more than a year, taxed at 0%, 15%, or 20% depending on your taxable income for 2026. High earners may also owe the 3.8% Net Investment Income Tax on top of that.
Sources & References
- IRS Topic No. 701, Sale of Your Home: Official IRS overview of the $250,000/$500,000 exclusion, ownership and use tests, and the once-every-two-years limit.
- IRS Publication 523, Selling Your Home: Detailed eligibility steps, partial exclusion rules, and worksheets for figuring adjusted basis and gain.
- IRS Topic No. 409, Capital Gains and Losses: The 0%, 15%, and 20% long-term capital gains rate structure.
- IRS Tax Inflation Adjustments for Tax Year 2026: Revenue Procedure 2025-32 inflation adjustments behind the 2026 thresholds.
This article is for educational purposes only and is not tax, legal, or financial advice. Tax rules change periodically, always check current IRS guidance or consult a qualified tax professional.
Frequently Asked Questions
How much capital gain is tax-free when I sell my home in 2026?
You can exclude up to $250,000 of gain if you file single, and up to $500,000 if you are married filing jointly. The exclusion applies to your principal residence, and you have to pass the ownership and use tests to claim it.
What are the ownership and use tests for the home sale exclusion?
The ownership test means you owned the home for at least 24 months during the 5 years before the sale. The use test means you lived in it as your main home for at least 24 months during that same 5-year window. The months do not have to be continuous, and the two tests do not have to cover the same 24 months.
Do I owe tax if my home gain is under $500,000?
If you qualify for the exclusion and your gain is below your limit ($250,000 single or $500,000 married filing jointly), the gain is tax-free and you usually do not even report it. You only owe tax on the part of the gain that exceeds your exclusion amount.
How do I calculate the gain on my home sale?
Take the amount you realized from the sale (the sale price minus selling costs like agent commissions) and subtract your adjusted basis. Your adjusted basis is what you paid for the home, plus buying costs and the cost of capital improvements, minus any depreciation you claimed. The result is your gain.
Can I get a partial exclusion if I lived in the home less than two years?
Yes, if you sold because of a change in workplace, a health reason, or an unforeseen circumstance. The partial exclusion equals your full limit multiplied by the number of qualifying months divided by 24. A single filer who lived in the home 15 months before a job move could exclude $250,000 times 15/24, or $156,250.
How often can I use the home sale exclusion?
Generally once every two years. You are not eligible if you already excluded gain from the sale of another home during the two-year period ending on the date of this sale.
Does both spouses need to meet the tests to get the $500,000 exclusion?
To claim the full $500,000, either spouse can satisfy the ownership test, but both spouses must satisfy the use test. If only one spouse meets the use test, the couple is generally limited to the $250,000 single exclusion.
What tax rate applies to home sale gain above the exclusion?
Gain above your exclusion is a long-term capital gain if you owned the home more than a year, taxed at 0%, 15%, or 20% depending on your taxable income for 2026. High earners may also owe the 3.8% Net Investment Income Tax on top of that.