A landlord selling a rental duplex in Greensboro or a small multifamily building in Winston-Salem usually has a rough number in mind for capital gains tax: sale price minus what was paid, times some rate. That estimate is almost always low, because it leaves out depreciation recapture, ignores selling costs that adjust basis, and assumes a single flat federal rate that doesn't match how the tax actually stacks.
Getting the real number right before listing the property, not after the 1099-S arrives the following January, changes what a seller is willing to accept and how much runway they build in for a possible 1031 exchange.
The two taxes hiding inside one sale
Selling a rental triggers two separate federal calculations that get lumped together in casual conversation but are taxed differently. The first is capital gains tax on appreciation above the property's adjusted basis, taxed at long-term capital gains rates (0%, 15%, or 20% depending on income) if the property was held more than a year. The second is depreciation recapture under Section 1250, which claws back the tax benefit of every year of depreciation claimed against the property, taxed at a flat 25% rate up to the amount of depreciation taken. A rental held for a decade with meaningful depreciation on the books can owe more in recapture than in straight appreciation gain, which is the part sellers most often underestimate.
Adjusted basis is not just the original purchase price
Basis starts at what was paid for the property, then goes up for capital improvements made during ownership, such as a new roof or an HVAC replacement, and goes down for every year of depreciation claimed, whether or not the owner actually deducted it on their return. That last point trips people up: the IRS calculates recapture on depreciation allowed or allowable, meaning a landlord who never claimed depreciation still owes recapture as though they had. Selling costs, including commissions and closing fees, further reduce the amount realized, which lowers the taxable gain but doesn't touch the recapture calculation.
North Carolina's flat tax adds a third layer
On top of federal capital gains and recapture, North Carolina taxes the gain as ordinary income at the state's flat individual income tax rate, with no reduced rate for long-term holdings the way federal law provides. Combined with the Net Investment Income Tax that applies to many higher-income sellers at the federal level, a rental sale in the Triangle or Charlotte metro can carry a blended effective rate meaningfully higher than the 15% figure most people assume when they hear "capital gains."
Where a 1031 exchange changes the math
A 1031 exchange defers both pieces, capital gains and depreciation recapture, when the rental is exchanged for another investment or business-use property of like kind through a qualified intermediary, with the sale proceeds meeting the 45-day identification and 180-day closing deadlines. The seller does not receive the proceeds directly at any point; the intermediary holds them between the sale and the replacement purchase. Deferral is not elimination: the built-in gain and recapture carry into the new property's basis and become taxable again on a future sale, unless a later exchange, or a lifetime hold followed by a stepped-up basis at death, changes that outcome.
For a seller who plans to keep owning rental real estate rather than cash out, this is usually the difference between reinvesting a full sale price and reinvesting what's left after two layers of federal tax and one layer of state tax.
Numbers worth pulling together before listing
A seller who wants an honest tax estimate before deciding whether to exchange or sell outright should have these on hand:
- Original purchase price plus any capital improvements made over the holding period
- Total depreciation claimed, or that should have been claimed, across every tax year
- Expected selling costs, including commission and closing fees
- Current taxable income, since it determines the applicable capital gains bracket
- Whether the household is likely to owe the Net Investment Income Tax
A CPA can turn those inputs into a real number in an afternoon, and that number is what should drive the decision, not a rough guess based on the original purchase price alone.
Common 1031 Exchange Questions
How is depreciation recapture different from capital gains tax on a rental sale?
Depreciation recapture taxes the benefit already received from depreciating the property, generally at a flat 25% rate up to the amount depreciated, while capital gains tax applies to appreciation above the adjusted basis at long-term rates. Both apply on the same sale but are calculated separately.
Does a landlord owe recapture even if they never claimed depreciation on their returns?
Generally yes. The IRS calculates recapture based on depreciation allowed or allowable, meaning a landlord who was eligible to claim depreciation but didn't still faces recapture as though they had, which is why unclaimed depreciation should be reviewed with a CPA before selling.
Does North Carolina tax rental sale gains at a lower rate for long-term holdings?
No. North Carolina taxes the gain as ordinary income at the state's flat rate regardless of how long the property was held, unlike federal law which reduces the rate for property held over a year.
Can a 1031 exchange defer depreciation recapture, or only the capital gain?
Both. A properly structured 1031 exchange defers depreciation recapture along with the capital gain, carrying the built-in tax liability forward into the replacement property's basis rather than triggering it at the sale.
What selling costs actually reduce the taxable gain?
Real estate commissions, title and closing fees, and other direct costs of the sale reduce the amount realized, which lowers the taxable gain, but they do not reduce the separate depreciation recapture calculation.




