Section 121 Home Sale Tax Exclusion 2026: The $250k/$500k Capital Gains Exemption Explained
Why Section 121 Remains the Most Valuable Tax Break in the US Tax Code
For most American homeowners, selling their primary residence is the single largest financial transaction of their lives. Section 121 of the Internal Revenue Code makes that transaction extraordinarily tax-efficient by excluding up to $500,000 in capital gains from federal income tax entirely. Yet the exclusion is frequently misapplied — either claimed when the requirements aren’t met, or left on the table because homeowners don’t know about partial exclusions, basis-boosting improvements, or state overlay rules.
This article focuses on how the exclusion actually works in 2026, where the complexity lies, and which planning moves still hold up for high-appreciation markets.
Primary authority: IRS Publication 523 (Selling Your Home), available at irs.gov/publications/p523. IRC Section 121. IRS Topic 701.
The Core Test: Ownership + Use + Timing
Section 121 has three gates that must all be cleared:
Gate 1 — Ownership Test: You owned the home for at least 24 months out of the 5 years immediately before the sale date.
Gate 2 — Use Test: You used the home as your principal residence for at least 24 months out of the same 5-year window. The 24 months need not be consecutive.
Gate 3 — Frequency Limit: You have not excluded gain from a different home sale within the 2-year period ending on the current sale date.
The ownership and use tests are measured independently. You can own a home for 4 years but only live in it for 2, or live in it as a renter for 2 years and then own it for another 2 — both configurations can satisfy both tests simultaneously within the 5-year lookback.
Common trap: A taxpayer who rents out their former primary residence and later sells it must check whether the 24-month residency still fits within the 5-year window. After 3 or more years of rental, the exclusion may no longer apply to any of the gain — or only partially, via depreciation recapture complications.
How Much Can You Exclude?
| Filing Status | Maximum Exclusion |
|---|---|
| Single | $250,000 |
| Married Filing Jointly | $500,000 |
| Married Filing Separately | $250,000 each |
| Qualifying Surviving Spouse | $500,000 (within 2 years of spouse’s death) |
For MFJ filers, both spouses must meet the use test (2 years), but only one needs to meet the ownership test. If only one spouse meets the use test, the exclusion drops to $250,000.
Partial Exclusion — The Underused Safety Net
If you don’t meet the full 2-year tests, you’re not automatically shut out. A partial exclusion applies if the sale was primarily caused by:
- Work relocation: Your new job location is at least 50 miles farther from your old home than your old job was (or you had no prior job and the new job is at least 50 miles away).
- Health reasons: You moved for medical diagnosis, treatment, or care of yourself, a spouse, or a qualifying family member.
- Unforeseen circumstances: Death, divorce, job loss that qualifies you for unemployment benefits, home rendered uninhabitable by disaster, or similar Treasury-designated events.
Partial exclusion formula:
Partial Exclusion = Max Exclusion × (Qualifying Months / 24)
Example: Single filer who lived in home 12 months before relocating for work. Qualifying months = 12. Partial exclusion = $250,000 × (12/24) = $125,000.
This partial exclusion is under-claimed. Many advisors tell clients they don’t qualify because they haven’t met “two years” — but the prorated amount can still shelter significant gain.
What Happens When Gain Exceeds the Exclusion
Gain above the Section 121 limit is taxed as long-term capital gain if the home was held more than 1 year. In 2026, the federal capital gains rates are:
| Taxable Income (MFJ) | Long-Term Capital Gains Rate |
|---|---|
| Up to approximately $94,050 | 0% |
| $94,050 – $583,750 | 15% |
| Above $583,750 | 20% |
Additionally, the Net Investment Income Tax (NIIT) under IRC §1411 adds 3.8% for taxpayers with modified AGI above $250,000 (MFJ) or $200,000 (single). The NIIT applies to the excess gain above the exclusion — not the excluded portion.
Scenario — High-Gain Sale in San Francisco:
- MFJ couple, MAGI $300,000 before gain
- Home purchased 2014 at $600,000; sold 2026 at $1,600,000
- Gain: $1,000,000
- Exclusion: $500,000 (both spouses meet use and ownership tests)
- Taxable gain: $500,000
- Federal capital gains tax: $500,000 × 15% = $75,000
- NIIT: $500,000 × 3.8% = $19,000
- California state tax (ordinary rate ~9.3%): ~$46,500
- Total federal + state tax on $1M gain: ~$140,500 (14% effective rate vs. $1M gain)
The moral: even in high-appreciation markets, Section 121 cuts the tax burden dramatically. Without it, federal + NIIT alone on $1M would be nearly $190,000.
Basis-Building Strategies to Reduce Taxable Gain
Your capital gain is sale price minus adjusted basis. Building basis through capital improvements is the primary lever for reducing gain beyond the exclusion.
Improvements that increase basis:
- Room additions, finished basement or attic
- New roof, siding, windows
- Kitchen or bathroom remodels
- HVAC systems, solar panels
- Driveway, landscaping with permanent features
- Major appliances built into the home
What does NOT increase basis:
- Painting, cleaning, minor repairs
- Short-lived appliances (refrigerator, washer/dryer if removable)
- Yard maintenance
Keep every receipt. A meticulous records file can add tens of thousands to basis. For a couple in a high-appreciation market, good recordkeeping can push more gain under the $500,000 umbrella.
State Tax Overlays — No Federal Uniformity
The Section 121 exclusion is federal only. States vary significantly:
| State | Treatment of Home Sale Gain |
|---|---|
| California | Taxed as ordinary income; no state exclusion |
| Texas, Florida, Nevada | No income tax; no state liability |
| New York | Follows federal Section 121; gain above exclusion taxed at NY rates |
| Oregon | Follows federal; 9% top rate applies to excess gain |
| Washington | No income tax, but capital gains tax of 7% on gains >$250k (note: real estate is currently exempt from WA capital gains tax) |
For California residents with highly appreciated homes, state tax planning deserves as much attention as federal. The California Franchise Tax Board (ftb.ca.gov) provides guidance on state conformity.
Special Rules for Specific Situations
Divorce or Separation
If you transfer a home to a spouse or ex-spouse in a divorce, the transfer is generally not a sale and no gain is recognized (IRC §1041). The receiving spouse inherits the transferor’s basis and holding period. When the receiving spouse later sells, they can claim the full Section 121 exclusion if they meet the use and ownership tests — including periods when the transferor owned the home, if they are still considered the owner under a separation instrument.
Inherited Property
Heirs receive a stepped-up basis to fair market value on the date of death (IRC §1014). This often wipes out most or all capital gain. An heir who inherits a home worth $800,000 with an original basis of $150,000 has a new basis of $800,000 — a $650,000 gain evaporated overnight. The heir must still separately meet the use test (2 of last 5 years) to claim Section 121.
Home Office Deduction Complications
If you claimed a home office deduction in prior years and depreciated part of the home, that depreciation is subject to recapture at 25% under IRC §1250. This portion is not excludable under Section 121. Keep track of all depreciation claimed.
Filing and Reporting Requirements
- If the gain is fully excluded and you did not receive a Form 1099-S from the settlement company, reporting is not required.
- If you receive a Form 1099-S or have any taxable gain (partial exclusion, depreciation recapture), report on Schedule D and Form 8949.
- Report the exclusion on Form 8949 with Code H in column (f).
- The sale date and adjusted basis must reconcile with closing documents.
What Happens If You Owned the Home in a Trust
Many higher-net-worth homeowners hold their primary residence in a revocable living trust. The good news: Section 121 still applies. A revocable trust is treated as a grantor trust under IRC §671, meaning all items of income and gain are taxed to the grantor as if they owned the property directly. The Section 121 exclusion applies as long as the grantor meets the ownership and use tests.
Irrevocable trusts are more complex. If the home is in an irrevocable trust, the trust (not the individual) is typically the seller. Section 121 does not automatically apply to irrevocable trusts — special analysis is required. The exception: a special needs trust or certain qualified personal residence trusts (QPRTs) may have rules allowing the grantor to claim the exclusion in specific circumstances. This is an area where tax counsel is essential before structuring a home in an irrevocable trust.
Home Sales and Reporting to the IRS
Even if you’re not required to report a sale (gain fully excluded, no Form 1099-S), it is sometimes wise to do so proactively. Here’s when and how:
When reporting is required:
- You received a Form 1099-S (from title company or settlement agent)
- You have any taxable gain (even partially)
- You have depreciation recapture (from home office use)
- You are claiming a partial exclusion
How to report:
- Report on Schedule D (Capital Gains and Losses)
- Individual asset details on Form 8949
- If excluding the full gain with no 1099-S and no taxable gain: you may omit the transaction, though you should retain records
The IRS receives copies of Form 1099-S from closing agents, so if a 1099-S was issued, the IRS expects to see corresponding reporting on your return. Not reporting when a 1099-S was issued can trigger a notice.
Section 121 and Real Estate Investors: Drawing the Line
Real estate investors sometimes try to convert an investment property into a primary residence to qualify for Section 121. While this is permissible, Congress tightened the rules significantly in 2008.
The non-qualifying use rule (IRC §121(b)(5)): For periods after January 1, 2009, use of the property as something other than a primary residence (rental, vacation home, investment) represents “non-qualifying use.” The exclusion is proportionally reduced based on the ratio of non-qualifying use to total ownership period.
Example: You rented a home for 4 years, then lived in it for 2 years, then sold. Total ownership: 6 years. Non-qualifying use: 4 years (the rental period before you moved in). Qualifying use: 2 years. Exclusion available: 2/6 = 33% of the maximum. If your gain is $300,000 and you’re single, max exclusion is $250,000 × 33% = $82,500 (not the full $250,000).
Key nuance: Non-qualifying use after the qualifying use period (i.e., renting it out after you moved out) is NOT counted against you for the proportional reduction — only the period before you moved in counts. So moving in first, living there 2 years, then renting and selling later does not create a non-qualifying use problem (though you must sell within the 5-year window to still meet the use test).
Practical Checklist Before You Sell
- Confirm you meet 24-month ownership test (deed and closing records)
- Confirm you meet 24-month use test (utility bills, driver’s license, voter registration dates)
- Check 2-year frequency rule (prior home sale date)
- Compile all capital improvement receipts to maximize adjusted basis
- Calculate gain: net sale proceeds minus adjusted basis
- Determine applicable exclusion: $250k (single) or $500k (MFJ)
- Assess taxable gain and applicable federal rates (including NIIT)
- Check state tax obligation
- If partial exclusion applies, document qualifying reason (job, health, unforeseen)
- Determine Form 1099-S receipt status and reporting obligation
For investors navigating capital gains across multiple asset classes, see our analysis of JPMorgan stock outlook and dividend tax planning and Apple stock tax considerations.
When Two People Own One Home: Co-Ownership Complexities
Joint ownership — between spouses, domestic partners, siblings, or friends — creates additional Section 121 nuances.
Married couples: The $500,000 exclusion is available if either spouse meets the ownership test AND both spouses meet the use test. If only one spouse meets the use test, only $250,000 is excludable. This asymmetry matters when one spouse works abroad or travels extensively.
Unmarried co-owners: Each owner can claim their own $250,000 exclusion on their proportionate share of the gain, provided they individually meet both the ownership and use tests. Two unmarried co-owners who both lived in the home can together exclude $500,000 in total — the same as a married couple, just via two separate exclusions.
Death of a co-owner: When a co-owner dies and the surviving co-owner inherits the deceased’s share, the inherited portion receives a stepped-up basis. The survivor can then exclude gain on their own original share if they meet the Section 121 tests, while the inherited portion’s gain is minimized by the stepped-up basis.
Installment Sales and Section 121
Some homeowners sell on installment terms — receiving payments over multiple years rather than all at once. Combining installment sale reporting (Form 6252) with Section 121 requires careful calculation.
The exclusion applies first to reduce the total gain. Only the remaining taxable gain (if any) is reported as installment income, spread over the payment schedule. Interest on installment payments is reported as ordinary income, not capital gain. If your gain falls entirely within the exclusion, there is no installment income to report — but the installment obligation structure may still need to be documented.
Converting a Primary Residence to a Rental — The 5-Year Trap
One of the most common mistakes: homeowners move out, convert to rental, and assume they can still use Section 121 “as long as they owned it within 5 years.”
The issue is the use test. After 3 years of rental, you look back 5 years: you only occupied it during years 1-2 of the 5-year window. The 24-month use test fails. You’ve also accumulated depreciation that must be recaptured at 25% when you sell — and that depreciation recapture is not excludable under Section 121.
Planning strategy: If you rent your former primary residence and want to recapture Section 121 eligibility, move back in for at least 2 years before selling. This resets the use test (assuming the 5-year lookback now includes 2 years of occupation). Note: the period of non-qualifying use rules (added by the Housing Assistance Tax Act of 2008) may limit the exclusion for periods of rental after January 1, 2009. Consult a tax advisor on this.
Tax-Loss Harvesting and Home Sales — A Common Misconception
Capital losses from stocks or other investments cannot offset the gain from a home sale for Section 121 purposes — the exclusion operates before any capital loss netting. However, if your home sale gain exceeds the Section 121 exclusion, the excess taxable gain can be offset by capital losses from other investments in the same year.
Example: MFJ couple with $300,000 excess gain after the $500,000 exclusion. Also have $100,000 in capital losses from selling stocks during the year. Net taxable capital gain = $200,000. This is where having a diversified portfolio with loss positions can materially reduce the tax on a large home sale.
Planning the Sale Timing: Fiscal Year vs. Calendar Year Considerations
The sale date for Section 121 purposes is the closing date (title transfer date), not the contract date. Strategic timing around December 31 can:
- Shift the gain into the following tax year if you expect lower income (retirement, job change)
- Pair the gain with deductions in the current year (large charitable contributions, business losses)
- Avoid crossing a MAGI threshold that would trigger the NIIT ($250,000 for MFJ)
A late December closing can be problematic if you’ve already been paid a deposit — work with your CPA to confirm when the gain is recognized for tax purposes.
The Foreign Buyer and Section 121: FIRPTA Overlay
Non-resident alien sellers of US real property are subject to FIRPTA (Foreign Investment in Real Property Tax Act) withholding — typically 15% of the gross selling price, regardless of actual gain. Section 121 can reduce or eliminate the FIRPTA withholding for non-resident aliens who qualify for the exclusion, but this requires a withholding certificate application to the IRS before or at closing. This is an area where international tax counsel is essential.
Tax Implications of Selling a Home Received in a Divorce
Divorce creates complex home ownership situations with Section 121 implications that catch many taxpayers off guard.
Transfer incident to divorce: When one spouse transfers their interest in the home to the other spouse in connection with a divorce, the transfer is not taxable (IRC §1041). The receiving spouse takes over the transferor’s basis and holding period.
The use test after divorce: After the transfer, the receiving spouse needs to satisfy the 2-year use test independently to claim the full Section 121 exclusion. However, IRC §121(d)(3)(B) allows the receiving spouse to count the years the transferor spouse lived in the home toward their own use test, even after the property is transferred. This provision prevents the receiving spouse from being penalized for the years when the home was being used as the marital residence.
Practical example: A couple divorces in 2023. The home has been the marital residence since 2018 (5 years). The wife receives the home in the divorce settlement. She stays in the home another 8 months and then sells in 2024. Her ownership period: she gets credit for the years her husband owned it (IRC §121(d)(3)(A)). Her use period: she counts both her own 8 months of post-divorce use AND the years she lived in the home during the marriage. Total qualifying use well exceeds 24 months. She can claim the full $250,000 exclusion.
After the home is transferred and ex-spouse moves out: If your divorce settlement gives you the home but your ex-spouse still needs to live there for some period (common in shared custody situations), Section 121(d)(3)(B) allows you to count that time toward your use test even when you are not physically living in the home — provided it is still under a divorce or separation instrument.
Documentation You Should Have Ready Before Selling
Assembling this package before listing reduces closing delays and ensures basis calculations are maximized:
- Original purchase closing disclosure (HUD-1 or CD)
- All capital improvement receipts (from day of purchase forward)
- Records of any casualty losses or insurance reimbursements that affected basis
- Records of any periods of non-qualified use (rental, business use, second home)
- Prior depreciation schedules if any part of the home was used for business
- Energy credit documentation (certain credits reduce basis)
- Prior year tax returns showing any home-related deductions claimed
For investors navigating capital gains across multiple asset classes, see our analysis of JPMorgan stock outlook and dividend tax planning and Apple stock tax considerations.
Disclaimer: This article is for general informational purposes only and is not legal, tax, or insurance advice. Consult a qualified professional for your specific situation.
What is the Section 121 home sale exclusion?
Under IRC Section 121, eligible homeowners can exclude up to $250,000 (single filers) or $500,000 (married filing jointly) of capital gains from the sale of a primary residence. This exclusion requires meeting both an ownership test and a use test.
What are the ownership and use tests for Section 121?
You must have owned the home for at least 24 months (2 years) and used it as your principal residence for at least 24 months during the 5-year period ending on the date of sale. The 24 months do not need to be consecutive.
Can I claim the exclusion more than once?
Yes, but not more than once every 2 years. You cannot use the Section 121 exclusion if you used it on another home sale within the 2 years before the current sale.
What qualifies for a partial exclusion when I don't meet the full 2-year test?
You may claim a prorated partial exclusion if the sale is due to: a job relocation at least 50 miles farther from your old home, a health-related move, or an unforeseen circumstance (divorce, death, job loss, natural disaster). The partial amount is based on the fraction of 24 months you actually met.
Does the exclusion apply to investment properties or vacation homes?
No. Section 121 applies only to your principal residence — the home where you actually live the majority of the time. Rental or vacation properties generally do not qualify, though mixed-use properties have complex rules.
How do capital gains exceeding $500,000 get taxed?
Gain above the exclusion limit is taxed at capital gains rates: 0%, 15%, or 20% depending on your income. High earners may also owe the 3.8% Net Investment Income Tax (NIIT) under IRC §1411 on the excess gain.
Can military personnel still use Section 121 if they were stationed away from home?
Yes. Qualifying service members, intelligence community employees, and Peace Corps volunteers may suspend the 5-year lookback period for up to 10 years of qualified extended duty, preserving their eligibility even after long absences.
Does my state also tax the home sale gain?
State tax treatment varies. California taxes capital gains as ordinary income with no additional exclusion. Texas, Florida, and other states with no income tax don't tax it at all. Always check your state's conformity to federal rules.
What if I inherited the home — does the basis reset?
Yes. Inherited property receives a stepped-up basis to the fair market value at the date of the decedent's death (IRC §1014). This significantly reduces capital gains. However, you still need to meet the use test separately to claim the exclusion.
Do I have to report the sale on my tax return if it's fully excluded?
Generally no — if your gain is fully excluded and you have no taxable gain, you are not required to report the sale. But if only a partial exclusion applies or you received a Form 1099-S, reporting is required on Schedule D / Form 8949.
What home improvements count toward my cost basis?
Capital improvements that add value, prolong useful life, or adapt the home to new uses increase your adjusted basis. This includes additions, new roofing, kitchen remodels, HVAC replacement, and landscaping. Routine maintenance and repairs generally do not count.
What is the Net Investment Income Tax and when does it apply to a home sale?
The NIIT is a 3.8% surtax on net investment income (including capital gains) for taxpayers with MAGI above $200,000 (single) or $250,000 (MFJ). It applies to the lesser of net investment income or the excess of MAGI over the threshold. Excluded gain under Section 121 is NOT subject to NIIT.
관련 글

Korea Earned Income Tax Credit 2026: May Application Guide for Expats — Up to KRW 3.3M

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

Korea Comprehensive Income Tax 2026: Expat Filing Guide — May Deadline, Residency Rules & Double-Tax Treaties

Korea Auto Tax: June Installment Application Closes in May — What You Need to Know

Korea Global Income Tax: Last-Minute Deduction Checklist Before the May 31 Deadline
