landlord.tabpic.com

Selling a Rental Property: Capital Gains Tax and Depreciation Recapture, Explained

Depreciation saved you tax every year you owned the property. When you sell, the IRS collects part of it back — at 25% — before the capital gains rate even starts.

Most landlords do the sale math wrong in exactly one place: they subtract what they paid from what they sold and tax the difference at the capital gains rate. That misses the second tax hiding inside the deal. Every year you depreciated the building, you lowered your cost basis. When you sell, that accumulated depreciation comes back as a separate slice of gain, taxed at up to 25% — higher than the 15% capital gains rate most landlords expect.

This is not a penalty and it is not optional. It is the other half of the depreciation bargain: you got a deduction every year; the recapture tax is the price of that deduction at exit. The good news is that it is entirely predictable. If you know your adjusted basis, you can compute the tax before you list the property — and decide whether a 1031 exchange is worth doing instead.

The three numbers that decide your tax

Everything flows from three figures:

  1. Amount realized — the sale price minus selling costs (agent commission, closing costs, transfer taxes). Not the gross price.
  2. Adjusted basis — what you paid, plus capital improvements, minus all depreciation taken (or that you should have taken).
  3. Total gain — amount realized minus adjusted basis. This gain is then split into two taxed slices.

The split is the part people miss. The portion of the gain equal to the depreciation you took is called unrecaptured Section 1250 gain, and it is taxed at a maximum rate of 25%. Only the gain above that amount gets the familiar 0% / 15% / 20% long-term capital gains rates.

The one thing to remember: depreciation is not free money. Each dollar of depreciation you claimed lowers your basis by a dollar, so it adds a dollar to your gain at sale — and that dollar is taxed at up to 25%, not 15%.

A worked example: a $420,000 sale after 10 years

Say you bought a single-family rental for $300,000: $240,000 for the building and $60,000 for the land. Land is never depreciated. The building depreciates over 27.5 years, so $240,000 ÷ 27.5 = $8,727 per year. After 10 years you have claimed $87,273 of depreciation.

ItemAmount
Sale price$420,000
Less selling costs (6%)− $25,200
Amount realized$394,800
Original purchase price$300,000
Less depreciation taken (10 yrs × $8,727)− $87,273
Adjusted basis$212,727
Total gain$182,073

Now the split. The first $87,273 of that gain — exactly the depreciation taken — is unrecaptured Section 1250 gain, taxed at 25%: $21,818. The remaining $94,800 is long-term capital gain. At the 15% rate that is $14,220. Total federal tax on the sale: $36,038.

Notice what happened. The property appreciated by $120,000 in market terms ($420,000 − $300,000), but the taxable gain is $182,073, because the $87,273 of depreciation came out of the basis. And more than 60% of the tax bill ($21,818 of $36,038) comes from the recapture slice, not the appreciation.

This example uses the 15% capital gains rate and ignores state tax. Your rate depends on your taxable income: 0% up to the threshold, 15% through most middle incomes, 20% at the top. State tax is extra — some states tax the whole gain as ordinary income.

Four traps that catch sellers

1. "I never claimed depreciation, so there's nothing to recapture"

Wrong, and this is the most expensive misunderstanding in the article. The IRS recaptures depreciation that was "allowed or allowable" — meaning what you could have claimed, whether or not you actually did. If you never depreciated the property, you still pay the 25% recapture tax, and you never got the yearly deductions. If your past returns missed depreciation, talk to a CPA about amending them before you sell; you cannot fix it on the sale return.

2. The home-sale exclusion usually does not apply

The Section 121 exclusion (up to $250,000 single / $500,000 married) requires you to have owned and lived in the home as your primary residence for at least 2 of the last 5 years. A property that was a rental the whole time does not qualify. The one real exception is a former residence converted to a rental: if you lived in it for 2 of the 5 years before the sale, part of the gain can be excluded — but the depreciation taken after May 6, 1997 is still recaptured and cannot be excluded.

3. Suspended passive losses are freed at sale

If you have passive losses you could not deduct in prior years because of the $25,000 rule phase-out, a fully taxable sale releases them. Those freed losses offset the gain, including the recapture slice. Dig out your prior-year returns and Form 8582 carryovers before estimating the tax — a landlord with $40,000 of suspended losses owes far less than this example suggests.

4. The 3.8% net investment income tax

On top of the rates above, the 3.8% Net Investment Income Tax can apply to rental gains when your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). A sale year is exactly the year many landlords cross that line for the first time. Add it to your estimate if your income is anywhere near the threshold.

Ways to pay less — legally

Do a 1031 exchange. Swap into another investment property and the entire gain — recapture included — is deferred. It is not forgiven; the deferred gain carries into the replacement property's basis. But deferral for decades, combined with a step-up in basis at death, is how many long-term landlords never pay the recapture at all. The deadlines are strict: identify the replacement within 45 days and close within 180 days. See our 1031 exchange guide for the full rules.

Sell in a low-income year. The capital gains slice is taxed at 0%, 15% or 20% depending on your taxable income that year. Retiring, taking a sabbatical, or selling in a year with large deductions can drop part of the gain into the 0% bracket. The 25% recapture rate does not move with income — it is flat up to 25% — so this helps the appreciation slice only.

Harvest losses in the same year. Capital losses from stocks or other property offset the capital gains slice (but not the recapture slice, which keeps its 25% character). If you have losing positions you were going to sell anyway, the sale year is the year to do it.

Installment sale. If you carry the financing for the buyer and receive payments over years, the gain — including recapture, which is recognized first — is spread across the payments. This is complex and leaves you as the lender, but it can keep you out of the top brackets.

What to do before you list

  1. Reconstruct your adjusted basis. Original price, plus every capital improvement (roof, HVAC, addition), minus all depreciation claimed. Your CPA's depreciation schedule (Form 4562 history) has this; if you self-prepared, pull it from your returns.
  2. Count the suspended losses. Check Form 8582 from your last return for the carryforward amount.
  3. Get the estimate in writing. Ask your CPA for a one-page sale projection with the recapture slice shown separately. It costs one billable hour and it is the document that decides whether a 1031 is worth the effort.
  4. Decide on the 1031 before you sign. A 1031 must be set up before closing — a qualified intermediary holds the proceeds, and once the money touches your account the exchange is dead.

Track it in one spreadsheet

The Rental Property Tracker logs rent and expenses per property, maps every expense to its Schedule E line, and prints a CPA-ready year-end summary. Start with the free one-sheet rent ledger, or get the full tracker.

Get the Tracker — $29 Free Rent Ledger (Excel)

One-time price · Excel & Google Sheets · Bundle with Airbnb module available for $49.

FAQ

Is depreciation recapture taxed at my ordinary income rate?

No — for residential rental real estate it is capped at 25% (unrecaptured Section 1250 gain). That is higher than the 15% capital gains rate most landlords pay on the rest of the gain, but lower than the top ordinary rates. The exception is personal property reclassified by a cost segregation study, which can be recaptured as ordinary income under Section 1245.

What if I sell at a loss?

If the amount realized is below your adjusted basis, there is no gain and no recapture — recapture only applies to the extent there is a gain. A loss on a rental is generally deductible as an ordinary loss against other income, subject to the passive loss rules until the sale frees them.

Does a 1031 exchange eliminate depreciation recapture?

It defers it, not eliminates it. The recapture amount carries into the replacement property's basis and will be taxed when that property is eventually sold in a taxable sale. Held until death, the basis step-up can eliminate it — which is why the exchange-and-hold strategy is so common.

Do I pay recapture if the property was inherited?

Generally no. Inherited property gets a step-up in basis to fair market value at the date of death, which wipes out the prior depreciation. Your own depreciation after inheriting is what matters from then on.