Should I Sell My House After My Spouse Dies?
The house is almost always the largest asset in the estate. It's also the most emotionally loaded. Many widows are told simply to "wait a year before making any big decisions" — but there's a tax rule that makes that advice dangerous if your home has large unrealized gains. Act too slowly and you lose a $250,000 tax exclusion that's only available in the first two years of widowhood.
This guide explains the financial framework: the two-year window, how your basis resets at death, the 2026 capital gains math, and a clear decision framework for what to do with the house.
The Two-Year Window: Your Highest-Value Move
Under IRC § 121, a homeowner can exclude up to $250,000 of capital gains (single filer) or $500,000 (married filing jointly) when selling a primary residence, provided they've lived in it as their primary home for at least 2 of the last 5 years.1
Here's what most widows don't know: there's a special rule under IRC § 121(b)(4) that gives surviving spouses a two-year window to use the full $500,000 exclusion — even though they're now filing single. To qualify:1
- The sale must occur within 2 years of the date of your spouse's death
- You must not have remarried before the sale date
- Both you and your spouse must have met the 2-year use test (lived in the home) before death
- Neither of you used the exclusion on a different home within the prior 2 years
After the two-year window closes, you're a single filer — and the exclusion drops to $250,000. That $250,000 difference can mean tens of thousands of dollars in taxes on a high-appreciation home.
Home bought 25 years ago for $180,000. Current value at spouse's death: $980,000.
After step-up in basis (see below): new basis = $180,000 / 2 + $490,000 = $580,000.
Gain if sold for $980,000: $400,000.
Sell within 2 years: $500K exclusion → $0 taxable gain.
Sell after 2 years: $250K exclusion → $150,000 taxable gain → ~$22,500–$30,000 in federal capital gains tax + potential NIIT.
The window is worth it.
Step-Up in Basis: What Your House Actually Cost You Now
When your spouse dies, the cost basis of their share of the house resets to the fair market value at the date of death. This is called a "step-up in basis," and it dramatically reduces or eliminates the taxable gain — but how much you get depends on what state you live in.2
Common law states (most states)
In common law states, each spouse owns their half. At death, only the deceased spouse's half gets stepped up to date-of-death value. Your original cost basis on your own half remains unchanged.
Example: Home bought for $200,000 (each half = $100,000). Value at death: $900,000.
- Deceased spouse's half: basis steps up from $100,000 → $450,000
- Your half: still at original $100,000 basis
- New combined basis: $550,000
- Gain if sold for $900,000: $350,000
- After $500K exclusion (sold within 2 years): $0 taxable gain
- After $250K exclusion (sold after 2 years): $100,000 taxable gain → ~$15,000–$20,000 in tax
Community property states: the double step-up
In community property states, marital property is treated as jointly owned. When one spouse dies, both halves of community property step up to current fair market value — a full "double step-up."2
Community property states: Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington, Wisconsin. (Alaska allows opt-in.)
Example: Same home — $200,000 purchase price, $900,000 at death — in California.
- Full double step-up: both halves reset to FMV
- New combined basis: $900,000
- Gain if sold for $900,000: $0
- The two-year window doesn't matter much here — there's no gain to shelter anyway
If you're in a community property state with a high-appreciation home, the double step-up likely eliminates most or all of your gain regardless of when you sell. If you're in a common law state, the two-year window is a hard tax deadline worth planning around.
What If You Don't Meet the 2-Year Occupancy Test?
If you're being asked to leave a home quickly (health facility, family situation, financial pressure) and haven't lived there for 2 of the last 5 years, you may still qualify for a reduced maximum exclusion under the "unforeseen circumstances" exception. Treasury Regulations explicitly list the death of a spouse as a qualifying unforeseen circumstance.3 The reduced amount is prorated based on how much of the 2-year test you completed.
2026 Capital Gains Rates: What You'll Owe on Any Remaining Gain
After the exclusion, any remaining gain is taxed at long-term capital gains rates (assuming you've owned the home more than one year, which is almost always true):4
| 2026 taxable income (single) | LTCG rate |
|---|---|
| Up to $49,450 | 0% |
| $49,451 – $545,500 | 15% |
| Over $545,500 | 20% |
On top of the capital gains rate, the Net Investment Income Tax (NIIT) adds 3.8% on gains above the exclusion if your MAGI exceeds $200,000 (single filer).4
Practical implication: if your total taxable income in the sale year is moderate — say, $80,000 between Social Security, RMDs, and the gain — you may be in the 15% LTCG bracket on any gain above the exclusion. If the gain above the exclusion is $150,000, that's $22,500. If the 2-year window would have reduced it to $0, the window is worth $22,500.
The Emotional Counter-Argument: Don't Rush
"Don't make major financial decisions in the first year of grief" is good advice. But it's not advice to ignore the two-year window — it's advice to use the time between months 6 and 18 to make an informed, non-reactive decision.
What that means in practice:
- Don't sell the house impulsively in month 2 just because it feels overwhelming to maintain. Give yourself time to grieve and stabilize.
- Do know your basis and your gain by month 6. Run the numbers so you know what you're working with.
- Do decide intentionally by month 18–21. If you want the $500K exclusion, you need to close the sale before the 2-year mark — not list it then. Factor in how long your market takes to sell.
- If after 18 months you still don't want to sell, that's a valid choice — just make it knowing the tax cost.
The Financial Decision: Staying vs. Selling
Beyond the tax rules, the decision has a financial logic. Questions worth running:
- Can you afford to stay? Property taxes, maintenance, utilities, and insurance on a home designed for two people are now carried by one income. Run the monthly math honestly.
- What's the opportunity cost? If the home has $800,000 of equity and you're carrying $2,500/month in housing costs, you're effectively earning a negative return on $800,000. At a 4% safe withdrawal rate, that equity invested generates $32,000/year in retirement income — more than covering modest rent.
- Do you want to stay? Plenty of widows do, for legitimate reasons: community, grandchildren nearby, roots. The math doesn't override that. But it should be a clear-eyed choice, not a default.
- Is the house too large? Maintenance on a 4,000 sq. ft. home is a different challenge as a single person, especially as you age. Downsizing to a lower-maintenance property or a planned community can reduce both cost and burden.
Summary: What To Do and When
| Timeframe | Action |
|---|---|
| Months 1–3 | Don't decide. Get your basis and gain calculated. Understand your state's property rules (community vs. common law). |
| Months 6–12 | Model the financial scenarios — stay vs. downsize vs. sell. Run housing costs against income needs. |
| Months 12–18 | Make a deliberate decision. If selling, list in time to close before the 2-year mark. |
| After 24 months | $250K exclusion only. Basis is still stepped up. LTCG rates still apply on any gain above the exclusion. |
Sources
- 26 U.S. Code § 121 — Exclusion of gain from sale of principal residence. § 121(a): $250,000 single / $500,000 MFJ exclusion. § 121(b)(4): surviving spouse may use $500,000 exclusion if sale occurs within 2 years of spouse's death, surviving spouse has not remarried, and both spouses met the use test immediately before death.
- Fidelity — What is a step-up in cost basis?. Common law states: only deceased spouse's share steps up. Community property states: IRC § 1014(b)(6) allows both halves of community property to step up to date-of-death FMV ("double step-up").
- IRS Publication 523 — Selling Your Home. Reduced maximum exclusion for partial use test; unforeseen circumstances include death of taxpayer's spouse per Treas. Reg. § 1.121-3(e)(2).
- IRS Rev. Proc. 2025-32 — 2026 Inflation Adjustments. 2026 LTCG 0% threshold: $49,450 (single), $98,900 (MFJ); 20% threshold: $545,500 (single), $613,700 (MFJ). NIIT: 3.8% on net investment income when MAGI exceeds $200,000 (single).
- Accounting Insights — Section 121 Exclusion After the Death of a Spouse. Practical analysis of the 2-year window and eligibility requirements for the surviving-spouse $500,000 exclusion.
Capital gains exclusion rules verified against IRC § 121 and IRS Rev. Proc. 2025-32. LTCG brackets verified April 2026. Step-up-in-basis rules verified against IRC § 1014.
Related reading
Get your housing decision modeled
A fee-only advisor specializing in widowhood can run your specific numbers: step-up basis, gain after exclusion, LTCG rate, and housing cost vs. invested-equity comparison. Free match, no obligation.