Skip to content

Real Estate

If a Surviving Spouse Sells Within Two Years, the IRS Still Allows the $500,000 Home-Sale Exclusion

Digilifetrends Updated 2026-10-26 4 min read

A surviving spouse who sells a home within two years of a partner’s death can still claim the married couple’s $500,000 home-sale exclusion. Wait even one day longer, and the tax break drops back to the $250,000 single-filer amount, which can leave a large taxable gain.

An older man, wearing a blue button-up shirt and khaki pants, holds a white framed 'SALE' sign with prominent red letters and a yellow and black hammer. He stands in front of a rustic wooden house with a green door. An older woman with white hair, wearing a cream cardigan and light pants, is blurred in the background to the right, peering from behind a wooden post.

Quick Read

  • A surviving spouse who sells within two years of a partner's death can still claim the married couple's $500,000 home-sale exclusion.

  • Missing the two-year window by even one day drops the exclusion to $250,000, potentially creating a six-figure tax bill.

  • In common law states, only the deceased spouse's half of the home gets a stepped-up basis, leaving survivors exposed to large gains if they miss the window.

A Home-Sale Break That Can Survive Widowhood

The home-sale exclusion lets homeowners leave the profit from a primary residence out of taxable income. The gain is generally the sale price minus basis, and basis is what the IRS treats as your cost in the property, including qualifying improvements. Normally, you must own and live in the home as your principal residence for at least two of the five years before the sale. Single filers can exclude up to $250,000 of gain, while married couples filing jointly can exclude up to $500,000.

A special rule lets an unmarried widow or widower keep the $500,000 limit if the sale takes place no later than two years after the date of death and the couple met the joint filing requirements right before the death.

How the Tax Code States It

The rule appears in 26 U.S.C. § 121(b)(4), which covers special treatment for certain sales by surviving spouses. IRS Publication 523 lays out four requirements: the sale must occur within two years of the spouse’s death, the surviving spouse must not have remarried by closing, neither spouse may have used the exclusion on another home sold within two years of this sale, and the ownership and use tests must be satisfied, with the deceased spouse’s holding period counting toward them.

Who Can Use the Rule

The surviving spouse has to be unmarried on the closing date. The higher exclusion applies if, just before the death, either spouse met the ownership test and both spouses met the residence test. Remarrying before the sale eliminates the larger exclusion. Closing one day after the two-year mark reduces the exclusion to $250,000, assuming the survivor otherwise qualifies on their own. Taking time to grieve does not end the opportunity, but waiting too long can.

Why the Deadline Can Matter So Much

How much the two-year window matters depends on basis, which changes at death. In common law states, community property rules do not apply. In those states, only the deceased spouse’s half of a jointly owned home receives a stepped-up basis to fair market value on the date of death; the surviving spouse’s half keeps its original basis. In community property states — Arizona, California, Idaho, Louisiana, Nevada, New Mexico, Texas, Washington and Wisconsin — the entire home generally receives a stepped-up basis under 26 U.S.C. § 1014(b)(6), as long as at least half of the community interest is included in the deceased spouse’s estate.

For example, assume a couple bought a home for $200,000 decades ago and held it as joint tenants in a common law state. If the home was worth $1.2 million when the husband died and the wife later sells it for the same amount, ignoring selling costs, her basis becomes $700,000. That leaves a $500,000 gain. If she sells within the two-year window, she can exclude the entire gain. If she sells after the window closes, $250,000 becomes taxable.

Using the same facts in a community property state, the basis would reset to $1.2 million, leaving no gain at all. In that case, the exclusion amount matters far less. But in common law states, long-term homeowners face more exposure, especially as home values rise. The Case-Shiller index reached a five-year high of 337.3 in July 2026, up 1.9% from a year earlier.

A Separate Clock for Filing Status

The tax filing rules for a surviving spouse follow a different timeline. In the year of death, a joint return can usually be filed if there is no remarriage before year-end. For the next two years, a qualifying surviving spouse may be able to use joint tax rates, but only if the home is the main residence of a dependent son, daughter, stepson or stepdaughter. That deadline is measured in tax years, while the home-sale exclusion is measured from the date of death. Survivors sometimes confuse the two.

Before You Put the House on the Market

  1. Document the home’s value on the date of death, ideally with a professional appraisal, because that figure determines the new basis.

  2. Mark the closing date of the two-year window on your calendar.

  3. Keep records of improvements, since they still increase basis.

  4. Consult a tax professional before listing if the potential gain is large.

The Date That Matters Most

Grief may call for a year of waiting, but it also pays to note the second anniversary of a spouse’s death. A sale completed by then can shelter up to $500,000 of gain. A sale after that point cuts the exclusion to $250,000.

More from Digilifetrends