Taxes

How to Avoid Depreciation Recapture When Selling a Rental Property

By Marc Afzal, Broker (DRE #01423695) ·

Most landlords can’t avoid depreciation recapture completely when they sell a California rental, but a 1031 exchange can sometimes defer it. Federally, the depreciation part of your gain is taxed at a maximum 25% rate, and California taxes the whole gain as ordinary income.

The short answer: When you sell a rental, the depreciation you took (or could have taken) is “recaptured”: the IRS taxes that part of your gain at up to 25%, and California taxes it as ordinary income. You can’t avoid it entirely while you’re alive, but you can defer it with a 1031 exchange into another investment property, spread it out with an installment sale, or offset it with losses. If you hold the property until death, your heirs get a stepped-up basis and the recapture disappears.

Depreciation is one of the best tax breaks of owning a rental. Every year you deduct part of the building’s cost, even while the property may be rising in value. The catch comes at sale: those deductions lower your basis, and the tax system collects on them. Below is how it works, which strategies are real, and which popular ideas don’t work.

How depreciation recapture works

When you sell depreciable property at a gain, you may have to recognize all or part of that gain as income because of the depreciation rules. For most residential rentals, that means the part of your long-term gain that is due to depreciation is taxed at a higher federal rate than other long-term gain.

How depreciation recapture adds upAn example: a rental bought for $500,000 ($400,000 building) and held 10 years
Yearly depreciation$400,000 building ÷ 27.5 years$14,545
Taken over 10 yearsLowers your basis by the same amount$145,450
Federal tax at up to 25%Unrecaptured Section 1250 gain$36,363
+ California, as ordinary incomeNo lower state rateup to 13.3%
+ 3.8% NIITHigher-income sellersif it applies
Federal recapture tax, maxBefore the tax on any other gain$36,363

Illustrative numbers only. Your depreciation schedule and tax rates depend on your own return.

The IRS calls this piece “unrecaptured section 1250 gain,” and it is taxed at a maximum 25% rate (IRS Topic 409). The rest of your gain is taxed at the regular long-term capital gains rates, which depend on your filing status and taxable income.

Three details catch landlords off guard:

  • “Allowed or allowable.” The amount used to figure the recapture part of your gain is generally the greater of the depreciation allowed or allowable. You can owe it even if you never claimed the deduction on a return.
  • Two kinds of recapture. Classic “ordinary income” section 1250 recapture generally applies only if you used an accelerated depreciation method or claimed a special depreciation allowance. Straight-line residential rentals placed in service after 1986 usually fall under the 25% rule instead.
  • Forms. The federal figure is worked out on Form 4797 and the Unrecaptured Section 1250 Gain Worksheet in the Schedule D instructions. Your CPA will handle this, but it helps to know the numbers come from your depreciation history.

What depreciation recapture costs on top of the federal rate

Besides the 25% federal rate, two other taxes can apply: the 3.8% net investment income tax for higher earners, and California income tax, which has no lower rate for capital gains. A taxable gain from selling a rental counts as investment income.

The net investment income tax is 3.8% of the lesser of your net investment income or the amount your modified adjusted gross income exceeds a threshold: $200,000 for single filers and $250,000 for married couples filing jointly. California says it does not have a lower rate for capital gains, and all capital gains are taxed as ordinary income (Franchise Tax Board). That means deferring a gain matters for your state bill as well as your federal one.

Owners who live out of state are not exempt. California taxes real property based on where the property is located, so a nonresident who sells a California rental is still taxed on the California-source income.

Ways to defer or reduce depreciation recapture

The main tool is a Section 1031 like-kind exchange, which defers the gain, recapture included, into a replacement property. Holding the property until death can also eliminate the deferred gain for heirs. Other tactics only shift timing or don’t work, as the table shows.

Ways to defer or reduce recaptureNone of them makes it disappear, except one
  • 1031 exchange

    Roll the whole gain, recapture included, into another investment property. The tax is deferred, not forgiven.

  • Hold until death

    Heirs get a stepped-up basis, and the recapture goes away. This is the only way it disappears.

  • Installment sale

    Spreads the gain over the years you're paid, which can keep you in lower brackets.

  • Offset with losses

    Capital losses and suspended passive losses from the rental can offset some of the tax.

  • Moving in doesn't erase it

    Even if the house later qualifies for the home sale exclusion, depreciation after May 6, 1997 is still taxed.

Talk to a CPA before you sell. Most of these must be set up before closing.

Option Effect on recapture Main catch
1031 exchange Defers gain and recapture Strict deadlines, a qualified intermediary, and the tax carries into the new property
Hold until death Heirs generally take a date-of-death basis, which can eliminate the deferred gain You keep the property and its work; confirm the rule with a tax professional
Installment sale Spreads out other gain, not recapture Ordinary-income recapture is taxed in the year of sale
Move into the rental No help with depreciation Depreciation after May 6, 1997 can’t be excluded
Discounted sale or gift to family No escape Part-gift, part-sale can still trigger recapture
Opportunity zone investment Limited Unrecaptured section 1250 gain is not qualified capital gain

How a 1031 exchange works

If you exchange business or investment real property solely for like-kind real property, no gain or loss is recognized. If you also receive cash or other non-like-kind property (called “boot”), gain is recognized up to the amount of that boot. Since 2018 only real property held for business or investment qualifies, and property held primarily for sale, like a flip, does not.

  • Identify in writing. The replacement property must be identified within 45 days after you transfer the property you gave up. Use a signed document with a legal description, street address or distinguishable name. There is also a second, longer deadline to actually receive it.
  • Never touch the money. You can’t take actual or constructive receipt of the sale proceeds. A qualified intermediary can hold them, and the exchange agreement must limit your rights to receive, pledge, borrow or otherwise obtain the funds.
  • Choose the intermediary carefully. A qualified intermediary can’t be a disqualified person. Someone who acted as your attorney, accountant, broker or real estate agent within the prior 2 years is generally treated as your agent. If the intermediary causes you to miss the deadlines, you can lose the deferral.
  • Watch related parties. If you exchange with a related person and either of you disposes of the property within 2 years, the exchange is disqualified.
  • Deferral is not forgiveness. Recapture can travel with the replacement property and be recognized when that property is later sold at a gain.

California filing if you exchange out of state

If you exchange California property for property outside California and the California-source gain isn’t recognized, you must report it on Form FTB 3840. That filing generally continues every year until the deferred California-source gain is recognized, and the FTB may issue a Notice of Proposed Assessment for the deferred gain if you don’t file. Details are on the FTB like-kind exchange page.

Holding until death

Under section 1014(a), an heir’s basis is generally the property’s fair market value on the date of death, which is why a long-held rental can pass on without the deferred gain being taxed. The strongest direct sources on how this interacts with an earlier exchange are old, so have a tax professional confirm how it applies to your situation. Our page on capital gains on inherited property covers the heir’s side.

What does not avoid depreciation recapture

Three ideas come up often and don’t work: an installment sale, moving into the rental, and selling cheaply to a relative. Each may change timing or paperwork, but the depreciation portion of the gain still gets taxed.

  • Installment sale. Under the installment method, any ordinary-income depreciation recapture is taxable in the year of sale, even if you receive no payments that year. The 25% gain is also taken into account first as payments come in.
  • Converting the rental to your home. You can’t exclude the part of your gain equal to depreciation allowed or allowable after May 6, 1997, and that gain may be taxed at the 25% rate. See IRS Publication 523 on selling your home.
  • A discounted sale or gift to family. If you transfer property for less than its fair market value in a part-gift, part-sale and have a gain, you generally report ordinary income up to the gain to recapture depreciation. Any excess depreciation carries over to the new owner.

Also be careful with opportunity zone funds. Qualified section 1231 gain can go into a fund within 180 days of the sale only to the extent it exceeds amounts treated as ordinary income from recapture, and unrecaptured section 1250 gain is not qualified capital gain (IRS Publication 544 covers the underlying recapture rules).

Should you sell the rental anyway?

Recapture is a cost of selling, not necessarily a reason to hold forever. If the rental needs major repairs, the tenant situation is stressful, or you’re tired of being a landlord, the tax may be worth paying. The right comparison is what you’d net after tax now versus what it costs to keep the property.

A cash sale is usually faster and simpler than a listing, but it often brings less than a fully prepared, well-marketed sale. It also doesn’t change your tax bill: the recapture rules apply the same way however the property sells. If you owe more than the rental is worth, or have a large reverse mortgage, a cash sale usually won’t work, and a short sale or an experienced listing agent is the better path. Investly can help with those situations.

For the wider picture, see our guide on how to sell a rental property in California and our overview of capital gains tax on selling a house in California.

A checklist to run before you sign anything

Most recapture mistakes happen before closing, when it’s still possible to change course. Work through these points with your CPA before you accept any offer or sign a sale contract.

  • Pull your depreciation schedules for every year you owned the rental, including years you skipped the deduction.
  • Ask your CPA to estimate federal tax, the 3.8% net investment income tax and California tax on the sale.
  • Decide whether a 1031 exchange fits, and line up a qualified intermediary before the sale closes.
  • If you’d buy out of state, ask about the FTB 3840 reporting that follows.
  • Confirm your payoff balance and any liens, so you know what you would actually receive.
  • Consider whether the closing date matters for tax timing, such as January instead of December.

Selling a rental to Sell Quick California

Sell Quick California is a cash home buyer, and its offer is for the property as it stands, tenants included. Sell Quick California only makes cash offers; we don’t list houses. We buy single-family rentals, duplexes and small apartment buildings, closing through a regular escrow company.

Tenants can stay in place. We buy rentals with the tenant in place, take over the lease and deposit at closing, and need to see the inside first. Our page on selling a house with tenants in California explains the rules.

  1. Reach out. Call (925) 854-5040 or use the contact form to describe the property.
  2. Get a written offer. We make a cash offer within 24 hours. Our cash offer comes with no obligation to accept it.
  3. See what you’d net. We order the loan payoff from the lender and show the seller exactly what they’d walk away with. Your CPA can use that to estimate the tax.
  4. Close on your date. We close on the seller’s chosen date; on some occasions as fast as 7 days. We can hold a closing for tax timing, for example until a seller reaches two years of ownership or into January.

We buy houses as-is; the seller makes no repairs. We pay all closing costs, including escrow, title and transfer fees, and charge no commission. Every offer depends on the house, its condition and the market.

If an exchange is part of your plan, set it up with your tax advisor before signing any sale contract.

What to do next

Start with your numbers, not the buyer. Get your depreciation history in order, ask a CPA to estimate the tax with and without an exchange, and then compare your sale options. Sellers without a tax advisor can talk to TaxDen in Concord (taxden.com).

If selling is the plan, you can request a cash offer and take the written numbers to your CPA. There’s no pressure, and you decide whether the timing and the price work.

This article is general information, not tax advice. Talk to a CPA or tax advisor before you sell.

Keep reading

Related articles

Browse all guides →

Questions & answers

Frequently Asked Questions

Straight answers to what sellers ask us most. Don't see yours?

Talk to us directly (925) 854-5040 Open 7 days, 8am–8pm Get your cash offer
See all FAQs →

What is depreciation recapture on a rental property?

It is the tax on the part of your gain that came from depreciation deductions. Federally, that part is taxed at a maximum 25% rate, and California taxes the entire gain as ordinary income.

Can you avoid depreciation recapture when you sell a rental?

Usually not entirely while you own the property. A 1031 exchange can defer it, and heirs who inherit generally take a date-of-death basis. Installment sales, moving in, and family discount sales don’t eliminate it.

Do I owe recapture if I never claimed depreciation?

Yes, it can apply. The amount used is generally the greater of the depreciation allowed or allowable, so skipping the deduction doesn’t avoid the tax.

Does moving into my rental avoid depreciation recapture?

No. You can’t exclude the part of your gain equal to depreciation allowed or allowable after May 6, 1997, and it may be taxed at the 25% rate.

Do I have to report a 1031 exchange to California?

If you exchange California property for property outside California and the California-source gain isn’t recognized, you must file Form FTB 3840. It generally continues each year until the deferred gain is recognized.

Ready when you are

Get a Fair Cash Offer on Your California House

Enter the address and we’ll have a written cash offer to you within 24 hours. No repairs, no fees, no obligation.

Prefer to talk? Call (925) 854-5040, open 7 days, 8am–8pm.

  • 5.0 ★ on Google48 reviews across three offices
  • Licensed broker and contractorDRE #01423695 · CSLB #1141294
  • A+ rated by the BBBSell Quick California LLC
Call Get My Cash Offer