Investment Tax Rules Every Investor Should Know

By Anna Davies · February 16, 2024 · 7 minute read

We’re here to help! First and foremost, SoFi Learn strives to be a beneficial resource to you as you navigate your financial journey. Read more We develop content that covers a variety of financial topics. Sometimes, that content may include information about products, features, or services that SoFi does not provide. We aim to break down complicated concepts, loop you in on the latest trends, and keep you up-to-date on the stuff you can use to help get your money right. Read less

Investment Tax Rules Every Investor Should Know

Investing can feel like a steep learning curve. In addition to having a clear grasp of types of investment vehicles available and the role investments play in overall financial strategy, it’s a good idea to understand how taxes may affect your investments. Knowing tax implications of various investment vehicles and investment decisions may help an investor tailor their strategy and end up with fewer headaches at tax time.

What Is Investment Income?

Tax requirements for investments can be complicated, and it may be helpful for investors to work with a professional to see how taxes might impact a return on their investment. Doing so might also help ensure that investors aren’t overlooking anything important when it comes to their investments and taxes.

That said, it’s beneficial to enter into any discussion with some solid background information on when and how investments are taxed. Typically, investments are taxed at one or more of these three times:

•   When you sell an asset for a profit. This profit is called capital gains—the difference between what you bought an investment for and what you sold it for. Capital gains taxes are typically only triggered when you sell an asset; otherwise, any gain is an “unrealized gain” and is not taxed.

•   When you receive money from your investments. This may be in the form of dividends or interest.

•   When you have investment income that includes such things as royalties, income from rental properties, certain annuities, or from an estate or trust. This may incur a tax called the Net Investment Income Tax (NIIT).

In the following sections, we delve deeper into each of these situations that can lead to taxes on investments.

💡 Quick Tip: Investment fees are assessed in different ways, including trading costs, account management fees, and possibly broker commissions. When you set up an investment account, be sure to get the exact breakdown of your “all-in costs” so you know what you’re paying.

Get up to $1,000 in stock when you fund a new Active Invest account.*

Access stock trading, options, auto investing, IRAs, and more. Get started in just a few minutes.


*Customer must fund their Active Invest account with at least $25 within 30 days of opening the account. Probability of customer receiving $1,000 is 0.028%. See full terms and conditions.

Tax Rules for Different Investment Income Types

Capital Gains Taxes on Assets Sold

Capital gains are the profits an investor makes from the purchase price to the sale price of an asset. Capital gains taxes are triggered when an asset is sold (or in the case of qualified dividends, which is explained further in the next section). Any growth or loss before a sale is called an unrealized gain or loss, and is not taxed.

The opposite of a capital gain is a capital loss. This occurs when an investor sells an asset at a lower price than purchased. Why would this happen? That depends on the investor. Sometimes, an investor needs to sell an asset at a suboptimal time because they need the cash, for instance.

At other times, an investor may sell “losing” assets at the same time they sell assets that have gained as a way to minimize their overall tax bill, by using a strategy called tax-loss harvesting. This strategy allows investors to “balance” any gains by selling profits at a loss, which, according to IRS rules, may be carried over through subsequent tax years.

There are two types of capital gains, depending on how long you have held an asset:

•  Short-term capital gains. This is a tax on assets held less than a year, taxed at the investor’s ordinary income tax rate.
•  Long-term capital gains. This is a tax on assets held longer than a year, taxed at the capital-gains tax rate. This rate is lower than ordinary income tax. For the 2023 tax year, the long-term capital gains tax is $0 for individuals married and filing jointly with taxable income less than $89,250, and no more than 15% for those with taxable income up to $553,850. The long-term capital gains tax rate is 20% for those whose taxable income is more than that.

For the 2024 tax year, individuals may qualify for a 0% tax rate on long-term capital gains if their taxable income is $94,050 or less for those married and filing jointly, and no more than 15% if their taxable income is up to $583,750. Beyond that, the tax rate is 20%.

Dividend And Interest Taxes

Dividends are distributions that a corporation, S-corp, trust or other entity taxable as a corporation may pay to investors. Not all companies pay dividends, but those that do typically pay investors in cash, out of the corporation’s profits or earnings. In some cases, dividends are paid in stock or other assets.

Dividends that are part of tax-advantaged investment vehicles are not taxed. Generally, taxpayers will receive a form 1099-DIV from a corporation that paid dividends if they receive more than $10 in dividends over a tax year. All other dividends are either ordinary or qualified:

•  Ordinary dividends are taxed at the investor’s income tax rate.
•  Qualified dividends are taxed at the lower capital-gains rate.

In order for a dividend to be considered “qualified” and taxed at the capital gains rate, an investor must have held the stock for more than 60 days in the 121-day period that begins 60 days before the ex-dividend date. (Additionally, said dividends must be paid by a U.S. corporation or qualified foreign corporation, and must be an ordinary dividend, as opposed to capital gains distributions or dividends from tax-exempt organizations.)

Both ordinary dividends and interest income on investments are taxed at the investors regular income rate. Interest may come from brokerage accounts, or assets such as mutual funds and bonds. There are exceptions to interest taxes based on type of asset. For example, municipal bonds may be exempt from taxes on interest if they come from the state in which you reside.

Total Investment Income and Net Investment Income Tax (NIIT)

Net investment income tax (NIIT) is a flat 3.8% surtax levied on investment income for taxpayers above a certain income threshold. The NIIT is also called the “Medicare tax” and applies to all investment income including, but not limited to: interest, dividends, capital gains, rental and royalty income, non-qualified annuities, and income from businesses involved in trading of financial instruments or commodities.

NIIT applies to individuals with a modified adjusted gross income (MAGI) over $200,000 for single filers and $250,000 for married couples filing jointly. For taxpayers over the threshold, NIIT is applied to the lesser of the amount the taxpayer’s MAGI exceeds the threshold or their total net investment income.

For example, consider a couple filing jointly who makes $200,000 in wages and has a NIIT of $60,000 across all investments in a single tax year. This brings their MAGI to $260,000—$10,000 over the AGI threshold. This would mean the taxpayer would owe tax on $10,000. To calculate the exact amount of tax, the couple would take 3.8% of $10,000, or $380.

Cases of Investment Tax Exemption

Certain types of investments may be exempt from tax implications if the money is used for certain purposes. These investment vehicles are called “tax-sheltered” vehicles and apply to certain types of investments that are earmarked for certain uses, such as retirement or education.

There are two types of tax-sheltered accounts:

•  Tax-deferred accounts. These are accounts in which money is contributed pre-tax and grows tax-free, but taxes are taken out when money is withdrawn. For example, a 401(k) retirement account grows tax-free until you withdraw money, at which point it is taxed.
•  Tax-exempt accounts. These are accounts—such as a Roth 401(k) or Roth IRA, or a 529 plan—in which money can be withdrawn tax-free if the funds are taken out according to qualifications. For example, money in a Roth account is not taxed upon withdrawal in retirement.

Beyond investing in tax-sheltered accounts, investors may also choose to research or speak with a professional about tax-efficient investing strategies. These are ways to calibrate a portfolio that might help minimize taxes, build wealth, and reach key portfolio goals—such as ample savings for retirement.

The Takeaway

Dividends, interest, and gains can add up, which is why it’s important for a taxpayer to be mindful of investment taxes not only at tax time, but throughout the year. Understanding the implications of sales and keeping capital gains taxes in mind when planning sales can help investors make tax-smart decisions.

Because there are so many different rules regarding taxes, some investors find it helpful to work with a tax professional. Tax law also varies by state, and a tax professional should be able to help an investor with those taxes as well.

Ready to invest in your goals? It’s easy to get started when you open an investment account with SoFi Invest. You can invest in stocks, exchange-traded funds (ETFs), mutual funds, alternative funds, and more. SoFi doesn’t charge commissions, but other fees apply (full fee disclosure here).

Invest with as little as $5 with a SoFi Active Investing account.


Third-Party Brand Mentions: No brands, products, or companies mentioned are affiliated with SoFi, nor do they endorse or sponsor this article. Third-party trademarks referenced herein are property of their respective owners.

Tax Information: This article provides general background information only and is not intended to serve as legal or tax advice or as a substitute for legal counsel. You should consult your own attorney and/or tax advisor if you have a question requiring legal or tax advice.

Financial Tips & Strategies: The tips provided on this website are of a general nature and do not take into account your specific objectives, financial situation, and needs. You should always consider their appropriateness given your own circumstances.

SoFi Invest®
INVESTMENTS ARE NOT FDIC INSURED • ARE NOT BANK GUARANTEED • MAY LOSE VALUE
SoFi Invest encompasses two distinct companies, with various products and services offered to investors as described below: Individual customer accounts may be subject to the terms applicable to one or more of these platforms.
1) Automated Investing and advisory services are provided by SoFi Wealth LLC, an SEC-registered investment adviser (“SoFi Wealth“). Brokerage services are provided to SoFi Wealth LLC by SoFi Securities LLC.
2) Active Investing and brokerage services are provided by SoFi Securities LLC, Member FINRA (www.finra.org)/SIPC(www.sipc.org). Clearing and custody of all securities are provided by APEX Clearing Corporation.
For additional disclosures related to the SoFi Invest platforms described above please visit SoFi.com/legal.
Neither the Investment Advisor Representatives of SoFi Wealth, nor the Registered Representatives of SoFi Securities are compensated for the sale of any product or service sold through any SoFi Invest platform.

Investment Risk: Diversification can help reduce some investment risk. It cannot guarantee profit, or fully protect in a down market.

Exchange Traded Funds (ETFs): Investors should carefully consider the information contained in the prospectus, which contains the Fund’s investment objectives, risks, charges, expenses, and other relevant information. You may obtain a prospectus from the Fund company’s website or by email customer service at [email protected]. Please read the prospectus carefully prior to investing.
Shares of ETFs must be bought and sold at market price, which can vary significantly from the Fund’s net asset value (NAV). Investment returns are subject to market volatility and shares may be worth more or less their original value when redeemed. The diversification of an ETF will not protect against loss. An ETF may not achieve its stated investment objective. Rebalancing and other activities within the fund may be subject to tax consequences.

SOIN0224023

All your finances.
All in one app.

SoFi QR code, Download now, scan this with your phone’s camera

All your finances.
All in one app.

App Store rating

SoFi iOS App, Download on the App Store
SoFi Android App, Get it on Google Play

TLS 1.2 Encrypted
Equal Housing Lender