How to Sell Rental Property Without Paying Taxes
Discover the legal strategies rental property owners use to sell their investment properties while minimizing or eliminating capital gains taxes, depreciation recapture, and more.
Introduction
If you own rental property and you're thinking about selling, there's one question that should be at the top of your mind: how much of your profit will go to taxes? The answer, for most landlords, is a painful amount. Selling a rental property doesn't just trigger capital gains tax—it also triggers depreciation recapture, and potentially the net investment income tax and state taxes on top of that. Combined, these taxes can consume 30% to 40% or more of your total gain.
But here's the good news: you don't have to write the IRS a massive check just because you're ready to move on from your rental. There are several legal, well-established strategies that rental property owners use every year to minimize or completely eliminate the taxes owed when selling investment real estate. Some strategies defer the tax, some reduce it, and one can eliminate it entirely.
In this guide, we'll walk through the full tax burden of selling rental property, then break down five proven strategies—ranked by effectiveness—so you can choose the right approach for your situation.
The True Tax Burden of Selling Rental Property
Rental property owners face a heavier tax burden when selling than almost any other type of real estate seller. Why? Because of depreciation recapture.
As a rental property owner, you've likely been deducting depreciation on your property every year. The IRS allows you to depreciate residential rental property over 27.5 years, which reduces your taxable rental income each year. It's one of the biggest tax advantages of owning rental real estate. But there's a catch: when you sell, the IRS wants that depreciation back.
Every dollar of depreciation you claimed (or could have claimed—the IRS assumes you took it whether you did or not) gets taxed at a special 25% depreciation recapture rate. This is on top of the capital gains tax on your property's appreciation. For a property you've held for 10 or 15 years, the accumulated depreciation can be substantial, adding tens of thousands of dollars to your tax bill.
This double layer of taxation—capital gains plus depreciation recapture—is what makes selling rental property so expensive from a tax perspective. A homeowner selling their primary residence might owe nothing in taxes thanks to the Section 121 exclusion. A rental property owner selling a similar property could owe six figures.
What Taxes Do You Owe When Selling Rental Property?
Let's break down every tax that may apply when you sell your rental property:
- Capital Gains Tax (15–20%): This applies to the profit from the sale—your sale price minus your adjusted basis. For most rental property owners in higher tax brackets, the rate is 20%. For those with lower incomes, it's 15%. This tax only applies to long-term gains on properties held for more than one year.
- Depreciation Recapture (25%): This is the tax unique to rental property sales. The IRS taxes all accumulated depreciation at a flat 25% rate. If you've owned a property for 15 years and claimed $150,000 in depreciation, that's $37,500 in depreciation recapture tax alone—regardless of how much the property appreciated.
- Net Investment Income Tax (3.8%): If your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), you'll owe an additional 3.8% surtax on the gain from your sale. This tax was introduced under the Affordable Care Act and applies to most investment income, including real estate sales.
- State Income Tax (0–13%+): Depending on which state your property is located in and where you live, you may owe state income tax on the gain. States like California, New York, and New Jersey have rates exceeding 10%. States like Texas, Florida, and Nevada have no state income tax.
When you add these up, a rental property owner in a high-tax state could be looking at a combined effective tax rate of 40% or more on their total gain. Use our capital gains tax calculator to estimate your exact tax liability before you sell.
Strategy 1: 1031 Exchange
The 1031 exchange is the most widely used strategy for deferring taxes on the sale of rental property. Named after Section 1031 of the Internal Revenue Code, it allows you to sell your rental property and reinvest the full proceeds into another "like-kind" investment property—deferring all capital gains tax, depreciation recapture, and the net investment income tax.
The key rules are straightforward: you must identify a replacement property within 45 days of selling and close on it within 180 days. The replacement property must be of equal or greater value, and all proceeds must be held by a qualified intermediary (you can never touch the money directly). The new property must also be held for investment or business use—not personal use.
The advantage of a 1031 exchange is clear: you keep 100% of your equity working for you instead of losing a large chunk to taxes. The downside? You're exchanging into another property that you'll need to manage, maintain, and deal with tenants on. For many landlords who are selling because they're tired of being a landlord, this can feel like trading one headache for another.
For a complete breakdown of the rules, timelines, and requirements, read our full guide to 1031 exchanges.
Strategy 2: 1031 Exchange into a DST (Recommended)
If you want the full tax deferral of a 1031 exchange without the burden of being a landlord again, a Delaware Statutory Trust (DST) is the solution. A DST is a legal entity that holds title to institutional-quality real estate—think large apartment communities, medical office buildings, industrial warehouses, and net-leased retail properties. When you exchange into a DST, you're completing a valid 1031 exchange that defers all of your taxes, but instead of becoming a landlord again, you become a passive investor.
Here's what makes a DST different from a traditional 1031 exchange:
- No landlord responsibilities: Professional asset managers handle all property management, tenant relations, maintenance, and operations. You never get a call about a broken pipe or a late rent payment.
- Passive income: DST investors receive regular distributions (typically quarterly or monthly), providing steady cash flow without any active involvement.
- Institutional-quality properties: DSTs invest in the types of large, professionally managed properties that individual investors typically can't access on their own—$50 million apartment complexes, Class A office buildings, and national credit tenant retail.
- Full tax deferral: Because a DST qualifies as like-kind property under IRS Revenue Ruling 2004-86, you get the same complete tax deferral as a traditional 1031 exchange.
- Diversification: You can split your exchange proceeds across multiple DSTs in different property types and geographic locations, reducing concentration risk.
For rental property owners who want to exit active management while preserving their equity and deferring all taxes, a DST is often the ideal solution. Learn more about what a DST is or read our detailed guide on how to complete a 1031 exchange into a DST.
Strategy 3: Convert to Primary Residence
Under Section 121 of the Internal Revenue Code, homeowners can exclude up to $250,000 ($500,000 for married couples filing jointly) of capital gains when selling their primary residence. Some rental property owners attempt to take advantage of this exclusion by converting their rental property into their primary residence before selling.
To qualify, you must live in the property as your primary residence for at least two of the five years before selling. However, there are important limitations that make this strategy less powerful than it might appear:
- Partial exclusion only: Under the Housing Assistance Tax Act of 2008, the Section 121 exclusion is prorated based on the period the property was used as a rental versus a primary residence. If you owned the property for 10 years and lived in it for 2, only 20% of the gain may be eligible for exclusion.
- Depreciation recapture still applies: Even if you qualify for the Section 121 exclusion on the capital gain, you still owe depreciation recapture tax on all the depreciation you claimed while the property was a rental. This can be a significant amount.
- You must actually move in: You need to genuinely live in the property as your primary residence. This means leaving your current home, changing your address, and actually residing there for at least two years. For many rental property owners, this is impractical.
- Opportunity cost: While you're living in the property, you're not collecting rental income. Two years of lost rent can be substantial.
This strategy can work in specific situations—particularly if you own a single rental property that you'd genuinely like to live in—but for most landlords, the limitations make it impractical compared to a 1031 exchange.
Strategy 4: Installment Sale
An installment sale allows you to spread the gain from selling your rental property over multiple tax years by receiving the sale proceeds in installments rather than a lump sum. Instead of recognizing the entire gain in the year of sale, you report a proportional share of the gain as you receive each payment.
The primary benefit is tax bracket management. By spreading a large gain over several years, you may keep yourself in a lower tax bracket each year, potentially reducing the overall rate you pay. This is particularly useful if you're nearing retirement and expect your income to drop in future years.
However, it's important to understand that an installment sale does not eliminate your tax—it only spreads it out. You'll still owe the full amount of capital gains tax, depreciation recapture, and any applicable surtaxes. You're also taking on the risk that the buyer may default on future payments. Additionally, depreciation recapture must be reported in the year of sale regardless of how the payments are structured—it cannot be spread out.
Installment sales work best for sellers who don't want to reinvest in real estate and are willing to act as the lender in exchange for a modest reduction in their overall tax rate.
Strategy 5: Hold Until Death (Stepped-Up Basis)
This is the most powerful tax elimination strategy in real estate—but it comes with an obvious drawback. When you pass away, your heirs receive your property with a "stepped-up" cost basis equal to the property's fair market value at the time of your death. This means all of the capital gains and all of the depreciation recapture accumulated during your lifetime are completely eliminated. Your heirs can sell the property immediately and owe little to no tax.
For example, if you bought a rental property for $300,000, claimed $100,000 in depreciation, and the property is worth $800,000 when you pass away, your heirs receive a stepped-up basis of $800,000. If they sell for $800,000, their taxable gain is zero. The $500,000 in appreciation and $100,000 in depreciation recapture simply vanish for tax purposes.
This strategy is most relevant for older investors who plan to leave real estate to their children or other heirs. It's often combined with a 1031 exchange strategy—you keep exchanging into new properties throughout your lifetime, deferring taxes along the way, and when you pass away, the stepped-up basis eliminates the deferred taxes permanently. It's also worth noting that estate taxes may apply for very large estates (above the federal exemption threshold), so estate planning guidance is essential.
Which Strategy Saves the Most Tax?
For rental property owners who want to sell and reinvest, the 1031 exchange—especially into a DST—saves the most tax because it defers 100% of your capital gains, depreciation recapture, and net investment income tax. You keep every dollar of your equity working for you. If you're an active investor who wants to keep building wealth in real estate without the management burden, this is the clear winner.
The stepped-up basis strategy saves the most tax overall because it permanently eliminates all deferred gains, but it requires holding the property until death—which isn't practical for everyone. The primary residence conversion can work but is limited in scope and requires significant lifestyle changes. Installment sales only reduce your effective rate slightly and still result in full taxation over time.
For a broader overview of all capital gains strategies beyond just rental property, see our guide on how to avoid capital gains tax on real estate.
Real-World Example
Let's look at a realistic scenario to see how these numbers play out:
The property: A rental duplex purchased 15 years ago for $500,000, now worth $900,000. Over 15 years, the owner claimed $150,000 in depreciation deductions. The adjusted cost basis is $350,000 ($500,000 - $150,000 in depreciation).
The gain: $900,000 sale price - $350,000 adjusted basis = $550,000 total taxable gain.
Without Any Tax Strategy
- Capital gains tax (20% on $400,000 appreciation): $80,000
- Depreciation recapture (25% on $150,000): $37,500
- Net investment income tax (3.8% on $550,000): $20,900
- State income tax (estimated 5%): $27,500
- Total estimated tax: ~$165,900
That's nearly $166,000 out of the owner's pocket—roughly 18% of the entire sale price gone to taxes.
With a 1031 Exchange into a DST
- Capital gains tax: $0 (deferred)
- Depreciation recapture: $0 (deferred)
- Net investment income tax: $0 (deferred)
- State income tax: $0 (deferred)
- Total tax at closing: $0
The full $900,000 stays invested. Placed into a diversified portfolio of DSTs, the owner could expect approximately $36,000 to $45,000 per year in passive distributions—with no tenants to manage, no maintenance to handle, and no 2 a.m. phone calls. The owner went from actively managing a duplex to passively collecting income from institutional-quality real estate, all while deferring every dollar of tax.
Conclusion
Selling your rental property doesn't have to mean writing a six-figure check to the IRS. The tax code provides several legitimate strategies for rental property owners to minimize or eliminate the taxes triggered by a sale. The key is planning ahead—most of these strategies require action before or during the sale process, not after.
For most rental property owners, a 1031 exchange into a DST offers the best combination of full tax deferral, elimination of management responsibilities, and continued passive income. It's the strategy that lets you keep your wealth working for you while stepping away from the demands of being a landlord.
Don't let taxes eat your equity. If you're considering selling your rental property, explore your options now—before you list. Read our guide on the tired landlord 1031 exchange to see how other rental property owners have made the transition from active landlord to passive investor.
Ready to learn more?
Schedule a call with our team to discuss how a 1031 exchange into a DST might work for your situation.
Schedule a Call