
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.
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.
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:
Now the sale. These numbers are illustrative.
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.
The gain is split into two parts, and each is taxed at its own rate.
This example assumes a higher-income owner, so it uses 20%. With a lower income, the rate could be 15% or even 0%.
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.
Here are the four pieces added together.
| Piece | Math | Tax |
|---|---|---|
| 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.
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.
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.