Selling a Home After a Spouse Dies: The Two-Year Tax Window

A surviving spouse can keep the $500,000 home sale exclusion for two years. Here is who qualifies, how basis works and why waiting can still be the right call.

home, for sale, buy, sell
In this article 6 sections

If you sell your main home within two years of your spouse's death and have not remarried, you can generally exclude up to $500,000 of gain, the full joint amount. After two years, the limit drops to $250,000. Selling inside that window can save real money, but it should never force a rushed decision.

Midlife Simplicity covers the practical side of selling the family home, and this is one of the rules that surprises people most. This guide is for widows and widowers who own a home and are weighing a sale. It explains the two-year tax window, who qualifies, how a stepped-up basis works and what to do if the window is closing.

This is general information, not tax or legal advice. Fact-checked against IRS Publications 523 and 551 as of November 2026.

What Is the Two-Year Rule for Selling a Home After a Spouse Dies?

The two-year rule lets a surviving spouse claim the $500,000 married-couple exclusion on the sale of a main home. The sale must close within two years of the date of death. After that, the limit is the single amount of $250,000.

pocket watch, sand, time, clock

Normally a married couple filing jointly can exclude up to $500,000 of gain on a main home, and a single owner can exclude up to $250,000. The Internal Revenue Service (IRS) explains the surviving spouse exception in Publication 523, Selling Your Home. It treats a widow or widower as if the couple were still filing together, but only for a limited time.

Gain is the difference between what you receive and your adjusted basis. Basis is your cost in the home, adjusted for improvements and certain other items. Selling costs such as agent commissions reduce the gain further. If you are new to that math, our guide to sorting home sale records explains which papers prove those numbers.

Not everyone needs this rule. Many homeowners have a gain well under $250,000 and will owe nothing either way. It matters most for couples who bought decades ago in a market that has risen sharply.

Who Qualifies for the $500,000 Exclusion as a Surviving Spouse?

You qualify if you have not remarried by the sale date, sell within two years of the death and the couple met the ownership and use tests just before the death. The home must also have been your main home. The exclusion must not have been used on another sale in that period.

house, family, suburb, lawn

The ownership and use tests ask a simple question. Did you own the home and live in it as your main home for at least two of the five years before the sale? A surviving spouse can count the time the late spouse owned and lived there. That helps if your spouse bought the house before you married.

Use this checklist before you rely on the $500,000 figure:

  1. Your spouse died no more than two years before the closing date.
  2. You are unmarried when the sale closes.
  3. The home was your main home, not a vacation property or rental.
  4. The couple met the two-of-five-year tests just before the death.
  5. Neither of you used the exclusion on another home sale in the prior two years.

Remarriage deserves a special note. If you remarry before closing, you are no longer a surviving spouse for this rule. A remarried couple filing jointly follows the normal joint rules instead. Ask a tax professional before planning a wedding and a closing in the same year.

Treat the closing date as your deadline, not the day you sign a listing agreement or accept an offer. A sale that is still pending when the two years end may not qualify. Build in a buffer of several months, because a buyer's financing can fall through and the process can restart.

How Does a Stepped-Up Basis Change Your Tax Bill?

A stepped-up basis resets part of the home's cost to its fair market value on the date of death. That usually lowers your taxable gain. In most states, only the late spouse's half steps up. In community property states, both halves can step up.

IRS Publication 551, Basis of Assets states that inherited property generally takes its fair market value at the date of the owner's death as basis. Fair market value is what the home would sell for between a willing buyer and seller. A date-of-death appraisal is the cleanest proof.

Here is a worked example with round numbers, in a state where only the late spouse's half steps up. A couple paid $200,000 in 1990. At the death, the home is worth $600,000. The late spouse's half gets a basis of $300,000. The survivor's half stays at $100,000. The new basis is $400,000.

You sell for $680,000, so the gain is $280,000. If you close inside the two-year window, the $500,000 exclusion covers all of it, and the tax is zero. If you close after the window, the $250,000 exclusion leaves $30,000 taxable. In a community property state, the whole basis would be $600,000, and the gain would be $80,000 under either limit.

Keep the appraisal with your other basis records. If the IRS ever asks how you reached your figure, that single page answers the question. Store a scan of it in the same folder as the deed and the closing statement, and write the date of death on the first page so nobody has to guess later.

Ask the closing attorney or a tax preparer about your state's rules. Property law differs, and so do state taxes on a sale. Midlife Simplicity's editors recommend paying for that hour of advice, because the dollars at stake can be larger than the fee.

Do You Have to Sell Within Two Years?

No, you do not have to sell at all. The two-year window is a tax benefit, not a deadline. Many surviving spouses choose to stay, and that is often the right call. Make the decision on grief, health, money and support, with the tax rule as one input.

lady, window, woman, portrait

It helps to separate the decision from the paperwork. Start with the question of whether this house still works for your life. Our look at whether to downsize or stay and simplify offers a calm way to weigh it. You can sell, rent or stay, and none of those choices is a mistake.

Some practical points can shape the timeline. If the house was held in joint names, the survivor usually becomes the sole owner, but the title record may still need updating. If the house was in the late spouse's name alone, you may need legal authority from probate before you can sign a sale. A local attorney can tell you which applies.

If the tax benefit would be small, you have no reason to rush. If it could reach five figures, give yourself time to plan. A staged approach works well: collect records in the first few months, get the value established, then talk to agents when you feel ready. Our piece on choosing a listing agent helps with that conversation, and the one on selling as-is versus fixing up first helps you decide how much to do before listing.

What Happens If the Two-Year Window Closes?

If the window closes, you can still claim up to $250,000 of gain as a single owner, provided you meet the ownership and use tests. Your basis stays stepped up. Only the larger exclusion goes away, so the cost depends on how big your gain is.

clocks, time, idea, concept

You still have options if the date is close and your plans are not. Some people move out and rent the home, although time spent renting can erode the use test. Others sell and keep the cash in a savings account while they decide where to go. Neither suits everyone, so run the numbers first.

Reporting is simple in the best case. As the IRS property basis and home sale guidance notes, if you exclude all of the gain, you do not need to report the sale unless you receive a Form 1099-S. Read our explainer on Form 1099-S and your home sale before closing so the paperwork matches your return.

A short timeline can keep the process on track:

  1. Note the date of death and the date two years later.
  2. Order a date-of-death appraisal for the home.
  3. Gather the purchase papers and improvement receipts.
  4. Meet a tax professional about your state's basis rules.
  5. Decide whether to sell, then choose an agent.
  6. Aim to close at least three months before the window ends.

Conclusion

Selling a home after a spouse dies comes with a useful tax window. Close within two years, stay unmarried through the closing and you can generally exclude up to $500,000 of gain. A stepped-up basis may reduce the gain further. After the window, the exclusion falls to $250,000.

Your next step is to write down the date two years after the death and order a date-of-death appraisal. Then decide on your own timeline. The tax rule is worth knowing, but your home and your life come first.

Can a widow still get the $500,000 home sale exclusion?
Yes, in many cases. A surviving spouse who has not remarried can generally claim the $500,000 exclusion if the home sale closes within two years of the date of death. The couple must have met the ownership and use tests just before the death, and the home must have been the main residence.
What happens if I sell after the two-year window?
The exclusion drops to the single amount of $250,000, provided you meet the ownership and use tests. Your stepped-up basis still applies, so you may owe nothing if your gain is modest. Only the larger exclusion is lost, so the cost depends on how big your gain is.
Does the home get a stepped-up basis when a spouse dies?
Generally yes. Inherited property takes a basis equal to its fair market value on the date of death. In many states, only the late spouse's half steps up. In community property states, both halves can step up. A date-of-death appraisal helps prove the value, and a tax professional can confirm your state's rule.
Do I have to report the sale if I owe no tax?
If you exclude all of the gain, you generally do not need to report the sale on your return. The exception is when you receive a Form 1099-S from the closing agent. In that case the sale is reported, so keep your basis records handy and check with your tax preparer.

This guide is part of our Selling series. One small job a week arrives in Sunday Notes, with nothing to sell you.

In this article 6 sections

Written by

Helen Ward

Property Editor

20+ years experience

Helen spent two decades on the selling side of the property market, much of it helping long-time owners sell the house they raised a family in. That work taught her that most of the stress in a sale comes from doing things in the wrong order, not from the market itself. At Midlife Simplicity she writes about pricing, what to fix and what to leave, reading an agent's valuation, and the choice between apartments, townhouses and single-storey homes. She is careful to say where local rules and costs differ, and when it is worth paying a professional.

Credentials

  • Twenty years on the selling side of the residential property market
  • Has guided long-time owners through the sale of their family homes
  • Specializes in pricing, pre-sale preparation and reading agent valuations
More from Helen

Sunday Notes

One email.
One small job
for the week.

Every Sunday: a single checklist, a single story, nothing to sell you. Unsubscribe in one click.