FinancialCheckup101 · 100 questions

How is our house taxed if one of us keeps it or we sell it?

By FinancialCheckup101 Research Staff · Last reviewed October 26, 2026

FinancialCheckup101 is not affiliated with or endorsed by America.gov or the U.S. government.

Transferring the home, or a share of it, to a spouse, or to a former spouse incident to the divorce, generally produces no gain or loss and nothing to report. Under IRC 1041, "incident to the divorce" means within one year after the marriage ends or related to its end. The spouse who keeps the home takes over the transferor's adjusted basis rather than a new market-value basis, so any built-in gain stays with the house.

When the home is later sold, up to $250,000 of gain can be excluded, or $500,000 on a joint return, if the seller owned the home and lived in it as a main home for at least 24 months of the 5 years before the sale. Two divorce rules help: a person who received the home from a spouse or former spouse can count that spouse's ownership time, and an owner can count as his or her own use the time a spouse or former spouse lived there under a divorce or separation instrument.

Authority: IRC 1041 and 121; IRS Publication 523 (2025), Selling Your Home.

Sources: 26 U.S. Code § 1041 - Transfers of property between spouses or incident to divorce; Publication 523 (2025), Selling Your Home

From the list: 100 Financial Questions to Ask America.gov, Answered With Sources

Free checkup: Going Through Divorce

Disclosures