Back
Published 
November 30, 2026

How Much Tax Will I Owe If I Sell My Rental?

Hands filling out tax and finance forms next to a calculator

If you sell a rental, you can owe federal tax on the gain at up to 20%, tax on depreciation at up to 25%, a 3.8% net investment income tax if your income is high enough, and state tax on top. In the example below, that adds up to about 12.5% of the sale price.

The size of the tax bill on a rental sale depends on the gain, the owner's income, and the state. This post walks through one example from start to finish, showing where each piece comes from. It is general information, so talk to your tax advisor about your own numbers.

Which taxes can apply when I sell?

Up to four taxes can apply to the gain on a rental sale, and which ones you pay depends on your income and where you live.

  • Long-term capital gains tax: 0%, 15%, or 20%, depending on your income.
  • Depreciation recapture: up to 25% on the part of the gain that came from depreciation (the IRS calls it "unrecaptured Section 1250 gain").
  • Net investment income tax, or NIIT: a federal surtax on investment income. It adds 3.8% if your modified adjusted gross income is over $200,000 (single) or $250,000 (married filing jointly).
  • State income tax: varies by state, and some states have none.

How do I figure out my gain?

Your gain is the sale price, minus what it cost you to sell, minus your adjusted basis. Adjusted basis is your tax cost in the property: what you paid, plus improvements, minus the depreciation you took (or were allowed to take).

Say an owner paid $375,000 for a rental 10 years ago. The land was worth $100,000 and the building $275,000. Residential rentals depreciate over 27.5 years, and only the building counts, so the math is:

  • Yearly depreciation: $275,000 divided by 27.5 = $10,000 a year (the real calculation trims the first and last years slightly)
  • After 10 years: 10 x $10,000 = $100,000 of depreciation
  • Adjusted basis: $375,000 minus $100,000 = $275,000

Now the sale. These numbers are illustrative.

  • Sale price: $500,000
  • Selling costs (agent and closing, illustrative 5%): $25,000
  • Gain: $500,000 minus $25,000 minus $275,000 = $200,000

One more rule: depreciation counts as "allowed or allowable," so even if an owner never claimed it, the IRS treats the basis as if it had been.

How is the gain split up?

The gain is split into two parts, and each is taxed at its own rate.

  • Depreciation recapture: the $100,000 of depreciation, taxed at up to 25%.
  • Capital gain: the other $100,000 ($200,000 minus $100,000), taxed at 0%, 15%, or 20% depending on your income.

This example assumes a higher-income owner, so it uses 20%. With a lower income, the rate could be 15% or even 0%.

What about the 3.8% tax and my state?

A large sale can push income over the NIIT threshold on its own. This example assumes the owner's other income already exceeds it, so the 3.8% applies to the whole $200,000 gain.

For the state, the example uses an illustrative 5%. A given state could be 0% or considerably higher.

So what's the total?

Here are the four pieces added together.

PieceMathTax
Depreciation recapture$100,000 at 25%$25,000
Capital gain$100,000 at 20%$20,000
Net investment income tax$200,000 at 3.8%$7,600
State (illustrative)$200,000 at 5%$10,000
Total tax$62,600

Net proceeds are $500,000 minus $25,000 in selling costs minus $62,600 in tax, which leaves $412,400. The example leaves out a mortgage to keep the math simple, and a payoff would come out of the proceeds the same way.

The tax is about 31% of the gain ($62,600 out of $200,000), or 12.5% of the sale price. Half the gain is depreciation, which the tax rules treat as taxable when the property is sold.

Our Flock vs. Sell calculator can run other numbers. The post on what taxes you'll pay when you sell a rental covers the rules in more detail.

How does a 721 exchange change this?

A 721 exchange changes when the tax is due, and it allows the equity that would have gone to tax to remain invested. A 721 exchange is a tax-deferred swap of a rental for ownership in a fund. In a 721 exchange, the owner exchanges the rental for equity in Flock's Fund, a managed fund of rental homes, instead of selling it. Under Section 721, that exchange (legally, a contribution to a partnership) generally isn't a taxable event, so the $62,600 above isn't due at closing. The owner's basis carries over to the Fund equity, meaning the old tax cost continues rather than starting fresh.

The tax is deferred, not erased.

The money that would have gone to taxes stays invested in the Fund. If the property had unclaimed depreciation, the owner keeps receiving an allocation of it. Income and expenses (including depreciation) are reported annually on a Schedule K-1, the tax form issued by the partnership to each investor. Heirs may receive a step-up in basis, a reset of the tax cost to the fair market value at the owner's death, on inherited Fund equity. The page on legacy and estate planning has more.

A 721 exchange suits owners who wish to defer a large gain, keep their equity invested, and step back from managing the property, with a diversified portfolio of many homes and quarterly cash flow, a set percentage of the owner's account paid out each quarter, in return. A 1031 exchange suits owners who want to keep owning real estate directly.

The deferred tax stays with the units, and ownership shifts from one property to a share of many.

How much of that tax could stay invested?

In the example above, nearly a third of the gain goes to taxes. To see what a sale would cost on your own rental, and how much a 721 exchange could keep invested, submit your address for a free valuation. There's no obligation, and as Flock Homes expands into new markets, our team will reach out.

This is general information, not tax or legal advice. Please talk with your own tax advisor.