Short answer: if your income is high enough, yes. Crypto you sell, spend or swap at a gain usually counts as net investment income, and once your modified adjusted gross income (MAGI) passes a fixed threshold you owe an extra 3.8% on top of your regular capital gains tax. That turns a 20% long-term rate into 23.8% and a 37% short-term rate into 40.8%. Source: IRS Topic 559, Net investment income tax.
The thresholds
| Filing status | NIIT starts when MAGI is over |
|---|---|
| Single or head of household | $200,000 |
| Married filing jointly or qualifying surviving spouse | $250,000 |
| Married filing separately | $125,000 |
These numbers aren't adjusted for inflation, so more crypto investors cross them every year. For most people, MAGI here is just your adjusted gross income; it's higher only if you exclude foreign earned income (see crypto taxes for US expats).
How the 3.8% is figured
The tax is 3.8% of whichever is smaller:
- your net investment income, or
- the amount your MAGI is over the threshold.
Example: you're single, with $180,000 of wages and a $50,000 long-term gain from selling bitcoin, so MAGI is $230,000. You're $30,000 over the threshold and have $50,000 of investment income, so NIIT is 3.8% of $30,000, which is $1,140. If instead your wages were $100,000, MAGI would be $150,000 and you'd owe no NIIT at all, even on the same crypto gain.
Which crypto income counts
Topic 559 says net investment income includes net gains from selling property (other than property held in an active trade or business), interest, dividends, rents and royalties, and income from a business that's a passive activity or that trades financial instruments or commodities. Wages and income from an active business don't count. Applied to crypto:
- Selling, spending or swapping coins you hold as an investment: the gain counts. See crypto-to-crypto swaps and spending crypto.
- Crypto ETFs: gains on selling spot bitcoin or ether ETF shares count like any other investment gain. See bitcoin ETF taxes.
- Mining or validating as an active business: Topic 559 excludes income from an active business, but that income generally owes self-employment tax instead. See crypto mining taxes.
- Staking and DeFi yield as a passive holder: the IRS hasn't issued crypto-specific NIIT guidance on this. Ask a CPA how your rewards should be treated. See staking rewards.
- Active traders: Topic 559 says income from a business of trading financial instruments or commodities is still net investment income, so trader status doesn't by itself avoid NIIT. See crypto day trading taxes.
- Crypto held in an IRA: gains inside the account aren't on your return as they happen. See crypto IRA taxes.
Reporting it
You figure NIIT on Form 8960 and carry the total to Schedule 2 of Form 1040. Your crypto gains reach Form 8960 through Schedule D, which pulls them from Form 8949. Investment expenses that are allocable to that income can reduce net investment income on Form 8960; the form's instructions list what qualifies.
NIIT isn't withheld, so a big crypto sale can leave you underpaid. The IRS points people to the withholding estimator and estimated tax payments; see estimated tax on crypto gains.
Ways to limit it
- Harvest losses. Capital losses reduce net gains, which can lower both MAGI and net investment income. See tax-loss harvesting.
- Spread large sales across tax years so you stay under the threshold in each year. See the crypto year-end checklist.
- Watch the other AGI tests near $200,000-$250,000: in 2026 the dependent care credit falls to its 20% floor above $206,000 of joint AGI ($103,000 other filers).
- Choose high-basis lots when you sell. See cost basis methods.
- Donate appreciated crypto instead of selling it. See gifting or donating crypto.
The same MAGI that sets NIIT can also raise Medicare premiums two years later; see crypto gains and IRMAA. For the full rate tables, see crypto tax rates for 2026. Above $500,000 of MAGI ($505,000 for 2026), the same gain also shrinks the $40,000 state and local tax deduction cap; see crypto gains and the SALT cap. NIIT is separate from the Alternative Minimum Tax, but a big gain can also burn the AMT exemption, which phases out at 50% above $500,000 of AMTI ($1,000,000 joint) for 2026; see crypto gains and the AMT.
To see your realized gains so far this year, use crypto tax software: CoinLedger (code CRYPTOTAX10 for 10% off) or Koinly . Affiliate links; disclosure. If you're near a threshold or have mining, staking or trading income, a crypto-savvy CPA can sort out what counts.
Also see: the foreign tax credit for crypto (it can't reduce NIIT on the IRS forms, and NIIT MAGI adds back the foreign earned income exclusion), married filing jointly vs separately ($125,000 NIIT threshold on separate returns), crypto gains and ACA premium tax credits, where income above 400% of the poverty line ends the 2026 credit.
Sources
- IRS Topic 559, Net investment income tax
- IRS questions and answers on the net investment income tax
- About Form 8960
FAQ
Do crypto gains count for the net investment income tax?
Generally yes. IRS Topic 559 lists net gains from the disposition of property as net investment income, unless the property is held in an active trade or business. Selling, spending or swapping crypto you hold as an investment produces that kind of gain.
What are the NIIT thresholds?
The tax applies when modified AGI is over $200,000 for single or head of household filers, $250,000 for married filing jointly or a qualifying surviving spouse, and $125,000 for married filing separately. The IRS says these amounts aren't indexed for inflation.
How much NIIT will I pay?
3.8% of the smaller of your net investment income or the amount your MAGI is over the threshold. If you're single with $230,000 of MAGI that includes $50,000 of crypto gains, the tax is 3.8% of $30,000, or $1,140.
Is crypto mining income subject to NIIT?
If mining is an active trade or business for you, IRS Topic 559 says NIIT doesn't apply to income from an active business, but that income is subject to self-employment tax instead. Mining as a hobby or passive activity is a different case worth checking with a CPA.
Where do I report the NIIT?
You compute it on Form 8960 and carry the result to Schedule 2 of Form 1040.