Please ensure Javascript is enabled for purposes of website accessibility

This device is too small

If you're on a Galaxy Fold, consider unfolding your phone or viewing it in full screen to best optimize your experience.

Skip to main content

Investing and Taxes: What Beginners Need to Know

Updated
Brittney Myers
Cole Tretheway
Ashley Maready
Many or all of the products here are from our partners that compensate us. It’s how we make money. But our editorial integrity ensures that our product ratings are not influenced by compensation. Terms may apply to offers listed on this page.

There's a lot for new investors to learn, such as how to choose and open a brokerage account. But one thing often overlooked by beginning investors -- and even some experienced ones -- is how investing and taxes work.

Knowing which investments are taxed (and which are not) is important. How you navigate the intersection of investing and taxes matters, as it can change your profits. Here's a primer on the basics to help you get started.

Capital gains taxes: When you sell a stock for a profit

Here's the first thing you should know about investing and taxes as a new investor: If you own a stock and the price goes up, you don't have to pay any taxes.

In the United States, you only pay taxes on investments that increase in value if you sell them. In other words, the government taxes your profits, not your holdings.

Consider this: Warren Buffett owns more than $100 billion in Berkshire Hathaway stock, and he's never paid a dime in taxes on any of his shares. How? Because he's never sold them.

The profit you make when you sell an asset is called a capital gain. Capital gain happens when you buy a stock or other investment at one price and later sell it at a higher price.

For example, if you buy stock for $2,000 and sell it for $2,500, you have a $500 capital gain. That gain is subject to federal taxes.

Capital gains taxes apply if you profit from the sale of most investment types. These include bonds, mutual funds, ETFs, precious metals, cryptocurrencies, and collectibles. Even real estate sold at a profit can be considered a capital gain, though the rules are a bit more complicated.

The IRS splits capital gains into two main categories: long term and short term.

  • Long-term capital gain: You sell and profit from an investment you've owned for longer than a year.
  • Short-term capital gain: You sell and profit from an investment you've owned for a year or less.

For example, if you bought a stock on Jan. 1, 2020 and sold it on Jan. 2, 2021, you owned it for more than a year. Any resulting profit is taxed as a long-term capital gain. On the other hand, if you bought a stock on Jan. 1, 2020 and sold it on Jan. 1, 2021, you owned it for less than a year, so it's taxed as a short-term gain.

As you'll see in the next couple sections, long- and short-term capital gains are taxed differently.

READ MORE: Best Stock Brokers for Beginners

Long-term capital gains tax rates

Profit from selling an investment you've held for over a year is taxed according to the IRS' long-term capital gains tax rates. Those rates are 0%, 15%, or 20%, depending on your total taxable income.

Here's a quick look at the long-term capital gains tax rates for the 2023 tax year (the tax return you'll file in 2024):

Tax filing status 0% rate 15% rate 20% rate
Single Taxable income of up to $44,625 $44,626 to $492,300 Over $492,300
Married filing jointly Taxable income of up to $89,250 $89,251 to $553,850 Over $553,850
Married filing separately Taxable income of up to $44,625 $44,626 to $276,900 Over $276,900
Head of household Taxable income of up to $59,750 $59,751 to $523,050 Over $523,050
Data source: IRS

In addition to the rates listed in the table, higher-income taxpayers may also pay a 3.8% net investment income tax. This applies to any investment income, not just capital gains. Dividends, interest income, rental income from real estate, and passive business income counts toward your net investment income.

As with most things investing and taxes, the taxable limit depends on your filing status. If you are a married couple filing jointly with adjusted gross income of more than $250,000, your investment income above that threshold is taxed. If you're married and file separately, the threshold drops to $125,000. For single, unmarried, or head-of-household filers, the threshold for the additional tax is an adjusted gross income of $200,000.

Only income above the threshold is subject to the net investment income tax. For example, if you and your spouse earn $200,000 from your jobs and $70,000 from your investments, only the $20,000 that makes your income exceed the threshold may be taxed at 3.8%.

Motley Fool Money's best stock brokers

Uncover the names of the select brokers that landed a spot on Motley Fool Money's shortlist for the best online stock brokers. Our top picks pack in valuable perks, including some that offer $0 commissions and big bonuses.

Short-term capital gains tax rates

Long-term capital gains receive favorable tax treatment, but short-term gains do not. If you earn a profit on an investment that you hold for a year or less, it is taxed using the same tax brackets as ordinary income.

This means short-term gains are typically taxed at a higher rate than long-term gains.

For reference, here are the 2023 U.S. tax brackets that apply to short-term capital gains:

Tax Rate Single Filers Married Filing Jointly Heads of Households
10% $0 to $11,000 $0 to $22,000 $0 to $15,700
12% $11,001 to $44,725 $22,001 to $89,450 $15,701 to $59,850
22% $44,726 to $95,375 $89,451 to $190,750 $59,851 to $95,350
24% $95,376 to $182,100 $190,751 to $364,200 $95,351 to $182,100
32% $182,101 to $231,250 $364,201 to $462,500 $182,101 to $231,250
35% $231,251 to $578,125 $462,501 to $693,750 $231,251 to $578,100
37% Over $578,125 Over $693,750 Over $578,100
Data source: IRS

What if your capital gains are negative?

Sometimes, you may not have any gains when you sell investments. In some cases, you may even find yourself with capital losses.

You can use capital losses to reduce your capital gains. In other words, if you sell a stock at a $5,000 profit but sell another stock at a $1,000 loss, your taxable capital gain for the year is $4,000.

You must use long-term capital losses to offset long-term gains before applying them toward short-term capital gains. Similarly, you must use short-term losses to reduce short-term before long-term gains.

If your capital losses are greater than your capital gains in a given year, you can use them to offset your other taxable income. This deduction is capped at $3,000 per tax year (or $1,500 if married and filing separately). However, if your net capital losses exceed the capped amount, you can carry them over to subsequent years.

Dividend taxes: When you receive shareholder profits

Capital gains and losses aren't the only important part of investing and taxes. Dividends (earnings distributed by companies to shareholders) are also taxed, at a rate depending on the classification.

Just as with capital gains taxes, dividends have two basic classifications for tax purposes: qualified dividends and ordinary dividends. Qualified dividends are taxed at the long-term capital gains rates. Ordinary dividends are taxed like ordinary income.

To be considered a qualified dividend, two basic requirements must be met:

  1. The company that paid the dividend must be a U.S. corporation or a qualified foreign corporation, which generally means the stock is traded on U.S. exchanges.
  2. You must have owned the stock for 60 days during the 121-day period starting 60 days before the stock's ex-dividend date and ending 60 days afterward. (Preferred stock has a stricter ownership requirement of 90 days out of the 181-day window beginning 90 days before the ex-dividend date.)

Some dividends are never considered "qualified." These include dividends from tax-exempt organizations, capital gains distributions, dividends paid on bank deposits (for example, credit unions often pay dividends on deposit accounts), and dividends paid by a company on stock held in an employee stock ownership plan (ESOP).

In addition, dividends paid by pass-through entities, such as real estate investment trusts, or REITs, are typically considered ordinary dividends, although there are exceptions.

Interest income: When you earn interest on cash or bonds

The final type of income to note for investing and taxes is interest income, which is typically taxed as ordinary income. This includes interest payments you receive on bonds, ETFs, mutual funds, checking and savings accounts, and certificates of deposit (CDs). If your brokerage pays you interest on cash balances, this, too, is taxed as ordinary income.

One big exception is municipal bonds, which are bonds issued by states, cities, and localities. Generally speaking, municipal bond interest is not taxed by the federal government.

IRAs are exempt from most investment taxes

An important distinction to make regarding investing and taxes is the difference between a standard (taxable) brokerage account and an individual retirement account, or IRA.

The rules for investing and taxes we've laid out here only apply to investments held in a taxable brokerage account. IRAs allow you to invest on a tax-deferred basis.

In other words, you don't pay capital gains taxes on the sale of profitable investments or on dividends received through an IRA. Additionally, you don't need to report interest income you receive in your IRA.

There are two kinds of individual retirement accounts: traditional and Roth.

  • Traditional IRA: Pay taxes when you withdraw money from the account.
  • Roth IRA: Pay taxes when you contribute money to the account.

When choosing between the two, consider tax advantages and withdrawal flexibility. That'll help you decide which account may save you more money over the long run.

All IRAs have some excellent tax advantages over standard brokerage accounts. The trade-off is that you usually leave your money in an IRA until you're at least 59½ years old (with a few exceptions).

Top Brokers of 2024

Rating image, 4.0 out of 5 stars.
4.0/5 Circle with letter I in it. Our ratings are based on a 5 star scale. 5 stars equals Best. 4 stars equals Excellent. 3 stars equals Good. 2 stars equals Fair. 1 star equals Poor. We want your money to work harder for you. Which is why our ratings are biased toward offers that deliver versatility while cutting out-of-pocket costs.
= Best
= Excellent
= Good
= Fair
= Poor
Fees:

$0 commissions, 1%-2% crypto markups

Account Minimum:

$1

Highlights:

Public is an investing platform that simplifies trading stocks, bonds, ETFs, options, and crypto. With zero fees on many trades, Public stands out as a low-cost brokerage, while also providing yield-focused products to help you earn returns on your cash.

Learn More for Public

On Public's Secure Website.

Rating image, 4.0 out of 5 stars.
4.0/5 Circle with letter I in it. Our ratings are based on a 5 star scale. 5 stars equals Best. 4 stars equals Excellent. 3 stars equals Good. 2 stars equals Fair. 1 star equals Poor. We want your money to work harder for you. Which is why our ratings are biased toward offers that deliver versatility while cutting out-of-pocket costs.
= Best
= Excellent
= Good
= Fair
= Poor
Fees:

$0 per trade

Account Minimum:

$0

Highlights:

With no commissions, access to trade fractional shares and cryptocurrency through Robinhood Crypto, Robinhood is a no frills but efficient brokerage account.

Learn More for J.P. Morgan Self-Directed Investing

On J.P. Morgan Self-Directed Investing's Secure Website.

Rating image, 4.5 out of 5 stars.
4.5/5 Circle with letter I in it. Our ratings are based on a 5 star scale. 5 stars equals Best. 4 stars equals Excellent. 3 stars equals Good. 2 stars equals Fair. 1 star equals Poor. We want your money to work harder for you. Which is why our ratings are biased toward offers that deliver versatility while cutting out-of-pocket costs.
= Best
= Excellent
= Good
= Fair
= Poor
Fees:

Commission-free; other fees apply

Account Minimum:

$0

Highlights:

E*TRADE offers low fees and tons of account types. If you need it, chances are, E*TRADE has it. You can access advanced features through its popular Power E*TRADE platform. Open an E*TRADE account to trade fee-free mutual funds and do all your investing in one place.

Learn More for E*TRADE

On E*TRADE's Secure Website.

FAQs

  • No. In the United States, you only pay taxes on investments you sell. Put another way, you don't pay taxes on stocks you hold within a brokerage account. But once you sell those stocks, you will be taxed for capital gains.

  • Investments you hold for more than a year and sell at a profit are considered long-term capital gains and taxed at 0%, 15%, or 20% rates. Shorter investments are considered short-term gains and taxed as ordinary income. Exceptions exist, but most investment types follow these rules.