---
title: "Taxes: transfers between spouses incident to divorce"
description: "Handing the house to a spouse as part of the divorce is not a taxable sale; selling it later can exclude up to $250,000 of gain per person ($500,000 on a."
url: "https://shinnslist.com/courses/divorce-and-the-house/dvh-04-taxes-transfers-between-spouses-incident-to-divorce-and-the"
---

> Handing the house to a spouse as part of the divorce is not a taxable sale; selling it later can exclude up to $250,000 of gain per person ($500,000 on a.

[Divorce and the House in Colorado: Free Course](/courses/divorce-and-the-house/) Light or dark

[Free Courses](/courses/) › [Divorce and the house](/courses/divorce-and-the-house/) › [Mortgage, taxes and selling under pressure](/courses/divorce-and-the-house/#d2) › Lesson 4

# Taxes: transfers between spouses incident to divorce and the home-sale exclusion

Mortgage, taxes and selling under pressure · 1 study hours

**Read once:** This course is general education, not legal or tax advice. Every house and every divorce is different; talk to a Colorado family-law attorney and a tax professional about yours.

**Bottom line:** Handing the house to a spouse as part of the divorce is not a taxable sale; selling it later can exclude up to $250,000 of gain per person ($500,000 on a joint return) if you meet the 2-out-of-5-year ownership and residence tests, and special rules let a spouse who moved out still count the years the other spouse lived there under the decree.

**Bottom line first.** Giving the house to your spouse in the divorce is not a sale for tax purposes; nobody owes tax on the transfer. Selling the house, now or later, can trigger tax on the **gain**, but most homeowners exclude the first $250,000 of gain each ($500,000 on a joint return) if they pass two tests. Divorce has special rules that help the spouse who moved out. This lesson lays them out in plain words; a tax professional should check your own numbers.

### Transfer to a spouse: no gain, no loss

IRS Publication 504 says that generally no gain or loss is recognized on a transfer of property from you to your spouse, or to your former spouse if the transfer is **incident to divorce** (IRS Pub 504, Property Settlements). A transfer is incident to divorce if it occurs within 1 year after the date your marriage ends, or is related to the end of your marriage (IRS Pub 504). A transfer is treated as related to the end of the marriage if it is made under the divorce or separation instrument and occurs within 6 years after the date the marriage ends; outside those conditions it is presumed not related, unless you can show it was made to carry out the property division (IRS Pub 504).

Publication 523 says the same thing from the home's side: if you transferred your home, or your share of a jointly owned home, to a spouse or ex-spouse as part of a divorce settlement, you are considered to have no gain or loss and have nothing to report (IRS Pub 523, Transfer of your home to a spouse or an ex-spouse). The exception is a spouse who is a nonresident alien; then the normal rules apply (IRS Pub 523).

So when Chris quitclaims his half of the townhome to Dana and takes $69,250 in return, Chris reports no gain on that transfer. The tax bill does not vanish; it moves. Dana now owns the whole house with the couple's original **basis**, and she faces the gain question when she sells.

### Basis: what the gain is measured against

**Basis** is, roughly, what was paid for the house plus the cost of improvements, with some adjustments. Gain on a sale is the selling price, minus selling costs, minus basis. Pub 504 adds a useful detail: you cannot deduct legal fees paid for a property settlement, but you can add them to the basis of the property you receive, such as the cost of preparing and filing a deed to put the house in your name alone (IRS Pub 504, Costs of Getting a Divorce). Keep those receipts.

### The home-sale exclusion

Pub 523 lets you exclude the first $250,000 of gain from the sale of your main home, increased to $500,000 for a married couple filing jointly, if you meet the Eligibility Test (IRS Pub 523). The two core requirements:

- **Ownership**: you owned the home for at least 24 months (2 years) out of the last 5 years leading up to the date of sale. For a married couple filing jointly, only one spouse has to meet this (IRS Pub 523).
- **Residence**: you owned the home and used it as your residence for at least 24 months of the previous 5 years; the 24 months need not be one block, just a total of 730 days. Each spouse must meet the residence requirement individually for a joint return to get the full exclusion (IRS Pub 523).

### Special rules for separated or divorced spouses

Three rules in Pub 523 matter here.

- **The spouse who moved out can still count the time.** If you were separated or divorced before the sale, you can treat the home as your residence if your spouse or former spouse is allowed to live in the home under a divorce or separation instrument and uses it as their main home (IRS Pub 523, Separated or divorced taxpayers). A divorce or separation instrument includes a decree of divorce or separate maintenance or a written instrument incident to such a decree (IRS Pub 523). This is what makes Choice 3 from Lesson 2, the deferred sale, workable for the spouse who left.
- **The spouse who received the house can count the other's ownership time.** If your home was transferred to you by a spouse or ex-spouse, you can count any time when your spouse owned the home as time when you owned it; you must still meet the residence requirement on your own (IRS Pub 523).
- **Filing status changes the cap.** Once divorced, each former spouse files separately and each has a $250,000 cap, not a shared $500,000. If you sell while still married and file jointly, the $500,000 cap can apply if both meet the residence test.

### Example with real numbers

Dana and Chris, Lamar Court, Arvada (made up). Original purchase $340,000; $10,000 of improvements; basis $350,000. Agreed value $450,000.

**Path A: sell now, still married, joint return.** Sale price $450,000, selling costs $31,500, so amount realized $418,500. Gain = $418,500 - $350,000 = $68,500. Both lived there over two years. The gain is far under the $500,000 joint cap (IRS Pub 523), so no tax on the gain in this example.

**Path B: Dana buys Chris out, sells in four years.** Chris's transfer to Dana is incident to divorce: no gain for Chris (IRS Pub 504). Dana's basis stays $350,000 (plus the $600 deed-prep fee she can add, IRS Pub 504). Say she sells for $520,000 with $36,400 in costs: gain = $483,600 - $350,600 = $133,000. She owned and lived there over 2 of the last 5 years. As a single filer her cap is $250,000 (IRS Pub 523), so the whole $133,000 is excluded in this example.

**Path C: deferred sale, Chris moved out, both still on title, sold in four years.** Chris has not lived there for four years. Normally he would fail the residence test. But because the decree lets Dana live there as her main home, Chris can treat it as his residence (IRS Pub 523, Separated or divorced taxpayers). Each reports half the gain, $66,500 in this example, and each has a $250,000 cap. Without that rule, Chris's half could have been taxable.

Write the right to occupy into the decree itself, not a side email. The tax rule hangs on the divorce or separation instrument.

## Law cited

- IRS Publication 504
- IRS Publication 523

## Key terms

Gain Selling price minus selling costs minus basis; the profit the tax rules look at. Basis Roughly what was paid for the home plus improvements and certain costs, used to measure gain. Incident to divorce A transfer within 1 year after the marriage ends, or related to the end of the marriage (IRS Pub 504). Home-sale exclusion The rule letting you leave up to $250,000 of gain ($500,000 joint) off your income when you sell your main home. Ownership test Owning the home at least 24 months of the 5 years before the sale. Residence test Living in the home as your main home at least 24 months (730 days) of the 5 years before the sale. Divorce or separation instrument A decree of divorce or separate maintenance, or a written instrument incident to it (IRS Pub 523). Amount realized Sale price minus selling costs. Filing status Single, married filing jointly, and so on; it sets the exclusion cap.

## Flashcards

### Is transferring the house to your spouse in a divorce a taxable sale?

No. Generally no gain or loss is recognized (IRS Pub 504; Pub 523).

### When is a transfer incident to divorce?

Within 1 year after the marriage ends, or related to the end of the marriage (IRS Pub 504).

### How long after the marriage ends can a transfer still be treated as related to it?

Within 6 years, if made under the divorce or separation instrument (IRS Pub 504).

### Home-sale exclusion caps?

$250,000 of gain; $500,000 for a married couple filing jointly (IRS Pub 523).

### Ownership and residence tests?

At least 24 months (730 days) of the 5 years before the sale, each.

### Must both spouses meet the ownership test on a joint return?

No, only one; but each must meet the residence test individually (IRS Pub 523).

### Chris moved out; Dana lives there under the decree. Can Chris count the time?

Yes, if the spouse is allowed to live there under a divorce or separation instrument (IRS Pub 523).

### Can Dana count Chris's ownership years after he deeds his share to her?

Yes, ownership time transfers; residence she must meet on her own (IRS Pub 523).

### Can you deduct legal fees for the property settlement?

No, but you can add them to the basis of property received, like deed-prep costs (IRS Pub 504).

### Lamar Court Path A gain: $418,500 realized minus $350,000 basis?

$68,500 (example), under the cap.

## Quiz: 10 questions

Tap an answer. It shows right or wrong and opens the reason. Your score is saved in this browser and counts in the [study app](/courses/divorce-and-the-house/study).

- Chris deeds his half of the house to Dana under the decree and receives $69,250. For tax purposes Chris:
**A** Reports a capital gain on his half
- **B** Recognizes no gain or loss
- **C** Pays tax on the $69,250
- **D** Must file a gift tax return

### Show answer and why

**Answer: B.** Recognizes no gain or loss

A transfer to a former spouse incident to divorce recognizes no gain or loss (IRS Pub 504; Pub 523 says you have nothing to report).

IRS Pub 504, Property Settlements

- A transfer is incident to divorce if it occurs within how long after the marriage ends (or is related to the end of the marriage)?
**A** 6 months
- **B** 1 year
- **C** 2 years
- **D** 5 years

### Show answer and why

**Answer: B.** 1 year

Pub 504: within 1 year after the date your marriage ends, or related to the end of your marriage. The 6-year figure is the window for the related-to presumption.

IRS Pub 504

- A transfer under the divorce instrument is treated as related to the end of the marriage if it occurs within:
**A** 1 year
- **B** 2 years
- **C** 6 years
- **D** 10 years

### Show answer and why

**Answer: C.** 6 years

Pub 504 says the transfer must be made under the divorce or separation instrument and occur within 6 years after the marriage ends.

IRS Pub 504

- The maximum home-sale gain exclusion for a single filer is:
**A** $500,000
- **B** $125,000
- **C** $250,000
- **D** Unlimited

### Show answer and why

**Answer: C.** $250,000

Pub 523: exclude the first $250,000 of gain; $500,000 for a married couple filing jointly.

IRS Pub 523

- The residence test requires living in the home at least:
**A** 12 months of the last 3 years
- **B** 60 months straight
- **C** 36 months of the last 5 years
- **D** 24 months (730 days) of the last 5 years

### Show answer and why

**Answer: D.** 24 months (730 days) of the last 5 years

Pub 523: at least 24 months of the previous 5 years, a total of 730 days, not necessarily one block.

IRS Pub 523

- On a joint return, which test must EACH spouse meet individually?
**A** The residence test
- **B** The ownership test
- **C** Both tests
- **D** Neither test

### Show answer and why

**Answer: A.** The residence test

Pub 523: only one spouse must meet the ownership requirement, but each spouse must meet the residence requirement individually for the full exclusion.

IRS Pub 523

- Chris moved out 4 years ago; the decree lets Dana live in the home as her main home. When it sells, Chris:
**A** Fails the residence test
- **B** Can treat the home as his residence during that time
- **C** Must pay tax on all his gain
- **D** Can only exclude $125,000

### Show answer and why

**Answer: B.** Can treat the home as his residence during that time

Pub 523, Separated or divorced taxpayers: you can treat the home as your residence if your spouse or former spouse is allowed to live there under a divorce or separation instrument and uses it as a main home.

IRS Pub 523

- Legal fees for preparing the deed into Dana's name alone are:
**A** Deductible as a legal expense
- **B** Ignored for tax
- **C** Taxable income to Chris
- **D** Added to Dana's basis in the house

### Show answer and why

**Answer: D.** Added to Dana's basis in the house

Pub 504: you cannot deduct legal fees for a property settlement but can add them to the basis of property you receive, e.g. deed preparation and filing.

IRS Pub 504

- Lamar Court Path A: amount realized $418,500, basis $350,000. Gain is:
**A** $68,500
- **B** $100,000
- **C** $31,500
- **D** $110,000

### Show answer and why

**Answer: A.** $68,500

418,500 - 350,000 = 68,500 (example), under both the $250,000 and $500,000 caps.

Lamar Court example (made up)

- After the house is transferred to Dana, how is her ownership time counted?
**A** Only from the transfer date
- **B** She may count any time Chris owned the home, but must meet residence on her own
- **C** She gets a fresh 5-year clock
- **D** She inherits Chris's residence time too

### Show answer and why

**Answer: B.** She may count any time Chris owned the home, but must meet residence on her own

Pub 523: if a home was transferred to you by a spouse or ex-spouse, you count any time your spouse owned it as your ownership time, but residence you must meet yourself.

IRS Pub 523

[← The mortgage is separate from the decree: liability, quitclaim deeds and the Garn-St Germain exemption](/courses/divorce-and-the-house/dvh-03-the-mortgage-is-separate-from-the-decree-liability-quitclaim)[Selling fast or under pressure: missed payments, foreclosure timing, listing vs cash offer, and keeping records →](/courses/divorce-and-the-house/dvh-05-selling-fast-or-under-pressure-missed-payments-foreclosure)

## After you study

[Need to sell the house and split it fairly? Get a no-pressure cash offer](/offer)

[Browse the other free courses](/courses)

---
Agent index: [https://shinnslist.com/llms.txt](https://shinnslist.com/llms.txt)
