Capital Gains Taxes on Selling Investment Property: What You'll Actually Owe (And How to Plan Around It)
I've had this conversation more times than I can count. An investor calls me, excited… they've got a buyer, a strong offer, a property that's appreciated well beyond what they paid. Then we run the actual numbers on what they'll owe at closing, and the excitement drops a notch.
It's not that the tax bill is a surprise because it's unfair. It's a surprise because nobody briefed them on it in advance. In the Air Force, we never walked into an operation without knowing the full cost of the mission: fuel, personnel, risk, everything. Selling an investment property requires the same level of pre-mission planning, because the tax bill is often larger and more layered than people expect.
Let's break down exactly what you're looking at.
The Three Layers of Tax When You Sell Investment Property
When you sell an investment property for more than your adjusted basis, you're not looking at one tax; you're generally looking at up to three:
Federal capital gains tax
Depreciation recapture tax
State capital gains tax (in states that impose one)
And depending on your income level, there's potentially a fourth: the Net Investment Income Tax (NIIT). Let's take these one at a time.
Federal Capital Gains Tax: Long-Term vs. Short-Term
If you've owned the property for more than one year, your gain is generally taxed at long-term capital gains rates, which, depending on your total taxable income, currently fall into three federal brackets. These brackets are notably lower than ordinary income tax rates, which is one of the reasons real estate has historically been an attractive long-term hold.
If you've owned the property for one year or less, the gain is generally taxed as a short-term capital gain, at your ordinary income tax rate, which can be substantially higher.
The lesson here is simple: your holding period matters. Selling too early can move your gain into a materially higher tax bracket. This is exactly the kind of detail that should be part of your exit planning conversation well before you list the property, not something you discover after you've already signed a purchase agreement.
Depreciation Recapture: The Tax Most Investors Forget About
This is the one that catches people off guard most often, and it deserves its own section because it's frequently underestimated.
While you owned the property, you were likely taking annual depreciation deductions: a non-cash deduction that reduced your taxable rental income year after year. That's a real, legitimate benefit of owning investment real estate.
But here's the catch: when you sell, the IRS "recaptures" that depreciation. The portion of your gain attributable to depreciation you claimed is generally taxed separately, at a rate currently capped at 25% for real property, regardless of your long-term capital gains bracket.
In practical terms: if you owned a property for 15 years and depreciated it steadily each year, a meaningful chunk of your total gain at sale may be taxed at this higher depreciation recapture rate, not the lower long-term capital gains rate. Investors who don't account for this often underestimate their total tax bill significantly.
State Capital Gains Tax
Depending on where the property is located and where you reside, you may also owe state-level capital gains tax. Rates and rules vary widely — some states have no capital gains tax at all, others tax it as ordinary income, and multi-state situations (property in one state, residency in another) can add complexity around which state gets to tax what.
If your property sits in a different state than your primary residence, this is a conversation your CPA needs to have before closing, not after.
The Net Investment Income Tax (NIIT)
Higher-income investors may also owe an additional 3.8% Net Investment Income Tax on some or all of their gain, depending on their modified adjusted gross income relative to IRS thresholds. This is a federal tax layered on top of standard capital gains tax, and it's often overlooked in back-of-napkin tax estimates.
Putting It Together: Why "Selling Investment Property Tax Calculators" Only Get You So Far
I understand the appeal of a quick online calculator to estimate what you'll owe. They're a reasonable starting point for a ballpark figure, but they typically can't account for:
Your specific depreciation schedule and remaining basis
State-specific rules if you own property across multiple states
Whether NIIT applies to your total income picture
Prior 1031 exchanges that carried over a reduced basis from an earlier property
Passive activity loss carryforwards that may offset some of the gain
A real estimate requires a real conversation with your CPA, using your actual numbers, not a generic percentage applied to your sale price. This is where I see the biggest gap between what investors think they'll owe and what they actually owe at closing.
How to Avoid — or More Accurately, Defer — Capital Gains Tax on a Rental Sale
I want to be precise with language here, because "avoid" isn't quite the right word for what's actually available under current law. The primary tool most investors use is deferral, not elimination:
1031 Exchange. As we covered in earlier articles in this series, a properly structured 1031 exchange allows you to defer federal capital gains tax… and depreciation recapture… by reinvesting proceeds into a qualifying like-kind replacement property within the 45-day identification and 180-day closing windows.
Installment sale (seller financing). Spreading the sale over multiple tax years can spread the tax liability as well, though this comes with its own risk considerations around buyer default and cash flow timing.
Offsetting gains with capital losses. If you have other investments with unrealized or realized losses, tax-loss harvesting may help offset some of the gain, depending on your broader portfolio and tax situation.
Step-up in basis through estate planning. As mentioned in our first article, property held until death may pass to heirs with a step-up in basis under current law, which can significantly reduce or eliminate the capital gains liability that would otherwise apply… a legacy planning consideration, not a sale-year strategy.
Qualified Opportunity Zone investments. In certain circumstances, reinvesting capital gains into a Qualified Opportunity Fund may offer additional deferral or reduction benefits, subject to specific holding period requirements.
None of these are "no tax" buttons. Each comes with its own rules, risks, and tradeoffs, and the right one… or combination… depends entirely on your specific financial picture, timeline, and goals.
A Simple Framework Before You List Your Property
Before you put a "For Sale" sign up, run this sequence:
Calculate your adjusted basis — original purchase price, plus capital improvements, minus total depreciation claimed.
Estimate your gain — sale price minus selling costs minus adjusted basis.
Separate the depreciation recapture portion from the remaining long-term capital gain.
Layer in state tax exposure and potential NIIT.
Model your options — sell and pay the tax, 1031 exchange, installment sale, or a combination… against your actual retirement and cash flow goals.
Skip this sequence, and you're negotiating a sale price without knowing your real net proceeds. That's not a position I'd ever let a client operate from, and it's not one you should accept either.
Want your actual numbers run before you list? Let's talk: https://www.johnnylynum.com/alignment
Important Disclosures
This article is for educational purposes only and does not constitute tax, legal, or investment advice. Capital gains tax rates, depreciation recapture rules, NIIT thresholds, and state tax treatment are governed by federal and state law, which are complex and subject to change. Actual tax liability depends on individual facts and circumstances, including income level, holding period, basis, and prior transactions. This article does not provide specific tax calculations for any individual situation. Please consult a qualified CPA or tax professional to calculate your actual tax exposure before selling investment property.
Ready to Know Your Real Numbers Before You Sell?
If you're considering selling investment property and want a clear picture of what you'd actually net — and what options exist to defer or manage that tax bill — let's talk before you list it.
Book a complimentary strategy conversation: https://www.johnnylynum.com/alignment. Or reach out directly through johnny@johnnylynum.com
Johnny Lynum, MBA
Lt Col, USAF (Ret.) | Private Wealth Advisor
Founder, REI Genius & Lynum Capital Partners
Host, Million Dollar Coffee Hour & Deal Makers Club
Mission: Faith, Family, Freedom, Financial Security.
p: 757-551-2989 e: johnny@johnnylynum.com