When people think about taxes on a Bitcoin sale, they usually think about capital gains rates. But higher-income households can run into a second, separate layer: the Net Investment Income Tax, often called the NIIT. It is a flat 3.8% tax, and a large Bitcoin gain is one of the more common ways people trip into it for the first time.

What the NIIT is

The Net Investment Income Tax was added to the tax code in 2013. It applies on top of your regular income tax, so it is not a replacement for capital gains tax. If it applies to you, you calculate it on Form 8960 and report it with your Form 1040.

Because the IRS treats Bitcoin as property (see Bitcoin Is Property for Tax Purposes), gains from selling, spending, or trading it are generally capital gains. Capital gains are a core type of investment income, which is why Bitcoin gains can count toward the NIIT.

Who it reaches

The NIIT only kicks in once your modified adjusted gross income (MAGI) passes a threshold based on filing status:

  • Single or head of household: $200,000
  • Married filing jointly: $250,000
  • Married filing separately: $125,000

These thresholds are set in the law and are not adjusted for inflation, so more people cross them over time. If your income is below your threshold, the NIIT does not apply, no matter how much of that income came from investments.

How the 3.8% is calculated

The tax is 3.8% of whichever is smaller: your net investment income, or the amount your MAGI exceeds the threshold. A simple example helps.

Say a single filer earns $170,000 in wages and sells Bitcoin for a $60,000 long-term gain. Their MAGI is $230,000, which is $30,000 over the $200,000 threshold. Their net investment income is $60,000. The smaller number is $30,000, so the NIIT is 3.8% of $30,000, or $1,140. That is in addition to the regular capital gains tax on the $60,000.

Notice that the wages themselves are not taxed by the NIIT, but they still matter, because they push total income toward the threshold.

What counts as investment income

Net investment income generally includes:

  • Capital gains, including gains on Bitcoin and other digital assets
  • Interest and dividends
  • Rental and royalty income, in many cases
  • Income from businesses in which you are a passive investor

It generally does not include wages or income from a business you actively run that is already subject to self-employment tax. So if you mine Bitcoin as a genuine business and pay self-employment tax on that income (see Is Bitcoin Mining Income Taxable?), the mining income itself usually is not NIIT income. A later sale of the mined coins at a gain can be a different story. Whether other crypto income, such as staking rewards, counts depends on the facts, so it is worth confirming with a professional.

Investment losses can help. Capital losses that offset your gains reduce net investment income, too. (See Bitcoin Capital Losses.)

Bitcoin in retirement accounts

Gains inside an IRA or 401(k) are not net investment income while they stay in the account, and retirement distributions are not NII either. However, a taxable distribution can raise your MAGI, which may push other investment income over the line. Our post on Bitcoin in an IRA covers the bigger picture.

Planning ideas to discuss with your advisor

  • Timing: If you are near the threshold, spreading large sales across two tax years may keep more income below it.
  • Lot selection: Choosing which coins you sell can change the size of the gain. (See Specific Identification.)
  • Harvesting losses: Realized losses elsewhere in your portfolio can reduce net investment income.
  • Charitable gifts: Donating appreciated Bitcoin instead of selling it can avoid recognizing the gain at all. (See Donating Bitcoin to Charity.)
  • Estimated payments: The NIIT can add to what you owe, so factor it into estimated tax payments.

Key takeaways

The NIIT is a 3.8% tax on investment income for households above fixed income thresholds, and Bitcoin gains generally count. It is calculated on the smaller of your net investment income or your income over the threshold, so even a household with mostly wage income can owe it after a big sale. Good records, careful timing, and a conversation with a tax professional before a large sale can keep it from being a surprise. With year-end approaching, our year-end checklist is a good next read.

This article is general information only and is not tax, legal, or investment advice. Tax treatment depends on your specific facts and can change. Consult a qualified CPA or tax advisor about your situation before acting.