Preparing tax questions after selling a formerly rented home
Understand the tax implications of selling a residential property that was previously used as a rental, including depreciation recapture and eligibility.
The short answer
Selling a home that was once a rental property involves different tax rules than a primary residence. You must consider depreciation recapture, which may be taxed as ordinary income, and evaluate if you meet the federal ownership and residence tests to exclude any remaining capital gains. Careful record-keeping regarding rental periods and capital expenses is vital for your filing.
Understanding Depreciation Recapture
If you rented out your home, you likely claimed depreciation as a deduction on your tax returns. Upon sale, you may be required to pay 'depreciation recapture' tax on the amount deducted, regardless of whether you sold the home for a gain.
Example Worksheet: Compile all past tax returns where you reported rental activity. Sum the total depreciation taken over those years to estimate your potential recapture liability.
Evaluating Residence and Ownership Tests
To qualify for the federal home-sale gain exclusion, you must have owned and used the home as your primary residence for at least two of the five years preceding the sale. Time spent as a landlord does not count toward the residence requirement.
Hypothetical Planning: Check your records to see if you lived in the property for 24 months total before or after your period as a landlord. If you did not meet this, you may be ineligible for the primary residence exclusion.
Calculating Taxable Gain
Your gain is the difference between the selling price and your adjusted cost basis. The basis must account for improvements made, less any depreciation previously taken.
Example Worksheet: Use a ledger to record: (Original Purchase Price) + (Capital Improvements) - (Depreciation Taken) = (Adjusted Basis). Subtract this from your Sale Price to find the total gain.
Reporting Rental Transitions
Transitioning a home from a rental back to a primary residence, or vice-versa, impacts your tax profile. The IRS has specific rules for reporting the date the home becomes a principal residence versus an investment property.
Questions for your professional: Does my specific rental history trigger a partial exclusion eligibility? How do I accurately report the final depreciation year on my return?
Checklist
- Gather all previous tax returns involving rental income.
- Calculate total depreciation taken during the rental years.
- Verify your total months of residence in the home.
- Obtain a final statement of sale from your closing agent.
- Consult a tax advisor about depreciation recapture rates.
Common questions
Can I still exclude capital gains if I rented the home for part of the time?
You may still be eligible for an exclusion if you meet the ownership and residence tests, but the exclusion generally only applies to the portion of the gain that does not correspond to the depreciation allowed during the rental period.
What happens if I sold the home for a loss while it was a rental?
If you sell at a loss, you generally cannot claim a capital loss on the sale of a personal residence. If it was classified as an investment, your professional can advise you on how to report the transaction.
Sources
- CFPB — Loan Estimate explainerChecked October 12, 2026
- CFPB — Closing Disclosure explainerChecked October 12, 2026
- Illinois Department of Revenue — Property tax overviewChecked October 12, 2026
- IRS Publication 523 — Selling Your HomeChecked October 12, 2026
This guide is general educational content from SQFT IO, prepared with AI assistance. It is not legal, tax or loan advice. Talk with a licensed attorney, tax professional or lender about your situation. SQFT IO Illinois license 478.027617.
