A strong investment year can create a second tax calculation for retirees and other higher-income households. The net investment income tax, or NIIT, is a 3.8% levy tied to both investment income and modified adjusted gross income. For a single filer, the key federal threshold is $200,000, but crossing it does not automatically expose every investment dollar to the tax.
The IRS taxes the lesser of two amounts
The IRS says the 3.8% NIIT applies to the lesser of net investment income or the amount by which modified adjusted gross income exceeds the filing-status threshold. Those thresholds are $200,000 for single and head-of-household filers, $250,000 for married couples filing jointly and qualifying surviving spouses, and $125,000 for married people filing separately.
Consider a single retiree with $215,000 of MAGI and $40,000 of net investment income. The excess over the threshold is $15,000, which is smaller than the $40,000 investment-income figure. The NIIT calculation would therefore start with $15,000, producing $570 of tax before any other return-specific adjustments. If the same person had only $5,000 of net investment income, the smaller $5,000 amount would control.
This lesser-of formula is why a headline threshold should be treated as a trigger, not a flat tax bracket. It also makes year-end income coordination valuable. A capital gain, Roth conversion, large IRA distribution, or property sale can raise MAGI even when the cash came from different parts of the household balance sheet.
Free retirement updates: Want plain-English help keeping more of your money in retirement? The free Retirement Shield newsletter covers scams, benefits, and money many retirees may be owed, a couple times a week. Subscribe free.
Dividends, interest and gains are common inputs
Net investment income generally includes taxable interest, dividends, certain annuities, royalties, rents, passive-business income, and net gains from selling stocks, bonds, funds, or real estate. The definitions contain exceptions and expense allocations, so brokerage-statement totals are not always the same as the NIIT base.
The IRS excludes wages and unemployment compensation from net investment income. It also says the tax does not apply to certain income excluded from regular federal tax, including tax-exempt municipal-bond interest, Veterans Administration benefits, and the excluded portion of gain from selling a principal residence. Those items can still matter elsewhere on a return, but they are not automatically part of NIIT.
Retirement-plan distributions are an important planning wrinkle. They are generally not themselves net investment income, yet a taxable traditional IRA withdrawal can lift MAGI and cause other investment income to fall under the 3.8% calculation. That indirect effect is especially relevant when a retiree combines required distributions, a portfolio sale, and a Roth conversion in one year.
Fixed thresholds make inflation planning important
The individual thresholds are statutory amounts rather than annually indexed brackets. As incomes and asset values rise over time, more households can approach them even without a dramatic change in lifestyle. A surviving spouse can also move from a $250,000 joint threshold to a $200,000 single threshold, making the tax more likely after a spouse dies.
Useful planning begins with a tax projection before large discretionary transactions. A household can estimate ordinary income, retirement distributions, capital gains, dividends, and any property sale, then compare the resulting MAGI with the applicable threshold. The purpose is not to avoid realizing every gain; it is to see the full marginal cost before choosing timing.
Loss harvesting may offset realized gains, charitable gifts of appreciated securities may avoid a sale, and spreading transactions across tax years can sometimes change the lesser-of calculation. Each tactic has its own limits, holding-period rules, and portfolio consequences. A tax professional can model them without letting tax avoidance override investment risk or cash needs.
Form 8960 reconciles the final liability
Taxpayers calculate the levy on Form 8960 and report it with Form 1040 or 1040-SR. The IRS notes that people expecting NIIT may need additional withholding or estimated payments to avoid an underpayment penalty. That makes the tax a cash-flow issue as well as a filing-season calculation.
Retirees should preserve year-end brokerage forms, partnership statements, rental records, and basis documentation. Missing basis can make a gain look larger, while missing deductible investment expenses can distort net investment income. A midyear projection followed by a final check after mutual-fund capital-gain estimates are released gives the household two chances to act.
The controlling IRS rule remains precise: 3.8% applies to the smaller of net investment income or MAGI above the filing threshold. For single filers that line is $200,000, and knowing what sits on each side of the lesser-of calculation is the practical way to protect after-tax retirement income.
The IRS’s detailed NIIT questions and answers address estates, trusts, property dispositions, and common income categories. The current Form 8960 page provides the calculation form and instructions used to reconcile the levy. A projection should preserve separate totals for gross investment income, allocable deductions, net gains, and MAGI rather than applying 3.8% to a brokerage statement. It should also test whether an estimated-tax payment is due before year-end. Because the threshold calculation interacts with transactions outside the portfolio, tax and investment advisers need the same fact set. A sale that is sensible for diversification may remain worthwhile, but its after-tax proceeds should be known before the order executes.
This article was researched and drafted with AI assistance and reviewed against the linked primary sources.
More Financial Reading
- What really happens to your joint savings account when you die?
- The ideal retirement withdrawal rate so your savings actually last



