Skip to main content

The Money Overview

Selling a home after a spouse dies still allows the full $500,000 profit exclusion if you sell within two years

Losing a spouse often forces a decision about the family home, and the timing of that sale carries a tax consequence few grieving households anticipate. A married couple can shield up to $500,000 of profit from capital gains tax when they sell, but a widow or widower filing alone normally gets only half that shelter. Federal law preserves the full $500,000 for a surviving spouse, on one strict condition: the home has to be sold within two years of the spouse’s death. Miss that window and the tax break can shrink by $250,000, a difference that can mean tens of thousands of dollars.

The exclusion that shrinks when a spouse dies

The home-sale exclusion lets homeowners avoid tax on the gain from selling a primary residence, provided they owned and lived in it for at least two of the five years before the sale. The exclusion is $250,000 for a single filer and $500,000 for a married couple filing jointly. For a home bought decades ago in an expensive market, that gap determines whether a sale is tax-free or generates a substantial bill.

When one spouse dies, the survivor’s filing status usually changes, and with it the exclusion. A widow who sells in a later year as a single filer is ordinarily limited to the $250,000 amount, even though the home was the couple’s shared residence and the gain reflects a lifetime of appreciation both of them lived through. That drop is the trap the two-year rule is designed to prevent.

The amount at stake grows with how long a couple owned the home. A house purchased for $150,000 and worth $650,000 at sale carries a $500,000 gain, exactly the figure a joint exclusion erases and a single exclusion only half covers. For longtime owners in appreciated markets, the surviving spouse’s tax outcome can hinge entirely on which exclusion applies.


Free retirement updates: One number can cost or save hundreds a month in retirement. The free Retirement Shield newsletter surfaces the ones worth knowing. Sign up free.

The two-year window that preserves $500,000

The relief comes from a specific provision that lets a surviving spouse keep the couple’s full exclusion for a limited time. According to IRS guidance on selling a home, a widow or widower can claim the $500,000 amount if the sale occurs no later than two years after the date of the spouse’s death, and if the survivor has not remarried before the sale. The couple must also have met the ownership and use requirements, with the deceased spouse’s period of ownership and residence counted toward the test.

Two conditions quietly narrow the benefit. Remarriage before the sale ends access to the higher amount, which can complicate decisions for a survivor who forms a new relationship soon after a loss. And the two years run from the date of death, not from any later event, so a survivor who spends a year settling the estate before listing the home has already consumed half the window without realizing the clock was running.

A third condition sits quietly in the background. The higher amount applies only if the gain exclusion has not already been claimed on a different home sold within the two years before the current sale, because the break is available just once in any two-year span. A survivor who downsized shortly before a spouse’s death, and used the exclusion then, can find the rule blocks a second use even inside the widow’s window.

After the two years pass, the survivor falls back to the $250,000 single-filer limit. The rule effectively gives a grieving spouse a grace period to sell on the couple’s terms rather than being penalized for the timing of a death, but it rewards awareness. A survivor who knows the deadline can plan a sale deliberately; one who does not may discover the larger exclusion only after it has expired.

Even a survivor who cannot meet the full test is not always shut out. The IRS allows a reduced exclusion when a sale is driven by a change in health, a work relocation, or other unforeseen circumstances, prorated by the share of the two-year requirement actually satisfied. For a grieving spouse forced to move for care or finances before meeting the ownership and use rules, that partial shelter can still lift a slice of the gain out of reach of tax.

How the stepped-up basis compounds the break

The exclusion is only part of the tax picture, and the other part often does even more work. When a spouse dies, the deceased’s share of the home receives a stepped-up basis, meaning its cost basis is reset to the fair market value on the date of death. Because basis is the figure subtracted from the sale price to calculate gain, that reset can erase much of the appreciation that built up during the marriage.

The effect can be dramatic. In many states the survivor inherits a stepped-up basis on half the home, and in community-property states the entire home’s basis may reset to date-of-death value. A survivor selling soon after a death may find the taxable gain has shrunk so much that little or none of the exclusion is even needed, because the step-up already eliminated most of the profit on paper.

The two provisions work best in tandem and within the same short window. The stepped-up basis reduces the measured gain, and the preserved $500,000 exclusion covers whatever remains, a combination that frequently wipes out the tax on a home sale entirely for a spouse who acts within two years. The decision a survivor faces is rarely just emotional; it is a financial one with a firm deadline attached, and the households that understand both rules keep far more of the home’s value than those who learn about them too late.

This article was produced with AI assistance and reviewed against primary sources by The Money Overview editorial team.

More Financial Reading

Avatar photo

Daniel Harper

Daniel is a finance writer covering personal finance topics including budgeting, credit, and beginner investing. He began his career contributing to his Substack, where he covered consumer finance trends and practical money topics for everyday readers. Since then, he has written for a range of personal finance blogs and fintech platforms, focusing on clear, straightforward content that helps readers make more informed financial decisions.​