What the NIIT is and who it affects
The Net Investment Income Tax (NIIT) is a 3.8% surtax imposed by Internal Revenue Code Section 1411. It applies to taxpayers with modified adjusted gross income (MAGI) above: $200,000 for single filers, $250,000 for married filing jointly, and $125,000 for married filing separately. These thresholds are not indexed for inflation. The NIIT is calculated on the lesser of net investment income or the amount by which MAGI exceeds the threshold.
What real estate income it covers
For landlords, the NIIT applies to net rental income (gross rents minus allowable rental expenses) and to capital gains from selling investment property, including the depreciation recapture portion. Critically, if you qualify as a Real Estate Professional (REPS) and materially participate in each rental property, the rental income and gains may be excluded from NIIT because they are treated as non-passive income.
Planning to minimize NIIT exposure
The NIIT stacks on top of existing capital gains and recapture rates — bringing the combined federal rate on recapture to as high as 28.8% and on long-term capital gains to as high as 23.8% for high earners. Strategies to reduce NIIT: (1) qualify for REPS to reclassify rental income as non-passive; (2) use a 1031 exchange to defer the gain and the NIIT on it; (3) use an installment sale to spread MAGI below the threshold across multiple years; (4) harvest capital losses to reduce net investment income in high-income years.
How the tax is actually calculated
The NIIT is not 3.8% of all your investment income — it is 3.8% of the lesser of your net investment income or the amount your MAGI exceeds the threshold. Work it in two steps. First, total your net investment income (rents, interest, dividends, capital gains) minus the expenses allocable to it. Second, subtract the threshold from your MAGI. The NIIT applies to whichever of those two numbers is smaller.
Example: a married couple has MAGI of $290,000, of which $50,000 is net rental income and gains. Their MAGI exceeds the $250,000 threshold by $40,000. Net investment income is $50,000. The tax applies to the lesser figure — $40,000 — so they owe 3.8% x $40,000 = $1,520. Had their MAGI been $320,000, the excess ($70,000) would exceed their $50,000 of investment income, and the tax would fall on the full $50,000 = $1,900.
A worked example on a rental sale
The NIIT bites hardest in the year you sell, because a large gain can push MAGI far past the threshold. Suppose a single filer with $150,000 of wages sells a rental for a $200,000 total gain — $80,000 of it unrecaptured Section 1250 gain and $120,000 long-term capital gain. That $200,000 gain lands in MAGI, lifting it to roughly $350,000.
MAGI now exceeds the $200,000 single threshold by about $150,000, while net investment income (the $200,000 gain, roughly) is larger — so the NIIT applies to the $150,000 excess: 3.8% x $150,000 = $5,700. That is on top of up to 25% on the recapture and 15-20% on the capital gain. A 1031 exchange or installment sale that keeps MAGI under the threshold in any given year avoids the surtax on the deferred portion.
What counts as net investment income — and what doesn't
Included: net rental and royalty income, interest, dividends, non-qualified annuity income, net capital gains (including on investment real estate), and income from passive businesses. Not included: wages and self-employment income, distributions from IRAs and qualified retirement plans, Social Security benefits, tax-exempt municipal bond interest, and — importantly for landlords — income from a trade or business in which you materially participate and that is not passive.
That last exclusion is why Real Estate Professional Status matters so much for NIIT. If your rental activity is non-passive because you qualify as a real estate professional and materially participate, the rental income falls outside net investment income entirely. Gain on the eventual sale of property used in that non-passive activity can likewise be excluded — a meaningful edge for high-income full-time investors.
The primary-residence and Section 121 angle
Selling your home is treated more gently than selling a rental. Gain excluded under the Section 121 exclusion — up to $250,000 single or $500,000 married filing jointly — is not net investment income and is not subject to the NIIT. Only gain above the exclusion counts, and only then if your MAGI clears the threshold.
This creates planning opportunities for a former rental converted to a primary residence, or a house hack. But note the interaction with recapture: depreciation claimed after May 6, 1997 is never covered by the Section 121 exclusion, so that recaptured amount is taxable and can be swept into net investment income even on the sale of what became your home.
Filing, forms, and state treatment
The NIIT is computed and reported on Form 8960, which attaches to your Form 1040. It flows to your total tax and is paid with your return (or through estimated payments — a large gain can trigger an underpayment penalty if you do not adjust withholding or estimates in the sale year).
There is no separate state version of the 3.8% NIIT — it is purely federal. But most states tax capital gains as ordinary income, so a rental sale that triggers the NIIT federally may also carry a state tax of anywhere from 0% (in no-income-tax states) to more than 13% (in the highest-tax states). Model federal NIIT, federal capital gains and recapture, and state tax together to see your true all-in rate on a sale.
Deductions that shrink your net investment income
Because the NIIT applies to net investment income, the expenses you can allocate against your investment income directly reduce the base it is taxed on. For a rental, that means all your ordinary Schedule E deductions — mortgage interest, property taxes, insurance, repairs, management fees, and especially depreciation — first reduce net rental income, and only the remainder is exposed to the surtax.
This is another reason not to skip depreciation: it lowers both your regular income tax and your NIIT during the holding period. On the investment side more broadly, investment interest expense and state income taxes properly allocable to investment income can also reduce the NIIT base. A landlord whose depreciation fully shelters the year's rent may owe no NIIT on that rental income at all, even above the MAGI threshold.
Estimated payments and avoiding a penalty
The NIIT is not withheld from a paycheck, so a large investment gain can leave you underpaid. If you sell a rental for a big gain in a given year, the resulting NIIT — plus the regular capital gains and recapture tax — can create a surprise balance due and an underpayment penalty if you did not pay in enough during the year.
The fix is to bump up estimated tax payments (or W-2 withholding) in the quarter of the sale, or to rely on a safe-harbor: generally, paying in at least 100% of last year's tax (110% if your prior-year AGI exceeded $150,000) avoids the penalty regardless of how large this year's bill turns out to be. Coordinate the sale-year estimates with your preparer before, not after, closing.
How REPS and grouping can remove the surtax
The most powerful NIIT lever for a serious landlord is converting rental income from passive to non-passive. Real Estate Professional Status (REPS) requires more than half your personal-service time and at least 750 hours a year in real property trades or businesses, plus material participation in the rentals. Meet it, and net rental income — and gain on the sale of those rentals — generally falls outside net investment income entirely.
Because material participation is tested property-by-property, many real estate professionals file a grouping election under the regulations to treat all their rentals as a single activity, making the participation hours easier to satisfy across the portfolio. This is a high-stakes area with strict recordkeeping requirements (a contemporaneous time log is essential), so it is worth professional guidance — but for a high-income full-time investor, escaping the 3.8% surtax on all rental income and gains is a substantial prize.
The safe harbor for real estate professionals
Qualifying as a real estate professional does not automatically pull your rental income out of the NIIT — the income must also be non-passive and derived in the ordinary course of a trade or business. The regulations under Section 1411 provide a helpful safe harbor for this purpose: a real estate professional who participates in a rental activity for more than 500 hours in the year (or in five of the last ten years) may treat the net rental income from that activity as derived in the ordinary course of a trade or business, and therefore excluded from net investment income.
The safe harbor matters because REPS and the material-participation standard were written for the passive-loss rules of Section 469, not the NIIT of Section 1411, and the two do not perfectly overlap. Meeting the 500-hour test gives a real estate professional a clean, documented basis for leaving the rental income off Form 8960. If you rely on it, keep the same contemporaneous time records you would keep for material participation — the hours are what the safe harbor is built on.
The self-rental exception
A landlord who rents property to a business they own and materially participate in gets a favorable NIIT result. Under the Section 1411 regulations, rent you receive from a trade or business in which you materially participate is not treated as net investment income — even though rent is normally passive investment income. This mirrors the 'self-rental' recharacterization rules of Section 469.
Example: you own a building through an LLC and lease it to your operating company, in which you work full time. The rent flowing to you is non-passive because of your participation in the operating business, so it escapes the 3.8% surtax. The same logic can apply to gain on selling that building. Because these rules are technical and depend on how the entities and participation are structured, confirm the treatment with a tax adviser before relying on it.
Trusts and estates face a much lower threshold
The NIIT is not just an individual tax — it also applies to estates and non-grantor trusts, and their threshold is dramatically lower than the $200,000/$250,000 figures for individuals. A trust or estate owes the 3.8% surtax on the lesser of its undistributed net investment income or the amount by which its adjusted gross income exceeds the dollar figure at which the highest trust tax bracket begins — a threshold in the mid-five figures, not the hundreds of thousands.
For families holding rental real estate in a trust, this compressed threshold is a real planning consideration. Distributing net investment income out to individual beneficiaries (who often have far higher personal thresholds) can move that income to a return where less or none of it is exposed to the NIIT. Trust and estate NIIT is reported on the trust's or estate's own Form 8960 filed with Form 1041, and the interplay with distribution deductions is worth coordinating with a fiduciary tax preparer.
Lowering your MAGI to duck under the threshold
Because the NIIT is charged on the lesser of net investment income or the MAGI excess, reducing your MAGI — not just your investment income — can shrink or eliminate the surtax. Anything that lowers MAGI helps: maximizing pre-tax 401(k) and traditional IRA contributions, funding a health savings account, taking deductible business losses, or making a deductible contribution to a SEP or solo 401(k) for self-employment income.
For a taxpayer whose MAGI sits just above the threshold, a well-timed retirement contribution can drop MAGI below the line entirely, zeroing out the NIIT even though the investment income is unchanged. The lever is most powerful in a big-gain year: bunching deductions, deferring other income, or spreading a sale across tax years through an installment sale can all keep the MAGI excess — and therefore the NIIT base — as small as possible.
How the NIIT differs from the QBI deduction and the Additional Medicare Tax
Three separate provisions all key off high income, and it is easy to confuse them. The 3.8% NIIT is a surtax on investment income. The 0.9% Additional Medicare Tax applies to wages and self-employment income above the same $200,000/$250,000 thresholds — it never touches rental income or capital gains, so the two rarely overlap on the same dollar. The Section 199A qualified business income (QBI) deduction works in the opposite direction, potentially giving a landlord whose rental rises to the level of a trade or business a deduction of up to 20% of net rental income.
The practical point: a profitable rental can generate a QBI deduction that reduces income tax while the same net rental income may still be net investment income for NIIT purposes — the QBI deduction does not reduce the NIIT base. Model all three separately rather than assuming one offsets another; they are computed on different forms (Form 8960 for NIIT, Form 8959 for the Additional Medicare Tax, and Form 8995/8995-A for QBI).
Frequently asked questions
What is the 3.8% NIIT on real estate?
A surtax on rental income and capital gains for taxpayers with MAGI above $200,000 single / $250,000 married filing jointly. It adds to, not replaces, regular capital gains and recapture rates.
Does the NIIT apply to depreciation recapture?
Yes — for taxpayers above the MAGI threshold, the recapture gain from a rental sale is subject to the 3.8% NIIT on top of the standard 25% recapture rate.
What form do I use to report the NIIT?
Form 8960, Net Investment Income Tax, filed with your Form 1040. It calculates the 3.8% surtax on the lesser of your net investment income or your MAGI over the threshold.
Does selling my primary residence trigger the NIIT?
Only the gain above the Section 121 exclusion ($250,000 single / $500,000 joint) can be net investment income, and only if your MAGI exceeds the threshold. Depreciation recaptured from a prior rental period is taxable and can be included.
Can a 1031 exchange help me avoid the NIIT?
Yes — deferring the gain through a like-kind exchange defers the NIIT on that gain as well, since there is no recognized investment income in the exchange year. The surtax is only postponed, not erased, until an eventual taxable sale.
Does rental income always count toward the NIIT?
No. If you qualify as a real estate professional and materially participate so the rental is non-passive, the net rental income is generally excluded from net investment income.
Can lowering my MAGI reduce the NIIT even if my investment income stays the same?
Yes. The tax is 3.8% of the lesser of net investment income or the amount your MAGI exceeds the threshold. Reducing MAGI — for example with pre-tax retirement or HSA contributions — can shrink that excess or push you under the threshold, cutting or eliminating the surtax regardless of your investment income.
Does the NIIT apply to trusts that own rental property?
Yes, and the threshold is far lower — roughly the amount where the top trust bracket begins, in the mid-five figures rather than $200,000+. Distributing net investment income to individual beneficiaries can move it to returns with higher personal thresholds.
Is rent I charge my own business subject to the NIIT?
Generally no. If you rent property to a trade or business in which you materially participate, the rent is treated as non-passive under the Section 1411 self-rental rules and is excluded from net investment income.
Does the QBI deduction reduce my NIIT?
No. The Section 199A qualified business income deduction lowers your income tax but does not reduce the net investment income base for the 3.8% surtax. They are computed separately, on Form 8995/8995-A and Form 8960 respectively.
Sources
Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.
