Skip to content

General education, not advice for your situation.

Carry Forward Learning Search the site

Selling Your Home

Selling Your Home: rules in depth

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

Rules in depth

Each rule, in a sentence or two, with the paragraph it comes from.

Ownership and use

Owned and used as the principal residence for periods aggregating 2 years or more in the 5 years ending on the date of sale. Met by 24 full months or 730 days; the two tests need not be concurrent.

IRC 121(a); Reg. 1.121-1(c)

Sources

Authority, strongest first

  1. Code I.R.C. § 121
  2. Regulation Treas. Reg. § 1.121-1

Spouses and former spouses

A surviving unmarried spouse counts the late spouse's time and gets the joint cap within 2 years. Ownership time carries over when the home comes from a spouse or ex-spouse in a section 1041 transfer (use time does not); an ex-spouse's use as a main home under a divorce or separation instrument counts as the owner's use.

IRC 121(b)(4), (d)(2), (d)(3)

Sources

Authority, strongest first

  1. Code I.R.C. § 121
  2. Code I.R.C. § 1041
  3. Regulation Treas. Reg. § 1.121-4

Information reporting and filing

A closing agent reports a sale of real estate on Form 1099-S unless the seller gives a qualifying certification. You report the sale if you got the form or can't exclude all of the gain.

IRC 6045(e); Instructions for Form 1099-S

Sources

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.

  • 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
  • Home sale exclusion: maximum gain excluded
    26 U.S.C. sec. 121(b) checked 2026-09-24, review by 2027-01-22