The Net Investment Income Tax, often just called the NIIT, is a 3.8% surtax that high-income taxpayers see on their investment earnings. It’s a frequent topic of conversation with my clients, and for good reason. The tax is calculated on the lesser of your net investment income or the amount your income exceeds certain thresholds, a nuance that's key to understanding your liability.
What Is the Net Investment Income Tax

For high-net-worth individuals and family offices, especially those navigating competitive markets, getting a firm handle on the NIIT is non-negotiable. It’s an additional layer of tax sitting right on top of your regular income tax, aimed squarely at the returns your capital generates. Think of it as a specific surtax on passive income.
Introduced as part of the Affordable Care Act, this tax primarily impacts those who have both significant investment income and an overall income that pushes them into a higher bracket. Grasping its mechanics is the first real step toward building an effective tax plan that can help preserve your wealth.
The Two Pillars of the NIIT Calculation
When I walk clients through the NIIT, we always start by breaking it down into two fundamental pieces. You can't figure out what you owe without understanding both.
- Net Investment Income (NII): This is your gross income from passive sources—think interest, dividends, capital gains, and rental income—less any expenses directly related to earning it.
- Modified Adjusted Gross Income (MAGI): This is a much broader number. It starts with your adjusted gross income (AGI) and adds back certain deductions. Crucially, it includes your active income from salary, wages, and business operations, not just your investments.
Ultimately, your NIIT liability hinges on how these two figures interact. You’ll pay the tax on either your total NII or the amount your MAGI is over the threshold—whichever figure is smaller.
Who Is Required to Pay the NIIT
The NIIT has been on the books since January 1, 2013, targeting individuals, estates, and trusts with income above certain levels. While it affects a relatively small group, its impact is significant. The IRS regularly collects over $15 billion a year from this tax, a testament to how it hits high earners. For a complete breakdown, you can always refer to the official IRS guidelines on the NIIT.
This table lays out the core rules and the fixed income thresholds for 2026.
NIIT Thresholds and Calculation Rules for 2026
| Filing Status | MAGI Threshold | NIIT Applies to the Lesser Of |
|---|---|---|
| Married Filing Jointly or Qualifying Surviving Spouse | $250,000 | 1. Your Net Investment Income |
| Single or Head of Household | $200,000 | OR |
| Married Filing Separately | $125,000 | 2. Your MAGI in excess of the threshold |
It's critical to remember that these thresholds are not indexed for inflation, so they haven't changed since the law was enacted.
Key Takeaway: The MAGI threshold is the gatekeeper. If your income is below the cutoff for your filing status, you're in the clear—you won't owe the NIIT, no matter how much investment income you have.
With this foundation in place, we can now move into the practical steps of calculating your NII and seeing where you stand.
Calculating Your Net Investment Income
With a firm grasp of what NIIT is, it’s time to get into the mechanics. The term "Net Investment Income," or NII, sounds complex, but the core formula is refreshingly simple: your total investment income minus your directly related investment expenses. The goal is to isolate the net profit generated from your passive activities.
The logic is much like calculating a business's bottom line. You start with gross revenue, subtract the costs of generating that revenue, and you're left with your actual profit. For NIIT purposes, we follow the same path—add up every dollar your investments earned, then subtract what you spent to earn it.
Summing Up Your Investment Income
First, you need a complete and accurate picture of all the income your investments generated during the tax year. This is the "gross" figure in our equation and serves as our starting point. For most investors, this income will come from several familiar sources.
Gather your tax documents—your 1099s are essential here—and begin compiling the following:
- Interest: This is your taxable interest from sources like bonds, savings accounts, and CDs. Remember, tax-exempt interest (like from municipal bonds) is generally not included.
- Dividends: All ordinary dividends are part of this calculation. Qualified dividends are included here as well, even though they are taxed at a different rate for regular income tax purposes.
- Capital Gains: Often the largest component for active investors, this includes the net gains from selling stocks, bonds, mutual funds, and investment real estate, after factoring in any offsetting capital losses.
- Rental and Royalty Income: If you own rental properties or receive royalty payments, the net income from these streams is considered investment income.
- Annuity Income: Watch out for distributions from non-qualified annuities, as these are swept into the NII calculation.
- Passive Business Income: Income from any business where you do not materially participate also falls under this umbrella.
Meticulous accuracy here is non-negotiable. Missing a source of income can trigger an underpayment notice and potential penalties, while accidentally overstating it means you’ll hand over more tax than you legally owe.
Deducting Allowable Investment Expenses
Once you have your gross investment income total, the next move is to subtract the expenses you incurred to generate that income. These deductions are your primary tool for directly shrinking your NII.
But be careful—not just any expense makes the cut. The IRS is specific: you can only deduct expenses directly allocable to producing your investment income. The acid test is simple: if you didn't have the investment, would you still have the expense?
Common allowable deductions include:
- Investment Interest Expense: This is key for those who use leverage. Interest paid on money borrowed to make taxable investments, such as margin interest, is a classic example.
- Investment Advisory and Brokerage Fees: The fees you pay to wealth managers, financial planners, or brokers for managing your investment portfolio.
- Rental and Royalty Expenses: All the typical costs associated with your rental properties, from maintenance and insurance to property taxes and management fees.
- State and Local Income Taxes: You can deduct the portion of your state and local income taxes that is attributable to your NII, but this is a tricky area. This deduction is unfortunately subject to the $10,000 SALT cap limitation.
A Note from Experience: Rigorous expense tracking isn't just good financial hygiene; it's a fundamental tax reduction strategy. Keep detailed, contemporaneous records of advisory fees, margin interest, and property management costs. These deductions can make a substantial difference in your final NII figure.
Putting It All Together: A Real-World Scenario
Let's walk through a practical example. We have a married couple filing a joint return. Their portfolio and a rental property produced several income streams and related expenses throughout the year.
First, we sum their gross investment income:
- Dividends: $20,000
- Interest: $15,000
- Net Rental Income: $80,000
- Net Capital Gains: $50,000
- Total Gross Investment Income: $165,000
Next, we subtract their allowable investment expenses, which totaled $25,000 (for advisory fees, property management, etc.). This gives them a Net Investment Income (NII) of $140,000.
($165,000 – $25,000)
Now for the other half of the NIIT equation. Let's say their Modified Adjusted Gross Income (MAGI) is $300,000. This puts them $50,000 over the $250,000 MAGI threshold for joint filers.
The NIIT is imposed on the lesser of the two figures: their NII ($140,000) or their excess MAGI ($50,000). In this case, the lesser amount is $50,000.
Their final tax liability for NIIT is $1,900 ($50,000 x 3.8%). You can see more detailed examples of how these calculations work in practice in this tax glossary from Thomson Reuters. This is why tracking both NII and MAGI with equal diligence is so critical.
This case also shines a light on the power of tax status. For instance, if one of the spouses qualified as a real estate professional and could prove material participation (often requiring over 500 hours per year), their rental income might be reclassified as active business income. That would pull it out of the NII calculation entirely, potentially eliminating the tax on that entire income stream.
Figuring Out Your MAGI and Applying Thresholds
Calculating your Net Investment Income (NII) is only one side of the coin. The other figure you need to pinpoint is your Modified Adjusted Gross Income (MAGI). Think of it this way: your NII is the potential tax base, but your MAGI determines whether you're even subject to the tax in the first place.
This is a crucial distinction. Your NII is a narrow calculation focused on passive returns. Your MAGI, on the other hand, is a much wider net, capturing nearly all of your income—including salary, wages, and earnings from any business you actively run.
Defining Your Modified Adjusted Gross Income
For NIIT purposes, getting to your MAGI is usually pretty simple. You'll start with your Adjusted Gross Income (AGI), which you can pull directly from line 11 of your Form 1040.
From there, you just need to make one key adjustment: add back any foreign-earned income you excluded from your gross income. For the vast majority of taxpayers I work with, their AGI and their NIIT-specific MAGI are exactly the same. But that simplicity can be a double-edged sword, as a strong year in your business or a high salary can easily push your MAGI over the limit, triggering the tax even if your investment income is modest.
Crossing the MAGI Thresholds
Once you have your MAGI, you compare it against the fixed income thresholds set by the IRS. It's important to remember these thresholds are static; they don't get adjusted for inflation and haven't changed since the tax was first introduced.
The MAGI thresholds are:
- $250,000 for those Married Filing Jointly or a Qualifying Surviving Spouse
- $200,000 for Single or Head of Household filers
- $125,000 for those Married Filing Separately
If your MAGI falls below your filing status threshold, you're in the clear. You don't owe any NIIT, and your analysis stops right there, no matter how much investment income you generated.
But if your MAGI is above the threshold, you have one more quick calculation. You need to figure out the "excess MAGI," which is simply the dollar amount your income is over the line. This number becomes the second critical piece of the final NIIT formula.
Key Insight: A common point of confusion is thinking the 3.8% tax applies to all your income once you cross the threshold. That’s not how it works. The tax is only applied to a specific base, which we determine by comparing your NII and your excess MAGI.
The "Lesser-Of" Rule in Action
This brings us to the final step: applying the "lesser-of" rule. This is where your two separate calculations—Net Investment Income and excess MAGI—finally come together.
You will pay the 3.8% NIIT on whichever of these two figures is smaller:
- Your total Net Investment Income (NII).
- The amount your MAGI exceeds the IRS threshold.
Let's walk through a real-world scenario. Imagine a single individual with a $170,000 salary and $90,000 in net investment income. Their MAGI is $260,000. The threshold for a single filer is $200,000, so their excess MAGI is $60,000 ($260,000 – $200,000).
Now, we compare the two key numbers:
- NII: $90,000
- Excess MAGI: $60,000
Because the excess MAGI is the smaller number, the 3.8% tax is applied to that $60,000 base. The resulting NIIT liability is $2,280. For high earners, especially those in high-tax states like New York where the top rate is 8.82%, this federal surtax can create a significant tax burden on investment gains. You can explore more examples of how these rules affect real estate investors on the Ameriprise site.
This process underscores the relationship between your income, your deductions, and the final net figure that feeds into the NIIT calculation.

As the chart shows, arriving at your true net investment income requires you to meticulously track both your gross investment receipts and any allowable deductions. This two-part analysis—calculating NII and then comparing it to your excess MAGI—is essential for any investor needing to accurately determine their potential NIIT liability.
A Practical Guide to IRS Form 8960

You’ve done the heavy lifting of tallying up your investment income and calculating your Modified Adjusted Gross Income (MAGI). So, where do those numbers actually go? The final destination is IRS Form 8960, the "Net Investment Income Tax" return.
Think of this form not just as a place to enter numbers, but as the official roadmap for the entire NIIT calculation. It’s designed to methodically pull data from various parts of your tax return, apply the rules we've discussed, and arrive at your final tax liability. Understanding its flow is the key to getting it right.
Navigating the Key Sections of Form 8960
At its core, Form 8960 is broken down into three logical parts. Each one handles a distinct piece of the NIIT puzzle.
Part I (Investment Income): This is where you report the gross income figures you've already calculated. It has specific lines for taxable interest, dividends, capital gains from your Schedule D, and rental income from Schedule E. It’s essentially a consolidation of your investment income from other tax schedules.
Part II (Investment Income Deductions): Here, you’ll account for the expenses directly tied to generating that income. This is where you'll claim deductions for investment interest expense, advisory fees, and, importantly, the portion of state and local taxes attributable to your NII.
Part III (Tax Computation): This is the grand finale. This section pulls everything together to calculate your final NII, compare it to your MAGI, apply the "lesser-of" rule against the income thresholds, and compute the final 3.8% tax.
This structured approach is what ensures every component is correctly accounted for, from gross earnings all the way down to the final tax due.
Special Considerations for Investors and Family Offices
While the form’s layout is logical, real-world finances are often messy. We find that certain situations, particularly those involving real estate, trusts, and estates, demand a closer look.
One of the most powerful planning tools for real estate investors is the concept of material participation. If you qualify as a real estate professional and actively manage your properties, that rental income may be treated as nonpassive income from an active trade or business. This is a game-changer, as active business income is exempt from the NIIT. Proving this status typically requires detailed records showing you spent more than 500 hours on the activity, but the tax savings can be immense.
For family offices and trust beneficiaries, the rules are quite different—and much stricter. The NIIT applies to estates and trusts that have undistributed NII and an AGI over the threshold for the top tax bracket. For 2026, that threshold is a mere $15,650. This incredibly low bar means many trusts are exposed to the NIIT far more easily than individual taxpayers.
Mapping Your Calculation to IRS Form 8960
To bridge the gap between theory and practice, it helps to see exactly how your calculations translate to the lines on Form 8960. The form is simply a tool for organizing the numbers you've already prepared.
Here’s a quick breakdown of where your key figures land:
| Key Calculation Step | Corresponding Form 8960 Line(s) | Description |
|---|---|---|
| Report Gross Investment Income | Lines 1-7 | This is where you enter your taxable interest, dividends, annuities, rental income, and capital gains. |
| List Investment Deductions | Lines 9a-11 | Use these lines to claim properly allocable deductions like investment interest expense and state taxes. |
| Calculate Final NII | Line 12 | The form guides you to subtract total deductions (Line 11) from total investment income (Line 8). |
| Enter Your MAGI & Threshold | Lines 13 & 14 | Your MAGI goes on Line 13, and the form provides the correct filing status threshold on Line 14. |
| Apply the "Lesser-Of" Rule | Line 16 | The form instructs you to enter the smaller of your NII (Line 12) or the excess of your MAGI over the threshold (Line 15). |
| Compute the Final Tax | Line 17 | This is the last step: multiply the tax base from Line 16 by 3.8% to arrive at the Net Investment Income Tax. |
As you can see, the form isn't as intimidating as it looks. It's a logical summary of your work. The key, as always, is to ensure your NII and MAGI calculations are rock-solid before you even touch the form.
Actionable Strategies to Reduce Your NIIT Liability

Knowing how the Net Investment Income Tax is calculated is one thing. Actively working to reduce its impact is where savvy financial planning makes a real difference. With its 3.8% tax rate, even modest investment gains can create a substantial tax bill once your income crosses the threshold.
The good news is that you're not powerless against it. These aren't just short-term tricks; they are foundational strategies for building a more tax-efficient portfolio for the long haul. Let’s walk through some of the most effective methods we use with our clients to manage their NIIT exposure.
Harvest Losses to Offset Gains
Tax-loss harvesting isn't just a tactic; it's a year-round discipline for any serious investor. The idea is to strategically sell investments at a loss to crystallize that loss for tax purposes. You can then use those losses to cancel out capital gains you've realized elsewhere.
Since net capital gains are a core component of your Net Investment Income (NII), this move directly shrinks your NII figure. Better yet, if your losses exceed your gains for the year, you can apply up to $3,000 of the excess loss against your ordinary income, which helps lower your MAGI as well.
Think about a real-world scenario: you sell a tech stock for a $20,000 gain. Instead of just accepting the tax hit, you look through your portfolio and find a mutual fund that's down $15,000. By selling that position, you net the two, and your reportable capital gain drops to just $5,000. That simple action could save you $570 in NIIT ($15,000 x 3.8%).
Shift Income-Producing Assets to Tax-Advantaged Accounts
Where you hold your investments is just as crucial as what you hold. This principle, known as asset location, is a game-changer for NIIT planning. The goal is simple: put your most tax-inefficient assets—anything that throws off a lot of taxable interest, non-qualified dividends, or short-term gains—inside your tax-advantaged accounts.
- Traditional IRAs and 401(k)s: Growth in these accounts is tax-deferred. You don’t owe a dime of tax on the interest, dividends, or gains until you withdraw the money in retirement. Crucially, those distributions are explicitly exempt from the NIIT.
- Roth IRAs and Roth 401(k)s: This is the gold standard. Your investments grow tax-free, and qualified distributions are also completely tax-free. They don't add a single dollar to your NII or your MAGI.
By moving things like high-yield corporate bonds or actively traded funds into these accounts, you effectively build a wall around that income, shielding it from the annual NIIT calculation.
A Note on Strategy: We often advise clients to hold their core, low-dividend growth stocks in taxable accounts to capture favorable long-term capital gains rates. Meanwhile, assets that generate a steady stream of taxable income, like REITs or high-yield bonds, belong inside an IRA or 401(k).
Invest in Tax-Exempt Municipal Bonds
For investors looking for a straightforward way to lower their taxable income, municipal bonds ("munis") are a classic solution. The interest paid by most municipal bonds is completely exempt from federal income tax. Just as importantly, this tax-exempt interest is also excluded from your Net Investment Income calculation.
This makes munis especially powerful for high-earners in high-tax states. An investor in New York, for example, could buy New York municipal bonds and receive income that is potentially free from federal, state, and local income taxes—plus the 3.8% NIIT. It's a multi-layered tax shield in a single investment.
Leverage Charitable Giving Strategies
Your philanthropic goals can be a surprisingly effective tool for tax management. Donating appreciated stock—stock you've held for over a year—to a qualified charity offers a powerful one-two punch.
First, if you itemize, you can generally take a charitable deduction for the stock's full fair market value, which directly lowers your MAGI.
Second, and key for the NIIT, you completely avoid paying capital gains tax on the appreciation. By donating the stock directly, you sidestep the gain, meaning it never enters your NII calculation in the first place. For anyone with a highly appreciated portfolio, this is a much smarter move than selling the stock and then donating the cash. You get to support a cause you believe in while erasing a significant tax liability.
Lingering Questions on the Net Investment Income Tax
Once you have a handle on the basic NIIT calculation, the real-world questions start popping up. Your financial life is unique, and applying a complex tax like this often brings up specific, nuanced scenarios. Let's walk through some of the most common questions we hear from clients to clear up any confusion.
What About My Salary or Self-Employment Income?
The short answer? No, it's not subject to the NIIT. The tax specifically targets passive income from your capital—think investments, not your paycheck.
But here’s the critical part: your salary, bonus, or active business profits are the main drivers of your Modified Adjusted Gross Income (MAGI). While that income isn't taxed at 3.8%, a high salary can easily push your MAGI over the threshold, which then exposes your separate pool of investment income to the tax.
Are Distributions From My 401(k) or Traditional IRA Included?
This is a question we get all the time from clients planning for retirement. The good news is that distributions from qualified retirement plans are generally not considered net investment income. Payouts from your 401(k), 403(b), or traditional IRAs are specifically excluded.
These distributions do count toward your MAGI for the year, but the income itself isn't hit with the 3.8% surtax. It’s an important distinction. Even better, qualified distributions from a Roth IRA are excluded from both your NII and your MAGI, making them a powerhouse for tax-efficient retirement income.
An Advisor's Take: This is where smart asset location becomes a powerful tool. By strategically placing assets that generate a lot of taxable income (like corporate bonds) inside tax-deferred accounts like an IRA, you can shield that income from the annual NIIT. It's a foundational strategy we use to manage long-term tax drag.
Can I Deduct State Taxes Paid on My Investments?
Yes, you can, but there's a big string attached. You are allowed to deduct state and local income taxes allocable to your investment income when figuring your NII, but only if you itemize deductions on Schedule A.
The bigger hurdle for many is the State and Local Tax (SALT) deduction cap, which is currently stuck at $10,000 per household. If you live in a high-tax state or city, you're likely already using that full deduction against your regular income, leaving nothing left to deduct against your NII.
How Does Selling My Primary Home Affect the NIIT?
For most people, selling their primary home won't trigger the NIIT. Tax law provides a very generous exclusion for the profit you make on your main residence.
- An individual can exclude up to $250,000 of gain.
- A married couple filing a joint return can exclude up to $500,000 of gain.
To get this benefit, you generally have to own and live in the home for two of the five years leading up to the sale. Any profit above these exclusion amounts, however, is considered capital gain. If your MAGI is already over the threshold, that excess gain will be included in your NII calculation and subject to the tax.
Navigating the nuances of the NIIT—especially how it interacts with things like the SALT cap and major transactions like a home sale—requires a proactive approach. At Blue Sage Tax & Accounting Inc., we specialize in helping high-net-worth individuals and family offices in NYC build smart strategies to manage their tax exposure. Find out how our tax and advisory services can bring clarity and confidence to your financial world.