Capital gains tax on rental property sold applies to the profit made when you sell a rental property for more than your adjusted basis, which includes purchase price, improvements, and accumulated depreciation. The rate depends on your income level and how long you held the property-long-term gains are taxed at lower rates than short-term gains.
Rental property is treated as a capital asset under IRS rules. When you sell it, you calculate gain by subtracting your adjusted basis from the sale price minus selling expenses. This gain is subject to capital gains tax, but only after accounting for depreciation taken during ownership. The IRS requires you to recapture depreciation as ordinary income, which increases your tax liability beyond standard capital gains rates.
For example, if you bought a rental house for $250,000, spent $30,000 on renovations, and claimed $60,000 in depreciation over ten years, your adjusted basis is $220,000 ($250k + $30k - $60k). If you sell it for $400,000 and pay $20,000 in commissions, your net proceeds are $380,000. Your capital gain is $160,000 ($380k - $220k). Of that, $60,000 is subject to depreciation recapture at your ordinary income tax rate, and the remaining $100,000 may qualify for long-term capital gains treatment if held over one year.
The IRS distinguishes between short-term and long-term capital gains. If you owned the rental property for one year or less, the gain is short-term and taxed at your ordinary income tax rate. If you held it longer than 12 months, it's long-term and eligible for preferential rates-0%, 15%, or 20% depending on your taxable income.
Depreciation recapture is a key factor. The IRS treats the portion of gain attributable to previously deducted depreciation as ordinary income, not capital gains. This means even if you're in a low capital gains bracket, the recaptured amount is taxed at your highest marginal rate. For instance, a taxpayer in the 24% ordinary income bracket pays 24% on the $60,000 of recaptured depreciation, while the remaining $100,000 may be taxed at 15% if they fall below the threshold for higher brackets.
Form 8949 and Schedule D of IRS Form 1040 report capital gains. You must list the sale date, sale price, adjusted basis, and selling expenses. The IRS uses this data to compute your tax liability. Failing to report correctly can trigger audits or penalties.
Long-term capital gains on rental property are taxed at reduced rates based on your modified adjusted gross income (MAGI). The following table shows the applicable rates for 2024:
| Tax Filing Status | MAGI Range (0%) | MAGI Range (15%) | MAGI Range (20%) |
|---|---|---|---|
| Single | $0 - $47,025 | $47,026 - $518,900 | $518,901+ |
| Married Filing Jointly | $0 - $89,450 | $89,451 - $518,900 | $518,901+ |
| Head of Household | $0 - $51,700 | $51,701 - $518,900 | $518,901+ |
These thresholds are updated annually. The IRS provides guidance in Publication 523, Selling Your Home, and Publication 544, Capital Gains and Losses, both available on irs.gov/publications.
Many investors assume they can avoid capital gains tax entirely by reinvesting profits into another property via a 1031 exchange. While this defers tax, it doesn't eliminate it. The deferred gain becomes part of the new property's basis, and taxes apply when the replacement property is eventually sold.
Another error is treating all rental gains as long-term. If you buy and sell within a year, the gain is short-term and taxed at your regular income rate. A 2023 study by the National Bureau of Economic Research found that nearly 30% of real estate investors miscalculate holding periods, leading to higher-than-expected tax bills.
A lesser-known rule: if you convert a rental property to personal use before selling, you may lose the ability to claim certain deductions. The IRS considers this a change in use, which can trigger recapture on prior depreciation. For example, renting out a home for five years, then living in it for two, then selling it results in recapture on the full depreciation claimed during the rental period.
Consider Sarah, who bought a duplex in 2018 for $300,000. She spent $25,000 on roof repairs and HVAC upgrades. Over six years, she claimed $72,000 in depreciation. In 2024, she sells the property for $550,000 and pays $30,000 in agent fees and closing costs.
Her adjusted basis is $253,000 ($300k + $25k - $72k). Net proceeds are $520,000 ($550k - $30k). Her capital gain is $267,000 ($520k - $253k). Of that, $72,000 is recaptured as ordinary income due to depreciation. The remaining $195,000 qualifies as long-term gain because she held the property over one year.
If Sarah is in the 22% ordinary income bracket, her recaptured gain is taxed at 22%. Her long-term gain is taxed at 15% (assuming her MAGI falls in the 15% capital gains bracket). Total tax: $15,840 on recapture ($72k × 22%) and $29,250 on capital gain ($195k × 15%), totaling $45,090.
People frequently mix up capital gains tax with ordinary income from rental operations. Rental income-rent collected during ownership-is reported on Schedule E and taxed at your ordinary income rate. Capital gains tax on rental property sold applies only to the profit from the sale, not ongoing rent.
Some believe depreciation reduces their tax bill on sale. It doesn't-it increases it. Depreciation lowers your basis, increasing the gain when sold. The IRS requires you to "recapture" this deduction as taxable income.
Another confusion: the idea that losses from rental properties offset capital gains. While rental losses can offset other passive income, they don't reduce capital gains unless you have passive activity losses carried forward. The IRS limits passive loss deductions to $25,000 per year for taxpayers with modified AGI under $100,000.
I once advised a client who sold a rental property after seven years. He believed he'd only owe capital gains tax. After reviewing his records, we found he had claimed $48,000 in depreciation. The recapture added $11,520 in tax at his 24% rate. His total tax was $34,000-$12,000 more than he expected.
One effective strategy is a 1031 exchange, which allows you to defer capital gains tax by reinvesting proceeds into a similar property. The IRS defines "like-kind" broadly-any investment real estate qualifies, even if different in location or structure. However, the exchange must follow strict timelines: identify a replacement property within 45 days and close within 180 days.
Another option is donating appreciated property to a qualified charity. Under IRC Section 170(e), you can deduct the fair market value and avoid capital gains tax. This strategy works best for high-net-worth individuals with significant unrealized gains.
Finally, consider timing your sale. If you expect to be in a lower tax bracket next year, delaying the sale can reduce your capital gains rate. Conversely, if you anticipate higher income, selling early may lock in a lower rate.
Understanding capital gains tax on rental property sold is essential for real estate investors. It affects net proceeds, cash flow, and long-term wealth accumulation. Always consult a tax professional before selling, especially if you've claimed substantial depreciation or plan to use a 1031 exchange.