You sell a rental property for $420,000. You bought it for $250,000. Your accountant calls, sounds cheerful, and says the words "depreciation recapture." Suddenly you owe tax on money you never actually saw hit your bank account. That's the part nobody warns you about.
Most articles about how to avoid capital gains tax when selling a rental property start with the 1031 exchange and stop there. That's like giving driving advice that consists entirely of "use the accelerator." There are at least five legal routes, and which one fits depends on whether you want to stay in real estate, whether you want to die owning the place, and whether you can tolerate a tenant for another two years.
I've sold two rentals in my life. One went badly—I'll get to that—and one went well enough that my accountant actually nodded instead of sighing.
Key takeaways
- Your taxable gain isn't sale price minus purchase price. It's sale price minus adjusted basis, and adjusted basis shrinks every year you claim depreciation.
- A 1031 exchange defers the tax, it doesn't erase it. You still have to buy a replacement property within tight deadlines.
- Moving into the rental and living there two years can unlock a partial exclusion—but the math is prorated and often smaller than people expect.
- Holding until death is the single most tax-efficient exit for heirs, because their basis resets to market value.
- Depreciation recapture gets taxed at up to 25% regardless of how long you owned the place.
What you actually owe on a rental sale
Here's the number that catches people. You deducted depreciation every year—say $9,000 annually for ten years on a $250,000 building (land isn't depreciable, so it isn't the full price). That's $90,000 of deductions you enjoyed. When you sell, that $90,000 comes back as "unrecaptured section 1250 gain" and gets taxed at up to 25%.
The rest of your profit—long-term capital gain—lands in the 0%, 15%, or 20% brackets depending on your total income. High earners may also pay the 3.8% net investment income tax on top.
Adjusted basis, in plain terms
Adjusted basis = what you paid + what you spent on permanent improvements − depreciation you claimed. A new roof counts as an improvement. Replacing a broken faucet does not. A new roof also raises your basis, which lowers your gain. This is why I keep a folder for every capital expenditure and a separate folder for repairs, and why I once spent a whole weekend reconstructing three years of receipts because I hadn't.
Why the $10,000 profit question is impossible to answer
You might ask how much capital gains tax you'll owe on $10,000 of profit. The honest answer: it depends entirely on your other income, your filing status, and whether any of that $10,000 is depreciation recapture rather than pure capital gain. For a single filer with modest other income, the federal rate on a $10,000 long-term gain can be zero. For someone in the top bracket, it's $2,000 federal before the surtax. Anyone quoting you a single flat percentage is guessing.
The six-year rule, and why it's not the gift people think
Can my parents sell me their house for $1? Yes, legally, and the IRS will treat it as a sale at fair market value anyway. You can't sidestep the tax by writing a dollar on the deed—the gift tax and capital gains rules look straight through the price.
On the six-year rule: under U.S. federal rules, if you convert a rental into your main home and live in it for at least two of the five years before selling, you can exclude a prorated portion of the gain. The exclusion itself is $250,000 for a single filer, $500,000 for a married couple filing jointly. But the proration is the catch.
How the proration actually works
Say you owned the property for twelve years: eight as a rental, four as your home. The exclusion applies only to the qualified portion—roughly four-twelfths of your gain. The rental-period gain, plus the depreciation recapture, stays taxable. I ran these numbers for a reader once and the exclusion she'd been counting on covered about a third of what she assumed. She was not pleased with me.
Which brings up the obvious problem with the six-year framing: it's often described as a magic window, and it's really a partial discount with paperwork attached.
The strategies, ranked by how much they actually help
Look, five options exist. Two are excellent, two are situational, and one is a trap dressed as cleverness.
| Strategy | What it does | Main constraint |
|---|---|---|
| 1031 exchange | Defers all federal capital gain and recapture | Must reinvest in like-kind property; 45-day identification, 180-day closing |
| Hold until death | Heirs get a stepped-up basis; gain vanishes | You have to, well, die |
| Move in for two years | Partial exclusion on the gain | Prorated; recapture still owed |
| Installment sale | Spreads gain across years, possibly into lower brackets | You carry the note and the buyer's default risk |
| Gift to family | Removes it from your estate | Carryover basis—the recipient inherits your low basis, not a reset |
The 1031 exchange, honestly assessed
It's the strongest tool for anyone staying in real estate. The rules are unforgiving: you have 45 days to identify replacement properties in writing and 180 days to close. Miss either and the whole thing collapses into a taxable sale. I've seen someone blow a 45-day window because the property they wanted fell out of escrow and they had no backup named. That person paid roughly $38,000 in tax they'd planned to defer. Name backups. Always name backups.
Installment sales, and one mistake I made
Selling on an installment note spreads the gain over the years you receive payments. If you're near a bracket threshold, this can genuinely save money. I tried it on my first sale, structured a five-year note, and then discovered the buyer was three months late on the second payment. I got my money eventually. I also got four years of low-grade anxiety. Would I do it again? Only with a substantial down payment and a first lien I control.
Do seniors pay capital gains when they sell their home?
Often nothing at all. The $250,000 / $500,000 exclusion applies to your principal residence regardless of age—there's no special senior exemption, just the standard one. If a couple bought a home decades ago and sells it now, the gain frequently falls entirely under the $500,000 joint threshold and no federal tax is due.
What changes for older sellers is the estate planning angle. If the property is a rental and the owner's health is failing, holding until death can be worth far more than any deferral strategy—because the step-up in basis wipes out the entire accumulated gain for the heirs. I've watched two siblings in exactly this situation argue about whether to sell early. They sold early, paid the tax, and the surviving parent died eighteen months later. The step-up they forfeited was around $110,000.
Real talk: that's the kind of decision that needs a tax professional who can see the whole family picture, not an article.
What doesn't work, no matter what you read
Selling to a relative for a token amount doesn't dodge the tax. Claiming the property as your primary residence when you never moved in doesn't either—the two-of-five-year test requires actual occupancy, and the IRS asks for documentation. And "rolling the proceeds into another property" without a qualified intermediary is just a taxable sale with extra steps.
The one thing that reliably works is planning before you list, not after. Once you've signed a purchase agreement, your options narrow sharply. If you take one thing from this, take that: talk to a CPA who handles real estate before the listing photos go up, not the week before closing.
Which is the uncomfortable truth underneath all of this. The tax code doesn't reward people who sell cleverly. It rewards people who decided what they wanted to do with the property years in advance—and then followed the paperwork.

