Free tools Windows power users keep installed
One-click scans. No signup required.
For U.S. federal tax purposes, depreciation reduces your property’s tax basis by the amount that was allowed or allowable, even if you did not claim every deduction. A lower basis usually increases the gain reported when you sell. The gain tied to depreciation for periods after May 6, 1997 generally cannot be sheltered by the home-sale exclusion, although other gain may qualify if you meet the ownership, use, nonqualified-use and other rules. A former home converted to a rental can also face a special loss limitation based on its value when converted.
The result is not simply that you “pay back” every depreciation deduction as ordinary income. The sale calculation separates basis, gain, depreciation-related gain, exclusion eligibility and reporting requirements. The explanation below applies to U.S. federal tax rules; state and local treatment can differ.
As an Amazon Associate I earn from qualifying purchases.
How depreciation changes the sale calculation
Depreciation is a tax deduction for the gradual use of an income-producing building. When the property is sold, the IRS generally requires the adjusted basis to reflect depreciation that was allowed or allowable. “Allowed” means you claimed it; “allowable” means you were entitled to claim it, whether or not you actually did. Forgetting to depreciate the property therefore does not normally preserve the original basis.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →The basic gain calculation is:
Amount realized − adjusted basis = gain or loss
Adjusted basis starts with the relevant cost or conversion basis, then changes for items such as capital improvements, depreciation and other basis adjustments. Depreciation reduces that basis. If a rental building had a $300,000 basis and $60,000 of allowed or allowable depreciation, its basis before considering other adjustments would generally be $240,000. A sale for more than that amount realized can produce gain even if the property’s market value rose only modestly.
#1 Best Overall
For a home that began as personal-use property, the depreciation basis after conversion is generally the lesser of the property’s adjusted basis or fair market value on the conversion date. Depreciation begins when the use changes to income-producing use and the property is placed in service. These conversion rules are described in IRS Publication 527 (2025).
Is prior depreciation “paid back” when you sell?
“Pay back” is a useful shorthand but not a complete description. Depreciation usually increases the gain because it lowered basis. The part of the gain attributable to depreciation on depreciable real property may be treated as unrecaptured section 1250 gain, which has a special federal tax computation. It is not accurate to promise that every seller pays ordinary-income tax on all prior depreciation, or that every sale produces a separate bill equal to the deductions.
Your tax character depends on the property, the depreciation claimed or allowable, the sale price and expenses, holding period, and other facts. The current sale-year forms and instructions determine where the transaction is reported. IRS Publication 544 (2025) discusses dispositions and depreciation-related treatment, while IRS Publication 523 (2025) explains the interaction with a former main home.
Recommended Free Tools
Why the home-sale exclusion does not cover post-1997 depreciation
Publication 523 states: “If you were entitled to take depreciation deductions because you used your home for business purposes or as rental property, you cannot exclude the part of your gain equal to any depreciation allowed or allowable as a deduction for periods after May 6, 1997.” That rule applies even when the property later becomes your main home again.
Rank #2
- Ideal for Gifting
- Ideal for a bookworm
- Compact for travelling
Other gain may still qualify for the home-sale exclusion. The general test requires that you owned the property and used it as your main home for at least two years during the five-year period ending on the sale date. Eligible sellers may exclude up to $250,000 of gain, or $500,000 for married taxpayers filing jointly, subject to the statutory tests, use history, prior exclusions and other limits. Those maximums are not automatic allowances.
Nonqualified-use rules can reduce the amount of gain eligible for exclusion when the property was not your main home during part of the relevant ownership period. Exceptions and special rules can apply, so the period rented, the period used as a residence and the exact sale date must be mapped rather than assumed.
Conversion from a personal home to a rental
Set the depreciation basis on the conversion date
Document both the adjusted basis immediately before conversion and the property’s fair market value on the date it became a rental. The depreciation basis is generally the lower figure. “Placed in service” means the property was ready and available for rent, not merely that you decided to rent it someday.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteKeep the date, valuation evidence, improvement records and depreciation schedule. Land is not depreciable, so the building and eligible components must be allocated separately under the applicable depreciation rules. A partial conversion, such as renting rooms while living in the house, requires an allocation between rental and personal portions.
Rank #3
Calculate the adjusted basis at sale
Start with the applicable conversion or acquisition basis, add qualifying capital improvements and other permitted increases, then subtract depreciation allowed or allowable and other required reductions. Selling costs reduce the amount realized in the sale calculation. Your depreciation schedule should reconcile to the basis used on the return.
Apply the special loss rule
If a former personal residence is converted to rental use and later sold at a loss, the deductible loss can be limited. For loss purposes, the starting point is generally the lower of the adjusted basis or fair market value at conversion, with later adjustments. This prevents a personal-use decline in value that occurred before conversion from becoming a rental loss.
Publication 544 gives an illustrative 2025 example:
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errors| Item | Example amount |
|---|---|
| Adjusted basis at conversion | $75,000 |
| Fair market value at conversion | $70,000 |
| Depreciation over five prior years | $12,620 |
| Sale price | $55,000 |
| Arithmetic loss using $62,380 adjusted basis | $7,380 |
| Allowed loss in the IRS example | $2,380 |
The $12,620 depreciation and $2,380 allowed-loss figures are the Internal Revenue Service’s illustrative numbers, not typical market outcomes. The limitation reflects the $70,000 conversion-date value rather than treating the entire pre-conversion decline as deductible rental loss. See Publication 544 (2025) for the example and rules.
Rank #4
How different use histories affect the result
| Fact pattern | Key federal issue | What to verify |
|---|---|---|
| Property is sold while still a full-time rental | Depreciation reduces basis; gain or loss is generally reported as a rental or business-property disposition. | Depreciation schedule, improvements, selling costs and applicable gain character. |
| Former rental becomes your main home before sale | The home-sale exclusion may apply to eligible gain, but post-May 6, 1997 depreciation-related gain remains ineligible. | Two-of-five-year ownership and use test, nonqualified-use periods and prior exclusions. |
| Only part of the home was rented | Rental and personal portions may require separate basis, depreciation and gain allocations. | Area or usage allocation, whether the rented space was within the living area, and records for each portion. |
| Home was converted after a decline in value and sold for less | The deductible loss can be limited using the lower conversion-date basis or fair market value, with later adjustments. | Conversion valuation, pre-conversion basis and depreciation after conversion. |
| Depreciation was omitted from prior returns | Basis generally still reflects depreciation allowed or allowable. | Filed returns, corrected depreciation schedule and whether an accounting-method adjustment or amended filing is needed. |
Step-by-step checklist for a sale
- Establish the timeline. List acquisition, personal use, conversion to rental, periods rented, any return to personal use, and the contract and closing dates.
- Reconstruct basis. Gather the purchase settlement statement, allocated land and building amounts, major improvement invoices, casualty or insurance adjustments and prior depreciation schedules.
- Confirm conversion value. For a former home, retain a defensible fair market value and the adjusted basis on the conversion date. Use the lower amount for the depreciation basis under Publication 527.
- Compute allowable depreciation. Include depreciation you could have claimed, not just the amounts shown on old returns. Separate building, land and any partial-rental allocation.
- Determine amount realized. Start with the gross selling price and account for selling expenses and other transaction items under the applicable rules.
- Calculate gain or loss. Subtract adjusted basis from amount realized, then apply the special conversion-loss limitation if the sale is at a loss.
- Test the exclusion. Check ownership and main-home use for at least two years in the five-year period, nonqualified-use periods, prior exclusions and any statutory exceptions.
- Separate depreciation-related gain. Identify the portion attributable to depreciation after May 6, 1997; that portion cannot be excluded under the home-sale exclusion and may be unrecaptured section 1250 gain.
- Use the current sale-year instructions. Reporting forms and schedules vary with rental status, personal use, partial use, installment terms and other facts. Do not rely on a prior year’s form layout.
Records that prevent the most common errors
- Keep the original purchase closing statement and a schedule allocating land from the depreciable building.
- Save invoices and descriptions for capital improvements; ordinary repairs are treated differently from improvements.
- Maintain every depreciation schedule, including years in which no deduction was claimed.
- Preserve conversion-date valuation support and the date the property was ready for rent.
- Retain closing disclosures showing commissions, transfer taxes and other selling costs.
- Record the dates and percentage of any partial rental use, including changes in rooms or floor area.
- Keep evidence of main-home use, such as residence dates, when applying the two-of-five-year test.
Frequent mistakes and how to correct them
Using original cost as the sale basis
Subtracting the sale price from original cost ignores depreciation and improvements. Rebuild adjusted basis instead.
Subtracting only depreciation actually claimed
The basis rule generally uses allowed or allowable depreciation. If prior returns omitted depreciation, ask a tax professional how to correct the depreciation method and reconcile the sale-year basis rather than simply restoring the missed amount.
Applying the $250,000 or $500,000 exclusion to the entire gain
The exclusion maximum applies only when the tests are met, and it does not shelter post-May 6, 1997 depreciation-related gain. Nonqualified-use rules can reduce the otherwise eligible portion.
Claiming the full economic loss after a conversion
A drop in value before the home became a rental is generally not transformed into a deductible rental loss. Use the conversion-date lower-of-basis-or-value rule described in Publication 544.
Best Value
- It can be a gift option
- Comes with secure packaging
- Helpful in various ways
Assuming federal treatment settles state tax
This explanation covers federal rules. State conformity, depreciation adjustments and home-sale exclusions may differ; check the law where the property and seller are subject to tax.
When individual advice is important
Consider a qualified tax professional when the property was inherited, held through an entity, involved in a like-kind exchange, sold on an installment contract, used partly for business, or depreciated under unusual methods. The same is true when records are missing, the conversion valuation is disputed, a large gain is expected or multiple owners have different use histories.
For the current federal framework, consult IRS Publication 523 (2025) for selling a home, IRS Publication 527 (2025) for residential rental property, IRS Publication 544 (2025) for sales and other dispositions, and the IRS explanation of basis at Property basis—sale of home, etc. The IRS publication index lists Publication 527 as published March 4, 2026, and Publications 523 and 544 as published June 15, 2026; use the edition and instructions applicable to your sale year.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




