1031 Exchange Primary Residence
Know what the sale may trigger

Capital Gains Tax On Rental Property

Capital gains tax on a rental property combines depreciation recapture and standard capital gains rates, with no Section 121 exclusion, though a 1031 exchange can defer the bill.

What this property or sale question changes

Capital gains tax on a rental property is calculated on the difference between what you sell it for and your adjusted basis, and it is taxed differently than the sale of a home you actually lived in. There is no Section 121 exclusion for a straight investment property, depreciation you claimed along the way is recaptured and taxed separately, and the property is fully eligible for a 1031 exchange if you want to defer the bill rather than pay it.

Owners often confuse the rules that apply to their own home with the rules that apply to a rental. A rental is investment real estate for tax purposes from the first day it is placed in service, whether or not you ever lived there yourself.

Calculating Your Taxable Gain on a Rental Sale

Start with your adjusted basis: original purchase price, plus capital improvements such as a new roof or an addition, minus the total depreciation you claimed or were entitled to claim while it was a rental. Subtract that adjusted basis from your net sale price, after selling costs, to arrive at total taxable gain.

Depreciation reduces your basis every year you hold the rental, which increases your eventual gain even though it lowered your taxable rental income along the way. Many owners are surprised by how much of their gain traces back to accumulated depreciation rather than actual price appreciation.

Depreciation Recapture: The Tax Even Section 121 Can't Touch

The portion of your gain attributable to depreciation you claimed is taxed as unrecaptured Section 1250 gain, at a rate up to 25%, which is generally higher than the long-term capital gains rate applied to the rest of your gain. This recapture applies whether or not the sale otherwise qualifies for any other favorable treatment, and it cannot be excluded the way a portion of a primary home sale can be excluded under Section 121.

Recapture is calculated separately from your general capital gain and reported on its own worksheet, so an owner estimating their tax bill should not simply apply one flat capital gains rate to the entire gain figure.

Federal and State Capital Gains Rates on Rental Sales

The portion of gain that is not depreciation recapture is generally taxed at long-term capital gains rates of 0%, 15%, or 20%, depending on your total taxable income for the year, assuming you held the property more than a year. Higher-income sellers may also owe the 3.8% net investment income tax on top of the federal capital gains rate.

Most states also tax capital gains, often at the same rate as ordinary income, with no separate preferential rate the way federal law provides. A rental sale can produce a meaningfully larger combined tax bill than an owner expects once federal recapture, federal capital gains, the net investment income tax, and state tax are all added together.

Deferring the Gain With a 1031 Exchange

Because a rental is investment property, it qualifies for a 1031 exchange, which defers both the capital gains portion and the depreciation recapture portion of the tax bill by rolling your equity into replacement real estate through a qualified intermediary. You must identify replacement property within 45 days of closing the sale and complete the purchase within 180 days, and the replacement should equal or exceed the value and debt of the property sold to defer the full gain.

An exchange does not eliminate the tax, it postpones it, carrying your basis forward into the replacement property, where the same recapture and gain calculation applies again whenever you eventually sell without exchanging.

Selling a Former Primary Residence That Became a Rental

A home that was once your main residence and later became a rental can combine both rules: the personal-use years may still support a Section 121 exclusion if you meet the two-of-five-year ownership and use test, while the rental-period gain and any depreciation recapture from that period do not qualify for the exclusion. Nonqualified use after 2008, meaning time the home was a rental rather than your main residence, reduces the excludable share on a pro-rata basis.

Because the property functioned as investment real estate during the rental period, the gain attributable to that period can potentially be deferred through a 1031 exchange, while the personal-use portion is handled through Section 121 instead. Separating the two calculations correctly requires careful records of exactly when the use changed.

What to clarify before acting on Capital Gains Tax On Rental Property

Capital gains tax on a rental property combines depreciation recapture and standard capital gains rates, with no Section 121 exclusion, though a 1031 exchange can defer the bill. The practical review should begin before the property is listed or the closing calendar begins to control the available choices. An early review gives the owner time to correct missing records, compare a taxable sale with exchange treatment, define replacement criteria, and bring the right professionals into the transaction.

Gather purchase and closing records, capital improvements, selling expenses, depreciation schedules, ownership changes, inherited-property documents, debt, and expected net proceeds. Those records turn a broad question into a supportable property-use timeline and an actual estimate of sale proceeds. They also expose issues that generic calculators miss, including periods of mixed use, depreciation that must be accounted for, ownership changes, debt replacement, co-owner differences, and expenses that change adjusted basis.

A sale decision becomes clearer after calculating net proceeds, adjusted basis, eligible exclusions, depreciation recapture, state exposure, and the cost of every alternative. Gross sale price alone does not answer the tax question. The result should be a written set of priorities for the sale: the amount of liquidity needed, the income expected from replacement property, the level of control the owner wants, the management work the owner is willing to keep, and the risks that require additional diligence.

Use the 45-day window for decisions, not discovery.

When a 1031 exchange remains a viable path, define the acquisition brief before the relinquished property closes. Primary and backup candidates should be compared for price, debt, income, control, workload, inspections, insurance, financing, title, sponsor or tenant exposure, and the probability of closing on time. Waiting until identification begins often turns a deliberate strategy into a search for whatever happens to be available.

Investors who want to defer the recapture and capital gains bill on a rental sale but step back from landlord duties often direct 1031 exchange proceeds into a Delaware statutory trust holding professionally managed real estate instead of buying and self-managing another property directly. Projected income is not guaranteed, private offerings can be illiquid, and sponsor-controlled investments require a complete review of offering documents, fees, conflicts, leverage, property risks, investor eligibility, and suitability through an appropriately licensed professional.

The next useful conversation connects this topic with the rest of the sale. Related questions may include depreciation recapture explained in full, capital gains tax on investment property generally, a former primary residence now used as a rental. Addressing those questions together helps the owner avoid solving one tax issue while creating an ownership, income, financing, or liquidity problem after closing.

Common questions

Frequently Asked Questions

Do I owe capital gains tax when I sell a rental property?

Generally yes, calculated as your net sale price minus your adjusted basis, and there is no automatic exclusion the way there is for a primary home.

Can I use the Section 121 exclusion on a straight rental property?

No, the exclusion only applies to a home that met the ownership and use tests as your main residence for at least two of the five years before the sale.

What is depreciation recapture on a rental sale?

It is the portion of your gain equal to depreciation you claimed while renting the property, taxed separately at a rate up to 25 percent rather than at the standard long-term capital gains rate.

How do I defer capital gains tax on a rental property sale?

A 1031 exchange lets you defer both the capital gains and depreciation recapture portions by rolling your equity into replacement investment real estate through a qualified intermediary.

What tax rate applies to gain on a rental property?

The recapture portion is taxed up to 25 percent, the remaining gain is taxed at long-term capital gains rates of 0, 15, or 20 percent, and higher earners may also owe the 3.8 percent net investment income tax.