The Net Investment Income Tax is a 3.8% federal surcharge on investment earnings owed by individuals whose modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). It applies to the smaller of two numbers: your net investment income for the year, or the amount your MAGI runs above the threshold. The tax took effect in 2013, is reported on IRS Form 8960, and rides along with your Form 1040.
Who Owes the Tax
Your filing status sets the modified adjusted gross income level at which the tax begins:
- Married filing jointly or qualifying surviving spouse: $250,000
- Single or head of household: $200,000
- Married filing separately: $125,000
These figures are written directly into the statute and are not indexed for inflation, so they stay the same every year unless Congress changes the law.1Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax A $250,000 household income was relatively uncommon when the tax launched; wage growth and market returns have pulled many more families above the line since.
What MAGI Means Here
For most people, MAGI for this tax is identical to the adjusted gross income on your Form 1040. The only common adjustment is for taxpayers who excluded foreign earned income under Section 911, in which case that excluded amount is added back to AGI to arrive at MAGI.2Internal Revenue Service. Topic No. 559, Net Investment Income Tax If you work entirely in the United States and have never claimed that exclusion, AGI and MAGI are the same number.
How the 3.8% Is Calculated
The rate does not apply to all of your investment income, and it does not apply to all of your income above the threshold. It applies to the lesser of two amounts: your net investment income for the year, or the amount by which your MAGI exceeds your filing-status threshold.1Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax
An example makes this concrete. Suppose you file as single with a MAGI of $230,000 and net investment income of $50,000. Your MAGI exceeds the $200,000 threshold by $30,000. Because $30,000 is less than your $50,000 of net investment income, you owe 3.8% on $30,000, which comes to $1,140. If your net investment income were only $20,000 instead, you would owe 3.8% on $20,000, or $760, because the investment income is now the smaller number.3Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
What Counts as Investment Income
The tax reaches most income that comes from putting money to work rather than from your own labor:
- Interest and dividends, including bank interest, bond coupons, and stock dividends
- Capital gains from selling stocks, bonds, real estate, and other property, to the extent included in taxable income
- Rental and royalty income
- Non-qualified annuity income
- Your share of profits from a business in which you do not materially participate
- Income from a business whose primary activity is trading financial instruments or commodities
The passive-versus-active line catches people. If you own an interest in a partnership or S corporation but are not involved in daily operations, your share of the business income counts. If you run the business yourself and meet the material participation tests, it generally does not.3Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
Rental income is generally treated as passive here, so it counts even if you spend real time on the properties. There is a narrow exception for taxpayers who qualify as real estate professionals under Section 469(c)(7) and who materially participate in the rental activity; Treasury Regulation 1.1411-4(g)(7) provides a safe harbor keyed to hours spent on the activity.
Income that is already subject to self-employment tax is not also hit with this tax. The regulation draws a clean line: if an item is taken into account in calculating your self-employment tax, it is excluded from net investment income.4eCFR. 26 CFR 1.1411-9 – Exception for Self-Employment Income The same dollar is not taxed twice under two different Medicare-funding provisions.
What Doesn’t Count
Several important income categories sit entirely outside the calculation:
- Wages and salaries, regardless of amount
- Unemployment compensation
- Social Security benefits
- Alimony
- Distributions from 401(k), 403(b), 457(b), and traditional or Roth IRA accounts3Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
- Tax-exempt interest from municipal bonds
- Operating income from a business where you materially participate
One nuance trips up retirees. Retirement plan distributions are excluded from net investment income, but they still count toward your MAGI. A large 401(k) withdrawal can push MAGI above the threshold and cause your other investment income to become taxable under this rule, even though the withdrawal itself is not investment income.
Selling Your Home
A home sale can generate enough profit to trigger the tax even for people who rarely deal with investment income. The Section 121 exclusion applies first: single filers can exclude up to $250,000 of gain on a principal residence, and married couples filing jointly can exclude up to $500,000, if they meet the ownership and use requirements.5Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence
Only the gain above that exclusion enters the net investment income calculation. A married couple selling their home for a $600,000 profit would exclude $500,000 and recognize $100,000 of gain. That $100,000 becomes part of net investment income and increases MAGI. If those increases push the couple above $250,000 in MAGI, they could owe 3.8% on some or all of the recognized gain.3Internal Revenue Service. Questions and Answers on the Net Investment Income Tax Owners of long-held, heavily appreciated homes should run the numbers before closing.
Deductions Against Net Investment Income
The 3.8% applies to net investment income, so allowable deductions come off first. The word “allowable” is doing real work: only deductions permitted for regular income tax purposes can also reduce NII.6Internal Revenue Service. Instructions for Form 8960 – Net Investment Income Tax Two categories survive:
- Investment interest expense, meaning interest on money borrowed to buy taxable investments, reported on Schedule A and carried to Form 8960, line 9a
- State, local, and foreign taxes allocable to investment income, using any reasonable method for splitting those taxes between investment and non-investment income6Internal Revenue Service. Instructions for Form 8960 – Net Investment Income Tax
Advisory fees, custodial fees, brokerage account fees, and tax preparation costs related to investment income no longer reduce NII. They fell under miscellaneous itemized deductions, which the Tax Cuts and Jobs Act disallowed starting in 2018. The One Big Beautiful Bill Act (P.L. 119-21) made that disallowance permanent for all tax years after 2017. Because this tax only allows deductions permitted for regular income tax purposes, those expenses cannot reduce your net investment income either.6Internal Revenue Service. Instructions for Form 8960 – Net Investment Income Tax Older guidance and some tax software help screens still reference these deductions, which is a common source of confusion.
Ways to Reduce Your Exposure
Because the tax turns on both overall income and investment income, you have two levers: lower your MAGI, or lower your net investment income. Approaches that legitimately move the needle:
- Maximize contributions to a 401(k), 403(b), or traditional IRA. A dollar deferred is a dollar that does not push you toward the threshold.
- Harvest investment losses to offset capital gains, keeping the wash-sale rule in mind if you plan to repurchase similar investments.
- Hold appreciating or income-producing assets inside a Roth IRA or traditional IRA, where the growth does not generate current-year net investment income.
- Time large gains carefully. If you have discretion over when to sell an investment property or a concentrated stock position, splitting the gain across two tax years can keep MAGI below the threshold in both.
- Use municipal bonds for fixed-income allocations. Municipal bond interest is excluded from both net investment income and MAGI for this tax.3Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
- Contribute to a health savings account. HSA contributions are above-the-line deductions that reduce MAGI.
None of these eliminate the tax for high-income investors, but they can meaningfully cut what falls under the 3.8% rate. The most common planning mistake is ignoring the tax until it shows up on the return, by which point the year is closed and options are limited.
Filing Form 8960
You must file Form 8960 and attach it to your Form 1040 if your MAGI exceeds the applicable threshold.7Internal Revenue Service. Instructions for Form 8960 The form has three parts: Part I totals your investment income (interest from line 2b of the 1040, ordinary dividends from line 3b, annuity income, rental and royalty income, and capital gains), Part II subtracts allowable deductions, and Part III compares net investment income to the excess of MAGI over the threshold and applies 3.8% to the smaller number.6Internal Revenue Service. Instructions for Form 8960 – Net Investment Income Tax
Figures on Form 8960 have to match what you report elsewhere on the return. Certain items receive different treatment for this tax than for regular income tax, so keep worksheets showing how you allocated deductions and classified income, and retain records for the life of each investment to document cost basis.7Internal Revenue Service. Instructions for Form 8960
Estimated Taxes and Penalties
This tax is subject to estimated tax rules; you cannot wait until April to pay it.8Internal Revenue Service. Net Investment Income Tax If you expect to owe, factor it into quarterly estimated payments or ask your employer to increase W-2 withholding. Failing to do so can trigger an underpayment penalty even if you pay in full when you file.
The safe harbors match those for regular estimated taxes. You avoid the penalty if payments during the year cover at least 90% of your current-year tax or 100% of the prior-year tax. If your prior-year AGI was above $150,000 ($75,000 if married filing separately), the prior-year safe harbor rises to 110%.9Internal Revenue Service. Underpayment of Estimated Tax by Individuals Penalty If your investment income is uneven across the year, the annualized income installment method on Form 2210 can match payments to the quarters when income actually arrived.
Interest on underpaid tax currently runs at 7% annually, compounding daily.10Internal Revenue Service. Interest Rates Remain the Same for the First Quarter of 2026 The failure-to-file penalty adds 5% of unpaid tax per month, up to 25%, and for returns due after December 31, 2025, the minimum late-filing penalty is $525 if the return is more than 60 days late.11Internal Revenue Service. Failure to File Penalty
Trusts and Estates
Trusts and estates face the same 3.8% rate at a far lower threshold: the dollar amount at which the highest trust income tax bracket begins, which is $16,000 for 2026 and adjusts for inflation each year.1Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The tax applies to undistributed net investment income, so a trust that distributes its income to beneficiaries can push the liability to those individuals, who then apply their own higher thresholds. Charitable trusts under Section 501, charitable remainder trusts under Section 664, grantor trusts, qualified retirement plan trusts, electing Alaska Native Settlement Trusts, and perpetual care trusts are exempt.3Internal Revenue Service. Questions and Answers on the Net Investment Income Tax
Foreign Tax Credit Limitation
The standard foreign tax credit under Section 901 cannot be used against this tax. The credit reduces taxes imposed under Chapter 1 of the Internal Revenue Code; this tax lives in Chapter 2A. Some taxpayers have argued that tax treaties override that limitation, and two U.S. Court of Federal Claims decisions have gone their way, but both are on appeal and the IRS continues to reject treaty-based credit claims against the tax. Foreign taxes allocable to investment income can still be subtracted as a deduction on Form 8960, which offers partial rather than dollar-for-dollar relief.