Gray divorce and the house: how the “tax-free” transfer, the $250K vs $500K exclusion, and a quiet IRS clock can cost six figures — and how to dodge it.
TL;DR: Handing the house to one spouse in a divorce is tax-free that day — but the tax bill doesn’t disappear. It transfers. Whoever keeps the home inherits its entire capital gain, a smaller exclusion once they’re single, and a 2-out-of-5-year clock that starts ticking the moment someone moves out. In a gray divorce, where the gain on a long-held home can be seven figures, that gap can quietly cost more than $50,000. The fixes are cheap and boring — but only if you write them into the decree.
Confession: for years, I thought the fairest sentence in any divorce settlement was “she keeps the house.”
It sounds so clean. So merciful. One person stays in the kitchen where the height marks are still penciled on the doorframe, the other takes the brokerage account, everyone shakes hands, and the lawyers go back to billing someone else.
Then a friend of mine — let’s call her Dana, 58, Naperville, the kind of woman who color-codes her spreadsheets — actually did it. She kept the colonial. He kept the 401(k). “Equal value,” the mediator said. Everybody smiled.
Nobody mentioned the relay baton.
Because that’s what a house is in a divorce: a baton handoff. Except this baton has something taped to it — every dollar of gain the house ever earned — and the IRS doesn’t care which runner is holding it when the race ends. They tax whoever’s holding it last.
More than one in three Americans who divorced in 2019 were 50 or older, according to sociologists Susan L. Brown and I-Fen Lin at Bowling Green State University, whose research in The Journals of Gerontology found the gray divorce rate doubled between 1990 and 2010 and has barely come down since PMC. That’s millions of people splitting up at exactly the age when the house is usually the biggest, oldest, most appreciated asset on the table.
And almost nobody is telling them how the tax part actually works.
Act I: The Day of the Deal
Trap 1: “Tax-free” doesn’t mean tax-forgotten
Here’s the sentence that lulls everyone to sleep: transfers of property between spouses incident to a divorce are not taxable. It’s true! 26 U.S.C. § 1041 says no gain or loss is recognized when a home (or a share of it) passes to a spouse or ex-spouse as part of the settlement. The IRS’s own Publication 523 confirms you have “nothing to report” from the transfer.
Feels like winning. It is not winning. It is deferring.
Because the same rules hand the receiving spouse something else: carryover basis. If your ex was the sole owner, your starting basis is whatever his adjusted basis was. If you co-owned, your new basis is your half’s basis plus his half’s basis. In plain English: you inherit the house’s entire tax history, stretching back to the day you two bought it with a hopeful smile and a 9% mortgage.
Bought in 1999 for $320,000. Worth $1.3 million now. That roughly $1 million of gain doesn’t vanish in the divorce — it moves in with whoever keeps the house, unpacks its bags, and waits.
Trap 2: The “equal value” illusion
This is the one that gets my friend Dana.
On the settlement spreadsheet: House, $1.3M, goes to her. 401(k), $1.3M, goes to him. Looks like a coin flip.
It is not a coin flip. His $1.3M is pre-tax, sure — he’ll pay ordinary income tax as he withdraws it. But her $1.3M is a house with $1M of embedded gain and a built-in exclusion that is about to shrink (stay with me). Meanwhile the house also eats: property taxes, insurance, a roof with maybe four good years left. As anyone who’s survived a surprise condo assessment knows, housing has a way of wrecking a retirement budget from inside your own walls.
Two assets. Same number on paper. Very different after-tax money. A fair split prices the tax liability inside the house — and almost nobody’s spreadsheet does.
A house with a big unrealized gain is worth less than the same number in a brokerage account. If your settlement sheet doesn’t show the tax, it isn’t a settlement sheet. It’s a wish.
Act II: The Years Between
Trap 3: The 2-out-of-5 clock starts when someone moves out
Federal law lets you exclude gain on the sale of your main home — up to $250,000 per person — if you owned it and used it as your main home for at least 24 of the 60 months before the sale, per Publication 523.
Here’s where divorce gets sneaky. Say Dana moves out in 2026, her ex stays in the house for three more years while they untangle things, and they finally sell in 2029. Dana hasn’t lived there for 36 of the last 60 months. Her use test fails. Her $250,000 exclusion — the one she assumed was hers — is gone.
Gone, that is, unless the paperwork says the right sentence.
There’s a little-known fix buried in the rules: if you’re a sole or joint owner, and your ex is allowed to live in the home under a divorce or separation instrument and uses it as their main home, the IRS lets you treat it as your residence too. Their occupancy counts as yours. The clock never runs against you.
But the magic words have to be in the document. A decree, a written separation agreement — something formal. A verbal “yeah, you stay for now” over kitchen-table coffee counts for exactly nothing. This is the cheapest insurance in all of divorce law: one sentence, written down, preserving up to $250,000 of exclusion. And mediators skip it constantly.
Trap 4: The exclusion shrinks the moment you’re single
Married filing jointly, a couple can exclude up to $500,000 of gain. Single, it’s $250,000. Both spouses must individually meet the use test for the full $500K — one more reason that written instrument matters.
Now do the math that nobody does at the mediation table. Sell the house while still married (yes, even mid-divorce, if both of you still qualify): $1M gain minus $500K exclusion leaves $500K taxable. Keep the house, sell it a few years later as a single woman: $1M gain minus $250K leaves $750K taxable.
That extra $250,000 of taxable gain, at a combined federal capital gains rate of 15% plus the 3.8% net investment income tax that kicks in above $200,000 of income for single filers, plus a typical state bite of around 5%, works out to roughly $55,000–$60,000 in avoidable tax. For one timing decision. (In 2026, single filers don’t even hit the top 20% capital gains bracket until $545,501 of taxable income, according to Schwab’s bracket tables — so that 15% + 3.8% stack is where most of this pain lives.)
Same house. Same gain. Different signature date.
Act III: The Day You Sell
Picture the after-photo. Dana, 63 now, standing in the empty living room, realtor’s lockbox on the door, closing scheduled for Thursday. The market was kind. The check is enormous. And somewhere in the stack of closing documents is a number that will decide whether her slice of “equal” was ever actually equal.
This is the moment all four traps come due at once: the carryover basis from the day her ex signed the deed over, the exclusion sized for a single person, the use test measured against the day she moved out, and the NIIT layered on top because the gain itself shoved her income over the threshold.
The happy version of this scene exists. In it, Dana’s attorney insisted the separation agreement include the out-spouse occupancy clause. Her mediator priced the house’s embedded tax into the asset column, so she got extra retirement funds to compensate. And her CPA ran the numbers on selling before the decree was final versus after — and everyone chose the date with open eyes.
None of that is exotic. It’s the standard playbook for divorced and separated taxpayers in IRS Publication 504, plus one mediator who reads footnotes. The tragedy isn’t that the rules are unfair. It’s that they’re findable — and still invisible until the closing statement.
⚡ Quick Answer
Do you owe capital gains tax when a house transfers between spouses in a divorce?
No — under IRC §1041 and IRS Publication 523, a transfer incident to divorce is not taxable at the time. But the receiving spouse takes the home’s original (carryover) basis, so the full built-in gain follows them and is taxed when they eventually sell, with only a single-filer exclusion of up to $250,000 to shelter it.
The “Before You Sign” Checklist
- ✅ Get the home’s adjusted basis in writing — purchase price plus documented improvements — before agreeing to take the house.
- ✅ Price the embedded tax into the asset column, or demand offsetting assets.
- ✅ If one spouse stays and one goes, put occupancy rights in the decree or written separation agreement — that single sentence protects the out-spouse’s use test.
- ✅ Model selling before vs. after the decree is final — the difference between a $500K and a $250K exclusion can be a five-figure decision.
- ✅ Run the NIIT math — a large gain can push a single filer over the $200,000 threshold and add 3.8% to the bill.
- ✅ Hire a CPA who does divorce work regularly — not your brother-in-law’s guy who does small-business returns. And if you’re the adult kid watching your parents do this, forwarding this article is cheaper than therapy. (Though honestly, Gen X daughters seem to end up handling everything eventually — just ask the ones moving Mom in.)
The Take-Home
A gray divorce doesn’t have a tax trap so much as a tax time lag. The settlement feels fair because every bill is postdated. So make the invisible visible before you sign: the basis, the clock, the exclusion, the threshold. Four things, one afternoon with a good CPA, and the house you fought for stays an asset instead of becoming an annuity for the IRS.
If you’re in the middle of this right now — or watching your parents white-knuckle through it — do one thing today: find the deed paperwork and write down what the house actually cost. That number is the beginning of every honest conversation that follows.
And if this piece saved you (or someone you love) from a five-figure surprise, pass it along. Gray divorce is one of the fastest-growing financial events in America, and the most expensive sentence in it is the one nobody writes down. Drop a comment with the question your mediator couldn’t answer — I read every one, and the best ones become future columns.