The Net Investment Income Tax, or NIIT, is a 3.8% surtax on net investment income that was enacted as part of the Affordable Care Act in 2010 and has been in effect since 2013. It applies to individuals with modified adjusted gross income above $200,000 for single filers and $250,000 for married couples filing jointly. These thresholds have not been indexed for inflation since the law was enacted, meaning more retirees fall above the threshold with each passing year.
For retirees with significant investment portfolios, the NIIT can add meaningfully to the effective tax rate on investment income. A retiree paying 15% long-term capital gains tax on appreciated asset sales also pays 3.8% NIIT, for an effective rate of 18.8%. A retiree in the highest capital gains bracket pays 20% plus 3.8% NIIT, for 23.8%. Dividend income, interest income, rental income, and passive business income are all subject to the NIIT when income exceeds the threshold.
Understanding which income sources are subject to the NIIT, which are exempt, and how to manage MAGI to minimize or avoid the surtax is increasingly important for retirees with significant portfolio assets. This paper covers the mechanics, the income sources affected, the exemptions, and the strategies available to manage NIIT exposure.
The NIIT is 3.8% of the lesser of: net investment income for the year, or the excess of modified adjusted gross income over the applicable threshold ($200,000 single, $250,000 married filing jointly, $125,000 married filing separately). The tax applies to the smaller of these two amounts, which means that only the investment income above the threshold is subject to the surtax.
For a married couple with $300,000 of MAGI, $100,000 of which is from net investment income, the NIIT calculation is: the lesser of $100,000 of investment income or $50,000 of MAGI above the $250,000 threshold. The NIIT applies to $50,000, producing a tax of $1,900 (3.8% of $50,000). If the couple's investment income were $30,000 but MAGI were $320,000, the NIIT would apply to the lesser of $30,000 of investment income, producing a tax of $1,140.
Net investment income includes interest, dividends, capital gains, rental income, royalties, and income from passive activities including passive partnership and S corporation income. It includes gains from the sale of stocks, bonds, mutual funds, real estate (in excess of the principal residence exclusion), and other investment assets.
Distributions from traditional IRAs and 401(k) plans are not net investment income and are not subject to the NIIT. These distributions are ordinary income for federal tax purposes, but they increase MAGI, which can push other investment income above the threshold and make more of that income subject to the NIIT. This interaction, where IRA distributions don't directly create NIIT but increase the income that determines how much investment income is above the threshold, is a subtle but significant planning consideration.
Several important income categories are exempt from the NIIT. Wages and self-employment income are ordinary income, not investment income, and are not subject to the surtax. Social Security benefits are ordinary income and exempt from NIIT. Distributions from traditional IRAs, 401(k)s, and other qualified retirement accounts are ordinary income and exempt. Distributions from Roth IRAs are excluded from both ordinary income and MAGI, making them doubly advantageous for NIIT management.
The principal residence exclusion, which allows single taxpayers to exclude up to $250,000 of gain and married couples to exclude up to $500,000 of gain from the sale of a primary home, reduces the net investment income subject to NIIT on such a sale. Gains within the exclusion amount are not subject to NIIT even if the taxpayer is above the MAGI threshold.
Qualified Roth IRA distributions are excluded from both gross income and MAGI. This makes them invisible for NIIT threshold purposes. A retiree who draws income from Roth accounts rather than from taxable investment portfolios or pre-tax retirement accounts can reduce MAGI below the NIIT threshold, shielding other investment income from the surtax.
This creates an additional dimension to the Roth conversion argument: beyond the retirement tax bomb and IRMAA management benefits discussed in other papers, Roth balances also provide NIIT management flexibility. A retiree who needs $300,000 of income in a high-expense year can draw $100,000 from Roth, keeping investment income below the NIIT threshold, rather than realizing $300,000 entirely from taxable sources.
Roth conversions are treated as ordinary income and added to MAGI. Aggressive Roth conversions can push MAGI above the NIIT threshold, causing investment income that would otherwise be below the threshold to become subject to the surtax. This is another version of the cliff effect that makes managing MAGI to specific thresholds, IRMAA, bracket ceilings, and NIIT, a multi-dimensional optimization problem in retirement income planning.
The practical implication is that the optimal Roth conversion amount in a given year depends partly on whether the conversion pushes MAGI above the NIIT threshold and, if so, how much additional investment income will become subject to the surtax as a result. Converting to the NIIT threshold is a relevant optimization target alongside the bracket ceiling and IRMAA thresholds.
IRS Statistics of Income data shows that NIIT revenue has grown substantially since the tax took effect in 2013, both because more taxpayers have exceeded the income thresholds as the non-indexed thresholds have fallen in real terms, and because investment portfolio values have grown significantly over the decade. The IRS data confirms that the NIIT affects a meaningful fraction of higher-income retirees with significant investment portfolios.
The Urban Institute-Brookings Tax Policy Center has analyzed the incidence of the NIIT, finding that its burden falls primarily on higher-income households with significant investment portfolios. Their analysis notes that the combination of the non-indexed threshold and growing investment wealth means that a growing fraction of retirees have NIIT exposure that they may not have anticipated when they were accumulating assets.
Michael Kitces has written extensively on NIIT planning strategies for high-income retirees, focusing on how to manage MAGI relative to the threshold through a combination of Roth distributions, charitable giving, qualified opportunity zone investments, and timing of capital gains realization. His analysis shows that the NIIT threshold, combined with the Social Security taxability threshold and IRMAA thresholds, creates multiple income management targets that a comprehensive retirement tax plan needs to address simultaneously.
Many retirees are unaware of the NIIT until they see it on their tax return for the first time. By then, the income decision that triggered it has already been made. Building awareness of the NIIT threshold into annual income planning, before income decisions are executed, allows for management rather than reaction.
Selling appreciated positions in taxable accounts in years when MAGI is already above the NIIT threshold means the entire gain is subject to both the capital gains rate and the 3.8% surtax. Timing capital gains realization to years when MAGI is below the threshold, or when the marginal NIIT cost is lower, can reduce the effective rate on the gain significantly.
Retirees with Roth balances have the option to substitute Roth distributions for taxable portfolio distributions in years when MAGI would otherwise exceed the NIIT threshold. Because Roth distributions don't add to MAGI, they provide income without increasing NIIT exposure. This is a concrete, actionable NIIT management tool that requires having Roth assets available, another argument for building Roth balances during the accumulation and early retirement years.
The interaction between IRA distributions and NIIT is subtle but important. IRA distributions are ordinary income, not investment income, so they aren't directly subject to NIIT. But they increase MAGI, which can cause investment income that was previously below the threshold to become subject to the surtax. A retiree who takes a large IRA distribution may inadvertently push other investment income into NIIT exposure without realizing the mechanism.
The starting point is understanding your projected MAGI for the current year and the composition of investment income within it. Dividends, interest, capital gains, and rental income all count. IRA distributions are ordinary income, not investment income, but they affect how much investment income falls above or below the threshold.
In years when MAGI is near the NIIT threshold, consider whether adjustments to income realization can keep MAGI below the threshold or reduce the investment income above it. Timing of capital gains realization, Roth distributions instead of taxable distributions, Qualified Charitable Distributions from IRAs, and charitable contributions can all affect MAGI.
The most flexible NIIT management tool for retirees who have built Roth assets is the Roth distribution. Substituting Roth income for taxable investment income in high-MAGI years keeps investment income below the threshold without reducing total income.
Capital gains realization from taxable accounts is one of the most controllable NIIT levers. Harvesting gains in years when MAGI is below the threshold, spreading realizations across multiple years to stay below the threshold, or using charitable vehicles to dispose of appreciated assets without recognizing gain can all reduce NIIT exposure.
This establishes the baseline and determines whether NIIT management is a relevant planning priority.
This asks for specific, actionable steps given the current year's income picture.
This connects the Roth strategy to the NIIT management goal.
This timing question can save meaningful tax dollars for retirees with appreciated taxable positions and variable MAGI from year to year.
This question integrates the NIIT into the broader income management framework that also includes IRMAA and bracket management.
The retirement planning calculator at plan.johnkoyle.com was built to model exactly the dynamics discussed in this paper. The retirement calculator at plan.johnkoyle.com projects your income composition at each age, showing the sources of income that contribute to MAGI. For retirees managing NIIT exposure, the Withdrawal Strategy tab's comparison of optimized versus unoptimized income sequencing is particularly relevant: the optimized approach draws from Roth in high-income years, which reduces MAGI and NIIT exposure alongside its other tax benefits. Use the calculator to model the projected MAGI at each age, then work with your advisor to identify the years when NIIT management is most important and the specific strategies that apply.
John Koyle, AIF®, is the Co-Founder of Red Cedar Wealth Advisors, headquartered in Pocatello, Idaho. He holds the Accredited Investment Fiduciary (AIF®) designation, awarded by the Center for Fiduciary Studies (Fi360), which signifies completed coursework, a rigorous examination, and ongoing continuing education in fiduciary responsibility and prudent investment practices.
John serves individuals and families in or approaching retirement throughout eastern Idaho, the Pacific Northwest, and across the country via Zoom. Clients work directly with John, not a junior team. Red Cedar Wealth Advisors operates under Osaic Wealth, Inc. (Member FINRA/SIPC) and Osaic Advisory Services, LLC for investment advisory services.
Every client relationship is built on five integrated disciplines. The proportions shift with the client and the moment. The integration is constant. Most of the actual value sits in how these disciplines connect, not in any single one of them.
Retirement planning is a discipline that barely existed a generation ago. For most of modern history, people worked until they physically couldn't and then they died, usually fairly close together. The idea that an individual should spend decades saving, then spend decades drawing down those savings, with a plan that accounts for inflation, taxation, sequence risk, healthcare, longevity, and estate transfer, that's maybe forty years old.
Which means almost nobody your age grew up watching their parents do it properly. There's no cultural muscle memory. The advice industry backfilled that gap with rules of thumb that work sometimes and fail catastrophically the rest of the time. The 4% rule. 'You can take Social Security at 62.' 'Target-date funds will handle it.' These are not bad starting points. They are terrible ending points. Real planning is specific, personal, and built on principles that hold up across the full range of outcomes, not just the average one.
The tax code is a set of instructions Congress wrote to shape behavior. Aligning your financial life with those instructions is not aggressive planning. It is the planning. Roth conversion sequencing, capital gains compression on concentrated positions, charitable remainder trusts, Social Security timing, beneficiary coordination. None of these are obscure. They're all legitimate, all written into the code intentionally, and all under-used. Most CPAs handle compliance. The strategy work is a different discipline entirely.
Seventy percent of family wealth doesn't survive two generations. The reason isn't bad markets. The cause is failure to communicate, outdated documents, and no plan for preparing heirs. Beneficiary designations regularly override well-crafted wills. Trust structures created a decade ago no longer match current law or current family. The portfolio that built the wealth isn't the structure that transfers it. The work here is coordinating with your attorney to align documents, beneficiaries, gifting strategies, and trust funding with what you actually want to happen.
Every week, before any portfolio decision, John runs through four layers of market health: economic conditions, market internals, valuations, and sentiment. Each layer gets scored and those scores combine into a composite that maps directly to a portfolio posture, from aggressive on the positive end to defensive on the negative. The work is in the scoring. Once the scoring is done, the positioning follows. That removes one of the most dangerous things in investing: making it up as you go.
The protection gap quietly kills more plans than markets do. A significant net worth paired with inadequate liability coverage is a lawsuit away from a serious problem. Long-term care is more acute: a multi-year care event for one spouse can consume what was meant for the survivor. Most advisors relegate risk to a footnote because insurance conversations are uncomfortable. The math doesn't care. Coverage adequacy, umbrella sizing, long-term care planning, and life insurance structure sit alongside the portfolio in any complete plan.
These are the principles behind every plan John builds.
To begin a conversation, visit johnkoyle.com, use the retirement planning calculator at plan.johnkoyle.com, or reach John directly at john@redcedarwealth.com or (208) 915-8400. Initial consultations are complimentary and carry no obligation.