Picture a 71-year-old widow in Ohio whose husband died in the autumn of 2023. They had purchased their home in 1994 for $300,000, held title jointly with right of survivorship, and the property was valued at $1,300,000 around the time of his death.
She remained in the house. The garden had been his, the grandchildren still came for holiday gatherings, and no one reminded her that the clock was running. She eventually sold in the spring of 2026, about two and a half years after the funeral.
When her tax preparer completed the return, the home that would have been sold tax-free 18 months earlier now created a federal tax bill of $42,440.
The Two-Year Rule for Surviving Spouses
Section 121 of the Internal Revenue Code allows homeowners to exclude gain on a principal residence if they owned and lived in it for at least 2 of the prior 5 years. For a single filer, the exclusion limit is $250,000. Married couples filing jointly can exclude up to $500,000.
Section 121(b)(4) extends the higher married-couple limit to a widow or widower filing as a single taxpayer. The $500,000 exclusion applies if the sale occurs no later than 2 years after the spouse’s date of death and the couple met the joint-return requirements immediately before the death.
IRS Publication 523 says the surviving spouse must sell within 2 years of the death, must not have remarried by the time of sale, and must not have used the exclusion on another home sold during the prior two years. The deceased spouse’s ownership and residency period also counts toward the requirement. After the second anniversary passes, the exclusion drops back to $250,000.
A Step-Up in Basis Reduces the Gain First
Before the exclusion is applied, the husband’s death also changed part of the home’s tax basis. Under Section 1014, inherited property receives a basis equal to its fair market value on the date of death. For a couple owning the home as joint tenants, Section 2040(b) generally places only half the property’s value in the husband’s estate, so only his half receives the step-up.
His share receives a basis equal to half the date-of-death value, while her share keeps half of the original purchase price. Together, her new basis becomes $800,000. On an assumed sale price of $1,300,000, excluding selling costs, the gain is $500,000. Without the step-up, the gain would have been $1,000,000.
Waiting Until the Third Year Creates a $42,440 Tax Bill
Because she sold as a single filer, only $250,000 of the gain was excluded. The remaining $250,000 was treated as a long-term capital gain.
If her pension and IRA withdrawals already put taxable income above $49,450, the top of the single filer’s 0% capital-gains bracket for that year, the taxable gain would fall into the 15% bracket, which runs up to $545,500. That produces $37,500 of tax.
The gain also brings in the net investment income tax: 3.8% on the smaller of the gain or the amount by which modified AGI exceeds $200,000 for a single filer. Assuming $80,000 of other modified AGI, that adds $4,940. The total federal tax comes to $42,440, before any state tax.
Selling Before the Second Anniversary Would Have Avoided the Tax
If she had closed before the second anniversary of her husband’s death, the entire $500,000 gain would have been covered by the surviving-spouse exclusion. Federal tax would have been zero, with no capital-gains tax and no 3.8% surtax.
Location mattered as well. In community property states, Section 1014(b)(6) can also step up the surviving spouse’s one-half interest in community property. That full step-up would have set her basis at the date-of-death value and eliminated the gain regardless of when she sold.
What to Do Before the Two-Year Deadline
- Track the date. Count two years from the date of death on the death certificate and aim to close before that deadline. The closing date controls, so leave room for delays.
- Get a date-of-death appraisal. It establishes the stepped-up basis for the deceased spouse’s share. Trying to reconstruct it years later can trigger an IRS dispute.
- Review the deed. Joint tenancy, tenancy by the entirety, community property, and trust ownership can all affect how much of the home gets a step-up.
- Wait to remarry until after the sale. Publication 523 requires that you have not remarried at the time of the sale.
- Save renovation records. A new roof or kitchen can increase the basis on your original share and reduce the taxable gain.
A CPA can calculate the numbers for your situation in about an hour, and that is time worth scheduling before you list the property. This two-year window is one of several IRS rules that can quietly cost retirement families six figures.
Two Years Can Mean an Extra $250,000 of Tax-Free Gain
The surviving-spouse rule is worth an additional $250,000 of tax-free home-sale gain. In this example, missing the deadline cost the widow $42,440.
More from Digilifetrends
Reverse Mortgages Make Sense Only for Lifelong Homeowners — Start by Comparing Cheaper Alternatives
Once you turn 62, a reverse mortgage can convert home equity into cash without monthly payments, but the upfront charges can reach thousands of dollars and the loan balance keeps…
2 min read · Published 2026-11-29Buying a Home With a Friend? Put a Co-Ownership Deal in Place Before Closing
Buying a house with a friend can be a workable arrangement, but the lender still considers each borrower responsible for the full mortgage. That is why it is important to have a…
3 min read · Published 2026-11-29Buying a Condo: HOA Records Can Reveal an Upcoming Special Assessment
A condo’s purchase price covers your unit, but the association’s finances determine what you may owe after you move in. Before your deposit becomes nonrefundable, review the HOA…
2 min read · Published 2026-11-29