Skip to main content

How Does the $250,000 Home Sale Exclusion Work When You Divorce?

Short answer

If you sell after your divorce, each of you can exclude up to $250,000 of your share of the gain on your own return if you each meet the ownership and use tests. If you sell while still married and file a joint return, you can exclude up to $500,000 together. Both tests require you to own and live in the home for 2 years within the 5 years before the sale. Special divorce rules can help a spouse who moved out still qualify.

See details

How the Ownership and Use Tests Work

The exclusion lets you leave part of the gain from selling your main home out of your taxable income. The IRS sets two tests you must meet in order to exclude gain from selling your home:

  • You owned the home for at least 24 months (2 years) of the 5 years before the sale.
  • You lived in the home as your main home for at least 24 months of those same 5 years.

The 2 years for each test can be different periods, but both must fall within the 5 years ending on the sale date. You generally can’t claim the exclusion if you excluded gain from another home sale during the 2 years before this one.

Selling Before vs. After Your Divorce

When you sell (while married or after your divorce) changes how much you can exclude and who has to meet each test. Here’s how a joint return compares with separate returns after the divorce:

RuleSell while married (joint return)Sell after divorce (separate returns)
Maximum exclusionUp to $500,000 on one joint returnUp to $250,000 each on your own return
Ownership testEither spouse can meet itEach of you must meet it, with credit for an ex-spouse’s ownership time if the home was transferred to you
Use testBoth spouses must meet it individuallyEach of you must meet it, with an exception for a spouse who moved out as a result of a separation/divorce

The $500,000 limit for married filing jointly depends on both of you meeting the use test. If you sell after the divorce, each of you looks at your own ownership and use history instead.

How Each Spouse Qualifies After a Divorce

After the divorce, you each check the tests against your own situation. Publication 523 has rules for separated or divorced taxpayers that cover the two most common situations.

If You Moved Out Before the Sale

You can still treat the home as your residence if you’re a sole or joint owner. Your spouse or former spouse must be allowed to live there under a divorce or separation instrument (the legal paperwork from your divorce or separation). They must also use it as their main home. Their time living there then counts toward your use test after you’ve moved out.

If One Spouse Keeps the Home

If your ex-spouse transfers the home to you, you can count the time they owned it as time you owned it. You still have to meet the use test on your own by living there as your main home for the required 2 years.

What Happens When the Home Is Transferred in the Divorce

If one of you keeps the home, the transfer and the later sale follow separate rules. Transferring your home to an ex-spouse, or transferring your share of the home as part of the divorce settlement, generally creates no gain or loss. That means you have nothing to report, unless your spouse is a nonresident alien.

The spouse who receives the home takes over the former spouse’s adjusted basis, under the rules for a home received in divorce. Basis is the starting figure you measure your gain against. When you later sell, your gain is figured from that carryover basis before you apply your exclusion of up to $250,000.

Reporting the Home Sale on Your Tax Return

You may need to report the sale even if you owe no tax. If you receive Form 1099-S, Proceeds From Real Estate Transactions, you must report the sale even if the gain is excludable. You also must report it if you can’t exclude all of your gain.

When you e-file, report the sale on these forms:

  • Schedule D (Form 1040), Capital Gains and Losses
  • Form 8949, Sales and Other Dispositions of Capital Assets

Sources