🥝GuideKiwi
Free Guide

Get Your Free Net Investment Income Tax Guide

Understanding the Net Investment Income Tax (NIIT) The Net Investment Income Tax, often called NIIT, is a 3.8% tax that applies to certain types of investmen...

GuideKiwi Editorial Team·

Understanding the Net Investment Income Tax (NIIT)

The Net Investment Income Tax, often called NIIT, is a 3.8% tax that applies to certain types of investment earnings for individuals with higher incomes. This tax was introduced as part of the Affordable Care Act and has been in effect since 2013. The NIIT applies to net investment income, which includes earnings from investments like stocks, bonds, real estate, and other passive income sources. Understanding how this tax works is important for people who receive significant investment earnings, as it can affect their overall tax burden.

The tax itself is relatively straightforward in concept but can become complex depending on your specific financial situation. Not everyone pays the NIIT—it only applies when your modified adjusted gross income (MAGI) exceeds certain thresholds that vary based on your filing status. For single filers in 2024, the threshold is $200,000. For married couples filing jointly, it's $250,000. For married individuals filing separately, it's $125,000. These thresholds have remained the same since the tax was created and are not adjusted annually for inflation.

The NIIT applies to the lesser of two amounts: either your net investment income for the year or the amount by which your MAGI exceeds the threshold for your filing status. This means that even if you have substantial investment income, you may not owe this tax if your MAGI stays below the threshold. Understanding which types of income count toward MAGI and which count as net investment income helps you determine whether this tax might affect you.

Practical takeaway: Review your income sources to determine whether your MAGI exceeds the NIIT thresholds for your filing status. If it does, learning about what counts as net investment income will help you understand your potential tax liability.

Types of Income Subject to the NIIT

Net investment income includes several categories of earnings that are specifically defined by tax law. The most common type is capital gains—the profit you make when you sell an investment for more than you paid for it. Long-term capital gains (from assets held more than one year) and short-term capital gains (from assets held one year or less) both count toward net investment income. If you bought stock for $5,000 and sold it for $8,000, that $3,000 gain is investment income subject to the NIIT if you meet the income thresholds.

Dividends and interest income are another major category. This includes dividends paid by corporations on stock you own, interest earned from bonds or savings accounts, and distributions from mutual funds and other investment funds. Even interest from high-yield savings accounts or money market accounts counts as investment income if it's significant. Some types of dividends, like qualified dividends, may receive preferential tax treatment, but they still count toward the NIIT.

Rental income and royalties can also be subject to the NIIT, though with important exceptions. If you actively participate in managing rental property or if rental is your business, that income may not count as net investment income. However, passive rental income—where you're not materially involved in managing the property—typically does count. Similarly, royalties from patents, copyrights, or mineral rights fall into this category. If you own several rental properties that generate significant income but you hire a management company, that passive income would count toward NIIT calculations.

Importantly, certain income is specifically excluded from net investment income. W-2 wages from employment do not count. Self-employment income does not count unless it's from passive activities. Social Security benefits do not count. Tax-exempt interest from municipal bonds is excluded. This distinction matters because your net investment income is calculated separately from your overall income.

Practical takeaway: Itemize your investment income sources—capital gains, dividends, interest, and passive rental or royalty income—to calculate your potential net investment income and whether the NIIT applies to you.

How Modified Adjusted Gross Income (MAGI) Works for NIIT Purposes

Modified adjusted gross income sounds complicated, but for NIIT purposes, it's usually the same as your standard adjusted gross income (AGI) with a specific addition. Your AGI is calculated by taking your total income from all sources and subtracting certain deductions like educator expenses, student loan interest, or contributions to traditional IRAs. For the NIIT, the IRS takes your AGI and adds back any foreign earned income exclusion you claimed. For most people, MAGI for NIIT purposes is simply their AGI.

The MAGI threshold is what triggers the NIIT calculation. Once your MAGI exceeds the threshold for your filing status, you calculate the NIIT on whichever is smaller: your net investment income or the excess MAGI over the threshold. For example, if you're a single filer with MAGI of $220,000 and net investment income of $15,000, the NIIT would apply to $15,000 (the smaller amount). Your NIIT would be $15,000 × 3.8% = $570.

Understanding your MAGI is essential because it determines not only whether the NIIT applies but also your tax brackets, eligibility for certain deductions, and other tax calculations. Some taxpayers are surprised to discover their MAGI is higher than they expected because certain income sources are counted differently for MAGI than for regular income tax purposes. For instance, if you exclude foreign earned income, you must add that back for NIIT calculations, which could push you over the MAGI threshold.

The MAGI thresholds are fixed amounts, not percentages or adjustable amounts. This means that over time, as inflation increases incomes, more people may find themselves subject to the NIIT even if their real income hasn't changed substantially. Someone earning $250,000 in 2024 might find that amount means more people in their situation are subject to the tax in future years, assuming incomes continue to rise with inflation.

Practical takeaway: Calculate your MAGI by starting with your AGI and adding back any foreign earned income exclusion. Compare this to the threshold for your filing status to determine whether the NIIT will apply to your situation.

Calculating Your Net Investment Income Tax Liability

The calculation of NIIT involves several steps. First, you must determine your net investment income for the year. You do this by taking all your investment income (capital gains, dividends, interest, passive rental income, and royalties) and subtracting any investment expenses. Common investment expenses include investment advisory fees, fees for managing a brokerage account, and costs of investment education materials. However, state and local taxes and investment interest expenses cannot be subtracted for NIIT purposes, though they may be deductible elsewhere on your return.

Second, calculate your MAGI as described above. Third, determine the excess MAGI over the threshold for your filing status. If your MAGI is $220,000 and you're single (threshold $200,000), your excess MAGI is $20,000. Fourth, compare your net investment income to your excess MAGI and use the smaller number. Fifth, multiply that smaller number by 3.8% to get your NIIT liability.

Let's work through a concrete example. Suppose you are a single filer with the following:

  • W-2 wages: $180,000
  • Long-term capital gains: $35,000
  • Dividend income: $8,000
  • Interest income: $2,000
  • Investment management fees: $1,500
  • Standard deduction taken: $14,600

Your AGI would be $180,000 + $35,000 + $8,000 + $2,000 - $14,600 = $210,400. Your net investment income is $35,000 + $8,000 + $2,000 - $1,500 = $43,500. Your excess MAGI is $210,400 - $200,000 = $10,400. Since $10,400 is smaller than $43,500, you would calculate NIIT on $10,400: $10,400 × 3.8% = $395.20.

The calculation becomes more complex if you have capital losses, as you must net capital gains against capital losses to determine net capital gains.

🥝

More guides on the way

Browse our full collection of free guides on topics that matter.

Browse All Guides →