Sell a duplex for $400,000 that you paid $200,000 for and you might expect to owe tax on $200,000 of profit. But after a decade of depreciation deductions, the IRS sees a gain of $265,400 — and it taxes two different slices of it at two different rates, producing a federal bill of $56,350 before a single state adds its share.
How the Basis Falls to $134,600
Assume that the Taxpayer bought his duplex for $200,000 cash, allocating $180,000 to the building and $20,000 to the land. Land can't be depreciated — the theory is that land isn't "used up" in the process of producing income the way a building is. So only the $180,000 building value goes onto the depreciation schedule.
Residential rental property is depreciated over 27.5 years using straight-line depreciation, meaning the same amount comes off each year: $6,540 annually, or $545 a month. Over ten years, the Taxpayer has claimed $65,400 in depreciation deductions.
That depreciation doesn't just reduce his taxable income year by year — it also reduces his basis in the property. Basis is what the Taxpayer paid, plus any capital improvements, minus depreciation taken. With no improvements and $65,400 in depreciation claimed, his depreciated basis is $134,600 (that's $200,000 minus $65,400).
Why the Gain Is $265,400, Not $200,000
When the Taxpayer sells for $400,000, the IRS computes his capital gain as the difference between his sales price and his depreciated basis — not what he originally paid.
$400,000 minus $134,600 equals $265,400.
That number is $65,400 larger than his true economic profit, and it's no coincidence: the figure exactly matches the depreciation he claimed. Every dollar of depreciation deduction he took over ten years lowered his basis by a dollar and, by that same amount, increased the gain the IRS will tax when he sells.
Two Gains, Two Tax Rates
The $265,400 gain is really two separate amounts that the tax code treats differently.
The first is true capital gain: the difference between what the Taxpayer paid ($200,000) and what he sold for ($400,000), which is $200,000. This is taxed at the long-term capital gains rate — 20% in his bracket — producing a tax of $40,000.
The second is depreciation recapture: the $65,400 that depreciation deductions carved out of his basis. The IRS requires him to "recapture" those deductions at sale. Because his straight-line depreciation was the same amount each year, the recapture rate is capped at 25%, yielding a tax of $16,350.
Add them together: $40,000 plus $16,350 equals $56,350 in federal tax on a sale where the Taxpayer's out-of-pocket cost was $200,000 and his true profit was the same.
What Changes — and What Doesn't
The source of the purchase money doesn't affect any of this. If the Taxpayer had borrowed $150,000 of the purchase price instead of paying all cash, his gain and his tax liability would be identical — he still paid $200,000 for the property and sold it for $400,000. Paying off the loan at closing doesn't change the sales price the IRS sees.
Capital improvements do matter. In a later scenario, the Taxpayer adds garages for $30,000 and claims $7,644 in depreciation on them. Those improvements raise his basis, reduce his gain, and change the split between the regular-gain and recapture buckets — but the two-rate structure stays exactly the same.
The State Tax Line
Every number above is federal only. Most states impose their own income or capital gains tax on top of it, and some municipalities add another layer. The combined federal, state, and local bite will depend entirely on where you live— and that combined number is what a Section 1031 exchange is designed to defer.