Skip to article
All articles

National

The Home Sale Exclusion in Divorce: Protecting Your $250K–$500K Tax Break

4 min read

Legal information, not legal advice.

The federal home sale exclusion under IRC Section 121 allows up to $250,000 per person ($500,000 for married joint filers) of capital gain to be excluded from tax when selling a principal residence, subject to two-year ownership and use tests. Divorce disrupts these tests in predictable ways: the departing spouse stops accumulating use days, and deferred sales may cause one or both spouses to lose eligibility. Special rules in the tax code address these situations: a spouse can credit the other's ownership period after a divorce transfer, and a non-residing spouse can count the resident spouse's use under a divorce instrument. Timing the sale (before or after the divorce) can make a difference of hundreds of thousands of dollars in taxes.

The marital home is often the largest asset in a divorce. And for many couples, it's also the most appreciated. The federal home sale exclusion (up to $250,000 per person) can shield a substantial gain from tax. But divorce complicates the rules significantly, and timing matters enormously.


Type: Tax Concept | Relevance: Home Sale, Property Division | Phases: P3–P4


The Basic Rule: Section 121

Under IRC Section 121, a taxpayer can exclude up to $250,000 of capital gain ($500,000 for married couples filing jointly) from the sale of their principal residence, provided they meet two tests:

  • Ownership test: You owned the home for at least two of the five years before the sale.
  • Use test: You lived in the home as your principal residence for at least two of the five years before the sale.

Both tests must be satisfied. And you can only use this exclusion once every two years.

How Divorce Disrupts the Two Tests

Divorce creates two common problems with the use and ownership tests:

Problem 1: The departing spouse. When one spouse moves out during the divorce process, they stop accumulating "use" days for the use test. If the divorce drags on for two or more years, the departing spouse may lose the ability to claim the exclusion by the time the home sells.

The fix: the spousal transfer rule. When a spouse transfers ownership of the home to the other spouse as part of the divorce, the receiving spouse gets credit for the transferring spouse's ownership period. This handles the ownership test. But it does nothing for the use test: only actual residence counts.

Problem 2: The non-residing spouse post-divorce. If the divorce agreement gives one spouse the right to live in the home for several years (e.g., until the youngest child finishes school), and then the home is sold, the non-residing spouse may not meet the use test by the time of sale.

The special use rule: If a spouse is granted the right to use the home under a divorce or separation instrument, the non-residing spouse can count the other spouse's use toward their own use test. This rule specifically addresses the situation where one spouse leaves during the divorce but the home won't be sold for years.

Splitting the Exclusion After Divorce

Once the divorce is final and each person files as single, each former spouse gets their own $250,000 exclusion, not a shared $500,000. This means two single filers have the same $500,000 of combined exclusion capacity as one joint return, so the size of the gain alone is not a reason to sell before the decree. Selling while still married matters when one spouse would fail the use or ownership test after the divorce, or when one spouse will take the larger share of the gain, because the joint $500,000 is a single pooled cap while each single filer's $250,000 applies only to that person's own share.

Example: A home purchased for $400,000 is now worth $1,000,000, a $600,000 gain. If sold before the divorce is final (while still married, filing jointly), $500,000 is excluded and only $100,000 is taxable. If sold after divorce as two single filers, each spouse's $300,000 share of the gain is reduced by a $250,000 exclusion, so $500,000 is sheltered in total and $100,000 is still taxable: the same result as the joint sale in this example. But if one spouse doesn't meet the use test post-divorce, they might exclude nothing, leaving the full $600,000 gain (or their share) taxable.

Timing the Sale for Maximum Benefit

Three sale scenarios to consider:

  1. Sell during the divorce (while still married): Access the $500,000 joint exclusion. Both spouses must meet the use and ownership tests. Fastest path to tax protection.

  2. Sell shortly after divorce (both spouses still qualify): Each claims their own $250,000 exclusion. Works if both meet the two-year use and ownership tests at time of sale.

  3. Deferred sale (one spouse stays for years): Use the special rules for non-residing spouses to preserve the departing spouse's exclusion eligibility. Careful drafting of the separation instrument is essential.

Key Takeaways

  • The home sale exclusion is $250,000 per person ($500,000 for married joint filers) under IRC Section 121.
  • You must meet both a two-year ownership test and a two-year use test in the five years before sale.
  • Transferring title in a divorce gives the receiving spouse credit for the departing spouse's ownership period, but not their use period.
  • If a divorce instrument grants one spouse the right to use the home, the non-residing spouse can count the resident spouse's use toward their own test.
  • Two single filers have the same $500,000 of combined exclusion capacity as one joint return; selling while still married matters when one spouse would fail a test or would take the larger share of the gain.
  • Tax consequences of selling now vs. later can differ by hundreds of thousands of dollars: model both scenarios before deciding.

Next Steps

  1. Calculate your current gain by subtracting adjusted purchase price (basis, including improvements) from current market value. Know what you're protecting.
  2. Check each spouse's use and ownership history: who moved out, when, and what dates matter for the five-year lookback window.
  3. Model three sale scenarios (sell now, sell post-divorce with both qualifying, deferred sale with one spouse staying) with a CDFA or tax professional before making any decision.

Expert Help

The intersection of divorce law and tax law on home sales is a specialized area. A CDFA can model the after-tax proceeds of each timing scenario. A tax attorney or CPA can advise on whether you qualify for the exclusion and how to structure the separation agreement to preserve it. Divorce 360 connects you with professionals who work these issues daily.


This article is for educational purposes only and does not constitute tax or legal advice. Tax laws change frequently and individual situations vary. Consult a qualified tax professional before making decisions about your home sale.