Skip to main content

The Money Overview

A surviving spouse who sells the family home within two years of a partner’s death can still exclude up to $500,000 of the gain from tax

A surviving spouse who sells the family home within two years of a partner’s death can still exclude up to $500,000 of the gain from federal income tax, the same ceiling a married couple gets, instead of the $250,000 a single seller gets. The rule sits in section 121 of the Internal Revenue Code and is laid out for the 2025 tax year in IRS Publication 523.

The two years run from the date of death to the sale. Once that window closes, the survivor falls back to the single seller’s limit. For a house that has gained a lot in value, the calendar can decide whether a sale produces no tax at all or a bill in the tens of thousands of dollars.

The four conditions Publication 523 sets for the higher limit

The IRS lists four conditions for the higher limit. The sale comes within two years of the spouse’s death, the survivor has not remarried at the time of the sale, neither spouse took the exclusion on another home sold less than two years before, and the two-year ownership and residence tests are met.

The statute adds a requirement that Publication 523 does not spell out in the same list. Under section 121(b)(4), the joint-filer conditions must have been met immediately before the date of death, meaning the couple would have qualified for the $500,000 limit had both been alive and selling together.

The survivor does not need to have owned or lived in the house alone for two years. Publication 523 says a surviving spouse who has not remarried may count any time the late spouse owned and lived in the home, and section 121(d)(2) says the period shall include the time the deceased spouse owned and used the property before death.

Widows and widowers weighing a sale, and the adult children helping them, are the people this clock decides. Anyone who remarries before closing loses the higher limit, because the test is marital status on the sale date. The IRS explains the underlying 24-month ownership and use tests in its home-sale topic and sends readers to Publication 523 for survivor rules.

Stay ahead of retirement tax and RMD news: Miss an enrollment or claim deadline and the money can be gone. Join the Retirement Money Brief and we’ll send you our 2026 Retirement Tax, RMD & Medicare Deadline Calendar as a welcome gift.

Get the Brief + the deadline calendar →

We may earn a commission from links on this page.

For a living couple filing jointly, the IRS says either spouse can meet the 24-month ownership test, but both spouses must meet the use test individually. The survivor rule carries that same logic past the death, as long as the sale falls inside the two-year window and the survivor stays single.

The window looks generous at 24 months, but a survivor who spends the first year on the estate and the loss can find the second year short once showings, an offer, inspections and a closing are counted. Starting the sale math early costs little and leaves room to adjust the price.

What the date-of-death value does to the gain

The exclusion works on gain, and gain depends on basis. Publication 523 says that for a jointly owned home, the basis of the interest the late spouse owned becomes its fair market value on the date of death, while the survivor’s own interest keeps its old basis. A long-held house is therefore partly reset.

An illustration, using round numbers chosen for the arithmetic and not taken from any case: a couple paid $200,000 for the house, it was worth $900,000 at the death, and the survivor sells for $900,000 with $54,000 in selling costs. The late spouse’s half takes a $450,000 basis and the survivor’s half keeps $100,000, for a combined basis of $550,000.

Selling expenses come off the price first, as the gain worksheet in Publication 523 shows, leaving $846,000. The gain is $296,000, under the $500,000 ceiling, so nothing is taxable. If the sale slipped past the two years, the $250,000 limit would leave $46,000 taxable, about $6,900 at an assumed 15 percent rate.

Without the date-of-death reset, the combined basis would be the original $200,000 and the gain would be $646,000, above even the $500,000 ceiling. The basis adjustment is what brings a long-held house like this one under the line, and the two-year window is what keeps the higher ceiling in place.

When the exclusion does not cover the whole gain

Gain above the ceiling is taxable. Publication 523 sends sellers to Form 8949 and Schedule D for reporting a sale, according to its section headings. Homes with larger gains, or sales that close after the window, need the arithmetic done before a listing agreement is signed.

The third condition catches households that downsized recently. If either spouse used the exclusion on another home sold less than two years before the current sale, the higher limit is off the table. A couple that sold a prior house 18 months before the death, for example, could fail that test even if every other box is checked.

Closing agents report sales on Form 1099-S, and Publication 523 notes the date of sale appears in box 1. That makes the sale date easy to compare against the date of death, which is the comparison the IRS will make if the exclusion is ever questioned.

The rule is a clock tied to a calendar date, and no agency sends a reminder. Families settling an estate spend months on funeral costs, probate and benefit paperwork. Marking the second anniversary of the death on the calendar at the start protects a ceiling worth up to $250,000 of extra excluded gain.

Widowed, with a house to sell or to leave?

A surviving spouse who sells inside the window can exclude up to $250,000 more gain than one who waits. The same household often has the next decision waiting too: who gets the house after the survivor, and whether a deed or a beneficiary form already says so.

The Pass It On Checklist walks through that second decision: every beneficiary form checked, with a primary and a backup named, and a transfer-on-death deed so the house can skip probate in many states. It is written for homeowners who want the house to reach the people they choose.

Inside are a 60-second scan, the ten moves with forms and deeds, the 2026 gift and estate figures and a beneficiary audit worksheet, plus a large-print edition.

Get the beneficiary audit worksheet and deed guide for the family home →

This article was produced with AI assistance and edited for accuracy against the sources linked above.

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


More in Retirement Planning