🇺🇸 Made in America·100% U.S.-Based Team · 24+ Years in Cost Segregation
Home/The Playbook/Section 121
The Investor's Tax Playbook

Section 121. Up to $500,000 Tax Free for Living in Your House.

The ownership and use tests, the filing-status limits, what happens when the house was a rental, and the rules that quietly decide whether you qualify.

125+ IRS Audits Defended
$0 Ever Returned to the IRS
24+ Years. One Standard.
100% U.S.-Based Team
IRS Approaches 1 and 2

In one sentence: if you lived in your house as your main home for two of the last five years, up to $250,000 of profit when you sell is tax free, or $500,000 for a married couple.

Meet the Hendersons. They bought their home for $340,000 fourteen years ago and just sold it for $800,000. That is a $460,000 gain, and they will pay zero tax on it. They lived there the whole time, they are married and file together, and they had not used this break on another house in the past two years. That is the entire test. No forms to elect, no special filing. The gain simply does not show up as taxable income.

The catch: it has to be your main home, not a rental you once lived in for a few months. If the house was a rental for part of that time, part of the gain can lose the break, and any depreciation you claimed while it was rented gets taxed on the way out. That is the trap for landlords who move into their rental to try to cash in.

Reviewed by the Cost Seg America team. Last reviewed September 2026. Educational content, not tax advice. Numbers are illustrative; your CPA applies the rules to your return.

The Answer, First

Section 121 excludes up to $250,000 of gain on the sale of your primary home, $500,000 for a married couple filing jointly, when you have owned and used the home as your principal residence for at least 2 of the 5 years before the sale. It can be used repeatedly, but not more than once every two years, and years the home spent as a rental can carve out a taxable slice.

The Essentials
Who it's forAnyone selling a primary residence with a gain
The benefitUp to $250,000 single / $500,000 married of gain, excluded entirely
What people missRental years create nonqualified use; depreciation comes back
AuthorityIRC Section 121

The Hendersons bought for $320,000, raised two kids, and sold twelve years later for $780,000. Gain: $460,000. Tax on it: zero, because they are married, they lived there, and the code wrote them a $500,000 thank-you note for doing so. No intermediary, no election, no structure. The simplest big play in this library.

Where it gets interesting: the house that was a rental first
✓Live-then-sell: full 2-of-5 use as a primary home, gain excluded up to the caps.
✗Rent-then-move-in-then-sell: the rental years after 2008 are nonqualified use, and a proportional slice of the gain stays taxable no matter how long you live there afterward.

The rules in plain English

  1. Own the home and use it as your principal residence for at least 2 of the last 5 years. The two years need not be consecutive.
  2. The exclusion runs once every two years, no exceptions for impatience.
  3. Married couples get the full $500,000 when both spouses meet the use test and neither used the exclusion in the prior two years.
  4. Depreciation claimed on the home, from a rental period or a home office using the actual method, is not excluded. It comes back at sale, a known and usually small cost your CPA nets against years of deductions.
The Catch

Years of rental use can carve out a taxable, nonqualified slice. The exclusion runs once every two years, no exceptions for impatience. And depreciation claimed on the home comes back at sale. The exclusion is real; the residence timeline is the price.

Questions owners actually ask

Do the two years have to be consecutive?
No. Any 24 months of ownership and use within the 5 years before sale qualify.
We rented our old house for three years before selling. Full exclusion?
Not automatically. Post-2008 rental years before you move back in create nonqualified use, which keeps a proportional share of the gain taxable. Run the timeline with your CPA before you list.
Does gain above the cap get punished?
No. Gain above $250,000 or $500,000 is simply taxed under the normal capital gains rules. The exclusion covers the first slice, not the whole pie.
The Bigger Play

The house you live in gets the code's kindest page. The buildings that pay you rent get its most profitable one: most owners sit on $200,000 to $450,000 per million in unclaimed deductions. If you own the walls that earn, send in the engineers.

SEE YOUR BUILDING'S NUMBERFREE PROPOSAL IN 24 HOURS
The Cost Seg America Team
Cost Seg America · Engineered, Not Estimated · 1-888-365-5023 · info@costsegamerica.com
The Investor's Tax Playbook is educational. It is not tax, legal, or accounting advice, and reading it does not create a client relationship. Dollar thresholds and rates adjust annually. Execute every strategy with your CPA or qualified tax professional.