How Should You Plan for the Net Investment Income Tax in Retirement?

Ross Marino |

You may be considering a sale from a taxable account, a Roth conversion, or a larger retirement-account withdrawal in the same year. Each decision may look manageable by itself. Then your tax projection shows another 3.8% tax, and it is not immediately clear which transaction caused it.

The Net Investment Income Tax, or NIIT, is easy to misread as a tax on every investment gain. It is more specific. The calculation compares two amounts, and retirement income that is not itself investment income can still change the result.

What does the NIIT calculation actually compare?

For individuals, NIIT generally equals 3.8% of the lesser of net investment income or the amount by which modified adjusted gross income exceeds the threshold for the filing status.[1] The thresholds are $250,000 for married couples filing jointly and qualifying surviving spouses, $200,000 for single and head-of-household filers, and $125,000 for married people filing separately. The thresholds are not the same as the ordinary-income or capital-gain brackets.

Net investment income generally includes taxable interest, dividends, capital gains, nonqualified annuity income, rents, royalties, and income from passive activities, after certain properly allocable deductions.[2] A realized gain can therefore increase both net investment income and MAGI. A taxable IRA distribution or Roth conversion usually does not count as net investment income, but it can increase MAGI and enlarge the amount above the threshold.

NIIT compares two measures—not one income total

Measure A: Net investment income

Interest, dividends, realized gains, and included rental or passive income—after allowed deductions

Measure B: MAGI above the threshold

The excess can grow when gains, IRA distributions, Roth conversions, and other income share the year

The 3.8% tax applies to the smaller measure

A transaction can change one measure, both measures, or neither. The smaller side controls the tax.

Why can income that is not investment income still matter?

Imagine a married couple with $40,000 of net investment income. If their MAGI is $270,000, only $20,000 sits above the $250,000 threshold. NIIT would apply to $20,000 because that is the smaller measure. If a taxable Roth conversion lifts MAGI to $300,000, the excess becomes $50,000, but net investment income remains $40,000. The tax would then apply to $40,000. The conversion was not taxed as net investment income; it changed which portion of the couple's actual investment income was exposed.[3]

This is why the capital-gain decision cannot be reviewed alone. Interest and dividends may already occupy part of the net investment income side. Rental income may count when the activity is passive, while the result can differ for an active trade or business. A large sale may add a gain, and a retirement-account distribution in the same year may raise only the MAGI side. The Form 8960 calculation brings those pieces together.

Dovetail Principle: Financial Decisions Need to Fit Together

A sale, conversion, withdrawal, rental decision, and charitable gift may serve different purposes. Their tax effects meet on one return. Seeing both sides of the NIIT calculation helps you decide whether the amount, asset, or year should change, without letting one tax control the entire retirement plan.

Which planning choices can change either side?

Start with the income likely to arrive without an optional transaction: taxable interest and dividends, pensions, Social Security included in income, rental results, required or planned IRA withdrawals, and other income. Then add any proposed capital gain or Roth conversion. Long-term gains may receive their own capital-gain rate, but NIIT is a separate calculation, so a favorable capital-gain bracket does not by itself rule out the additional tax.[4]

Charitable giving can change the picture through different mechanisms. Donating eligible appreciated securities directly may avoid realizing the embedded gain that a sell-and-give-cash approach could create, subject to the charitable rules.[5] For an eligible IRA owner, a qualified charitable distribution can satisfy all or part of an RMD while keeping the qualifying amount out of adjusted gross income.[6] An ordinary charitable deduction may reduce taxable income but does not necessarily reduce MAGI for NIIT in the same way. The giving method matters.

The goal is not automatically to remain below the NIIT threshold. A sale may reduce concentration, fund spending, or complete another important transition. A Roth conversion may support a longer-term tax plan. Weigh avoiding 3.8% for part of the year against the reason for the transaction and the consequences of delaying it.

What should you model before completing the transaction?

Ask for a projection that shows the two NIIT measures separately. Compare the expected return before the transaction with several transaction amounts, and test whether moving part of a sale or conversion to another calendar year changes the result. Confirm the character of rental or business income, any capital losses, and the deductions allowed in calculating net investment income. Also review state taxes and other income-sensitive consequences, even though they are not part of the NIIT formula.

A useful decision is not simply “trigger NIIT” or “avoid NIIT.” It is whether the transaction still improves the retirement plan after the complete tax-year interaction is visible. When the two measures are separated, you can see what is truly creating the tax—and which changes would meaningfully affect it.

Related Reading: NIIT, IRMAA, RMDs: Why Tax Decisions Need a Multi-year Plan extends this same-year calculation into a multi-year retirement review.

About the author

Ross Marino, CFP®, CeFT®, is the Founder & CEO of Dovetail Financial and creator of Human-First Financial Guidance®. He helps people nearing or living in retirement connect their lives and wealth so that financial decisions become clearer, more personal, and easier to navigate.

Search another retirement question

Describe the question or enter a few topic words. You do not need to know the exact article title.

 

Notes

  1. Questions and Answers on the Net Investment Income Tax, Internal Revenue Service.
  2. Instructions for Form 8960 (2025), Internal Revenue Service.
  3. Roth IRA conversion: 7 things to know, Fidelity Investments.
  4. Capital Gains Tax Rates: Short-term vs. Long-term, Charles Schwab.
  5. Tax strategies for charitable contributions, Vanguard.
  6. Qualified charitable distributions, Fidelity Charitable.

Disclosure

This content is provided by Dovetail Financial Group LLC (“Dovetail Financial”) for informational and educational purposes only. It is not intended as, and should not be construed as, individualized investment, tax, legal, or accounting advice; a recommendation to buy or sell any security; or a recommendation to adopt any investment strategy. Because each person’s situation is unique, readers should consult their own financial, tax, and legal professionals before taking action based on this content. Information contained herein is believed to be reliable, but its accuracy or completeness is not guaranteed. Any opinions expressed are current as of the date of publication and are subject to change without notice. All investing involves risk, including the possible loss of principal. Asset allocation and diversification do not guarantee profits or protect against losses in declining markets. Past performance is not a guarantee of future results. Dovetail Financial Group LLC is a registered investment adviser. Registration does not imply a certain level of skill or training. Additional information about Dovetail Financial Group LLC, including Form ADV Part 2A and Form CRS, is available at adviserinfo.sec.gov. © 2026 Dovetail Financial Group LLC. All rights reserved.