Skip to content

General education, not advice for your situation.

Carry Forward Learning Search the site

Selling Your Home

Selling Your Home: walk me through it

Same facts. Pro adds the full authority stack under each answer.

Back to the questions

Your path

You likely qualify for the full exclusion

  1. Use the cap for your filing status: $250,000 for a single filer, or $500,000 on a joint return when both spouses passed the use test.
  2. Figure your gain: the sale price, minus selling costs, minus your adjusted basis (what you paid, plus closing costs and improvements).
  3. Subtract the cap from the gain. Anything left over is capital gain you report.
  4. Report the sale on Form 8949 if you got a Form 1099-S or any gain is left. Otherwise keep your records and move on.

Read next

Start over

Your path

You may qualify for a partial exclusion

  1. Start with the reason. A job change is a safe harbor when the new workplace is at least 50 miles farther from the home than the old one. Health and unforeseen events have their own lists.
  2. Find your qualifying time: the shortest of the months you owned the home, the months you lived in it, and the months since your last excluded sale, all within the last 5 years.
  3. Multiply the cap by that time over 24 months.
  4. Gain above that reduced cap is taxable. Keep proof of the reason for the sale.

Read next

Start over

Your path

For now, the rules don't give you an exclusion

  1. Check your dates once more. The tests are counted on the closing date, and time can be scattered anywhere inside the look-back window.
  2. Check the special counting rules: a late spouse's time, an ex-spouse's use under a divorce instrument, time in a licensed care facility, and the military, Foreign Service, intelligence community and Peace Corps suspension can each change a no into a yes.
  3. Look again at the reason for the sale. A job change, health reason or unexpected event leads to the partial exclusion path.
  4. If you have no exclusion, a gain on a home you owned more than 12 months is long-term capital gain. A loss on your own home is not deductible.
  5. Report the sale on Form 8949 and Schedule D, and look at records of your basis to keep the gain as small as the law allows.

Read next

Start over

Your path

Divorce, a death and government service have their own rules

  1. Divorce: a spouse or former spouse's use under a divorce or separation instrument counts as your use, and time they owned the home counts if it came to you from them.
  2. A spouse's death: an unmarried survivor can use the joint cap for a sale within 2 years of the date of death, and counts the late spouse's time in the home.
  3. Military, Foreign Service, intelligence community or Peace Corps: you can elect to suspend the 5-year look-back during qualified extended duty, for up to 10 years, one property at a time.
  4. These rules adjust the tests. The dollar cap, the basis math and the depreciation rules still apply.

Read next

Start over

Your path

On a joint return, a spouse who misses the use test lowers the cap

  1. The larger joint cap needs both spouses to meet the use test.
  2. Without it, you add up what each spouse would get as if unmarried: $250,000 for a spouse who passes, and nothing for one who doesn't, unless a reduced exclusion applies to that spouse.
  3. For this purpose each spouse is treated as owning the home during any time either owned it, but use is tested separately.
  4. Gain above that combined cap is taxable. The comparison table shows the cases side by side.

Read next

Start over

Your path

You may qualify, but some of the gain is taxable

  1. Take out depreciation first. Gain up to the depreciation allowed or allowable after May 6, 1997 can't be excluded and is taxed at up to 25%.
  2. Rental time before you moved in, on or after January 1, 2009, is nonqualified use, and a matching share of the remaining gain can't be excluded. Time after you last lived there is excepted.
  3. A separate rental unit is split off with its own basis and proceeds, and reported on Form 4797.
  4. What is left can be excluded up to the cap.

Read next

Start over

Your path

First, pin down your dates and records

  1. Find the closing date, or the likely one. The tests count back 5 years from it.
  2. Use closing statements, leases, utility bills and the addresses on your license and tax returns to date when you owned the home and when you lived in it.
  3. Married? Do the same for your spouse, and note any other home you sold in the last 2 years.
  4. Then come back and run the walk-through again.

Read next

Start over

Where the numbers come from

Checked

Every figure above comes from the source listed here, with the date we checked it and the date it is due for a re-check.

  • Capital gains: long term holding more than months
    IRC 1222(3) checked 2026-10-19, review by 2027-01-19
  • Home sale: depreciation cutoff date
    IRC 121(d)(6) checked 2026-10-19, review by 2027-01-19
  • Home sale: employment safe harbor miles
    Treas. Reg. 1.121-3(c)(2)(ii) checked 2026-10-19, review by 2027-01-19
  • Home sale: extended duty suspension maximum years
    IRC 121(d)(9)(B) checked 2026-10-19, review by 2027-01-19
  • Home sale: nonqualified use start date
    IRC 121(b)(5)(C)(i) checked 2026-10-19, review by 2027-01-19
  • Home sale: ownership use test days
    Treas. Reg. 1.121-1(c)(1) checked 2026-10-19, review by 2027-01-19
  • Home sale: ownership use test years
    IRC 121(a) checked 2026-10-19, review by 2027-01-19
  • Home sale: repeat sale lookback years
    IRC 121(b)(3) checked 2026-10-19, review by 2027-01-19
  • Home sale: surviving spouse sale window years
    IRC 121(b)(4) checked 2026-10-19, review by 2027-01-19
  • Capital gains: rates
    26 U.S.C. sec. 1(h) checked 2026-09-24, review by 2027-01-22
  • Home sale exclusion: maximum gain excluded
    26 U.S.C. sec. 121(b) checked 2026-09-24, review by 2027-01-22