Skip to main content

The Money Overview

Selling too soon after a spouse dies can forfeit a big home-sale tax break

A surviving spouse who sells the family home can still shield up to $500,000 of profit from federal tax, but only if the sale closes within two years of the spouse’s death. Wait past that window and the exclusion drops to the ordinary single-filer amount of $250,000, cutting the tax-free portion of the gain in half even though nothing about the house has changed. Grief, probate delays, or a slow local market can easily push a closing past that deadline. A second mechanic, how much of the home’s basis is stepped up at death, decides how much of that gain even exists to exclude in the first place.

The Two-Year Clock Behind the $500,000 Exclusion

Under Internal Revenue Service rules, a homeowner who sells a primary residence can generally exclude up to $250,000 of capital gain from taxable income, or up to $500,000 on a joint return. A surviving spouse who files alone after a partner’s death does not automatically lose access to the higher figure. The tax code lets someone whose spouse died while they owned the home keep the $500,000 threshold, but only for a limited stretch of time, and only if several conditions tied to that same filing status are all met on the date of the sale.

That limited stretch is two years from the date of death. IRS Publication 523 states that a surviving spouse may use the higher $500,000 exclusion only if the home is sold within two years of the spouse’s death, has not remarried by the sale date, and meets the ownership and use tests using the combined history of both spouses. Miss that window by even a few weeks and the higher figure disappears entirely, regardless of how close the seller came to the deadline or why the sale slipped past it.

The dollar consequence scales with how much the home appreciated before the sale. A couple who bought a house decades ago for $150,000 and watched it rise to $550,000 in value would owe no federal tax on the $400,000 gain if the surviving spouse sold within two years, since the full amount sits under the $500,000 exclusion ceiling. Sell in year three instead, and $150,000 of that same gain becomes taxable as a long-term capital gain, purely because the calendar moved past the cutoff, not because the profit itself changed.


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.

What a Widow or Widower Still Has to Prove

Qualifying for the higher exclusion is not automatic once a death is on record. Publication 523 lists four separate conditions a surviving spouse must satisfy: selling within two years of the death, not having remarried by the closing date, not having already excluded gain on another home sold less than two years before the current sale, and meeting the two-year ownership-and-use test, counting the late spouse’s time in the home if the survivor’s own history falls short on its own.

That last condition matters most for couples who moved late in life or where one spouse held the deed for most of the ownership period. The rule allows the survivor to count the deceased spouse’s ownership and residence toward the two-year test, but the survivor still has to show that combined history clears two years within the five years before the sale. A widow or widower who inherited a home their spouse owned and lived in for decades, but who only recently moved in themselves, can usually still clear that bar this way.

Any gain above whichever exclusion applies still has to be reported. The IRS requires a seller who receives Form 1099-S to report the sale of a home even when the full gain is excluded, and any taxable portion above the exclusion figures into the return the same way as other capital gains and losses. The reporting requirement does not disappear just because most, or all, of the profit ends up untaxed.

How the Basis Step-Up Changes What’s Actually at Stake

The two-year deadline only controls how much gain can be excluded; a separate rule decides how much gain exists in the first place, and it depends on how the couple held the title. When a home was owned jointly, as tenants by the entirety or as joint tenants with rights of survivorship, only the deceased spouse’s half of the property receives a stepped-up basis to fair market value at death. The survivor’s own half keeps its original, lower basis, so only part of the paper appreciation gets erased by the death itself.

Publication 523 illustrates the math with its own example: a jointly owned home with a $50,000 adjusted basis and a $100,000 fair market value on the date of death leaves the survivor with a new basis of $75,000, half from the old basis and half from the stepped-up value. In the nation’s community-property states, the rule works differently. There, the entire home’s basis steps up to fair market value when either spouse dies, not just half of it, which can erase most or all of the taxable gain regardless of how long the survivor waits to sell.

That difference means the two-year clock carries very different stakes depending on where a couple lived and owned. In a community-property state, a slow sale that misses the window may cost little, because the basis step-up already wiped out most of the gain. In the other states, where only half the basis resets, the exclusion amount does most of the work protecting a highly appreciated home, making the two-year deadline the single biggest variable a surviving spouse controls after a difficult year.

This article was researched and drafted with the assistance of artificial intelligence.

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.​


Plain-English help keeping more of your money in retirement. Get the free newsletter.

Free from Retirement Shield. Unsubscribe anytime. We never ask for money.