Part of our pillar guide: Real Estate Tax Benefits: The Complete Overview →
At a Glance
| What it is | 3.8% federal surtax on investment income (ACA, effective 2013) |
| MAGI thresholds | $250,000 joint · $200,000 single · $125,000 filing separately |
| Indexed to inflation? | No — unchanged since 2013 |
| Taxed on | The lesser of net investment income or MAGI above the threshold |
| In the base | Rents, passive K-1 income, interest, dividends, capital gains |
| Out of the base | Wages, self-employment income, active business income, muni interest, 401(k)/IRA distributions |
| The real estate lever | Passive depreciation reduces the NIIT base and the income tax base together |
| REPS safe harbor | 500+ hours may exclude rental income (Reg. §1.1411-4(g)(7)) |
| Top combined LTCG rate | 23.8% (20% capital gains + 3.8% NIIT) |
| Reported on | IRS Form 8960 |
There is a tax most high-income investors pay every year without ever naming it. It does not appear in bracket tables. It has no line on the front page of the return. It shows up on Form 8960, quietly, as 3.8% of almost everything that arrived without you working for it.
That is the net investment income tax, and for real estate investors it matters twice over. Once because rental income and passive partnership distributions sit squarely inside its base — and once because depreciation is one of the few deductions that reduces that base at the same time it reduces taxable income.
The practical consequence is that the value of a real estate offset is not your marginal rate. It is your marginal rate plus 3.8. Most quick estimates model the income tax, stop there, and understate the answer. This guide explains the mechanics, the math, and where the planning levers actually are.
Chapter 1
What the Net Investment Income Tax Actually Is
The NIIT was enacted under the Affordable Care Act and has applied since 2013. It is a flat 3.8% surtax, imposed under IRC §1411 on individuals, estates, and trusts. It is not part of the ordinary bracket structure, and there is no deduction for it — it stacks. That is why the true top federal rate on long-term capital gains is 23.8%, not 20%.
The lesser-of calculation
The tax is 3.8% of the lesser of two figures: your net investment income for the year, or the amount by which your modified adjusted gross income exceeds the statutory threshold. This is the detail most summaries omit, and it matters. If you clear the threshold by $10,000 but hold $500,000 of investment income, you owe on $10,000 — not on $500,000.
The thresholds, and why they keep catching more people
| Married filing jointly | $250,000 |
| Single / head of household | $200,000 |
| Married filing separately | $125,000 |
| Estates and trusts | Roughly $15,000 — the top bracket threshold |
These figures were set in statute in 2013 and have never been indexed to inflation. Ordinary brackets, the standard deduction, and the estate exemption all rise each year. The NIIT thresholds do not. The result is a slow, automatic expansion of who pays it — investors drift across the line over time whether their real purchasing power rose or not.
Note also the asymmetry for trusts. An irrevocable trust holding rental real estate can hit the NIIT at a small fraction of the individual threshold, which is a live planning consideration in estate structures.
What counts as net investment income
Inside the base
- ·Interest, dividends, and capital gains
- ·Rental and royalty income
- ·Income from a business in which you do not materially participate — the passive K-1
- ·Net gain on the sale of property, including a passive partnership or S-corp interest
- ·Non-qualified annuity income
Outside the base
- ·Wages and self-employment income
- ·Income from a trade or business in which you materially participate
- ·Tax-exempt municipal bond interest
- ·Distributions from 401(k)s, IRAs, and other qualified plans
- ·Social Security benefits
- ·The §121-excluded portion of a primary residence gain
A Detail Worth Catching
Wages and self-employment income are not taxed by the NIIT — but they still count toward the MAGI threshold. A surgeon with a $600,000 W-2 and $40,000 of rental income pays no NIIT on the salary, yet that salary is what pushes the rental income fully into the base. High earned income does not shelter you; it exposes your investment income.
Chapter 2
Why Real Estate Income Lands in the NIIT Base
Every generic NIIT article you will find covers municipal bonds, retirement contributions, and timing your MAGI. Almost none address the question that actually decides the answer for a real estate investor: whether the income is passive.
The passive label is what drives the tax
Rental income is generally net investment income unless it is derived in the ordinary course of a trade or business in which you are not passive. For most investors, that condition is not met. If you are a limited partner in a syndication, an LP in a fund, or an owner who hires third-party management and does not clear the participation thresholds, your rental income is very likely inside the base.
This is the same passive-versus-active line that governs whether your losses are usable under §469 — but the two determinations are made under different code sections and do not automatically move together. See the passive loss rules for how §469 classifies an activity in the first place.
The real estate professional trap
The Distinction That Costs People Money
Qualifying as a real estate professional under §469 makes your rental losses non-passive. It does not, by itself, remove your rental income from the NIIT base. Those are separate tests under separate sections — §469 for passive losses, §1411 for the surtax.
What bridges the gap is a specific safe harbor. Under Treas. Reg. §1.1411-4(g)(7), a taxpayer who qualifies as a real estate professional and participates in rental real estate activities for more than 500 hours during the year — or did so in five of the last ten years — may treat that rental income as derived in the ordinary course of a trade or business, which takes it out of net investment income.
The practical reading: REPS alone is not enough for NIIT purposes. The 500-hour documentation is what carries it. Investors who assume their REPS position automatically solved the surtax are often wrong, and the error only surfaces under examination.
Self-rental and grouping
If you lease property to your own operating business, the self-rental rule at Reg. §1.469-2(f)(6) recharacterizes net rental income as non-passive, and recharacterized income of that kind is generally also treated as derived in the ordinary course of a trade or business for NIIT purposes. Grouping elections can produce a similar result. Both are facts-and-circumstances positions with real audit exposure and consequences that bind you in later years — they are planning conversations with a CPA, not self-service elections.
Chapter 3
The Depreciation Offset: Why the Benefit Exceeds Your Bracket
Here is the part that makes real estate structurally different from every other answer to the NIIT question.
Net investment income is a net figure. It is gross investment income reduced by the deductions properly allocable to it — and depreciation on rental real estate is exactly such a deduction. So when depreciation shelters rental income, it is not only reducing your taxable income. It is reducing the NIIT base at the same time, on the same dollars.
One deduction, two taxes
A dollar of passive depreciation loss applied against a dollar of passive income removes that dollar from the income tax base and the NIIT base simultaneously.
So the effective benefit is marginal rate + 3.8%
At the top federal bracket, that is 37% + 3.8% = 40.8% — before any state tax. Models that compute only the income tax saving understate the outcome by roughly a tenth of its value.
But only against income you can actually offset
Passive losses are generally limited to passive income under §469. Losses beyond that suspend and carry forward — they are not lost, but they are not working for you this year either. Size the allocation to the income you are trying to offset.
This is why cost segregation and bonus depreciation are worth more to a high-income investor than a bracket calculation suggests. Front-loading depreciation front-loads both savings at once.
Chapter 4
A Worked Example: The 40.8% Dollar
Consider a married couple filing jointly with $600,000 of modified AGI, of which $200,000 is passive income — rental distributions and a passive K-1 from a business they do not materially participate in.
$200,000 of Passive Income · Married Filing Jointly · $600,000 MAGI
Tax on that $200,000 with no real estate offset
Now add a real estate position generating $200,000 of passive depreciation loss
* Hypothetical and illustrative only — not a projection or a representation of any actual or expected result. Assumes top-of-bracket federal rates, that the passive income is net investment income for NIIT purposes, that the depreciation loss is fully allowable against that income under §469, and no state tax. It ignores basis and at-risk limitations, which can independently restrict a loss before §469 is even reached, and it ignores depreciation recapture at eventual sale. Real outcomes depend on bracket, entity structure, participation facts, K-1 reporting, and the specific investment. Consult your own CPA or tax attorney.
The point is not the $81,600. It is the $7,600 — the portion an income-tax-only estimate would have missed entirely. That is roughly 9% of the total benefit, invisible in any model that stops at the marginal rate.
Chapter 5
What Happens at Sale
The surtax does not disappear at exit. If the activity was passive to you, the gain on sale is generally net investment income — and that includes the depreciation you are paying back.
So the 3.8% can stack on top of the recapture rate as well as the capital gains rate. Unrecaptured §1250 gain taxed at 25% becomes 28.8%. §1245 recapture at ordinary rates becomes up to 40.8%. Long-term capital gain at 20% becomes 23.8%. Any exit model that omits the NIIT is understating the bill on every line.
Stacked Rates at Sale — Passive Activity, Top Bracket
| Long-term capital gain | 20% | 23.8% with NIIT |
| Unrecaptured §1250 gain | 25% | 28.8% with NIIT |
| §1245 / cost-seg recapture | up to 37% | up to 40.8% with NIIT |
This is the symmetry investors miss. The depreciation that saved you 40.8% on the way in can cost you up to 40.8% on the way out. The strategy is not to avoid depreciation — it is to control when, and ideally whether, the bill ever comes due.
1031 Exchange — Defer
A properly structured like-kind exchange means no recognized gain, and therefore generally no net investment income from the sale in that year. The NIIT is deferred right alongside the capital gain and the recapture. Done repeatedly, it pushes all three out indefinitely.
1031 Exchange Guide →Step-Up in Basis — Eliminate
Hold until death and IRC §1014 resets your heirs’ basis to fair market value. There is no gain, so there is no net investment income and no surtax. This is what makes "swap till you drop" the endgame rather than just a delay tactic.
Step-Up in Basis Guide →Opportunity Zone Deferral — Defer, Then Exclude
Rolling eligible gain into a qualified opportunity fund defers recognition, and with it the NIIT. Appreciation in the fund itself can be excluded entirely after the ten-year hold — which means no gain and no surtax on that portion.
Opportunity Zones Guide →Time the Recognition Year
Because the tax is computed on the lesser of net investment income or MAGI above the threshold, a sale in a year when MAGI is otherwise low can be taxed on a much smaller base. Retirement, a sabbatical, or a gap between liquidity events can all be planning windows.
Chapter 6
The Planning Levers, Ranked by Leverage
There are two categories of response, and they are not equally useful. Most published advice concentrates on the second.
Structural — change the character
Larger, more durable effect
- Reduce the base with depreciation. Passive losses offset passive income and cut both taxes at once.
- Qualify for the 500-hour safe harbor. Reg. §1.1411-4(g)(7) can take rental income out of the base entirely.
- Defer or eliminate gain at exit. 1031, opportunity zones, or the §1014 step-up.
- Consider entity and trust structure. Trusts hit the NIIT at a fraction of the individual threshold.
Cosmetic — manage the threshold
Useful at the margin, rarely decisive
- Maximize retirement contributions. Lowers MAGI; qualified plan distributions are outside the base.
- Hold municipal bonds. Tax-exempt interest is excluded from net investment income.
- Harvest losses. Capital losses reduce net gains and therefore the base.
- Spread recognition across years. Installment sales and staged dispositions keep MAGI lower.
One Trade-Off to Model Carefully
Increasing your participation to convert passive income into active income removes the 3.8% NIIT — but active income from certain entities can pick up self-employment tax instead, at 2.9% Medicare plus the 0.9% additional Medicare tax on high earners, and 15.3% on the earlier bands. Escaping one surtax into another is not always an improvement. This needs to be modeled on your actual facts, not assumed.
Pitfalls
Common NIIT Mistakes
Modeling the income tax and stopping
The most common error by a wide margin. A real estate offset against passive income is worth your marginal rate plus 3.8% — quoting 37% instead of 40.8% understates the benefit by roughly a tenth.
Assuming REPS solved it
Real estate professional status governs §469 passive losses. Excluding rental income from the NIIT base requires the separate 500-hour safe harbor under Reg. §1.1411-4(g)(7). Two tests, two code sections.
Forgetting the surtax at exit
Gain and recapture on a passive activity are generally net investment income. Unrecaptured §1250 gain is not 25% — it is 28.8%. Exit models routinely omit this.
Treating the threshold as inflation-adjusted
It never has been. Planning built on the assumption that the $250,000 line will drift upward with wages has been wrong every year since 2013.
Ignoring trusts
An irrevocable trust holding real estate can owe the NIIT at roughly $15,000 of income. Estate structures built without this in view can create surtax exposure that would not exist if the asset were held individually.
Converting passive to active without modeling SE tax
Materially participating to escape the 3.8% can trigger self-employment tax on the same income. Run both numbers before changing your participation.
FAQ
Frequently Asked Questions
What is the net investment income tax (NIIT)?
The NIIT is a 3.8% federal surtax on investment income, enacted as part of the Affordable Care Act and effective since 2013. It applies to individuals whose modified adjusted gross income exceeds $250,000 for married couples filing jointly, $200,000 for single filers, or $125,000 for married filing separately. The tax is 3.8% of the lesser of your net investment income or the amount your MAGI exceeds the threshold, and it sits on top of regular income tax with no deduction for it.
Is rental income subject to the 3.8% NIIT?
Usually yes. Rental income is generally treated as net investment income unless it is derived in the ordinary course of a trade or business in which you are not passive. That means most limited partners and passive LP investors in real estate syndications have rental income inside the NIIT base. The main exceptions are the real estate professional safe harbor and certain self-rental arrangements — both fact-specific determinations for your CPA.
Does depreciation reduce the net investment income tax?
Generally yes, and this is the most useful interaction for real estate investors. Depreciation is a deduction properly allocable to rental income, so it reduces net investment income — the NIIT base — at the same time it reduces taxable income. When passive real estate losses offset passive income, the combined benefit is your marginal income tax rate plus 3.8%, not your marginal rate alone. Estimates that model only the income tax understate the result.
Does real estate professional status eliminate the NIIT on rental income?
Not automatically. Real estate professional status under §469 governs whether losses are passive; the NIIT is a separate determination under §1411. There is a safe harbor in Treas. Reg. §1.1411-4(g)(7) under which a real estate professional who participates in rental real estate activities for more than 500 hours in the year may treat that rental income as derived in the ordinary course of a trade or business, excluding it from net investment income. Qualifying as a real estate professional without meeting that hours test does not by itself remove the income from the NIIT base.
Does the NIIT apply to depreciation recapture when I sell?
It can. If the activity is passive to you, the gain on sale — including unrecaptured §1250 gain and §1245 recapture — is generally net investment income, so the 3.8% can stack on top of the 25% or ordinary recapture rate and the capital gains rate. This is why exit models that omit the NIIT understate the true tax at sale.
Does a 1031 exchange avoid the NIIT?
A properly structured 1031 exchange defers recognition of the gain, and with no recognized gain there is generally no net investment income from the sale in that year. The NIIT is deferred along with the capital gain and the depreciation recapture, not eliminated. Holding until death and taking the step-up in basis under §1014 is what removes the gain — and the NIIT on it — permanently.
What income is excluded from the NIIT?
Wages and self-employment income are outside the NIIT base, as is income from a trade or business in which you materially participate. Also excluded: tax-exempt municipal bond interest, distributions from qualified retirement plans such as 401(k)s and IRAs, Social Security benefits, and the portion of a primary residence gain excluded under §121. Note that wages and self-employment income still count toward the MAGI threshold even though they are not themselves taxed by the NIIT.
Continue Learning
Passive Loss Rules
The §469 framework that decides whether your income is passive in the first place — the question the NIIT answer depends on.
Real Estate Professional Status
The §469 test, the 750-hour rule, and why qualifying does not by itself remove rental income from the NIIT base.
Depreciation Recapture
What comes due at sale for the depreciation you claimed — and how the 3.8% stacks on top of the 25% and ordinary recapture rates.
Offsetting Surgery Center Income
For physicians with ASC ownership: whether that distribution is passive, and what a real estate offset is actually worth against it.
Cost Segregation Studies
How to front-load the depreciation that shrinks the NIIT base and the income tax base at the same time.
Real Estate Tax Benefits Overview
The full system: depreciation, cost seg, gain deferral, and where the surtax fits into the bigger picture.