Renting a property for three years before moving in costs you more than twice the taxes of the reverse approach — on the same sale price, the same property, the same five-year window. The order in which you occupy a home isn’t a technicality; it’s the lever that controls your entire tax outcome.
The Rule Behind the Numbers
Section 121 allows a taxpayer to exclude capital gains on a primary residence lived in for two out of the five years prior to sale — up to $250,000 for a single filer, $500,000 for a married couple. The critical language is “two out of five years.” You don’t have to be living there at the moment of sale. That flexibility is where strategy lives.
Live First, Rent Later: The Full Exclusion
Buy a $350,000 home, live in it for two years, then rent it out for three. Sell it just before the five-year window closes at $484,050 — a 6.7% annual appreciation rate.
Your total gain is $134,050 in true capital gains, plus $38,182 in depreciation taken during the three rental years. Under Section 121, all $134,050 of capital gains is excluded — including gains that accrued during the rental period, while you weren’t living there at all. The only tax owed is the 25% depreciation recapture on the $38,182 you claimed: $9,545, and nothing more.
That recapture amount is roughly equal to the income tax you saved by claiming depreciation in the first place, making it close to a wash. The capital gains tax that would have applied to $134,050 at a 15% rate — roughly $20,000 — disappears entirely.
Rent First, Live Later: The Prorated Exclusion
Now reverse the sequence. You buy the same $350,000 property, rent it out for nearly three years, then move in and live there as your primary residence for two years. Same sale price: $484,050. Same total gain: $134,050.
The IRS doesn’t care that you eventually lived there — it prorates the exclusion based on how many of the five years you actually used the property as your primary residence. Two years out of five is 40%. You exclude 40% of the capital gains: $53,620. The remaining $80,430 is taxable.
At a 15% capital gains rate, that’s $12,065 in capital gains tax. Add the 25% depreciation recapture on the same $38,182 — another $9,545. Total tax bill: $21,610.
Same property. Same holding period. Same sale price. More than double the taxes — because you rented first.
Why the IRS Treats These Scenarios Differently
In the live-first scenario, the two-year residency requirement is met before the rental period begins. Section 121’s exclusion covers the full appreciation over all five years, not just the portion that accrued while you were living there. The rental years ride along inside the exclusion window at no additional tax cost beyond recapture.
In the rent-first scenario, the IRS requires you to allocate gain proportionally across the ownership period. Only the fraction of time you occupied the property as a primary residence — two-fifths — shields a corresponding fraction of the gain. The rest is ordinary taxable capital gain.
One Structural Requirement Worth Knowing
To use the 121 and 1031 combination at all, the property must be held either in your own name or in an LLC treated as a disregarded entity for tax purposes. This satisfies Section 121’s requirement that you actually owned the property during the five-year period. A standard multi-member LLC or a corporation won’t qualify.
The Sequence Is the Strategy
The source text puts it plainly: the rent-first scenario “compares to paying $9,545 for doing the same thing, only in reverse order.” That $12,065 difference — $21,610 versus $9,545 — comes entirely from which two years inside the five-year window counted as your residence. If you have flexibility in when you move in versus when you rent, the math strongly favors living there first. And if you still owe taxes after applying Section 121, a Section 1031 exchange can defer the tax on the remaining taxable gain.