Tax Implications of Selling a Rental Property
Updated 5 days ago (March 6, 2026)
The Three Taxes You Will Owe
Selling a rental property triggers up to three distinct federal taxes, each calculated differently. The first is capital gains tax on the property's appreciation above your adjusted basis. For properties held longer than one year, the federal rate is 0%, 15%, or 20% depending on your taxable income. The second is depreciation recapture tax at a flat 25% rate under Section 1250, applied to the total depreciation you claimed (or were entitled to claim) during ownership. The third is the 3.8% Net Investment Income Tax (NIIT), which applies to taxpayers with modified AGI exceeding $200,000 (single) or $250,000 (married filing jointly).
These taxes stack on top of each other. On a property with $300,000 in total gain, where $120,000 is attributable to depreciation, a high-income investor could owe: $30,000 in depreciation recapture (25% of $120,000), $36,000 in capital gains (20% of $180,000), and $11,400 in NIIT (3.8% of $300,000), for a total federal tax bill of $77,400. State income taxes add to this amount.
Calculating Your Adjusted Basis
Your adjusted basis determines the size of your taxable gain. Start with the original purchase price and add capitalized acquisition costs (title insurance, recording fees, transfer taxes, legal fees directly related to the purchase). Add the cost of all capital improvements made during ownership (new roof, HVAC replacement, additions, major renovations). Subtract all depreciation claimed or allowable over the holding period.
The "or allowable" language is critical. The IRS applies depreciation recapture based on the depreciation you should have taken, not just what you actually claimed. If you owned the property for 15 years and never deducted depreciation, the IRS still calculates recapture as if you had. The correct response is to always claim your depreciation deductions, since skipping them costs you the annual tax benefit without reducing the recapture.
Selling expenses (agent commissions, staging costs, closing costs, transfer taxes paid by the seller) reduce your net sale proceeds, which reduces your taxable gain. A 6% commission on a $500,000 sale saves $30,000 in sale proceeds, which at a combined 25% effective rate would save approximately $7,500 in taxes.
Timing and Year-End Planning
The tax year in which you close the sale determines when the tax is owed. Closing in December versus January shifts the entire tax liability by one year, which has real economic value. If you expect your income to be lower next year (retirement, sabbatical, business downturn), delaying the close to January reduces your effective tax rate.
Conversely, if tax rates are expected to increase (through legislation or personal income growth), accelerating the sale into the current year locks in the lower rate. The timing decision should be made in consultation with your CPA, who can model the after-tax outcome under both scenarios.
If you sell at a loss, the loss is deductible against other capital gains in the same year. If capital losses exceed capital gains, you can deduct up to $3,000 of excess losses against ordinary income per year, with remaining losses carried forward indefinitely. Selling a loss property in the same year you sell a gain property produces an immediate tax offset.
Alternatives to an Outright Sale
A 1031 exchange defers all three taxes (capital gains, depreciation recapture, and NIIT on the gain) by reinvesting into a replacement property. The deferred taxes carry over to the replacement property's basis, so they are postponed rather than eliminated.
An installment sale under Section 453 spreads the capital gains tax over the years you receive payments. However, depreciation recapture must be recognized in full in the year of sale, regardless of the payment schedule. Installment sales work best when the recapture amount is small relative to the total gain.
Converting a rental property to a primary residence before selling allows you to use the Section 121 exclusion ($250,000 single, $500,000 married filing jointly) on the appreciation that occurred during the time you used it as your primary residence. Under current rules, you must live in the property for at least two of the five years before sale, and the exclusion is prorated based on the time the property was used as a rental versus a personal residence. Depreciation recapture is not covered by the Section 121 exclusion.
For a broader overview of tax planning for rental property investors, see Tax Planning Strategies for Rental Property Income.
Financial Disclaimer: Tellus provides this content for informational purposes only. This is not financial advice. Financial returns and mortgage terms vary based on individual circumstances and market conditions. Consult a qualified financial advisor before making financial or borrowing decisions.