Navigating the Net Investment Income Tax (NIIT) and Year-End Capital Gains Harvesting
As the fourth quarter winds down, investors and business owners often review their taxable investment portfolios to trim losers, lock in gains, or rebalance allocations. However, high-earning taxpayers frequently overlook a quiet secondary tax that can take a 3.8% bite out of investment returns: the Net Investment Income Tax (NIIT).
Combining strategic tax-loss harvesting with an understanding of NIIT thresholds is one of the most effective ways to protect investment returns before December 31.
What Is the Net Investment Income Tax?
Enacted under Section 1411 of the Internal Revenue Code, the NIIT imposes a 3.8% surtax on investment income for individuals, estates, and trusts whose income clears specific statutory thresholds.
Unlike ordinary income tax brackets or capital gains thresholds, NIIT thresholds are not indexed for inflation. They remain fixed at:
Married Filing Jointly: $250,000
Single / Head of Household: $200,000
Married Filing Separately: $125,000
How the 3.8% Surtax Is Calculated
The surtax applies to the lesser of:
Your net investment income for the tax year (interest, dividends, capital gains, rental income, non-qualified annuities, and passive business activities); or
The amount by which your Modified Adjusted Gross Income (MAGI) exceeds the applicable statutory threshold above.
Example Scenario:
A married couple filing jointly reports a MAGI of $290,000, which includes $60,000 of net investment income (capital gains and dividends). Their excess MAGI over the $250,000 threshold is $40,000.
Because $40,000 is less than their total investment income ($60,000), the 3.8% NIIT applies only to the $40,000 excess. This results in a $1,520 surtax on top of their standard capital gains and ordinary income taxes.
Capital Gains Harvesting: The Offsetting Engine
Tax-loss harvesting involves intentionally selling securities (such as equities, ETFs, or mutual funds) at an unrealized loss to offset realized capital gains recognized elsewhere in your portfolio during the year.
Because net capital gains flow directly into both MAGI and Net Investment Income, realizing losses generates two primary benefits:
Offsets Realized Gains Dollar-for-Dollar: Short-term losses offset short-term gains first; long-term losses offset long-term gains first. Any net excess loss can offset up to $3,000 of ordinary income per year ($1,500 if Married Filing Separately), with unused losses carrying forward indefinitely.
Lowers Exposure to the 3.8% Surtax: Reducing your net capital gains directly lowers your total net investment income, while simultaneously pulling your overall MAGI closer to or below the statutory NIIT threshold.
Three Crucial Rules to Avoid Year-End Pitfalls
Executing a year-end harvesting strategy requires careful adherence to IRS compliance rules:
1. The 30-Day Wash-Sale Rule (IRC § 1091)
If you sell a security at a loss and acquire a "substantially identical" security within 30 days before or 30 days after the sale date (a 61-day window), the IRS disallows the loss deduction for the current tax year. The disallowed loss is added to the cost basis of the newly acquired shares.
Strategy: To maintain market exposure in that sector without violating the rule, replace an individual stock with a broad sector ETF, or switch to an index fund tracking an alternate benchmark.
2. Settlement Dates vs. Trade Dates
For publicly traded securities, the trade date determines the tax year of the transaction. However, waiting until the final trading sessions of December leaves no room to adjust for mutual fund year-end capital gain distributions, execute rebalancing trades, or correct processing errors.
3. Passive vs. Active Business Income
Net investment income includes earnings from passive business activities (such as income from an S-Corp or partnership in which you do not materially participate). While capital losses harvested from public securities offset capital gains, they do not directly offset passive ordinary business income.
Year-End Action Checklist for Investors
[ ] Review Year-to-Date Realized Gains: Pull realized gain/loss reports across all taxable brokerage accounts.
[ ] Estimate Baseline MAGI: Project total income including W-2 wages, business pass-through income, interest, and retirement distributions.
[ ] Identify Unrealized Losses: Flag underperforming positions for potential harvesting, along with suitable replacement assets.
[ ] Verify the 30-Day Window: Confirm no recent purchases occurred within 30 days to avoid wash-sale penalties.
[ ] Execute Before Year-End: Complete trades with ample time before December 31 to lock in basis adjustments for the current tax year.




Comments