Close

Learning Center

Converting a Rental into Your Home: What You Need to Know About Taxes

Converting a Rental into Your Home: What You Need to Know About Taxes

Article Highlights:

  • Big Picture
  • Depreciation
  • Nonqualified Use and How the Exclusion Is Pro‑Rated
  • How to Handle Mixed Use (Home Office or Separate Rental Space)
  • Timing and Practical Planning Tips
  • Reporting and What to Expect at Tax Time

Converting a rental into your primary home can be a smart move — both for your living situation and for taxes — but it’s not as simple as “move in, sell, and keep the profit.” There are a few traps (most importantly depreciation taken while the place was a rental) and another set of limits that reduce how much of the gain you may exclude if you rented the property after 2008. This guide explains in plain language what matters, how the math works, and the practical steps you should take before you move in or sell.

Big Picture: When you sell a home you used as your main residence, you can usually exclude a large part of the gain — up to $250,000 for a single individual and $500,0000 for qualifying joint filers — from federal tax. That exclusion can let you keep a lot of the profit without owing tax on it. Because of this, people who once used a property as a rental sometimes move into it for a while and then sell, hoping to use the exclusion.

Before 2009 if you owned a place and lived in it long enough before the sale, most of the gain could be excluded (except for any gain that represented depreciation taken while it was a rental). Starting in 2009 Congress added a new limit: if you had periods of ownership after 2008 during which the property was not your main home (for example, you rented it out after 2008), some of the gain that happened during those rental periods cannot be excluded. In short: converting still works, but any increase in value tied to rental time after 2008 may be taxable.

There are two tests you must meet to use the home sale gain exclusion. Generally you must meet both requirements:

  • Ownership test — you owned the home for at least 2 of the last 5 years before the sale.

  • Use test — you lived in the home as your main residence for at least 2 of the last 5 years.

Those 2 years don’t have to be continuous and don’t have to be the years right before the sale. The clock is measured in months or days depending on the situation, so keeping a clear timeline is important. The 5-year lookback period starts on the sale date.

Depreciation: If you used the property as a rental and took depreciation (a tax deduction that allows recovery over time of the home’s cost), that depreciation reduces your tax basis in the house. When you sell, the amount of gain that equals the depreciation you claimed (or were allowed to claim) is taxable and cannot be excluded.

Example: You bought a house for $200,000, claimed $30,000 of depreciation while renting it, and later sell for $320,000 (ignoring selling costs). Your adjusted basis is $200,000 − $30,000 = $170,000, so your gain is $150,000. The $30,000 of depreciation is taxable; the remaining $120,000 may qualify for exclusion if you meet the ownership/use tests and timing rules.

Important point: even if you didn’t claim all the depreciation you could have taken, the tax rules assume you did — so “missed” depreciation still reduces your basis and increases the taxable part of your gain.

Nonqualified Use and How the Exclusion Is Pro‑Rated: For converted rentals, the exclusion is often divided into two parts:

  • The portion of gain tied to periods when the property was your main home (qualified use) — that portion may be excluded, subject to the usual maximum.

  • The portion of gain tied to periods when the property was rented after 2008 (nonqualified use) — that portion cannot be excluded.

Practically, many people use a time‑based allocation: compare months of nonqualified use to total months of ownership and allocate the gain accordingly. That gives you the portion of gain you can’t exclude.

Example: You owned a place for 10 years (120 months). For the first 6 years you rented it (72 months) and then you moved in and lived there for 4 years (48 months) before selling. If the rental period after 2008 was all 72 months, then 60% (72/120) of the gain is attributable to nonqualified use and won’t be excludable (though depreciation from that period is already taxable). The remaining 40% may be eligible for the home‑sale exclusion (again, subject to the exclusion limit and depreciation recapture).

How to Handle Mixed Use (Home Office or Separate Rental Space): If part of the property was used for business (for example, a separate rental unit on the lot or a dedicated home-office area), you will need to allocate the sale price and basis between the home portion and the business portion. The gain tied to the business portion is often taxable and the depreciation on that part is taxable when you sell. If the business part is a clearly separate unit (a duplex, a separate structure), treat it as a different asset for this purpose.

Timing and Practical Planning Tips:

  • Plan Your Move‑In Timing: If you can live in the house for at least 2 years in the 5 years before selling, you may meet the ownership/use tests and exclude more gain. Plan around expected sale dates and market conditions.

  • Know the 5‑year Window: The tests look at the 5 years before sale, so months count. Keep a simple timeline showing exactly when the rental periods and residence periods occurred.

  • Keep Records of Purchase Price, Improvement Costs, Depreciation Schedules, and Receipts: You’ll need these to calculate adjusted basis and to prove the numbers if the IRS asks. Adjusted basis is the amount you’ll subtract from the sales price to determine the gain.

  • Recompute Basis Carefully: Adjusted basis = purchase price + capital improvements − depreciation allowed/allowable. Don’t forget selling costs when calculating realized gain.

  • Remember Depreciation is Taxable: Even with the home‑sale exclusion, the depreciation portion is taxable. Make sure this is built into any expected tax bill.

  • If You Had a Tax‑Deferred Exchange in the Past (a Transaction that Deferred Taxes by Swapping Properties): that can complicate eligibility.

  • You May Qualify for a Partial Exclusion: If you sold the home while it was your main residence because of a job move, health reasons, or other unexpected events, and thus wouldn’t meet the 2-out-of-5 years tests, special rules apply that may allow you to claim a partial gain exclusion.

Reporting and What to Expect at Tax Time:   Because depreciation is almost always involved when a property was rented, you will typically report the sale and show the taxable portion that represents depreciation recapture. Even when most of the gain can be excluded, you will often report the sale so that the taxable portion is clear.

Common mistakes to avoid

  • Forgetting to reduce the basis for depreciation (even if not claimed).

  • Assuming moving in for any short time qualifies you — you must meet the timing tests.

  • Expecting the full exclusion when you rented the property after 2008 — that rental time may create nonqualified use.

  • Not separating business vs personal parts of the property — that can understate taxable gain.

  • Failing to keep records of improvements and depreciation schedules.

Even if the numbers are small and the facts are simple, this is one of the more complicated issues in taxes. It includes depreciation recapture, accounting for improvements, allocations for the part of the property used for business, the timing when a tax‑deferred exchange is involved, qualification for the exclusion and whether such a strategy is the right move both personally and financially for your circumstances.

This office can run the numbers, help you document the timeline, and advise whether a sale now or waiting would be better financially.

Conclusion: Turning a rental into your home can still let you exclude a large share of gain when you sell, but it’s not automatic and the rules are restrictive. The two big things to watch are:

(1) depreciation taken while the property was a rental is taxable when you sell, and

2) if you rented the property after 2008, some gain tied to that rental period may not be excludable.

With careful timing, good records, and a bit of advance planning, many homeowners can minimize taxes and keep more of the sale proceeds — contact this office for assistance.




Have a Question About This Topic?

I confirm this is a service inquiry and not an advertising message or solicitation. By clicking “Submit”, I acknowledge and agree to the creation of an account and to the Terms of Use and Privacy Policy.
Share this article...

NEVER MISS A STORY.

Sign up for our newsletters and get our articles delivered right to your inbox.

Back to Article List