Section 121 Rental Conversion Non-Qualified Use 2026 Calculator
A rental converted to primary residence triggers IRC §121(b)(5) non-qualified use allocation: the rental period (post-1/1/2009) reduces the home sale exclusion proportionally, and prior depreciation is recaptured separately at up to 25%.
| Rental months (post-2009) | — |
| Primary residence months | — |
| Total ownership (months) | — |
| §1250 depreciation recapture | — |
| Gain after recapture | — |
| Non-qualified use ratio | — |
| Non-qualified portion | — |
| Qualifying portion | — |
| §121 exclusion cap | — |
| Excluded gain | — |
| Taxable LTCG | — |
| Recapture tax (25%) | — |
| Estimated total federal tax | — |
A rental converted to primary residence triggers IRC §121(b)(5) non-qualified use allocation: the rental period (post-1/1/2009) reduces the home sale exclusion proportionally, and prior depreciation is recaptured separately at up to 25%.
The Rental-to-Primary Conversion Trap
Before 2009, you could rent a property for years, move in for 2 years, sell, and exclude the full $250K/$500K gain. The Housing and Economic Recovery Act of 2008 closed this loophole. Now, when a rental is converted to a primary residence and later sold, the gain is split: the rental period after Jan 1, 2009 creates non-qualified use, and that proportion of the gain is fully taxable. Only the primary residence portion qualifies for §121 exclusion. Depreciation recapture is always taxed separately under §1250 at up to 25%, no matter how long you live there afterward.
Allocation Formula & Order of Operations
Step 1: Subtract unrecaptured §1250 depreciation from gain (taxed at 25% separately). Step 2: Compute NQU ratio = (rental months after 1/1/2009) / (total ownership months). Step 3: Apply ratio to remaining gain — that portion is fully taxable LTCG. Step 4: The remaining qualifying portion is subject to the $250K (single) or $500K (MFJ) cap; any excess is also taxable. Per IRS Pub 523, this order is mandatory — depreciation comes off the top first.
Worked Example: 5-Year Rental → 3-Year Primary
You own a property 8 years (96 months): rented 5 years (60 months) post-2009, then lived in it 3 years (36 months) as primary residence before selling for a $250K gain. You claimed $30K depreciation during the rental. Step 1: Recapture $30K at 25% = $7,500. Remaining gain: $220K. Step 2: NQU ratio = 60/96 = 62.5%. Step 3: NQU portion = $137,500 (taxable LTCG). Qualifying = $82,500. Step 4: $82,500 fully covered by $500K MFJ cap. Federal tax: $137,500 × 15% + $7,500 = $28,125. Without §121(b)(5), this couple would have owed only the $7,500 recapture.
Strategies to Minimize the Tax
(1) Time the sale carefully — staying longer as primary residence increases the qualifying ratio. (2) Consider a §1031 exchange before converting — defer the rental gain into another investment property, then convert later (special holding rules apply). (3) Track basis aggressively — capital improvements during rental and residence reduce gain. (4) Coordinate with state law — California, New York, and Massachusetts tax the full gain regardless of §121. (5) If the rental was pre-2009 only, that period is grandfathered and not counted in the NQU numerator.
Last updated May 2026. Sources: IRC §121(b)(5), IRS Pub 523 (Selling Your Home), Treas. Reg. §1.121-1. Estimates only — consult a CPA.