Skip to content

Real Estate Taxes & Legal

Capital Gains Tax on Real Estate

Capital gains tax on real estate: the specific brackets, the NIIT trap that catches more people every year, and why converting to a primary home doesn't help.

This is education, not tax advice. I don't earn a commission from anything on this page.

Capital gains tax on real estate has a mechanic most people get wrong before they even check the brackets: your gain doesn't get its own tax ladder, it stacks on top of whatever ordinary income you already have.

Capital gains tax on real estate, calculating the tax owed on a property sale
Two different gains, two different tax rates, one closing statement.

Capital gains tax on real estate is more layered than a single percentage, it depends on how long you held the property, your total taxable income, whether the property was your primary residence, and how much depreciation you claimed along the way.

This covers what happens on a straight sale; if you're weighing deferral instead, 1031 exchange explained covers that path in full.

Quick honesty note

This is education, not tax advice. Specific bracket dollar thresholds below are inflation-adjusted annually, so confirm current figures for the actual tax year of your sale. Consult a licensed tax professional before filing.

The Short Answer

In short: Property held over a year qualifies for long-term capital gains rates of 0%, 15%, or 20% based on your total taxable income, which stacks your gain on top of your existing income rather than taxing it in isolation.

High earners above roughly $200,000 single or $250,000 joint also owe an additional 3.8% NIIT. A primary residence can exclude up to $250,000 single or $500,000 joint of gain, but rental property doesn't qualify, and any depreciation you claimed gets recaptured separately at up to 25%, regardless of how the rest of the sale is taxed.

The Stacking Mechanic Most People Miss

How capital gains stack on top of ordinary income rather than having their own tax bracket
Your gain doesn't get a fresh bracket. It lands on top of what you already earned.

Your gain sits on top of your ordinary income, not beside it

One of the most misunderstood mechanics in the capital gains system is that a long-term gain doesn't get evaluated against its own separate bracket ladder starting from zero.

Your ordinary income fills the lower brackets first, and your capital gain then stacks on top of that, which can push part or all of the gain into a higher rate than you'd expect if you only looked at the gain amount in isolation.

A household with substantial W-2 income and a moderate capital gain may find the entire gain taxed at 15% or even 20%, purely because their ordinary income already used up the 0% bracket space.

Property held for one year or less is taxed as short-term, at your ordinary marginal income tax rate, up to 37%, rather than the preferential long-term rates.

Holding period alone, crossing that one-year threshold, is one of the single most consequential factors in your final tax bill.

The 2026 Long-Term Capital Gains Brackets

Swipe to see more →

RateSingleMarried filing jointly
0%Up to $49,450Up to $98,900
15%$49,450 to $545,500$98,900 to $613,700
20%Above $545,500Above $613,700

These brackets are based on taxable income, after your standard or itemized deduction, not gross income, which works modestly in your favor.

The NIIT, and a Threshold That Never Moves

The Net Investment Income Tax adds an additional 3.8% on investment income, including real estate gains, once your modified adjusted gross income exceeds roughly $200,000 for single filers or $250,000 for joint filers.

What's easy to miss: unlike the capital gains brackets themselves, these NIIT thresholds have not been adjusted for inflation in over a decade, meaning more households get pulled into NIIT exposure every year even without any real increase in purchasing power.

Real estate professionals who materially participate in their rental activities may be able to avoid NIIT on rental income and related capital gains entirely, covered further in real estate tax deductions every investor should know.

The Primary Residence Exclusion, and What Disqualifies It

Section 121 lets a qualifying seller exclude up to $250,000 of gain, or $500,000 for married couples filing jointly, on the sale of a primary residence, provided the home was owned and used as a primary residence for at least two of the last five years, and no other home sale was excluded in the prior two years.

Married couples claim one $500,000 exclusion per qualifying sale, not two separate $250,000 exclusions; both spouses must meet the use test, though only one needs to meet the ownership test.

Rental property doesn't qualify, and converting doesn't erase history

Rental or investment property doesn't qualify for the Section 121 exclusion unless it was also your primary residence for the required period.

Converting a rental into your primary residence before selling does not eliminate depreciation recapture on the years it was actually rented, any depreciation claimed during that rental period must still be recaptured at sale regardless of how you used the property afterward.

Depreciation Recapture, Taxed Separately

Depreciation recapture on a rental property sale, taxed separately at up to 25 percent
One sale, two different tax treatments on two different slices of the gain.

Unrecaptured Section 1250 gain, the portion of your gain attributable to depreciation you previously claimed on the property, is taxed separately at a maximum federal rate of 25%, higher than the standard long-term capital gains maximum. Any remaining gain above that depreciation amount is taxed at the standard 0/15/20% rates.

Consider a rental property sold with $100,000 in total gain, of which $40,000 reflects accumulated depreciation. The $40,000 depreciation recapture portion is taxed at up to 25%, while the remaining $60,000 is taxed at the applicable standard long-term rate.

Depreciation recapture is generally unavoidable on a taxable sale; the primary way to defer it is a 1031 exchange, covered in 1031 exchange explained, which defers both the capital gain and the recapture until the eventual sale of the replacement property.

The gain doesn't just get one number applied to it. Part gets taxed as depreciation recapture, part as ordinary long-term gain, and both stack on top of whatever else is happening on your return that year.

Common Mistakes (and How to Dodge Them)

  • Assuming your capital gains rate is determined by the gain alone. It stacks on top of your ordinary income, which can push it into a higher bracket than expected.
  • Selling just before the one-year mark to access cash sooner. This forfeits long-term rates entirely in favor of ordinary income tax treatment, often a significant cost for a small timing gain.
  • Believing converting a rental to a primary residence erases past depreciation. Recapture on the rental years still applies at sale regardless of later use.
  • Assuming NIIT only affects the very wealthy. Its frozen, non-inflation-adjusted thresholds pull in more households every year.
  • Applying the primary residence exclusion to investment property. It only applies if the property genuinely served as your primary residence for the required period.

FAQs about Capital Gains Tax on Real Estate

Does my capital gains rate depend only on the size of my gain?

No. Your gain stacks on top of your existing ordinary income when determining which bracket it falls into, which can push part of the gain into a higher rate than expected.

What's the difference between short-term and long-term capital gains on real estate?

Property held one year or less is taxed as short-term, at ordinary income rates up to 37%. Property held longer than a year qualifies for the preferential 0/15/20% long-term rates.

Why does the NIIT threshold catch more people every year?

Unlike the capital gains brackets, which adjust annually for inflation, the NIIT's income thresholds have not been adjusted in over a decade, gradually pulling more households into exposure.

Can I use the primary residence exclusion on a rental property?

No, not unless the property also genuinely served as your primary residence for at least two of the last five years.

Does converting a rental property to my primary residence eliminate depreciation recapture?

No. Any depreciation claimed during the years the property was rented must still be recaptured at sale, regardless of how you used the property afterward.

How is depreciation recapture taxed differently from regular capital gains?

Unrecaptured Section 1250 gain, the portion attributable to prior depreciation, is taxed separately at up to 25%, higher than the standard 20% maximum long-term rate, while the remaining gain is taxed at the standard rates.

Know Which Number Applies to Which Slice

Capital gains tax on real estate rarely comes down to one clean percentage.

Your total taxable income determines which bracket your gain lands in, an additional NIIT surcharge may apply above certain thresholds, a primary residence exclusion may shelter some or all of a personal home sale, and depreciation recapture applies separately and unavoidably to any rental property you've depreciated. Understanding which piece applies to which part of your sale is what actually determines the final number.

Take This Further

Books by Nwaeze David to help you build real wealth through property.

Build Wealth From Nothing With Real Estate, book cover by Nwaeze David
Beginner Wealth Building Build Wealth From Nothing With Real Estate

"You don't need a big deposit, perfect credit, or family money to build wealth in real estate. You need a system, the resourcefulness to work it, and the courage to start."

Get Your Copy →
The AI Real Estate Investor, book cover by Nwaeze David
AI & Automation The AI Real Estate Investor

"The AI Real Estate Investor gives you that system. It shows you exactly how to point AI at the parts of your business that actually make money."

Get Your Copy →
The Diaspora Property Blueprint, book cover by Nwaeze David
Diaspora & Africa The Diaspora Property Blueprint

"The Diaspora Property Blueprint is the complete, step-by-step system for buying land and building wealth back home safely, from anywhere in the world."

Get Your Copy →

Get help planning your next sale

Join the newsletter for practical, no-hype breakdowns of protecting your real estate wealth, then step inside the private community where investors compare notes on tax strategy before a sale, not after.

Keep learning: 1031 exchange explained · depreciation in real estate · real estate taxes and legal protection.

Education only, not tax advice. Bracket thresholds and NIIT figures are inflation-adjusted annually (except NIIT, which has not moved in over a decade) and are marked for verification where noted. Consult a licensed tax professional before filing.

Share this guide WhatsApp X LinkedIn Facebook
Nwaeze David

Written by

Nwaeze David

Nigerian digital entrepreneur, educator and author of three real estate books. He writes practical, honest guides for new investors, working realtors and Africans building back home from abroad.

Free download

The Real Estate Investor Starter Pack

  • Rental Deal Analyzer: know a good deal in minutes
  • The Beginner Investor Roadmap, stage by stage
  • Short, practical emails with your next step
Starter Pack – Lead Form

No spam. Unsubscribe anytime. Your details stay private.