Skip to the answer

Guide · Real Estate

1031 Exchange vs. Paying the Tax: The Depreciation Recapture Math on a $600,000 Rental Sale (2026 & 2027)

1031 exchange vs. paying the tax comes down to one number: what you would owe if you sold today. Below we work through a $600,000 sale of a rental held about 11 years with the same engine as our Rental Property Sale Tax Calculator: depreciation taken, the 25%-capped recapture, capital gains, the NIIT and state tax, then what deferring it actually buys.

The short answer

Paying the tax vs. a 1031 exchange: $600,000 sale, June 2026

Selling outright, the couple owes about $77,281 on a $317,800 gain in North Carolina (24.3% of the gain). Exchanging into an $820,000 property with no boot defers all of it: tax due now $0. The deferred gain lowers the new property's basis to $502,200.

Tax on the June 2026 sale (married filing jointly, $150,000 other taxable income)
PieceAmount taxedTax: sellTax: 1031
Unrecaptured §1250 gain (max 25%)$109,800$25,124$0
Long-term capital gain$208,000$31,200$0
Net Investment Income Tax (3.8%)$217,800$8,276$0
North Carolina income tax$317,800$12,680$0
Total$317,800$77,281$0

Try it: Rental Property Sale Tax Calculator

Pre-filled with this guide's example: a rental bought in June 2015 for $320,000, sold in June 2026 for $600,000 by a married couple in North Carolina, next to a 1031 exchange into a $820,000 property.

Open it full screen Skip the calculator, read the math

Open the full calculator with these numbers

Step 1: the depreciation you have taken

The couple paid $320,000 plus $6,000 of closing costs in June 2015 and later added $30,000 of improvements. Land is not depreciable, so with 25% of the cost allocated to land ($81,500), the building basis is $274,500. Residential rental property is depreciated straight-line over 27.5 years with the mid-month convention:

  1. Monthly depreciation = $274,500 ÷ 330 months = $831.82 ($9,982 a year).
  2. Months in service from mid-June 2015 to mid-June 2026: 132 (half a month in the first and last month, full months between).
  3. Depreciation taken: $831.82 × 132 = $109,800.

For this purpose the IRS uses depreciation "allowed or allowable", so the figure is the same whether or not every year was actually claimed.

Step 2: the gain and its two pieces

  1. Amount realized: $600,000 − $36,000 selling costs (6%) = $564,000.
  2. Adjusted basis: $326,000 + $30,000 − $109,800 = $246,200.
  3. Gain: $564,000 − $246,200 = $317,800.
  4. Unrecaptured §1250 gain = the smaller of the depreciation or the gain: $109,800. The remaining $208,000 is long-term capital gain.

Step 3: federal tax, NIIT and state tax

Both pieces stack on top of the couple's $150,000 of other taxable income. The §1250 piece goes first and is taxed at ordinary rates up to 25%: $61,400 at 22% and $48,400 at 24%, or $25,124. The capital gain sits above it: $208,000 at 15%, or $31,200. Federal income tax: $56,324.

The Net Investment Income Tax is 3.8% of the smaller of the gain or the amount by which modified AGI ($467,800 here) exceeds $250,000: $8,276. North Carolina taxes the whole gain as ordinary income at 3.99%: $12,680. Of the $414,000 the couple clears after paying off the $150,000 mortgage, $336,719 is left after tax.

Total tax on the same sale by state and year of sale (2027 = sold a year later at the same price)
State2026 sale2026 state part2027 sale2027 state part
North Carolina$77,281$12,680$78,678$11,440
California$94,151$29,550$97,717$30,479
Texas$64,600$0$67,238$0

Waiting until 2027 adds another year of depreciation ($119,782 in total), so more of the gain is taxed as §1250 gain; the 2027 column uses the 2027 brackets and state rules in our tax data.

Step 4: the 1031 exchange

In the exchange, the couple's net proceeds ($414,000 after the mortgage payoff) go to a qualified intermediary and into an $820,000 property with a $400,000 loan. That needs $420,000 of equity, so they add $6,000. No cash comes back to them and the new loan is larger than the old one, so boot is $0 and the full $317,800 gain is deferred.

Deferred, not forgotten: under IRS Publication 551, the basis of property received in a like-kind exchange is generally the basis of the property given up. Here that means $820,000 − $317,800 = $502,200. If the replacement is later sold in a taxable sale, the deferred gain is taxed then, along with any new gain and the depreciation taken on the new property.

  • Identify the replacement within 45 days of closing (July 30, 2026 for a June 15, 2026 closing).
  • Receive it within 180 days (December 12, 2026), or by your return's due date if earlier.
  • Only real property held for investment or business use qualifies, and the proceeds must not pass through your hands.
  • The exchange is reported on Form 8824; a taxable sale on Form 4797 and Schedule D.

What deferral is worth: the break-even view

The deferred $77,281 works like an interest-free loan for as long as you hold the replacement. One way to size it is to ask what that money could earn while it stays invested in the property instead of going to the IRS. At an illustrative 6% a year, compounded annually and before any tax on the earnings:

Deferred tax of $77,281 at an illustrative 6% a year
Years heldGrows toEarned on the deferred tax
5$103,419$26,138
10$138,398$61,117
20$247,849$170,569

The deferral also has a cost. Because the replacement's basis is lower, so is its depreciation: on a simplified 75% building share, about $13,696 a year instead of $22,364 for the same property bought with after-tax cash, $8,667 a year less in deductions. The longer the holding period, the more the growth on the deferred tax outweighs those smaller deductions, and the deferral becomes permanent if the property is held until death.

Edge cases

Taking some cash out

If the couple takes $30,000 of cash out of the exchange, that cash is boot. $30,000 of gain becomes taxable now, all of it §1250 gain because the depreciation piece is taxed first: about $7,797 in tax, with $69,484 still deferred.

Selling at a loss or holding a year or less

A loss on a rental is not recaptured. A rental held one year or less has no long-term rates at all: the whole gain is ordinary income. The calculator handles both.

Washington

Washington's capital gains excise tax exempts real estate, so a Washington sale has no state tax line. Most other states tax the whole gain as ordinary income, which is why California adds far more than North Carolina above.

Frequently asked questions

How much tax do you pay when you sell a rental property?

Usually three or four layers. In our example, a $600,000 sale of a rental held about 11 years produces a $317,800 gain. Federal tax is $56,324 (the $109,800 of depreciation is taxed at ordinary rates capped at 25%, the rest at long-term capital gains rates), the Net Investment Income Tax adds $8,276, and North Carolina adds $12,680, for $77,281 in total.

Is depreciation recapture always taxed at 25%?

No. 25% is the maximum federal rate on unrecaptured section 1250 gain from residential rental property. The gain is taxed at your ordinary income rates up to that cap, so in our example it is taxed at 22% and 24%. At $500,000 of other income the cap applies.

Does a 1031 exchange eliminate capital gains tax?

No, it defers it. The replacement property takes over the old property's basis, reduced by the deferred gain ($502,200 on an $820,000 purchase in our example), so the gain is taxed when the replacement is sold in a taxable sale. Under current law, property held until death generally gets a basis equal to its fair market value for the heirs.

What are the 45-day and 180-day rules in a 1031 exchange?

You must identify the replacement property within 45 days after transferring the old one and receive it within 180 days, or by the due date of your tax return if that is earlier. For a closing on June 15, 2026, that is July 30, 2026 and December 12, 2026.

What happens if I take cash out of a 1031 exchange?

Cash you receive is boot, and the gain is taxed up to the amount of boot. Taking $30,000 out in our example makes $30,000 of gain taxable now, about $7,797 in tax, and the depreciation part of the gain is taxed first.

If I never claimed depreciation, do I still owe recapture?

Yes. Your basis is reduced by the depreciation allowed or allowable, meaning the amount you could have claimed, even if you did not. Skipping depreciation gives up the yearly deductions without avoiding the tax at sale.

Primary sources

Data Sources & Tax Year Verification

Tax year 2026 and 2027 figures, last verified November 15, 2026 against the official primary sources below.

Spot an error? Report it; corrections are logged in What's changed. How we audit our tax tables →