Net Investment Income Tax: Do You Have to Pay It?

Alana Benson is an investing writer who joined NerdWallet in 2019. She covers a wide variety of investing topics including stocks, socially responsible investing, cryptocurrency, mutual funds, HSAs and financial advice. She is also a frequent contributor to NerdWallet's "Smart Money" podcast. Alana has appeared on FOX Houston and the "PennyWise" podcast and has been quoted in MarketWatch and The Sun. Before joining NerdWallet, she wrote two books on identity theft and several young adult nonfiction titles. Her work has been featured in The New York Times, The Washington Post, The Associated Press, MSN, Yahoo Finance and MarketWatch. She is based in Wyoming.

Assistant Assigning Editor

Sabrina Parys
Assistant Assigning Editor | Taxes, Investing

Sabrina Parys is an assistant assigning editor on the taxes and investing team at NerdWallet, where she manages and writes content on personal income taxes. Her previous experience includes five years as a copy editor and associate editor in academic and educational publishing. She is based in Brooklyn, New York.

Fact Checked

Many, or all, of the products featured on this page are from our advertising partners who compensate us when you take certain actions on our website or click to take an action on their website. However, this does not influence our evaluations. Our opinions are our own. Here is a list of our partners and here's how we make money.

Nerdy takeaways

The entire goal of investing is to make additional money. But if you meet that goal, you’ll owe tax on the money you earned. And depending on your income, you may owe net investment income tax, too.

What is the net investment income tax?

The net investment income tax (NIIT) is a 3.8% tax that kicks in if you have investment income and your income exceeds $200,000 for single filers, $250,000 for those married filing jointly or $125,000 for those married filing separately.

Simple tax filing with a $50 flat fee for every scenario

With NerdWallet Taxes powered by Column Tax, registered NerdWallet members pay one fee, regardless of your tax situation. Plus, you'll get free support from tax experts. Sign up for access today.

Register Now

for a NerdWallet account

Hassle-free tax filing* is $50 for all tax situations — no hidden costs or fees.

Maximum refund guaranteed

Get every dollar you deserve* when you file with this tax product, powered by Column Tax. File up to 2x faster than traditional options.* Get your refund, and get on with your life.

*guaranteed by Column Tax

Who has to pay the net investment income tax?

You’ll have to pay the net investment income tax if you earned money on investments and your modified adjusted gross income (MAGI) meets certain thresholds. Those thresholds depend on your filing status.

Net investment income, or the money you made from your investments, can come in several forms, including interest, dividends, capital gains and rental income, among others. Wages, unemployment compensation and Social Security benefits generally do not count as investment income [0]

Internal Revenue Service . Find Out If Net Investment Income Tax Applies To You. Accessed Feb 27, 2024.

Here are the income thresholds for the net investment income tax:

Married filing jointly

Married filing separately

Head of household (with qualifying person)

Qualifying widow(er) with dependent child

What is the NIIT tax rate?

The net investment income tax rate is 3.8%. It is applied to either your net investment income or the amount by which your MAGI exceeds the threshold for your status, whichever is less.

Net investment income tax and capital gains tax

If you’re thinking that your investment income is already taxed — you’re right. The net investment income tax is in addition to capital gains taxes .

How much you pay in capital gains tax depends on how long you held the asset before selling. Long-term capital gains tax is levied on the profits you made if you held the asset for over a year, while short-term capital gains tax is levied on the profits you made if you held the asset for a year or less. If your income is over the threshold for net investment income tax, you’ll pay that, too.

» Ready to crunch the numbers? Check out NerdWallet’s capital gains calculator

What counts as net investment income (NII)?

Net investment income typically includes income generated from assets such as stocks , bonds , mutual funds , index funds and rental income. Some nonqualified annuities may also count [0]

A certain amount from the sale of your principal home — $250,000 if filing as a single person or $500,000 if married filing jointly — isn’t considered net investment income because this amount is typically exempt from taxation. Any profit that exceeds this home sale tax exemption , however, is considered taxable net investment income [0]

Internal Revenue Service . Instructions for Form 8960 (2023). Accessed Feb 27, 2024.

How do you avoid the net investment income tax?

You can avoid the net investment income tax by keeping your MAGI below $200,000 for single filers, $250,000 for those married filing jointly or $125,000 for those married filing separately. But that doesn’t mean you have to make less money.

You can “reduce” your income by strategically putting money into a tax-advantaged investment account, such as a traditional 401(k) . When you add money to your 401(k), it reduces your MAGI, which may lower your income to below the threshold for triggering the net investment income tax.

You can also check out municipal bonds . These tax-free bonds don’t typically earn high returns, but when used strategically, they may help you avoid exposure to the net investment income tax.

If you’re looking to reduce your tax liability through your investments, it may be wise to speak with a financial advisor.

» Need an expert opinion? View our list of the best financial advisors

Net investment income tax examples

Let’s say you are a single filer who made a $100,000 salary and also earned $150,000 by selling stocks. That brings your modified adjusted gross income to $250,000. The NIIT threshold for single filers is $200,000.

Since you exceeded the income threshold and you earned investment income, you would owe the tax.

The 3.8% net investment income tax applies to the lesser of either the amount that your modified adjusted gross income exceeds the $200,000 (or other, depending on your filing status) threshold or your investment income.

In this case, the amount that exceeds the threshold is $50,000 ($250,000 - $200,000), and your investment income is $150,000. That means you would owe the 3.8% net investment income tax on the lesser amount of $50,000, with the tax equaling $1,900.

Simple tax filing with a $50 flat fee for every scenario

With NerdWallet Taxes powered by Column Tax, registered NerdWallet members pay one fee, regardless of your tax situation. Plus, you'll get free support from tax experts. Sign up for access today.

Register Now

for a NerdWallet account

Hassle-free tax filing* is $50 for all tax situations — no hidden costs or fees.

Maximum refund guaranteed

Get every dollar you deserve* when you file with this tax product, powered by Column Tax. File up to 2x faster than traditional options.* Get your refund, and get on with your life.

*guaranteed by Column Tax

Do I need to worry about the net investment income tax?

If you’re concerned about whether or not you have to pay the net investment income tax, it’s fairly easy to figure out based on how much money you make and if you have investment income. If you’re concerned about how to pay the net investment income tax, that's another story.

The good news is that if you’re using tax software to file your taxes, you’ll likely be guided through the process and you won’t have to worry about adding up the tax yourself. If you still have questions, it may be worth consulting a pro, such as a CPA or tax accountant , who can help you with your individual tax situation.

» Ready to file? Check out the best tax software

About the author

You’re following Alana Benson
Visit your My NerdWallet Settings page to see all the writers you're following.

Follow for more nerdy know-how Keep up with your favorite financial topics on NerdWallet.

Alana Benson is an investing writer who covers socially responsible and ESG investing, financial advice and beginner investing topics. Her work has appeared in The New York Times, The Washington Post, MSN, Yahoo Finance, MarketWatch and others. See full bio.

On a similar note.

Finance Smarter Credit Cards Financial Planning Financial News Small Business

Download the app

QR code for downloading the app

Disclaimer: NerdWallet strives to keep its information accurate and up to date. This information may be different than what you see when you visit a financial institution, service provider or specific product's site. All financial products, shopping products and services are presented without warranty. When evaluating offers, please review the financial institution's Terms and Conditions. Pre-qualified offers are not binding. If you find discrepancies with your credit score or information from your credit report, please contact TransUnion® directly.

NerdUp by NerdWallet credit card: NerdWallet is not a bank. Bank services provided by Evolve Bank & Trust, member FDIC. The NerdUp by NerdWallet Credit Card is issued by Evolve Bank & Trust pursuant to a license from MasterCard International Inc.

Impact on your credit may vary, as credit scores are independently determined by credit bureaus based on a number of factors including the financial decisions you make with other financial services organizations.

NerdWallet Compare, Inc. NMLS ID# 1617539

California: California Finance Lender loans arranged pursuant to Department of Financial Protection and Innovation Finance Lenders License #60DBO-74812

Insurance Services offered through NerdWallet Insurance Services, Inc. (CA resident license no.OK92033) Insurance Licenses

NerdWallet™ | 55 Hawthorne St. - 10th Floor, San Francisco, CA 94105