A home used as a rental before sale can carry a depreciation history into the tax calculation. Gather the rental returns and schedules before listing so a tax preparer can separate that issue from eligibility for the home-sale exclusion.
Depreciation and the excluded gain
IRS Publication 523 says you cannot exclude the part of your gain equal to any depreciation allowed or allowable for periods after May 6, 1997. That part is taxed even when the rest of the gain is excluded, and the IRS's capital gains page says unrecaptured section 1250 gain from selling real property is taxed at a maximum 25% rate.
What "allowed or allowable" means
Allowed or allowable refers to depreciation claimed or available to be claimed. Publication 544 requires the business or rental basis to be reduced for depreciation taken or that could have been taken. An owner who rented for three years without claiming it needs the CPA to review that history.
The IRS's own worked example
Publication 523 walks through an owner it calls Logan, who used part of the house as a law office and claimed $2,000 of depreciation over the years of ownership. Logan sold with a gain of $13,000. Logan must recognize $2,000 of the gain as unrecaptured section 1250 gain and may exclude the remaining $11,000.
The exclusion did its job on everything except the depreciation.
Where in the house the rental or business use was
Publication 523 draws a line between space inside the living area and space separate from it. A home office or a rented room inside the house is the Logan case: the gain is not split, and only the depreciation adjustments are carved out. A separate structure is different.
For a portion of the property separate from the living area and used for business or rental, the publication says you generally cannot exclude the gain on that part, and the sale of it is reported on Form 4797. Its example is an owner with a stable and acreage used for nonresidential purposes, who had to recognize the gain allocable to that part, $9,000 of it unrecaptured section 1250 gain, and could exclude the gain on the part used as a residence.
Why the word recapture confuses people
Publication 523 says recapturing depreciation means including it as ordinary income. The Instructions for Form 4797 (2025) then list 27.5 year residential rental property placed in service after 1986 among the property to which section 1250 recapture does not apply. The publication's own examples label the depreciation on a home as unrecaptured section 1250 gain, which is the category the IRS caps at 25%.
Which label fits your rental years depends on how and when the depreciation was figured, and that is your CPA's work, not mine. What does not change is the first point: the depreciation is not covered by the exclusion.
If you rented the whole house after moving out
The exclusion itself turns on owning and living in the house long enough within the five years before the sale, which is covered in the note on capital gains tax when you sell your house. Publication 523 also says any period after 2008 when the property is not used as a principal residence is, with certain exceptions, nonqualified use, and the gain allocable to it may not be excluded. The publication lists exceptions to that rule.
Whether your rental years sit inside one of them depends on the order of your dates, which is exactly the kind of question to put to a CPA before the house is listed rather than after it closes.
What a seller should gather now
Every return from the rental years, every depreciation schedule on them, the date the house was first rented and the date the last tenant left, and the records of anything spent on the house before, during and after. Publication 523 says the depreciation is figured using the same business or rental percentage used to figure the depreciation in the first place, so those schedules are the starting point. The note on which records to keep covers the rest.
Before deciding to rent out a home instead of selling it, review the depreciation and possible later-sale consequences with the CPA. The rental decision and its tax records should be considered together.
The CPA should establish allowable depreciation, any nonqualified use, the applicable rate and the treatment on the Indiana return. Provide the rental returns and schedules before deciding on the sale.
The notes on the reduced exclusion and a 1031 exchange on a house you have lived in cover the neighboring questions, and the executive relocation page sets out how a move like this is handled here.
Source: IRS, Publication 523 (2025), Selling Your Home: depreciation allowed or allowable after May 6, 1997, space within and separate from the living area, the business or rental percentage, nonqualified use after 2008, and the Logan and Stacey examples. IRS, Publication 544 (2025), Sales and Other Dispositions of Assets: subtracting depreciation you took or could have taken from the basis of the business or rental part. IRS, Instructions for Form 4797 (2025): section 1250 property, and the MACRS property to which section 1250 recapture does not apply. IRS, Topic 409, Capital gains and losses (last reviewed September 24, 2026): the maximum 25% rate on unrecaptured section 1250 gain. All read at source October 22, 2026. Chapter 3 of Publication 544 could not be read through the fetch used for this note, and Internal Revenue Code sections 121 and 1250 and their regulations were not read at source. The exceptions to nonqualified use were not read in full.
This note is general. It is not tax or legal advice, and what any part of your gain costs depends on facts only your CPA can assess.