SQFT IOTalk about your home
Closing & property taxes

Preparing home-sale tax questions about ownership and use

Prepare for federal tax reporting by documenting home ownership and residency. Review IRS tests to qualify for potential capital gain exclusions.

By SQFT IO · Published · 2 min read

The short answer

To potentially exclude gain on a home sale, you must satisfy ownership and use tests. You generally need to have owned and lived in the home as your main residence for at least 24 months during the five-year period prior to the sale. Documentation of these timeframes is essential for federal tax reporting accuracy.

The 24-Month Ownership and Residency Test

The ownership and residence requirements are distinct. You must have owned the home for at least two years and occupied it as your main home for two years within the five-year window.

Decision Worksheet: Map out your residency dates over the last five years. Calculate total months in the property to verify if you meet the 24-month requirement.

Defining Your Main Home

A main home can be a single-family house, condo, or mobile home. If you own multiple properties, only the one used as your primary residence qualifies for the exclusion.

Hypothetical Planning: A taxpayer sells a property and gathers proof of residency, such as utility records or voter registration, to confirm the home was their primary residence.

Exceptions and Special Circumstances

Partial exclusions may be possible for work-related moves or health issues. If you lived in a care facility, time spent there counts toward residency if you lived in the home for 12 months previously.

Ask a professional: Do my specific reasons for moving qualify for a partial gain exclusion under IRS Publication 523?

Documenting Sale Timing

The date of sale is when title transfers or the economic benefits of ownership shift to the buyer. This date defines the five-year look-back window.

Action: Retain your final closing statement as it serves as the official record for the date of sale and the financial shift in ownership.

Checklist

  • Calculate total residency months in the last 5 years.
  • Verify ownership duration against the 24-month rule.
  • Collect evidence of primary residence (utility bills, etc.).
  • Check if a work-related move qualifies for partial exclusion.
  • Confirm your sale date on the final closing documents.

Common questions

What if I haven't lived in the home for two full years?

You may still be eligible for a partial exclusion if your move was due to a change in place of employment, health reasons, or other unforeseeable events.

Can I count time my spouse lived in the house?

For married couples filing jointly, both spouses must meet the residence test, but only one spouse needs to meet the ownership test to qualify for the exclusion.

Sources

  1. CFPB — Loan Estimate explainerChecked October 12, 2026
  2. CFPB — Closing Disclosure explainerChecked October 12, 2026
  3. Illinois Department of Revenue — Property tax overviewChecked October 12, 2026
  4. IRS Publication 523 — Selling Your HomeChecked October 12, 2026

This guide is general educational content from SQFT IO, prepared with AI assistance. It is not legal, tax or loan advice. Talk with a licensed attorney, tax professional or lender about your situation. SQFT IO Illinois license 478.027617.

All buying and selling guides