Section 121 Home Sale Capital Gains Exclusion 2026: The $250k/$500k Rule Explained
Why Section 121 Is the Most Valuable Line in Your Home Sale
My read is simple: for most people selling a home, there is no single tax provision that saves more money than Section 121. Single filers exclude up to $250,000 of gain from federal tax; married couples filing jointly exclude up to $500,000. A couple that structures the sale correctly can walk away with half a million dollars of gain the IRS never touches. And because the number is so large, this is also where people lose the most money by misunderstanding the fine print.
This is a practical guide for anyone who owns a home or is about to sell one. We will work through the two-year ownership and use tests, the partial exclusion, non-qualified use, depreciation recapture, how to report the sale, and the mistakes that cost sellers thousands. If you want the broader framework for how capital gains are taxed first, the capital gains tax guide is a good warm-up before the home-specific rules below.
The Two 2-Year Tests: Ownership and Use
Everything starts with two tests. You need both.
Ownership test: you owned the home for at least 2 years (730 days total) during the 5 years ending on the sale date.
Use test: you used the home as your main residence for at least 2 years during that same 5-year window.
The crucial detail is that these two years do not have to be continuous. Twenty-four months spread across the five-year window is enough. Live there a year, rent it a year, move back for a year, and you still clear the use test. Ownership and use periods also need not overlap, and time you lived there as a renter before buying can count toward use, a point sellers routinely miss.
For the $500,000 joint exclusion, the bar is a bit higher.
| Requirement | Single $250,000 | Joint $500,000 |
|---|---|---|
| Ownership test | You owned 2+ years | Either spouse owned 2+ years |
| Use test | You lived there 2+ years | Both spouses lived there 2+ years |
| No use in prior 2 years | You did not use it | Neither spouse used it |
| Filing status | Single or MFS | Married filing jointly |
The table makes the trap visible. The home can be titled in one spouse’s name, but both spouses must satisfy the use test. If you married recently and one spouse has not yet lived in the home for two years, you may be limited to $250,000 rather than $500,000. When a marriage and a sale fall close together, check this first.
Sold Before Two Years? The Partial Exclusion
Not everyone gets to hit the clean two-year mark. A job moves far away, an illness forces a relocation, a divorce or a surprise set of twins upends the plan. For these situations, Section 121 offers a partial exclusion instead of the full amount.
Three categories qualify most clearly: a change in place of employment (generally a new job at least 50 miles farther from the old home than the prior job was), health reasons (a move to obtain or provide medical care), and unforeseen circumstances (divorce, multiple births from one pregnancy, disaster damage, job loss with unemployment benefits). The IRS also allows a broader “facts and circumstances” test beyond these safe harbors.
The math is a simple proportion. Take the shorter of the months you owned or used the home, divide by 24, and multiply the $250,000 or $500,000 limit by that fraction.
| Situation | Months lived in home | Fraction | Joint limit |
|---|---|---|---|
| Job move 50+ miles | 12 months | 12/24 | $250,000 |
| Health relocation | 18 months | 18/24 | $375,000 |
| Twins, needed a bigger home | 9 months | 9/24 | $187,500 |
A couple who lived in the home 12 months before a job transfer can exclude $250,000, half the full amount. In many cases the actual gain fits inside the reduced limit anyway, so do not assume a short stay means zero exclusion. Just remember that selling simply because the home appreciated or you want something nicer is not a qualifying reason.
Non-Qualified Use: When Renting It Out Comes Back to Bite
This is where sellers lose the most. A 2008 law change means that any period after January 1, 2009 during which the home was not your main residence, called non-qualified use, carves a proportional slice of gain out of the exclusion. The old “just live there the final two years and exclude everything” strategy no longer works.
The mechanic: compute the ratio of non-qualified use months to total ownership months, and that share of your gain cannot be excluded. Own a home for 10 years and rent it for 4 of them (post-2009), and 40% of the gain is taxable as capital gain regardless of how much exclusion room you have left.
Not every period away counts, though. Time after you move out but before you sell is generally not treated as non-qualified use, and there are special rules for military, foreign-service and intelligence-community members stationed elsewhere. Order matters enormously: “lived in it first, then rented” produces a very different result from “rented it first, then moved in.” If you are weighing the income-and-tax profile of holding property as a rental, reading it alongside the multi-home owner capital gains exit strategy sharpens how holding periods and use change the tax outcome across properties.
Depreciation Recapture: The Bill for Your Home-Office Deductions
If you ever claimed depreciation while renting the home or running a home office out of it, there is a rule you must not forget at sale. Depreciation you deducted after May 6, 1997 cannot be sheltered by Section 121. No matter how much of your $250,000 or $500,000 room remains, that piece is taxed.
That amount is classified as unrecaptured Section 1250 gain and taxed at a maximum 25% federal rate, higher than the 20% top rate on ordinary long-term gains. Worse, recapture can be based on the depreciation you were allowed to take, not just what you actually claimed, so “I never deducted it” is not a safe assumption.
Here is how the common scenarios shake out.
| Past use of the home | Depreciation claimed | Result at sale |
|---|---|---|
| Pure personal residence | None | No recapture, full Section 121 applies |
| Home-office deduction | Yes | Depreciation taxed up to 25% |
| Rented for part of the period | Yes + non-qualified use | Recapture plus reduced exclusion |
The home-office deduction lowers your income tax each year, but it returns as a bill at sale. Weigh the annual benefit against the recapture cost before deciding it is worth it. The discipline of tracking multi-year deductions is the same one that pays off at filing time, as covered in the comprehensive property tax reduction guide.
How to Report It: Form 8949, Schedule D, and the 1099-S
The reporting path is fixed. Record the transaction on Form 8949 and carry the totals to Schedule D (Form 1040). The excluded gain is subtracted on Form 8949 using adjustment code “H” as a negative number.
Whether you must report at all comes down to two things. First, if your entire gain fits within the exclusion, there is no taxable amount, and you did not receive a Form 1099-S, you generally do not have to report the sale. Second, if you did receive a 1099-S at closing, you must report the sale even if the gain is fully excluded. And if you exceeded the limit or owe depreciation recapture, reporting is mandatory.
In practice, the most common surprise is “I thought it was tax-free so I skipped it, but a 1099-S was issued and the IRS matching system flagged it.” If you got a 1099-S, report the sale even when the taxable result is zero. If the mechanics of U.S. capital gains filing are new to you, the capital gains tax filing guide walks through the basic forms first. Should you discover an error after filing, the amended-return concept applies much as it does for other taxes, and planning the timing of a sale across tax years ties into the asset-transfer timing ideas in the annuity beneficiary tax guide.
Timing, Death of a Spouse, and the Once-Every-Two-Years Rule
Two timing rules deserve their own section because they are where good planning pays off.
The once-every-two-years rule means you cannot take a full exclusion if you already used Section 121 on another home within the prior two years. If you own two homes and plan to sell both, the order and spacing of the sales directly determine how much gain you shelter. Selling them more than two years apart lets you use the exclusion twice.
The surviving spouse rule is a quiet but powerful break. If your spouse dies and you have not remarried, you can still claim the full $500,000 exclusion as long as you sell within two years of the death and the couple met the tests just before the death. On top of that, the inherited half of the home typically gets a stepped-up basis to fair market value at the date of death, which can shrink the taxable gain dramatically. The interaction of basis step-up and timing is exactly the kind of asset-transfer planning worth doing well in advance.
For a nonresident alien selling U.S. real estate, FIRPTA withholding applies at closing independent of whether Section 121 is available; the withholding and refund process runs on a separate track.
The 7 Most Common Mistakes, and How to Avoid Them
To close, here are the errors sellers make again and again. Avoiding even one can save thousands.
- Treating the two years as consecutive. It is 730 days total, not an unbroken stretch.
- Believing “live there the final two years and exclude everything.” Post-2009 rental periods are prorated out as non-qualified use.
- Forgetting depreciation recapture. Home-office and rental depreciation is taxed up to 25% regardless of the exclusion.
- Throwing away basis records. Lost remodel and addition receipts mean a lower basis and a bigger taxable gain.
- Selling two homes within two years. If you used the exclusion in the prior two years, the second home is blocked.
- Ignoring a 1099-S. The IRS matching system will catch an unreported sale.
- Forgetting state tax and the 3.8% NIIT. A federal exclusion does not erase state income tax or the Net Investment Income Tax.
Section 121 is one of the most generous exclusions in the tax code. But generous provisions come with dense conditions. Start organizing your residency timeline, depreciation history and basis records a year before you sell, and you will be positioned to make the most favorable choices when the closing arrives.
Related reading
- 👉 Capital Gains Tax Guide: how gains are taxed
- 👉 Multi-Home Owner Capital Gains Tax Exit Strategy
- 👉 Capital Gains Tax Filing Guide
- 👉 Comprehensive Property Tax Reduction Guide
- 👉 Annuity Beneficiary Tax Guide
This article explains the U.S. federal home-sale capital gains exclusion for general information only and is not legal or tax advice. Your actual tax outcome depends on your residency timeline, depreciation history, state tax rules, and treaty situation. Rates, limits and requirements can change, so before selling, confirm the current rules in IRS Publication 523 and consult a CPA or qualified tax professional about your specific situation.
What is the Section 121 home sale exclusion?
IRC Section 121 lets you exclude from federal tax up to $250,000 of gain if you file single, or up to $500,000 if you are married filing jointly, when you sell a home that was your main residence. Meet the conditions and that gain is simply not taxed at the federal level.
What are the requirements to qualify for the $250,000 or $500,000 exclusion?
You must pass two tests. The ownership test requires that you owned the home for at least 2 years out of the 5 years before the sale. The use test requires that you lived in it as your main home for at least 2 years out of that same 5-year window. For the $500,000 joint amount, one spouse must meet ownership, both spouses must meet the use test, and neither may have used the exclusion on another home in the prior 2 years.
Do the two years have to be consecutive?
No. The 2 years (730 days) can be spread across the 5-year period. If you lived in the home, moved out and rented it, then moved back, the months you actually lived there can be added together to reach 24 months. Ownership and use periods also do not have to be the same months.
What happens to gain above the exclusion limit?
Gain beyond $250,000 or $500,000 is taxed as a long-term capital gain if you held the home more than a year, at 0%, 15% or 20% federal rates depending on your income. High earners may also owe the 3.8% Net Investment Income Tax, and most states tax the gain separately.
Can I still claim an exclusion if I sell before living there two years?
Often yes, as a partial exclusion. If you sold early because of a work-location change, a health reason, or an unforeseen circumstance (divorce, multiple births from a single pregnancy, a natural disaster), you prorate the limit by the months you qualified divided by 24. A sale simply to trade up or cash in on appreciation does not qualify.
How does renting the home reduce my exclusion?
Periods of non-qualified use after January 1, 2009 (time the home was not your main residence, such as rental or vacation use) reduce the excludable gain in proportion to that time over your total ownership period. There are exceptions, including certain periods after you move out and before you sell.
What is depreciation recapture on a home sale?
If you claimed depreciation while renting the home or using it as a home office, the depreciation taken after May 6, 1997 cannot be sheltered by Section 121. That amount is taxed as unrecaptured Section 1250 gain at a maximum 25% federal rate, even if the rest of your gain is fully excluded.
How do I report a home sale on my tax return?
Report the sale on Form 8949 and carry the totals to Schedule D (Form 1040). You use adjustment code 'H' on Form 8949 to subtract the excluded gain. If all the gain is excluded and you did not receive a Form 1099-S, you may not need to report it; if you received a 1099-S or exceeded the limit, you must report.
Can I use the exclusion more than once?
The full exclusion is available only if you did not use Section 121 on another home sold within the 2 years before this sale. In effect you can take the full exclusion once every two years, which makes the order and timing of selling two homes important.
What happens to the exclusion when a spouse dies?
A surviving spouse who has not remarried can claim the full $500,000 exclusion if the home is sold within 2 years of the spouse's death and the couple met the tests just before the death. The inherited portion of the home often also receives a stepped-up basis, which can greatly reduce the taxable gain.
What records should I keep to maximize the exclusion?
Keep receipts for capital improvements (remodels, additions, a new roof) that raise your cost basis, proof of residency (utility bills, driver's license, voter registration), and a clear log of any rental or home-office periods along with the depreciation you claimed, so non-qualified use and recapture are computed accurately.
관련 글

Crypto Tax Reporting Guide 2026: Form 1099-DA, Cost Basis, and What the IRS Expects

Cost Segregation Study 2026: How Real Estate Investors Accelerate Depreciation to Cut Taxes

Child and Dependent Care Credit 2026: How the Enhanced 50% Rate Works and Who Actually Gets It

Korean Capital Gains Tax for Foreign Property Owners 2026: What the Surcharge Reinstatement Means for You

Inherited IRA 10-Year Rule 2026: A Practical Guide for Non-Spouse Beneficiaries
