Moving into a house you used to rent out doesn’t create a tax bill on the day you move in, but the tax implications of converting a rental property to a primary residence will follow you to the eventual sale. Depreciation you claimed (or should have claimed) during the rental years gets recaptured at up to 25 percent when you sell, and the familiar $250,000 or $500,000 home-sale exclusion is prorated so that the rental years remain partially taxable no matter how long you live there afterward. Nothing on your current-year return will look dramatic; the consequences are baked in for later.
What Changes on the Day You Move In
The conversion itself is not a taxable event. What it does is freeze your numbers. Depreciation stops on the date the property becomes your personal home, and your adjusted basis on that date carries forward unchanged into the personal-use period.1Internal Revenue Service. Publication 527 (2025), Residential Rental Property
Adjusted basis is your original purchase price, plus capital improvements, minus the depreciation you deducted (or that was allowable) during the rental years.2Internal Revenue Service. Property (Basis, Sale of Home, etc.) 3 Only the building portion was ever depreciable; land is not depreciated. If you paid $300,000 for a property with $60,000 attributable to land, only $240,000 fed into the depreciation schedule, and that split affects both recapture and gain when you sell.
Improvements you make after moving in still increase your basis, but you no longer deduct or depreciate anything annually. Keep the receipts. They come back to reduce your taxable gain years from now.
Depreciation Recapture Doesn’t Go Away
Every year the property was a rental, the IRS required (or at least allowed) you to depreciate the building over 27.5 years on a straight-line basis.3Internal Revenue Service. Depreciation and Recapture 4 When you eventually sell, the total accumulated depreciation is recaptured and taxed at a maximum rate of 25 percent.4Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed
Two features of this rule cause the most trouble for landlords who move in. First, personal use afterward does not erase the recapture obligation. Living in the house for ten years does not undo seven years of rental depreciation. Second, the recapture applies to the depreciation that was allowable even if you never actually claimed it. The IRS position is that “the greater of allowed (claimed on your return) or allowable (what is required under the Code) depreciation must be considered at the time of sale.”5Internal Revenue Service. Depreciation and Recapture 3 Skipping the deduction during rental years costs you twice: you missed the deduction and still owe the recapture.
Recapture is separate from the home-sale exclusion below. Even if your gain otherwise qualifies to be excluded, the depreciation portion is fully taxable.
The Home-Sale Exclusion You’re Trying to Reach
Moving into the property is usually motivated by Section 121, which lets you exclude up to $250,000 of gain from the sale of your main home, or $500,000 if you’re married filing jointly, when you meet two tests inside the five-year window ending on the sale date.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
- Ownership test: you owned the property for at least two of the five years before the sale.
- Use test: you lived in the property as your primary residence for at least 24 months out of those five years, and they do not have to be consecutive.7Internal Revenue Service. Topic No. 701, Sale of Your Home
If you already owned the property as a rental, the ownership test is essentially automatic. The use test is what you have to wait out. The clock starts the day the property becomes your main home. For joint filers claiming the $500,000 amount, both spouses must satisfy the use test, though only one needs to meet the ownership test.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Why the Exclusion Won’t Cover All Your Gain
Clearing the two-year use test is not the same as excluding all your profit. Any period after January 1, 2009, during which the property was not your principal residence is treated as “nonqualified use,” and gain allocated to those periods cannot be excluded.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence The math is a straight ratio:
Non-excludable gain = total gain × (years of nonqualified use ÷ total years of ownership)
Rent a place for three years, live in it for seven, sell after ten total, and 30 percent of the gain remains taxable regardless of when the appreciation actually happened. The remaining 70 percent goes toward the $250,000 or $500,000 cap.
Order matters, and it works against people in this situation. The statute excludes from “nonqualified use” any rental period that comes after the last date the property was used as a principal residence. Living in a home first and renting it out later does not trigger the proration. Renting first and moving in later, which is the whole point of this article, does.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Selling Before You Hit Two Years
If a job change, health condition, or unforeseeable event forces a sale before you have accumulated 24 months of residence, a partial exclusion may still be available.8Internal Revenue Service. Publication 523 (2025), Selling Your Home Divide the qualifying months you lived there by 24, then multiply by $250,000 or $500,000. A single filer who lived in the home for 15 months before a qualifying relocation gets 15 ÷ 24 × $250,000, or $156,250. The nonqualified-use proration still applies on top of that, so a long rental history shrinks the benefit further.
If the Rental Came From a 1031 Exchange
Property acquired through a like-kind exchange under Section 1031 carries an extra restriction. The Section 121 exclusion is not available at all if you sell within five years of the exchange acquisition date. The statute says the exclusion “shall not apply to the sale or exchange of such property” during that five-year period.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence Once five years have passed, you still need the two-year use test and you still face the nonqualified-use proration, but the door opens. Selling one day inside the five-year mark closes it entirely, no matter how long you have lived in the house.
Extra Time for Military and Foreign Service
Members of the uniformed services, the Foreign Service, and the intelligence community can elect to suspend the five-year lookback for up to ten years while serving on qualified official extended duty.9eCFR. 26 CFR 1.121-5 – Suspension of 5-Year Period for Certain Members of the Uniformed Services and Foreign Service That effectively stretches the window to as long as fifteen years to accumulate the required 24 months of residence. The election is made by filing a return that excludes the gain, and it applies to one property at a time. Qualifying service periods also don’t count as nonqualified use for the proration formula, up to ten aggregate years.6Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Suspended Passive Losses Stay Frozen
Many landlords carry suspended passive activity losses because their income exceeded the threshold to deduct rental losses in earlier years. Converting the property to personal use does not release those losses, because the conversion is not a taxable disposition. When you eventually sell in a fully taxable sale, the remaining suspended losses generally become deductible against the gain. The interaction with the Section 121 exclusion is complicated, however: to the extent the gain is excluded, the offsetting value of those suspended losses can be reduced. The math is case-specific, and this is a good place to bring in a tax professional.
What to Do on the Return for the Year You Move In
The conversion year itself is quiet, but a few things need to happen correctly.
Report the rental activity on Schedule E for the portion of the year the property was rented, including income and deductible expenses up through the last day of rental use.10Internal Revenue Service. About Schedule E (Form 1040), Supplemental Income and Loss Mark the property as taken out of service so the IRS knows the business activity has ended.
Stop depreciation on the move-in date. Publication 527 states plainly that you stop depreciating property when you “convert the property to personal use.”1Internal Revenue Service. Publication 527 (2025), Residential Rental Property Write down the final accumulated depreciation figure. You will need it for recapture at sale, and reconstructing it from old returns years later is painful.
Gather your original closing statement, receipts for every capital improvement, and prior-year Schedule E filings. These records flow into Form 4797 for recapture and Schedule D for capital gains when the sale eventually happens.11Internal Revenue Service. Instructions for Form 4797 – Sales of Business Property Assemble them now while the numbers are fresh.
A Worked Example
A single filer buys a rental in 2016 for $200,000, with $40,000 attributable to land. Over eight years of rental use, they claim $46,545 in depreciation and make $30,000 in capital improvements. On January 1, 2024, they move in. Adjusted basis at conversion: $200,000 + $30,000 − $46,545 = $183,455.
They sell in 2028 for $400,000 after four years of personal use. Total gain: $216,545. Of that, $46,545 is depreciation recapture, taxed at up to 25 percent, roughly $11,636. The remaining $170,000 goes through the nonqualified-use proration. Total ownership was 12 years, with 8 years of nonqualified use, so 8 ÷ 12, about 67 percent of the $170,000, cannot be excluded. Around $56,000 of the gain qualifies for Section 121, well under the $250,000 cap. The other $114,000 is taxed at the applicable long-term capital gains rate.
The example is simplified, but it makes the underlying point concrete. Moving into a former rental helps, but it does not produce the near-total exclusion that owners of lifelong primary residences enjoy. The longer the rental period runs relative to total ownership, the smaller the exclusion benefit at sale, and the recapture bill sits on top either way.