cratchit.

Exclude up to $500,000 of gain when you sell your home

ExploreIRC §121; Treas. Reg. §1.121-3For business owners and employees

Explore: well supported, often missed.

If you owned and lived in your main home 2 of the last 5 years, up to $250,000 of gain ($500,000 joint) can be tax-free when you sell. It helps any homeowner selling at a gain.

The catch: depreciation from a home office or rental is always taxed, and years the home wasn't your residence can reduce the exclusion. Good records of your purchase, sale and improvements set the gain.

How it works

If you owned and lived in your main home 2 of the last 5 years, up to $250,000 of gain ($500,000 joint) is tax-free. If you have to move early for a job 50 or more miles away, health or another unforeseen event, a partial exclusion applies. If the home was a rental first, part of the gain can be taxable, and depreciation taken is always taxed.

What makes it hold up

Risks

Low. Depreciation from a home office or rental is taxed, and years the home wasn’t your residence can reduce the exclusion.

Questions to ask your CPA

Common questions

What if we have to move before 2 years?

If you move early for a job 50 or more miles away, health or another unforeseen event, a partial exclusion applies. Keep proof of the dates you lived there and the reason for the move.

How does a home office affect the sale?

Depreciation taken for a home office is taxed when you sell. Your CPA can tell you how it affects your gain.

Why keep receipts for improvements?

Improvements raise your cost, which lowers your gain. Keep them with the closing statements for the purchase and the sale.

See what this could save your family

Cratchit runs every strategy in this library against your real numbers, rates it, and keeps the records that make it hold up. Take a guided tour with the Harpers, a sample family.

Explore Cratchit

Related strategies

Education, not advice. Tax law changes and every situation is different, so confirm the details with your CPA or tax advisor before acting. This page was last checked against tax law as of November 2026, including the 2025 tax law, in November 2026.