
Definition
Net Investment Income Tax (NIIT)
What is Net Investment Income Tax (NIIT)?
The Net Investment Income Tax (NIIT) is an additional 3.8% federal tax that can apply to certain investment income of individuals, estates, and trusts. Congress imposed the tax under IRC §1411.
NIIT is separate from the regular income tax and from the Additional Medicare Tax. Individuals calculate the tax on Form 8960, Net Investment Income Tax.
Who Pays Net Investment Income Tax (NIIT)?
An individual can owe NIIT when both net investment income exists and modified adjusted gross income exceeds the threshold for the taxpayer’s filing status.
For individuals, the statutory NIIT thresholds are:
Filing status | MAGI threshold |
Married filing jointly | $250,000 |
Qualifying surviving spouse | $250,000 |
Single | $200,000 |
Head of household | $200,000 |
Married filing separately | $125,000 |
The tax applies only after the applicable threshold is exceeded, and the final liability still depends on the amount of net investment income. These individual thresholds are established by IRC §1411.
How Does NIIT Apply to Estates and Trusts?
Domestic estates and certain trusts can also owe NIIT on undistributed net investment income.
For an estate or trust, NIIT is based on the lesser of:
Undistributed net investment income; or
AGI exceeding the amount at which the highest estate-and-trust income-tax bracket begins.
The amount changes with the estate-and-trust tax brackets, unlike the statutory individual thresholds.
Certain entities receive different treatment.
For example, grantor trusts generally pass the relevant items to the grantor rather than paying NIIT at the trust level, while specific tax-exempt and charitable trusts are excluded under the Form 8960 instructions.
What Income is Included or Excluded From NIIT?
Net investment income includes specified investment income, passive business income, and taxable gains, reduced by deductions that are properly allocable to those amounts.
The treatment depends on the character and source of the income rather than simply whether the taxpayer considers it an “investment.”
Income Included in Net Investment Income
Common items that can enter NII include:
Income type | General NIIT treatment |
Taxable interest | Generally included |
Dividends | Generally included |
Certain nonqualified annuity income | Generally included |
Royalties | Generally included unless an applicable trade-or-business exception applies |
Rental income | Can be included depending on the activity |
Recognized capital gains | Generally included when attributable to investment property or other property within §1411 |
Passive trade or business income | Generally included |
Financial instrument or commodity trading business income | Generally included under the special §1411 rules |
IRS Topic No. 559, Net Investment Income Tax identifies interest, dividends, certain annuities, rents, royalties, passive business income, trading income, and specified net gains as common NII categories.
The phrase “net investment income” is important. NII is not simply imposed on gross dividends, rents, and gains added together. Applicable deductions and adjustments are considered before the net amount is determined.
Income Excluded From Net Investment Income
Items that generally do not constitute NII include:
Wages and salaries
Unemployment compensation
Social Security benefits
Tax-exempt state or municipal bond interest
Alimony
Income from a nonpassive trade or business that satisfies the relevant §1411 requirements
Income taken into account in determining self-employment income subject to Medicare tax
Distributions from specified qualified retirement arrangements, including many plans covered by §§401(a), 403(a), 403(b), 408, 408A, and 457(b), are excluded from net investment income per IRC §1411(c)(5) and IRS Publication 590-B.
The IRS Questions and Answers on the Net Investment Income Tax distinguish these items from income included in NII.
An amount excluded from NII can still affect another part of the tax return.
For example, income may affect AGI or MAGI even though that particular item is not itself subject to NIIT.
What Deductions Reduce Net Investment Income?
Only deductions properly allocable to investment income and otherwise allowable under the applicable tax rules can reduce NII.
The Instructions for Form 8960 provide for items such as:
Deductible investment interest expense
Certain state, local, and foreign taxes allocable to NII
Allowable expenses associated with rental or royalty income
Specified losses and other deductions permitted under the §1411 rules
Investment interest can require Form 4952, Investment Interest Expense Deduction. The deduction is then coordinated with Form 8960 when it is properly allocable to NII.
Not every investment-related expense qualifies. Current law disallows miscellaneous itemized deductions subject to the 2% floor, including typical investment-management and custodial fees for individuals. Because those amounts are not allowable in computing taxable income, they generally cannot be used as Form 8960 deductions either. Investment advisory fees paid from an IRA are not deductible anywhere and thus cannot reduce NII.
Expenses already reflected in net rental, royalty, or business income should not be deducted a second time on Form 8960.
How is Net Investment Income Tax Calculated?
NIIT equals 3.8% of the lesser of net investment income or the amount by which NIIT MAGI exceeds the taxpayer’s applicable threshold.
The calculation is:
NIIT = 3.8% × lesser of:Net investment income, or
MAGI − NIIT threshold
This lesser-of structure prevents NIIT from automatically applying to all investment income merely because MAGI exceeds the threshold.
What Is MAGI for NIIT?
NIIT uses its own definition of modified adjusted gross income. It should not be calculated using the add-backs used for unrelated MAGI provisions.
For most U.S. residents without foreign exclusions, NIIT MAGI equals the AGI reported on Form 1040, U.S. Individual Income Tax Return. Taxpayers with foreign earned income exclusions (Form 2555, Foreign Earned Income) or certain CFC/PFIC items must add those amounts back per the Form 8960 worksheet.
Adjustments can be required when the taxpayer has items such as:
Foreign earned income excluded through Form 2555
Related deductions associated with excluded foreign earned income
Certain controlled foreign corporation or passive foreign investment company adjustments
Certain Schedule K-1 trust adjustments
The IRS’s Modified Adjusted Gross Income (MAGI) guidance for NIIT and the Form 8960 MAGI worksheet provide the provision-specific computation.
This is why MAGI for a Roth IRA, education credit, Premium Tax Credit, or other tax provision should not be substituted for NIIT MAGI.
NIIT Calculation Example
Assume a married couple filing jointly has:
MAGI of $300,000
Net investment income of $35,000
NIIT threshold of $250,000
First calculate MAGI above the threshold:
$300,000 − $250,000 = $50,000Then compare:
Net investment income: $35,000
Excess MAGI: $50,000
The lesser amount is $35,000.
Therefore:
$35,000 × 3.8% = $1,330 NIITIf the same taxpayers instead had $80,000 of NII, the tax would be calculated using the $50,000 excess MAGI because that would be the lesser amount.
How Does NIIT Apply to Property Sales and Capital Gains?
NIIT generally follows the amount of gain recognized for federal income-tax purposes, but special exclusion and nonrecognition rules can remove gain from the NIIT calculation.
This makes the tax treatment of the underlying sale critical before Form 8960 is completed.
Does NIIT Apply to the Sale of a Primary Residence?
Gain excluded from gross income under the principal-residence exclusion is also excluded from NII.
IRC §121 can exclude qualifying gain from the sale of a principal residence when the statutory ownership, use, and other requirements are satisfied.
If part of the gain remains taxable after applying §121, the taxable portion can potentially enter the NIIT calculation when the other §1411 requirements are met. The IRS specifically confirms that principal-residence gain excluded for regular income-tax purposes is not included in NII.
A second home or other property that does not qualify for the §121 exclusion does not receive that principal-residence exclusion merely because the taxpayer used it personally.
How Does a Section 1031 Exchange Affect NIIT?
Gain that is not recognized in a qualifying §1031 exchange is generally not included in NII in the exchange year.
IRC §1031 permits qualifying gain deferral for exchanges of eligible real property held for investment or productive use in a trade or business.
The §1411 regulations provide an example in which no gain recognized under §1031 enters NII in the exchange year. When the replacement property is later sold in a taxable transaction, recognized gain can then enter NII based on the applicable facts.
For identification deadlines, qualified intermediaries, boot, basis, and Form 8824 reporting, see CPA Pilot’s 1031 Exchange glossary page.
How Does NIIT Apply to Passive Activities and Rental Real Estate?
Passive activity classification can determine whether business or rental income enters net investment income.
For NIIT purposes, a passive activity generally follows the passive-activity framework under IRC §469. A trade or business in which the taxpayer does not materially participate can therefore generate NII.
When is Rental or Business Income Subject to NIIT?
For business income to fall outside NIIT under the nonpassive-business exception, two concepts generally matter:
The activity must be nonpassive under the §469 rules; and
It must constitute a trade or business under IRC §162.
An activity can therefore be nonpassive for one purpose but still enter NII if it does not rise to the level of a §162 trade or business.
The Form 8960 instructions specifically make this distinction and direct taxpayers to Publication 925, Passive Activity and At-Risk Rules and Form 8582, Passive Activity Loss Limitations for the underlying passive-activity analysis.
For tax professionals working with rental portfolios, CPA Pilot’s AI for Real Estate Tax Planning guide covers the broader REPS, rental-classification, material-participation, and real-estate workflow.
Does Real Estate Professional Status Exempt Rental Income From NIIT?
No. Qualifying as a real estate professional does not automatically remove rental income or gain from NII.
The taxpayer must also address material participation and whether the rental activity is a trade or business for §1411 purposes.
The Form 8960 instructions provide an NIIT safe harbor for a taxpayer who qualifies as a real estate professional under §469(c)(7) and logs at least 500 hours of participation in the rental activity in the current year or in any 5 of the preceding 10 tax years. Meeting the safe harbor can treat qualifying rental income and related disposition gain as derived in the ordinary course of a trade or business for NIIT purposes.
Failure to satisfy that safe harbor does not automatically mean NIIT applies. A taxpayer may still establish exclusion from NII based on the underlying facts and applicable rules.
How Does NIIT Apply to Partnerships and S Corporations?
NIIT treatment of partnership and S corporation income depends on the underlying activity and the owner’s relationship to that activity.
Passive income reported through a partnership or S corporation can enter NII. By contrast, operating income from a qualifying nonpassive trade or business may fall outside NII.
The trade-or-business determination is generally made at the pass-through entity level, while passive or nonpassive status can depend on the owner’s participation.
A sale of a partnership interest or S corporation stock introduces separate rules.
The Instructions for Form 8960 generally begin with the gain or loss recognized for regular income-tax purposes. If the seller materially participated in an underlying trade or business that is not a financial-instrument or commodity-trading business, a special Form 8960 adjustment may be required to determine the portion properly included in NII. Required supporting statements can also apply.
This distinction is especially important when a CPA reviews a K-1 owner whose operating income has historically been nonpassive but who sells the ownership interest during the year.
How is NIIT Reported on Form 8960?
Form 8960 calculates the amount of NIIT and connects the investment-income calculation to the taxpayer’s federal return.
Form 8960 addresses:
Investment income potentially included in NII
Trade, rental, pass-through, and property-disposition adjustments
Deductions allocable to investment income
NIIT-specific MAGI
Applicable threshold
Final 3.8% liability
Individuals attach the form to Form 1040, U.S. Individual Income Tax Return, or the applicable individual return. Estates and trusts coordinate the tax with Form 1041, U.S. Income Tax Return for Estates and Trusts.
Because form line numbers can change between tax years, CPA workpapers should trace amounts by the form and tax concept rather than relying permanently on a historical line number.
NIIT vs. Additional Medicare Tax: What Is the Difference?
NIIT and the Additional Medicare Tax are separate federal taxes imposed on different types of income.
Tax | Rate | Primary income subject to the tax |
Net Investment Income Tax | 3.8% | Net investment income when the applicable MAGI test is met |
Additional Medicare Tax | 0.9% | Medicare wages, RRTA compensation, and self-employment income above applicable thresholds |
Taxpayers calculate the Additional Medicare Tax on Form 8959, Additional Medicare Tax, while NIIT is calculated on Form 8960. Additional Medicare Tax thresholds are $200,000 (single), $250,000 (MFJ), $125,000 (MFS) - unchanged since 2013 and not indexed for inflation.
For returns where these taxes interact with AMT, SALT, QBI, and other high-income provisions, see CPA Pilot’s High-Income 1040 Review Checklist.
Why Should CPAs Review NIIT?
CPAs review NIIT because Form 8960 depends on multiple classifications that may not be obvious from the face of Form 1040 alone.
A professional NIIT review can include:
Confirming the correct filing-status threshold
Reconciling NIIT MAGI with the return
Identifying taxable interest, dividends, annuity income, and recognized gains
Distinguishing passive and nonpassive business income
Reviewing rental real-estate treatment
Checking properly allocable Form 8960 deductions
Reviewing partnership and S corporation dispositions
Confirming excluded §121 home-sale gain
Checking §1031 deferred gain
Comparing NIIT with Additional Medicare Tax exposure
Reviewing estate or trust thresholds when applicable
The review path is:
MAGI → investment-income classification → passive/business treatment → allocable deductions → Form 8960 → NIITHow Does NIIT Affect Estimated Tax Payments?
NIIT increases total federal tax liability, so taxpayers who expect to owe the tax may need additional withholding or estimated-tax payments.
The IRS specifically warns that insufficient withholding or estimated payments attributable to NIIT can result in an estimated-tax penalty. Taxpayers can use Form 1040-ES, Estimated Tax for Individuals and Publication 505, Tax Withholding and Estimated Tax when calculating required payments.
Detailed 90%, 100%, 110%, annualized-income, and underpayment rules should be handled separately from the NIIT calculation itself.
For forward-looking scenarios, CPA Pilot’s AI Tax Projection tool helps CPAs can model tax outcomes before filing.
For broader year-end decisions involving investment gains and income timing, see CPA Pilot’s Year-End Tax Planning Strategies.
Net Investment Income Tax FAQs
Does NIIT Apply to a Sale of a Second Home?
Taxable gain from a second home can be included in NII when the gain is recognized, and no applicable trade-or-business exception removes it. The principal-residence exclusion under §121 generally does not protect a property that fails the qualifying-home requirements.
How Does NIIT Apply to an Installment Sale?
NIIT can apply as installment-sale gain is recognized. Form 8960 rules coordinate deferred recognition with the NII calculation, and special adjustments may apply when the sale involves a partnership interest or S corporation stock.
Can Capital Loss Carryovers Reduce Net Investment Income?
Capital losses allowed in computing taxable income can affect the net gain included in NII. Form 8960 contains special rules for capital-loss carryovers and NIIT-specific adjustments, so the regular Schedule D amount should be reconciled to Form 8960.
Does NIIT Apply to Investment Income Reported for a Child on Form 8814?
It can. Investment income included on a parent’s return through Form 8814, Parents’ Election To Report Child’s Interest and Dividends can enter the parent’s MAGI and NII calculation, subject to the specific Form 8814 and Form 8960 rules.
Are Nonresident Aliens Subject to NIIT?
Nonresident aliens are generally exempt from NIIT unless they elect to be treated as a resident alien for tax purposes (e.g., under the substantial presence test or a treaty election). Dual-status aliens may have partial-year exposure, and special rules can apply to U.S. citizens or residents married to nonresident aliens, including elections affecting joint-return treatment.