Life Money USA
Primary-to-rental §121 timing

Rent Out Your Home? The §121 3-of-5 Clock Saves $250K

If you move out and rent your old home, you keep the full Section 121 home-sale exclusion — $250,000 single, $500,000 married filing jointly — only if you sell within three years of moving out. That is the 2-of-5-year rule read backwards: you must have owned and lived in the home as your main residence for at least 24 of the 60 months ending on the sale date. Rent it for more than three years and the use clock runs out, the exclusion vanishes, and a gain that would have been fully tax-free becomes fully taxable at 15% or 20% — plus the 3.8% NIIT and depreciation recapture on top. On a $231,000 appreciation gain, missing the window by one month adds roughly $43,400 in federal tax that you would otherwise have skipped entirely.

Emily Martinez, CPA, CCIM
Real Estate Tax Editor
Updated May 29, 2026
11 min
2026 verified
Share

Quick Answer

You keep the full Section 121 exclusion ($250,000 single / $500,000 MFJ) only if you sell within 3 years of moving out, because you must have lived there 24 of the last 60 months under IRC §121.

The decision: sell now, or rent and risk the clock

Marcus, a single filer in Austin, Texas, bought his condo in 2018 for $300,000 and lived in it as his main home for six years. In 2024 he took a job two miles away and bought a house, but he didn’t want to sell the condo into a soft spring market — so he rented it out for $2,400/month. By early 2026 the condo is worth $560,000. His gain is roughly $260,000.

Marcus thinks he has all the time in the world. He does not. He moved out in mid-2024, which started a countdown. He must sell by mid-2027 — three years after he stopped living there — or his $250,000 Section 121 exclusion disappears entirely. Sell inside the window and almost his whole gain is tax-free. Sell one month late and the same gain is fully taxable. The difference on his numbers is roughly $43,400 in extra federal tax — the added long-term capital-gains and NIIT bite that the exclusion would have erased.

This is the most expensive timing decision in residential real estate, and most landlords-by-accident never see it coming. Here is the exact clock, the math, and the trap inside it.

What IRC §121 actually requires

The home-sale exclusion under IRC §121 lets you exclude up to $250,000 of gain if single and $500,000 if married filing jointly when you sell your principal residence. To claim it, you must pass a two-part test in the five years ending on the date of sale:

  • Ownership test: you owned the home for at least 2 of the last 5 years (24 of the 60 months ending on the sale date).
  • Use test: you lived in the home as your principal residence for at least 2 of the last 5 years.

The periods don’t have to be continuous and they don’t have to overlap — but both must fall inside the same 60-month look-back window. You also can’t have used the exclusion on another home sale in the 2 years before this sale.

That is where the “3-of-5” nickname comes from. The moment you move out and rent the home, the ownership clock keeps ticking harmlessly — you still own it — but the use clock is now frozen at the 24+ months you already lived there. Those residence months stay inside the 60-month window for exactly three more years. On month 37 of rental use, the earliest of your residence months falls off the back of the window, you drop below 24 qualifying months, and the exclusion is gone.

The clock, month by month

Walk Marcus’s timeline. He lived in the condo from 2018 to mid-2024 (well over 24 months of use) and moved out to rent it in July 2024.

Sale dateMonths of residence still inside the 5-year windowPasses 2-of-5 use test?$250K exclusion?
June 2026 (rented ~2 yrs)~36 monthsYesFull
June 2027 (rented ~3 yrs, just under)~25 monthsYesFull
August 2027 (rented just over 3 yrs)~23 monthsNo$0 — lost

The cliff is real and it is not graded. There is no partial exclusion for being a few months late (that partial-exclusion safety valve only exists for sales triggered by a job change, health, or other unforeseen circumstance — not for “I waited too long to sell”). The deadline is approximately the third anniversary of the date you stopped living in the home as your main residence.

The math on Marcus’s $260,000 gain

Marcus is single, so his exclusion cap is $250,000. His gain is $260,000. Assume he claimed about $29,000 of depreciation across roughly three rental years (more on that recapture below). Here is how the two scenarios diverge.

ItemSell inside windowSell one month late
Total gain$260,000$260,000
Depreciation recapture (taxed up to 25%)$29,000$29,000
Appreciation gain (the §121-eligible piece)$231,000$231,000
§121 exclusion applied$231,000 (within $250K cap)$0
Taxable LTCG after exclusion$0$231,000
LTCG tax on appreciation (15% bracket)$0$34,650
Recapture tax (25% × $29,000)$7,250$7,250
NIIT (3.8% on taxable gain over MAGI threshold)$0~$8,778
Total federal tax on the sale$7,250~$50,678

Selling inside the window, Marcus pays $7,250 — only the unavoidable depreciation recapture. Selling one month late, the same sale costs him roughly $50,678. Because Texas has no state income tax (per MoneyMap US stats §13), the entire swing is federal. In California, where long-term gains are taxed as ordinary income up to 13.3%, the late-sale penalty would be over $30,000 higher again.

For 2026, the long-term capital-gains rate is 15% on taxable income up to $533,400 (single) and jumps to 20% above that, per MoneyMap US stats §2. The 3.8% NIIT stacks on top once modified AGI clears $200,000 single / $250,000 MFJ (IRC §1411). A $231,000 windfall pushes Marcus well past the NIIT threshold, which is why the late-sale column carries an extra ~$8,778 the in-window column never sees.

Depreciation recapture: the bill §121 can never erase

Here is the part landlords-by-accident hate. The Section 121 exclusion shelters your appreciation. It does nothing for depreciation recapture. The moment you convert your home to a rental, you are required to depreciate the building (you cannot opt out — the IRS recaptures depreciation “allowed or allowable”). Residential rental property depreciates over 27.5 years under IRC §168.

On Marcus’s condo, say the building basis (excluding land) is about $265,000. Annual depreciation is roughly $9,640, so three years of renting generates about $29,000 of depreciation deductions. Those deductions saved him ordinary-rate tax while renting — but on sale they come back as unrecaptured §1250 gain, taxed at up to 25% (IRC §1250). That $7,250 line shows up in both columns of the table above, because recapture is owed whether or not you make the §121 window.

The lesson: renting your former home is never fully “free” on the tax side, even if you nail the timing. The longer you rent, the more depreciation accrues and the bigger the recapture — another reason the window pressure runs in the same direction as the recapture pressure. Both say: don’t rent it for years.

What most people get wrong: non-qualified use

Search this topic and you’ll trip over warnings about “non-qualified use” reducing the exclusion. Most of them are misapplied. Here is the real rule, from IRC §121(b)(5).

Since 2009, the exclusion must be pro-rated for periods of “non-qualified use” — time the home was not used as your principal residence after 2008. The excluded gain is multiplied by the ratio of qualifying-use years to total ownership years; the non-qualified fraction stays taxable. So if non-qualified use applied to Marcus, and he owned 9 years with 3 years of rental, 3/9 = one-third of his appreciation gain would lose the exclusion.

But read the carve-out at IRC §121(b)(5)(C)(ii)(I): any period after the last date the home was used as your principal residence does not count as non-qualified use. A standard move-out-then-rent timeline — live there, then rent until you sell — falls entirely inside this exception. That is why the proration usually does not reduce the exclusion on a former primary residence.

SequenceCounts as non-qualified use?Effect on exclusion
Live in it → then rent → then sell (Marcus)No — post-residence carve-out appliesFull exclusion if sold inside the 3-year window
Buy as rental → then move in → then sellYes — rental came before residenceExclusion pro-rated by the rental-years fraction

Where non-qualified use does bite is the reverse fact pattern: someone who buys a property as a rental first, then later moves in to convert it to a primary residence to harvest the exclusion. That pre-residence rental period is non-qualified, and the exclusion is pro-rated down. The IRS closed that exact loophole in 2008. If your home was your residence first and a rental second, you are on the right side of this rule.

Section 121 vs. a 1031 exchange: which lever to pull

Once you’re renting a former home, two tax tools compete for the gain. They are not interchangeable.

  1. §121 exclusion permanently eliminates up to $250K/$500K of gain. The money is yours, free and clear, to spend on anything. The catch is the 3-year clock.
  2. §1031 like-kind exchange defers the gain by rolling it into another investment property. No dollar cap, no clock — but the tax isn’t gone, it’s parked, and your proceeds must stay invested in real estate. The mechanics are strict: identify the replacement within 45 days and close within 180 days, using a qualified intermediary (IRC §1031; see MoneyMap US stats §11).

The decision rule is clean. If you can still sell inside the §121 window, do it — eliminating $250K of tax beats deferring it almost every time, and you walk away with cash instead of a new mortgage. Reach for the 1031 only after the §121 clock has run out and the property has become a pure investment you intend to keep rolling. A sophisticated play exists for the rare case where gain exceeds the §121 cap: take the exclusion on the residence portion and 1031 the excess — but that requires careful structuring and is the exception, not the default.

If you’ve already blown past three years

Suppose you rented for four years and the window is gone. You are not out of options:

  • Move back in. Re-establishing the home as your principal residence restarts your use months. Live there long enough to bank 24 qualifying months inside a fresh 60-month window and you can re-qualify for the exclusion. Depreciation recapture from the rental years still applies — that never goes away — but the appreciation can be sheltered again.
  • 1031 it. If it’s a keeper rental, exchange into a larger property and defer the entire gain (including, in effect, the recapture) until a future sale.
  • Harvest the basis step-up at death. Hold the rental for life and your heirs inherit it at date-of-death fair market value under IRC §1014 (MoneyMap US stats §6), wiping out both the appreciation gain and the depreciation recapture for them entirely.

The decision lever

The whole call comes down to one date: the day you stopped living in the home as your main residence. Mark it on a calendar, add three years, and that is your hard deadline to sell with the full $250,000 (single) or $500,000 (joint) exclusion intact. Every month you rent past that line is a month closer to converting a tax-free gain into a fully taxable one — and the depreciation recapture grows the whole time. If your gain is near or under the §121 cap and you don’t need the property as a long-term investment, the math almost always says sell inside the window and take the money clean. If you genuinely want to keep building a rental portfolio, the 1031 is your tool — but make that a deliberate choice, not the accidental result of letting a deadline slip past you.

Join the 2026 tax newsletter

Decision checklists + key 2026 federal/state numbers. Free, one click.

Found this useful? Share it.
Share

Frequently asked

Three years. Section 121 requires that you owned AND used the home as your main residence for at least 2 of the 5 years (24 of 60 months) ending on the sale date. Once you move out, the 'use' clock keeps running until you have rented for 36 months — sell before that 3-year mark and you still meet the 2-of-5 test and keep the full $250K single / $500K MFJ exclusion.

It is shorthand for IRC §121's 2-of-5-year ownership-and-use test. You must have owned the home for 2 of the last 5 years and lived in it as your principal residence for 2 of the last 5 years (the periods don't have to overlap). After you move out, you have a 3-year cushion of rental use before those 24 months of residence drop out of the 60-month look-back window.

No. Converting to a rental does not forfeit the exclusion by itself. You keep it as long as you sell within the 3-year window after moving out and still meet the 2-of-5-year use test. What you cannot escape is depreciation recapture: any depreciation you claimed (or were allowed to claim) as a rental is taxed at up to 25% under IRC §1250 and is never covered by the §121 exclusion.

Non-qualified use is rental or other non-residence use AFTER 2008 that comes BEFORE you live in the home. It pro-rates the exclusion by the fraction of non-qualified-use years over total ownership years. The key carve-out (IRC §121(b)(5)(C)(ii)): periods after you last used it as a main residence — a standard move-out-then-rent timeline — are NOT non-qualified use, so the proration usually doesn't bite a former primary residence.

Yes, but they are separate buckets. The §121 exclusion shelters the appreciation gain up to $250K/$500K. Depreciation recapture under §1250 is carved out of the exclusion entirely and taxed at up to 25%. If you rented for 3 years and claimed roughly $29,000 in depreciation on a $265K building basis (depreciated over 27.5 years), expect about $7,250 of recapture tax even though your appreciation gain is fully excluded.

If you can still sell within the 3-year window, take the §121 exclusion — $250K/$500K of gain disappears tax-free, which usually beats deferring it. A 1031 exchange (IRC §1031: 45-day ID, 180-day close) only defers tax and keeps your money locked in real estate. Use 1031 once the §121 clock has expired and the property is purely an investment.

Moving back in restarts your 'use' months but does not erase the prior non-qualified-use period if any applied, and it does not reverse depreciation recapture. You still need 24 months of qualifying use within the 60-month window ending at sale. Moving back in is a valid fix if you rented past the 3-year mark and want to re-qualify — but recapture on rental-period depreciation still applies.

Free newsletter

Join the Life Money USA newsletter

Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.

Join the newsletter