Capital gains tax on rental property: 2026 guide

Jeremy Layton
Web Marketing Lead
Landlord tips & tricks
January 16, 2024
A man calculates his capital gains tax

You get an offer on your rental property. You run the quick mental math: sale price minus what you paid. The gap looks solid enough to make a strong profit. Then, you sit down with your accountant — and the number you actually owe in taxes comes out a lot bigger than you were imagining.

You've likely run into capital gains taxes. Capital gains on rental property don't take a simple percentage of your profit; it hits in multiple layers, and one of those layers catches most investors completely off guard.

With tax season in full swing, landlords should understand the tax implications of selling a rental property in 2025. Without the right strategy, a significant portion of those gains can disappear quickly.

So, if you're a landlord, what are you actually looking at in 2026, and is there anything you can do to avoid these hefty tax payments? This guide walks through the real rates, the math on a hypothetical $400,000 sale, and the strategies that can legitimately reduce or defer the bill.

What is capital gains tax on a rental property?

Capital gains tax is what you owe on the profit from selling a rental property. The gain is the difference between your net sale proceeds and your adjusted basis. Adjusted basis is essentially what you've got invested: your original purchase price, plus acquisition closing costs, plus capital improvements made over the years, minus any depreciation you've claimed while you owned the property.

The capital gains tax formula:


Capital gain = net sale proceeds − adjusted basis

Adjusted basis = (purchase price + acquisition costs + improvements) − total depreciation claimed

How long you've owned the property determines which rate applies. Hold a rental for more than one year and you qualify for long-term capital gains rates, which are meaningfully lower than ordinary income rates. Sell within 12 months and you're looking at short-term rates, which match your regular income tax bracket and run as high as 37%. For most rental property investors, long-term is the relevant scenario; very few people are turning rentals in under a year.

How much is capital gains tax on a rental property in 2026?

Your rate on a long-term gain depends on where your total taxable income lands for the year. Here's the federal breakdown.

Long-term capital gains tax rates for 2026

  • 0% rate — Single filers with taxable income up to $49,450; married filing jointly up to $98,900
  • 15% rate — Single filers from $49,451 to $545,500; married filing jointly from $98,901 to $613,700
  • 20% rate — Single filers above $545,500; married filing jointly above $613,700

These thresholds are projected 2026 figures based on IRS inflation adjustments. Confirm current rates at IRS.gov or with a tax advisor before making decisions based on them.

One more layer worth knowing: the Net Investment Income Tax (NIIT) adds 3.8% for higher earners. Single filers with Modified Adjusted Gross Income above $200,000, or married couples above $250,000, pay that surcharge on top of their long-term rate. At the very top, that pushes the effective federal rate on a long-term gain to 23.8% before state taxes even enter the picture.

Short-term capital gains on rental property

Sell a rental property you've held for 12 months or less and the gain is taxed as ordinary income. Depending on your total earnings for the year, that's a rate from 10% to 37%. There's no preferential treatment on the short side at all, which is why "just wait past the one-year mark" is genuinely useful advice — not just a platitude.

Depreciation recapture: the part most investors don't see coming

Here's what actually blindsides people: even when your entire gain qualifies for the 15% long-term rate, a portion of it will be taxed higher. That's depreciation recapture, and it's the single most misunderstood piece of selling a rental property.

Every year you own a rental property, the IRS lets you deduct a portion of the building's value as a depreciation expense. For residential rentals, that's 1/27.5 of the building value each year — the IRS assumes a 27.5-year "useful life" for residential structures. Those deductions reduce your taxable income each year, which is a real benefit while you hold the property. But when you sell, the IRS recaptures that benefit by taxing the accumulated depreciation at a maximum rate of 25%, as a separate calculation from whatever rate applies to the rest of your gain.

The worked example below shows exactly what this looks like in dollars.

A real example: capital gains tax on a $400,000 rental property sale

Say you bought a rental property ten years ago for $200,000. At closing you paid $3,000 in acquisition costs, and over the years you put $25,000 into capital improvements. You're now selling at $400,000, with $24,000 in selling costs (commissions, title, fees).

Step 1: Calculate adjusted basis.

For this example, we'll treat the full $200,000 purchase price as the depreciable building value (a simplification — in practice, land is excluded and typically represents 15–25% of value). Annual depreciation comes to $200,000 ÷ 27.5 = $7,273/year. Over ten years, that's $72,727 in total depreciation claimed.

Adjusted basis = $200,000 (purchase) + $3,000 (acquisition costs) + $25,000 (improvements) − $72,727 (depreciation) = $155,273

Step 2: Calculate the total gain.

Net sale proceeds = $400,000 − $24,000 (selling costs) = $376,000

Total gain = $376,000 − $155,273 = $220,727

Step 3: Split the gain into its components and calculate tax.

The $220,727 gain breaks into two pieces taxed at different rates:

  • Depreciation recapture: $72,727 — taxed at the IRS maximum of 25% = $18,182
  • Long-term capital gain: $148,000 ($220,727 − $72,727) — taxed at 15% for most mid-income landlords = $22,200

Total federal tax (before NIIT): $40,382

If your income also triggers the 3.8% NIIT, additional tax applies on top of that. The exact amount depends on how different components of your gain are classified on your return, so consult a tax professional for the precise calculation. Either way, the realistic federal total is meaningfully higher than the back-of-the-napkin figure most people walk in expecting.

Understanding what good cash flow looks like on a rental before you sell can help put that tax liability in context against the full financial picture of the property over its hold period.

A tax withholdings form

How to reduce or defer capital gains tax on a rental property

The question isn't whether these taxes exist. It's whether you can structure around them — and the answer is yes, through several tools the tax code explicitly provides for.

1031 exchange

Under IRS Section 1031, you can defer both capital gains tax and depreciation recapture by rolling your proceeds into another investment property of equal or greater value. The rules are strict: identify a replacement property within 45 days of your sale closing, and complete the full exchange within 180 days. That 45-day window is genuinely unforgiving — you need a target property in mind before you list, not after you accept an offer. State rules add a layer on top of federal requirements — California and Colorado each have their own specific rules. Nearly every state has its own 1031 considerations — worth reviewing with a tax professional before closing.

Primary residence conversion

Move into a rental and live there as your primary residence for at least two of the five years before you sell, and you can exclude up to $250,000 in gain ($500,000 for married couples filing jointly). Depreciation recapture on the rental period still applies, so you're reducing the taxable gain significantly rather than eliminating it. For investors with substantial appreciation, though, this exclusion is worth serious planning consideration. The interaction between the Section 121 exclusion and depreciation recapture can be complex depending on your hold period and how the property was used — a tax advisor can model the exact numbers for your situation.

Installment sale

Rather than collecting everything at closing, you can structure the deal so the buyer pays you over several years. This spreads your gain across multiple tax years and can keep you in a lower bracket each year. It's an underused strategy, especially for sellers who don't need all the capital immediately and expect their income to decline in coming years.

Qualified Opportunity Zone investment

Reinvesting your gain into a Qualified Opportunity Fund within 180 days of the sale lets you defer the original gain and potentially reduce the tax on the new investment if you hold it long enough. These vehicles are more complex and require a dedicated conversation with a tax advisor, but they're worth understanding when the gain is large.

Tax-loss harvesting

If you have other investments sitting at a loss in the same tax year, selling them offsets your rental property gain dollar-for-dollar. This is most practical when you're managing a broader portfolio and can identify losses that make sense to realize anyway.

Capital gains tax on rental property by state

Federal tax is only part of the picture. Most states treat capital gains as ordinary income and tax them at state rates, so where the property sits matters a lot. Eight states have no income tax: Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming. That can meaningfully reduce the total bill for properties held in those markets. At the other end, California taxes capital gains as ordinary income with rates up to 13.3%, making it one of the most expensive states to sell rental property in.

Investors doing 1031 exchanges across state lines should also be aware of California's clawback rule: even if you exchange out of a California property and replace it with one in another state, California may still assess state tax when you eventually sell the replacement. It's an outlier policy, but a meaningful one for anyone moving capital out of California. If you are structuring a cross-state exchange involving California property, consulting a tax professional familiar with California tax law before closing is strongly recommended.

Capital gains tax on inherited rental property

Inherited rental properties receive a stepped-up cost basis, meaning the basis resets to the property's fair market value on the date the original owner died. If you inherit a rental worth $500,000 and sell it shortly after for $515,000, you only owe capital gains tax on the $15,000 difference — not on the $300,000 that accumulated over your parent's decades of ownership.

This is one of the most significant estate planning advantages in real estate. It doesn't eliminate depreciation recapture on depreciation the heir claims after inheriting; it only eliminates the tax on appreciation that accumulated before the inheritance event. For properties held for decades in appreciating markets, the step-up can represent a very large amount of deferred tax that simply disappears at death. If you've inherited a rental and are weighing whether to sell or continue renting it out, the stepped-up basis is a key factor in that analysis.

FAQs about capital gains tax on rental property

When do you pay capital gains tax on rental property?

Capital gains tax comes due when you file your federal return for the year the sale closed. If your regular withholding and quarterly estimated payments don't cover the full liability, you may owe underpayment penalties. It's worth estimating the tax before you close and adjusting your estimated payments for that tax year accordingly.

Do you pay capital gains tax if you reinvest in another property?

Not automatically. Simply buying another property with your proceeds doesn't defer the tax. You need to follow the formal 1031 exchange process — using a qualified intermediary and hitting both the 45-day identification window and the 180-day close deadline — to get the deferral. The reinvestment alone doesn't qualify.

How long do you have to hold a rental property to get the lower rate?

More than one year from your acquisition date to your sale date. That means one year plus at least one day. The IRS is precise about this; "about a year" doesn't get you the long-term rate.

What is the capital gains exemption for real estate?

The primary residence exclusion — $250,000 for single filers, $500,000 for married couples — applies only to a principal home. A pure rental doesn't qualify unless you've converted it and meet the two-of-five-year use test, and even then, depreciation recapture from the rental period still applies.

Do you pay capital gains tax on rental property every year?

No. Capital gains tax is only triggered by a sale or exchange. While you own the property, you pay ordinary income tax on rental income each year, but the capital gain doesn't come due until there's an actual disposition event. That's also why annual tax deductions matter so much — they reduce your income tax liability each year you hold the property, separate from whatever capital gains bill eventually arrives at sale.

Capital gains tax on rental property is one of those areas where the gap between what you expect to owe and what you actually owe can be surprisingly wide. Depreciation recapture, state taxes, and the NIIT surcharge all stack up faster than most people anticipate.

#1 Landlord Software

Screen tenants, get leads, and collect rent. All in one place.

Get now
Download your free resource

Table of Contents

Get your property covered in minutes!
Get a quote
Get Appointed
Apply Today

Video Library

View all Videos

Get coverage in minutes

No hidden cancellation fees. Competitive rates nationwide.

    Thank you! Your submission has been received!
    Oops! Something went wrong while submitting the form.

    Request an appointment

    Apply to become a Steadily appointed agent and start selling one of America's best-rated landlord insurance services.

    Apply today