My House Into Cash · Landlord resources
Taxes When Selling a Rental Property
Understand adjusted basis, depreciation-related taxes, and the records behind your numbers—so you can compare selling with keeping your rental and plan for what you could actually keep.
U.S. federal tax overview for individual landlords · Research updated October 25, 2026
By My House Into Cash · Amounts and examples are in U.S. dollars.
What taxes can you owe when you sell a rental?
A rental sale can produce taxable gain when the amount realized exceeds the property's adjusted tax basis. Some gain may receive long-term capital-gain treatment; depreciation can place part of the gain in a different tax category. Your income, holding period, other gains and losses, and ownership structure all matter.
The mortgage payoff answers a different question: how much cash remains from the transaction. It is not an extra deduction when calculating the property's taxable gain. A seller can receive modest cash at closing and still have a substantial tax bill. [1]
Cash from a straightforward sale = sale price − seller-paid closing amounts − loan payoffs.
For an ordinary cash sale, amount realized generally starts with the sale price less qualifying selling expenses. A buyer's assumption of debt or other noncash consideration can also affect the calculation. Have your preparer classify the transaction and its closing charges.
For the sale itself, start with our guide to selling a rental property with tenants . Taxes are one part of an exit decision alongside rent collections, repairs, lease obligations, and timing.
Build the file first
Records landlords should gather before selling
Send your adviser a complete property history. A current mortgage statement and last year's return rarely explain every basis adjustment. Use this checklist to identify missing records early.
| Record | What to establish |
|---|---|
| Purchase contract, deed, and original settlement statement | Acquisition date, purchase price, and which purchase charges entered basis. |
| Land/building allocation and any acquisition appraisal | The support for separating nondepreciable land from the building. |
| Complete depreciation schedules and prior returns | Each asset's cost, service date, method, deductions, and accumulated depreciation—not just the annual Schedule E total. |
| Improvement invoices and proof of payment | What was done, when it was completed, and how it was treated on earlier returns. |
| Cost-segregation, bonus-depreciation, and asset-disposal records | Which components or appliances have separate basis and depreciation histories. |
| Use and ownership history | Dates of personal occupancy and rental use; inherited, gifted, exchanged, or jointly owned interests. |
| Loss carryforward worksheets | Suspended passive losses, capital losses, prior Section 1231 losses, and any entity or at-risk limits. |
| Sale agreement, final settlement statement, and Form 1099-S if issued | Gross proceeds, allocation among assets, credits, and itemized selling charges. |
| Current payoffs and final rental ledger | Closing cash, rent prorations, deposits, and amounts belonging in the final rental accounts. |
Keep the old records. The IRS generally says to retain property records until the limitations period expires for the return covering the disposition. Records for a property exchanged into another property may need to be kept longer. Do not discard acquisition and improvement documents simply because they are more than three years old. [13]
What is adjusted basis?
Adjusted basis is your starting tax basis after the required increases and decreases over time. For a purchased rental, start with cost and eligible capitalized acquisition charges, add qualifying capital improvements, and subtract depreciation and other required reductions. [2]
Keep improvements separate from operating expenses
A roof replacement or addition may be capitalized, while ordinary maintenance may be deductible currently. Classification depends on the work, applicable elections, and tax rules. A cost already deducted as a current expense cannot also increase basis. Your own unpaid labor does not create an improvement cost. [3]
Debt and market value do not substitute for basis
A refinance balance or cash-out amount does not reset the property's basis. Qualifying improvement spending financed by that borrowing may affect basis. Likewise, a current appraisal shows value rather than what you have invested for tax purposes.
Inherited property, gifts, prior tax-deferred exchanges, and conversion from personal use can have different starting-basis rules. For a converted home, depreciation and loss calculations may use a lower conversion-date value even when the gain calculation uses a different basis. Give your adviser both the cost history and conversion-date valuation. [2]
How depreciation affects the sale
Depreciation allocates the cost of eligible rental assets over time. Land is not depreciable. Residential rental buildings under the general depreciation system are generally depreciated over 27.5 years using straight-line depreciation and the mid-month convention. Other systems or asset types can use different periods. [3]
Depreciation generally reduces basis even if you failed to claim it. The relevant concept is depreciation “allowed or allowable.” Missing a deduction does not let you ignore the related basis adjustment at sale. Have your preparer investigate correction procedures and the full depreciation history before filing. [4]
Different portions of the gain can receive different treatment
- Depreciated real estate: For a building held more than a year, depreciation-related gain that is not ordinary recapture may be unrecaptured Section 1250 gain. Its federal maximum rate is 25%; that does not mean every seller pays a flat 25%. [6]
- Separate depreciated assets: Appliances, equipment, or certain cost-segregated components may produce ordinary-income recapture under Section 1245, limited by the gain on those assets. Accelerated deductions can therefore change the sale's tax mix. [5]
- Remaining gain: Rental business property held more than a year generally enters the Section 1231 calculation. After recapture, net gains may qualify for long-term capital-gain treatment, subject to the five-year lookback for certain prior Section 1231 losses. [5]
Other eligible net long-term capital gain is generally subject to 0%, 15%, or 20% federal rates, depending on taxable income and filing status. [6]
A rental business property held one year or less generally does not qualify for Section 1231 treatment, and its gain or loss is generally ordinary. [5]
Ordinary Section 1250 recapture and unrecaptured Section 1250 gain are different rules. A typical straight-line residential building held more than a year often has the latter without ordinary Section 1250 recapture. Asset classifications and depreciation methods still need review. [1]
Worked example · Illustrative figures
A $400,000 sale: taxable gain versus cash you keep
Assume an individual bought a property as a rental, held it more than a year, and used straight-line building depreciation. The $60,000 total below includes allowable depreciation through the sale. There are no separate personal-property assets, other basis adjustments, home-sale exclusions, or loss offsets.
| Item | Amount |
|---|---|
| Original purchase price, including land | $240,000 |
| Eligible capitalized purchase costs | + $5,000 |
| Capital improvements | + $30,000 |
| Depreciation allowed or allowable | − $60,000 |
| Adjusted basis | $215,000 |
| Calculation | Amount |
|---|---|
| Sale price | $400,000 |
| Qualifying selling expenses, paid at closing | − $25,000 |
| Amount realized | $375,000 |
| Less adjusted basis | − $215,000 |
| Gain before return-level adjustments | $160,000 |
| Cash calculation: $375,000 − $225,000 loan payoff | $150,000 |
The seller has $160,000 of gain and $150,000 of cash before income taxes. The mortgage affects the cash calculation. It is not subtracted again from the gain.
Step 3: Illustrate the possible federal tax split
Assume the supported land/building allocation produces at least $60,000 of building gain; no ordinary recapture or Section 1231 lookback applies; and other gains and losses do not change the result. The simplified split is $60,000 of unrecaptured Section 1250 gain and $100,000 of remaining long-term gain. The actual return uses the Schedule D worksheets. [7]
For illustration only, suppose the first portion is taxed at 25% and the remaining portion at 15%:
- $60,000 × 25% = $15,000.
- $100,000 × 15% = $15,000.
- Illustrative federal tax = $30,000.
- $150,000 cash − $30,000 illustrative tax = $120,000 remaining.
This is arithmetic using assumed rates, not a tax quote. It excludes NIIT, state or local tax, tax credits, other return effects, and any charges outside the example. Actual gain can span rate brackets.
A lower selling price can still create a gain
Keep the same $215,000 adjusted basis, but change the price to $260,000 and qualifying selling expenses to $15,000. The amount realized is $245,000, producing a $30,000 gain—even though the price is below the $275,000 invested before depreciation.
If all $30,000 of that gain is attributable to the depreciated building, it may all fall within the unrecaptured Section 1250 category under these assumptions. The relevant limit is gain on the depreciated property; a seller does not automatically report $60,000 of depreciation-related gain when the applicable building gain is only $30,000.
What about losses you could not deduct in earlier years?
Find the suspended passive-activity loss worksheets. Previously disallowed passive losses are generally released when you dispose of your entire interest in the activity to an unrelated person in a transaction recognizing all realized gain or loss. Selling one property may not be a complete disposition if it belongs to a grouped activity. [8]
These losses can change the overall tax result, but they are not automatically an extra subtraction from the property's sale-price calculation. Partial sales, installment sales, tax-deferred exchanges, and separate basis or at-risk limitations need their own review.
A sale below original cost is not necessarily a tax loss after depreciation. When a qualifying rental business property actually produces a net Section 1231 loss, ordinary-loss treatment may apply. Personal-use allocations and other loss limits can change the deduction. [5]
Situations to review before you sign or close
A possible 1031 exchange
A qualifying exchange of business or investment real property can defer gain. Buying another property after an ordinary sale does not automatically qualify. Arrange a compliant structure with your tax adviser and qualified intermediary before transferring the property or receiving sale proceeds.
A typical deferred exchange requires written identification of replacement property within 45 days of transfer and receipt by the earlier of 180 days or the tax-return due date, including extensions. Cash received, debt changes, related parties, and nonqualifying assets can affect recognition. Deferral carries tax consequences forward rather than simply erasing the gain. [10]
A rental that was also your main home
The principal-residence exclusion may shelter eligible gain, generally up to $250,000 for a qualifying individual or $500,000 for qualifying married joint filers. Ownership, use, and other requirements apply; meeting them does not make every rental-sale gain excludable.
Gain attributable to depreciation allowed or allowable after May 6, 1997, cannot be excluded. Certain periods of nonqualified use after 2008 can also limit the exclusion. The order of your rental and residence periods matters. Moving into a long-held rental for two years does not guarantee that all its gain becomes tax-free. [11]
Payments received over time
An eligible installment sale may spread some gain over the years payments arrive. Ordinary depreciation-recapture income is generally reportable in the sale year even if no payment arrives then. Unrecaptured Section 1250 gain has different installment allocation rules, and interest is separate from sale gain. [12] [7]
Have your own advisers evaluate the actual contract, debt, security, and payment rights before choosing seller financing or another terms arrangement. Spreading payments does not by itself guarantee tax deferral.
Additional federal tax and state obligations
The 3.8% Net Investment Income Tax may apply. For individuals, it uses the lesser of net investment income or modified adjusted gross income above the applicable threshold: $200,000 for single or head-of-household filers, $250,000 for married joint filers, and $125,000 for married separate filers. Activity-specific exceptions can matter. [9]
Ask your preparer to check both the property's state and your residence state, including any withholding, credits, or transfer charges. A closing withholding payment, if required, is not necessarily the final income-tax bill.
Turn the estimate into a decision
Use your tax estimate in the sell vs. rent tool
Use our sell vs. rent calculator to compare sale proceeds with rental cash flow and a future sale over a common period. Bring a tax estimate into the comparison once your adviser has reviewed the basis and depreciation records.
- Price each sale route separately. Enter the expected listing price and an actual cash offer, with the costs and carrying expenses appropriate to each. A higher gross price can also change taxable gain.
- Open “Future sale and optional tax adjustments.” Use the separate fields for “Estimated tax on traditional sale now” and “Estimated tax on cash sale now.” In the worked example, $30,000 is only the assumed federal component; add applicable amounts your adviser identifies.
- Model keeping the rental. Enter realistic collected rent, operating expenses, debt payments, replacements, and an adviser-supported annual rental-income-tax estimate.
- Include the future exit. Use “Estimated tax on future rental sale.” Revisit that estimate for each horizon because additional depreciation, property value, and your circumstances can change.
Keep property taxes in their operating or closing-cost fields. Do not count the same income-tax reserve twice. Mortgage principal reduces cash flow while you own the property and the remaining loan balance at exit; it does not become a basis deduction.
Compare the numbers with our rental-property selling guide and multifamily-property guide . Your state landlord guide can help with lease handoff and local sale issues. A tax estimate alone cannot decide whether the extra income justifies continued management.
Questions to take to your tax professional
- Can you reconcile my acquisition basis, improvements, asset disposals, and accumulated depreciation through the intended sale?
- Is any depreciation missing or incorrect, and what correction procedure applies?
- How should the price and selling expenses be allocated among land, buildings, and other assets?
- What are the estimated ordinary recapture, unrecaptured Section 1250 gain, and remaining gain?
- Will passive losses, capital-loss carryforwards, or the Section 1231 lookback change my result?
- Do prior personal use, ownership through an entity, or exchange history change the calculation?
- What federal, state, and local amounts should I reserve for each actual offer?
- Do I need an estimated payment, a withholding adjustment, or special planning before closing?
Ask about payment timing now. A taxable sale can create an estimated-tax obligation before the annual filing deadline. Federal estimated payments have separate payment periods; underpayment penalties may apply. Your adviser can evaluate withholding and applicable estimated-tax payment rules for the sale's timing. [14]
After closing, send the final settlement statement and any Form 1099-S to your preparer. Rental business sales commonly involve Form 4797 and Schedule D; the exact forms depend on the activity and transaction. Keep the final depreciation schedule and supporting allocation with the return. [5]
Rental-property sale tax FAQs
Does selling to a cash buyer change the tax rules?
The buyer's payment method does not create a special rental-sale exemption. The actual price, expenses, basis, depreciation, and transaction structure determine the tax analysis. Compare each written offer after its costs and estimated taxes.
Can I deduct every charge on the closing statement from gain?
Have your preparer classify each item. Selling expenses, loan payoffs, interest, rent prorations, deposits, and tax withholding serve different purposes. They should not all be placed in one deductible selling-cost total.
What if my depreciation records are missing?
Request prior schedules from your preparer and recover purchase and improvement records. Do not substitute the latest mortgage balance or a guessed depreciation total. Your adviser may need to reconstruct the history and correct earlier treatment.
Should I keep renting just to postpone the sale tax?
Compare the tax estimate with expected cash flow, repairs, vacancy, future sale costs, and your management workload. Keeping the rental may fit a profitable long-term plan, but a later sale can have its own tax cost. Test both outcomes in the sell vs. rent tool.
Sources and editorial scope
This guide uses IRS publications and instructions available when researched on October 25, 2026. Some current publications are labeled for 2025 returns. Use the instructions and law applicable to your actual sale year. The examples are original illustrations and do not reproduce a taxpayer's return.
- IRS Publication 544: Sales and Other Dispositions of Assets — amount realized, gain, and depreciation-related sale rules.
- IRS Publication 551: Basis of Assets — acquisition basis, adjustments, and conversion to rental use.
- IRS Publication 527: Residential Rental Property — repairs, improvements, and residential depreciation.
- IRS Publication 946: How To Depreciate Property — allowed or allowable depreciation and correction rules.
- IRS Instructions for Form 4797 — reporting, recapture, and Section 1231 treatment.
- IRS Topic 409: Capital Gains and Losses — capital-gain rates and the 25% maximum for unrecaptured Section 1250 gain.
- IRS Instructions for Schedule D — unrecaptured Section 1250 gain worksheets and installment allocations.
- IRS Publication 925: Passive Activity and At-Risk Rules — suspended losses, grouping, and dispositions.
- IRS: Net Investment Income Tax — the 3.8% tax and individual income thresholds.
- IRS Instructions for Form 8824 — like-kind exchanges and deferred-exchange timing.
- IRS Publication 523: Selling Your Home — residence exclusions, nonqualified use, and rental depreciation.
- IRS Publication 537: Installment Sales — payment timing, interest, and ordinary recapture.
- IRS: How Long Should I Keep Records? — property record retention.
- IRS: Estimated Taxes — payment periods and underpayment considerations.
My House Into Cash provides property-buying information. Your own tax professional should determine your liability and any available planning strategy.