Library · Taxes · Published 9/29/2026 · Read again by the automated checks 10/6/2026
Net investment income tax
A 3.8% federal surtax applies to investment income once your modified adjusted gross income crosses set thresholds, hitting rental income, capital gains, dividends, and interest.
Net investment income tax
In short
I remember the first year a friend of mine crossed that income line and discovered three point eight percent of her rental profit had vanished to a second layer of tax she had never heard of. The net investment income tax is a federal surtax of this year's official niit rate, published on its official page that lands on certain investment income once your modified adjusted gross income passes this year's official niit single threshold, published on its official page if you file single or this year's official niit joint threshold, published on its official page filing jointly. It hits interest, dividends, capital gains, rents, royalties, and passive business income, but it leaves wages and retirement account distributions alone. You pay it on top of ordinary income tax, and it appears on Form 8960 when you file. The money goes to Medicare. You can lower the bite by holding investments in retirement accounts, timing gains carefully, or routing income through a business you actively run.
The whole of it
What it is
You have probably noticed that the tax code adds layers. The net investment income tax is one of those layers, enacted in 2013 to help fund Medicare expansion. It charges this year's official niit rate, published on its official page on the smaller of two numbers: your net investment income or the amount by which your modified adjusted gross income exceeds a threshold. That threshold sits at this year's official niit single threshold, published on its official page for single filers, this year's official niit joint threshold, published on its official page for married couples filing jointly, this year's official niit mfs threshold, published on its official page for married filing separately, and this year's official niit hoh threshold, published on its official page for heads of household. The tax is not indexed for inflation. It stays fixed. Congress wrote it into section 1411 of the Internal Revenue Code, and the Internal Revenue Service administers it through regulations that run to hundreds of pages.
Investment income here means interest, dividends, capital gains both short and long term, rent and royalty income, nonqualified annuities, and income from businesses in which you do not materially participate. It does not mean wages, self employment earnings from a trade you actively manage, Social Security benefits, tax exempt municipal bond interest, or distributions from traditional IRAs and 401(k) plans. Those streams stay outside the net. The phrase modified adjusted gross income in this context takes your adjusted gross income and adds back certain foreign earned income exclusions, but for most people it is simply adjusted gross income with no changes at all.
How it works
A neighbor of mine once asked why a rental property he barely touched cost him more tax than his consulting work. The answer was participation. The tax applies only to passive income and gains. If you own stock, collect dividends, and sell shares at a profit, that income is investment income. If you own a duplex, collect rent, and spend ten hours a year on it, that rent is investment income. If you own a bakery, work fifty hours a week behind the counter, and take home profit, that profit is not investment income because you materially participated.
Material participation has seven tests, laid out in the regulations under section 469. The simplest is five hundred hours of work in the year. Another is more than anyone else. A third is one hundred hours and no one else did more. If you clear any test, your business income stays outside the net investment income tax. If you fail them all, the income falls in.
Once you know what counts as investment income, you subtract directly connected expenses. Mortgage interest on the rental, property tax, depreciation, and repairs come off the rent. Investment interest expense and advisory fees come off portfolio income. What remains is net investment income. Then you look at modified adjusted gross income. If it stays below the threshold, you owe nothing. If it crosses, you owe this year's official niit rate, published on its official page on the lesser of the excess or the net investment income. The tax appears on Form 8960, which you attach to Form 1040.
The numbers, and where to find yours
The thresholds live in section 1411(b) of the tax code and appear each year in the Form 8960 instructions published by the Internal Revenue Service. The rate is this year's official niit rate, published on its official page. It does not graduate. It does not phase in. It arrives all at once when income crosses the line. Modified adjusted gross income comes from line eleven of Form 1040, sometimes adjusted by the items on a worksheet in the instructions. Most filers use line eleven as is. Net investment income fills out over six parts of Form 8960, pulling figures from Schedule D for gains, Schedule E for rents and royalties, Schedule B for interest and dividends, and sometimes Schedule K 1 for partnership and S corporation income.
If you use tax software, it will ask about investment income and calculate the tax automatically. If you prepare by hand, work through the form line by line. The Form 8960 instructions include worked examples. You can find them on the IRS website under forms and publications.
A worked example
Sarah filed single in 2024. She earned 60,000 dollars in salary and 15,000 in long term capital gains from stock she sold. She paid 2,000 in investment advisory fees. Her adjusted gross income was 75,000 dollars. Her net investment income was 13,000: the 15,000 in gains minus the 2,000 in fees. Her modified adjusted gross income of 75,000 exceeded the single threshold of this year's official niit single threshold, published on its official page by 75,000 minus this year's official niit single threshold, published on its official page. She owed this year's official niit rate, published on its official page on the smaller of 13,000 or that excess. If the threshold were 200,000, the excess would be zero and she would owe nothing. If the threshold stood at 70,000, the excess would be 5,000, smaller than 13,000, so she would owe this year's official niit rate, published on its official page of 5,000, which is 190 dollars. The tax lands on the overlap between high income and investment income, not on all of either one.
Where it goes wrong
I once watched a couple sell a vacation home and trigger a six figure gain without realizing they would owe an extra three point eight percent on top of the fifteen percent capital gains rate. They had planned for fifteen. They paid eighteen point eight. The surprise came because they thought of the net investment income tax as something for the very rich, but it reaches into the middle once a large one time event pushes income over the threshold. A Roth conversion, a home sale beyond the exclusion, a bonus, or even a Required Minimum Distribution from a traditional IRA can lift modified adjusted gross income high enough that investment income costs more.
Another mistake is assuming rental income always triggers the tax. If you qualify as a real estate professional under section 469(c)(7), spending more than half your working hours and over seven hundred fifty hours a year in property trades or businesses, your rental income is not passive and escapes the tax. Few people meet that standard, but it exists. A third error is double counting. Some taxpayers think the tax applies to retirement account distributions. It does not. Distributions from IRAs and 401(k) plans are not investment income under section 1411, even though they raise modified adjusted gross income. They can push you over the threshold, making other investment income taxable, but the distribution itself stays outside.
Finally, people forget state taxes. California, for instance, imposes its own additional tax on high earners through the mental health services tax, and New York adds its own layers. The net investment income tax is federal only, but states may have similar or overlapping rules with different thresholds and rates.
Questions to answer before you leave this page
What was your modified adjusted gross income last year, and did it cross the threshold for your filing status? Which of your income streams count as investment income under the definition in section 1411: interest, dividends, rents, royalties, capital gains, or passive business income? Did you materially participate in any business that generated income, and can you document the hours? What expenses directly connect to your investment income and reduce the net figure? If you sold an asset, was the gain long term or short term, and did you reinvest in a way that might defer it? Are you planning a large withdrawal, conversion, or sale this year that will lift your income above the threshold and expose other gains to the tax? Do you hold investments inside retirement accounts where gains and income grow without triggering the tax each year? Have you reviewed Form 8960 and its instructions to see which lines apply to your situation, and does your tax software or preparer include it automatically?
Now work it with your own numbers. Compound growth, what money does when it is left alone · Net worth, everything you own minus everything you owe. Each shows the formula it used.
Learn it in steps. The course called Your money, understood begins with Money you can lose, money you cannot: two short paragraphs, one number of your own, and a check, about five minutes on the page. No account needed.
Sources
irs.gov · read 10/13/2026
irs.gov · read 10/13/2026
irs.gov · read 10/13/2026
irs.gov · read 10/13/2026
Each source below is an official page that was fetched on the date shown, and the sentence quoted from it was found there. Figures from the table of yearly figures carry their own source and date. When a quoted sentence can no longer be found, the guide goes back to the writer.
Related
How the wealthy pay less tax: the line between income and wealth, and the empty suite that does not exist
Marginal versus effective rates
tax brackets and how they actually work
See something wrong on this page? Write to admin@wealthyhabitat.com and say which sentence.
Was this useful? Counted, never signed.
Ask about this guide
A model reads this page and answers from it. It will say when the answer is not on the page. Education, not personalized advice.
Written by the site's growth engine and checked by its gates: voice, law and ethics, facts, arithmetic, and sources. Not yet read by a human editor, and a correction goes to the address above. Rules and dollar limits change every year; figures come from the table of yearly figures with their source and date.