Skip to content
๐Ÿงพ Taxes

How are capital gains on a home sale taxed when a widow or widower sells the family house?

Asked by BudgetSeniors team ยท 6 months ago

Say your spouse died 14 months ago and you are thinking of selling the house you bought together in 1990 for $90,000. You put about $25,000 into a new roof and kitchen over the years. It would sell for about $340,000, with roughly 6 percent in agent and closing costs. You wonder how much of the profit is taxed, whether the home sale exclusion is $250,000 or $500,000 for a surviving spouse, how the value at your spouse’s death changes the numbers, and what records and forms you need.

1 reply

  1. BudgetSeniors team Team 6 months ago

    For a surviving spouse who sold within two years of the death and hasn't remarried, up to $500,000 of capital gains on a home sale can be tax-free, and after that window it's $250,000. On the numbers in your situation the gain is probably far below either limit, so the tax bill is likely zero. The bigger job is proving it, which means finding what you paid, what you improved and what the house was worth when your spouse died.

    How the capital gains on a home sale exclusion works

    The IRS's home sale rules, in Publication 523, let you exclude up to $250,000 of gain from the sale of your main home, or up to $500,000 on a joint return. To get the maximum, you have to pass an eligibility test. You must have owned the home for at least 24 months out of the five years before the sale, and lived in it as your main home for at least 24 months of those five years. The 24 months of living there can be scattered, since the IRS counts 730 days in total. A vacation or short absence counts as time at home. You can generally use the exclusion only once every two years.

    Advertisement

    If you couldn't care for yourself at some point, there's a helpful rule. Provided you lived in the home as your main home for at least 12 months in the five years before the sale, time spent in a state-licensed care facility such as a nursing home counts toward the two-year residence requirement.

    The surviving spouse rule

    If you can't meet the tests on your own, or want the larger exclusion, Publication 523 has a special rule. You can include your late spouse's time owning and living in the home. To claim the $500,000 amount, you have to meet all of these: you sell within two years of your spouse's death, you haven't remarried at the time of the sale, neither you nor your late spouse used the exclusion on another home sold less than two years before this sale, and you meet the ownership and residence tests.

    The date of sale matters. The IRS treats it as the date the title transfers, or the date the economic burdens and benefits of ownership shift to the buyer, whichever is earlier. If you're close to the two-year mark, ask your closing agent and a tax preparer which date will apply before you pick a closing date.

    A worked example

    Say you and your spouse bought the house jointly in 1990 for $90,000, put on a roof and remodeled the kitchen for $25,000 total, and you now sell for $340,000. Selling costs, such as the agent's commission and closing fees, come to $20,400 (6 percent of the price).

    • Amount realized: $340,000 minus $20,400 is $319,600.
    • Adjusted basis: $90,000 plus $25,000 is $115,000.
    • Gain: $319,600 minus $115,000 is $204,600.

    That's already under $250,000, so nothing is taxable if you pass the ownership and residence tests. But there's more good news if your spouse died. Publication 523 says that when spouses owned the home as joint tenants with right of survivorship or as tenants by the entirety, each is treated as owning half. The half your spouse owned gets a new basis equal to its fair market value on the date of death, while your own half keeps its old basis. If the house was worth $300,000 when your spouse died, the new basis is half of $115,000 plus half of $300,000, which is $57,500 plus $150,000, or $207,500. The gain drops to $319,600 minus $207,500, which is $112,100. Ownership form matters, so have a preparer confirm how your deed was titled. If you live in a community property state, ask whether the rules there give the whole house a new basis, which would shrink the gain further.

    Advertisement

    Now change the numbers to see why the date matters. Say the sale price is $640,000, selling costs are $38,400, and the house was worth $520,000 at your spouse's death. Amount realized is $601,600. The new basis is $57,500 plus $260,000, or $317,500, so the gain is $284,100. Sold within two years of the death and unmarried, the $500,000 exclusion covers all of it. Sold later, the $250,000 exclusion leaves $34,100 taxable. That's what a few months of timing can be worth.

    What counts toward basis

    Basis starts with what you paid, plus certain settlement fees and closing costs from the purchase, such as legal fees, recording fees, survey fees, transfer taxes and owner's title insurance. It also includes improvements, meaning things that add value, prolong the home's life or adapt it to new uses: additions, a new roof, central air, a new furnace, wiring, a septic system, a deck, a fence, kitchen modernization, new flooring and similar work. Repairs on their own don't count, though repair-type work done as part of a larger remodel can. Things like fire and casualty insurance premiums and rent paid before closing don't go into basis.

    Start collecting these records now:

    • The closing papers from when you bought, or at least the deed. A title company or the county recorder's office may be able to give you copies.
    • Receipts, contracts, canceled checks or bank records for every improvement, even if rough.
    • Documents showing the home's value on the date of death, such as an appraisal done for the estate. If no federal estate tax return was required, Publication 523 says the basis is the appraised value on the date of death used for state inheritance or transmission tax purposes.
    • The closing statement from this sale, and any Form 1099-S the closing agent sends. If you get a Form 1099-S, Publication 523 says you must report the sale on Form 8949 even if you have no taxable gain.

    If you cannot find some records, don't guess wildly. Ask the preparer what's reasonable, since an honest, documented estimate beats an invented number.

    Gross income for filing purposes includes gain from selling your main home, even if you can exclude part or all of it, according to the footnote on Publication 501's filing table. So the sale can affect whether you need to file that year. A taxable gain that exceeds the exclusion is reported on Form 8949 and Schedule D. For 2026, the IRS lists a 0 percent long-term capital gains rate on taxable income up to $49,450 for a single filer and $98,900 for joint filers, with 15 percent applying above that up to $545,500 and $613,700.

    Medicare's extra charge on higher-income Part B and drug premiums is based on your modified adjusted gross income from two years earlier. Gain you exclude under the home sale rules never lands in adjusted gross income, but a taxable gain does, so a large taxable gain can raise those premiums two years later. If that happens, Social Security lets you ask for a lower amount after certain life-changing events, and the death of a spouse is on the list.

    Publication 523 also lists situations where you can get a partial exclusion even if you don't meet the full tests, and some situations that block the exclusion, such as a recent like-kind exchange.

    Volunteers at IRS-sponsored VITA and Tax Counseling for the Elderly sites prepare basic returns at no charge, though you should confirm a site can handle a home sale before you go. A paid preparer or a CPA can also be worth the fee in a sale year. Treat this as general information, not tax or legal advice, and remember that state taxes are separate.

    Key sources: IRS; U.S. Department of the Treasury

Add your reply

Your email is never shown. Be kind โ€” someone may be worried about money. Never post account, Social Security or Medicare numbers.