Skip to main content
Divorce · Financial guide

Should I keep the house or sell in a divorce?

Quick answer

Whether you can afford it is a mortgage-qualification question you can answer this week, and it is usually the binding one. Whether you should turns partly on a tax exclusion that is worth $500,000 to a couple and only $250,000 to you alone (IRS).

$500,000Gain excluded, filing jointly (IRS)
$250,000Gain excluded, single
2 of 5 yearsOwnership and use tests
Not indexedBoth figures fixed since 1997

The full picture

This decision is usually framed emotionally and decided financially, which is the wrong way round only if you skip the arithmetic.

QuestionHow to answer itWhen to answer it
Can you refinance in your own name?Apply. Your income alone, against the full payment, taxes and insurance.First. If the answer is no, the rest is hypothetical.
What is the gain?Sale price less selling costs less your basis — purchase price plus capital improvements.Before you agree the settlement.
Which exclusion applies?$500,000 if you sell while still able to file jointly; $250,000 if you sell later, alone.This can be a six-figure difference in timing alone.
What does keeping it cost?Maintenance, taxes, insurance, and the repairs deferred during the marriage.Before trading other assets for it.
Is the trade equal?A house and a 401(k) of the same nominal value are not equivalent — one is illiquid, costs money to hold, and is taxed differently on sale.Before signing.

The exclusion requires that you owned the home for at least two of the five years before the sale and lived in it as your principal residence for at least two of those five. The periods need not be the same months and need not be consecutive. For a couple, only one spouse must meet the ownership test but both must meet the use test — which is why a spouse who moved out early can matter to the timing.

Divorce introduces specific provisions here, including circumstances in which a former spouse’s period of ownership or use can be credited to you. Those are fact-specific enough that this page will not assert how they apply to you; IRS Publication 523 sets them out and is the document to take to whoever is advising you.

The figures are also not indexed for inflation. $250,000 and $500,000 have been fixed since 1997, so in a market that has appreciated for two decades the exclusion covers proportionally less than it did — which makes the joint-versus-single timing question larger every year.

Three exits, and the tax rule that sits behind them

There are only three ways out of a jointly owned, jointly financed home: one party refinances in their own name, one party assumes the existing loan with the lender's approval, or the house is sold. Assumption is not available on every loan and always requires the lender to qualify the remaining borrower. A decree cannot create a fourth option, and it cannot compel a lender to release anyone.

The tax rule matters most when selling. Up to $250,000 of gain on a main home is excluded for a single filer and $500,000 for a couple filing jointly, subject to ownership and use tests, and the exclusion cannot generally be used more often than once every two years (IRS Topic 701). Publication 523 sets out how those tests are applied, including the situations that arise when a marriage ends (IRS Publication 523). Whether you sell before or after the decree can therefore change the tax on the same sale.

Transfers of property between spouses, or between former spouses where the transfer is incident to the divorce, are generally not taxable at the moment of transfer; what moves with the property is its basis, and the tax arrives later for whoever eventually sells (IRS Publication 504). An asset split that treats the house as worth its equity, and a retirement account as worth its balance, has quietly ignored this.

One cost of the refinance route is easy to miss. A buyout that leaves you with less than 20 percent equity in the refinanced loan usually brings private mortgage insurance with it, which is a new monthly cost the old joint loan may not have carried; it ends automatically once the balance is scheduled to reach 78 percent of value, and can be requested at 80 percent (CFPB).

Common questions

Should I keep the house or sell it in a divorce?

The decision is made by two things that have nothing to do with attachment. The first is whether the full carrying cost of the house fits your post-divorce income on its own: mortgage, taxes, insurance and maintenance, against one salary rather than two. The second is whether you can actually take your former spouse off the loan, because a decree that awards you the house does not remove them from the note. If the refinance is not available, keeping the house may not be available either, whatever the decree says.

Does a quitclaim deed remove my ex-spouse from the mortgage?

No, and this is the most costly misunderstanding in the whole process. A deed transfers ownership of the property. The mortgage is a separate contract with the lender, and only the lender can release a borrower from it, through a refinance or an approved assumption. Until that happens, a missed payment damages both parties' credit and the lender can pursue either of them, regardless of what the divorce decree assigns.

Related questions

How much does divorce cost? →

Should I choose COBRA or marketplace insurance after divorce? →

How is retirement divided in a divorce? →

What is the financial checklist for divorce? →

Divorce: everything in one place

21 pages cover this. The one you are reading is marked, so you can see what the others do differently.