Brokerage accounts are taxed on gains and dividends, not on the money you deposit

The money you put into a brokerage account is not taxed when it arrives — you already paid income tax on it. What gets taxed is what happens after: when you sell a stock or fund for more than you paid, when you receive dividends, and when you earn interest. The IRS taxes these as income in the year they occur, and the tax rate depends on how long you held the investment and what type of income it is.

Your brokerage sends you a tax form each January (usually a 1099-B or 1099-DIV) that lists what you owe tax on. You report these amounts on your tax return. If you owe more than a certain amount, you may also owe estimated taxes during the year.

Key Takeaways

  • Capital gains — profit from selling stocks or funds — are taxed at different rates depending on whether you held the investment for more or less than one year.
  • Dividends and interest earned in a brokerage account are taxed as ordinary income in the year you receive them, even if you reinvest them.
  • Your brokerage reports all taxable transactions on a 1099-B or 1099-DIV form sent to you and the IRS by January 31.
  • Long-term capital gains (held over one year) are usually taxed at 0%, 15%, or 20% depending on your income; short-term gains are taxed as ordinary income.

Short-term vs. long-term capital gains and their tax rates

When you sell an investment for a profit, the IRS calls that profit a capital gain. How much tax you pay depends on how long you owned it. If you held it for one year or less, it is a short-term capital gain and is taxed at your ordinary income tax rate — the same rate as your salary or wages. If you held it for more than one year, it is a long-term capital gain and gets a lower rate.

Long-term capital gains rates are 0%, 15%, or 20%, depending on your total income for the year. Most people pay 15%. The 0% rate applies to lower incomes; the 20% rate applies to higher incomes. These rates are set by Congress and change periodically. Your brokerage can tell you what rate applies to you based on your income, but you will need to know your total income for the year first.

Short-term gains hurt more in taxes because they are taxed as ordinary income. If you are in the 24% tax bracket, a short-term gain is taxed at 24%. A long-term gain on the same dollar amount might be taxed at 15%. This is why some investors hold stocks longer — not for investment reasons, but for tax reasons.

Dividends and interest are taxed in the year you receive them

Dividends — payments companies make to shareholders — are taxed in two ways depending on the type. may have access to dividends (usually from U.S. stocks held for at least 60 days around the payment date) are taxed at the same long-term capital gains rates: 0%, 15%, or 20%. Non-may have access to dividends (from most bonds, preferred stocks, and foreign stocks) are taxed as ordinary income at your regular tax rate.

Interest earned in a brokerage account — from bonds, money market funds, or cash holdings — is always taxed as ordinary income. If you earn $500 in interest, you owe tax on that $500 in the year you earned it, even if you did not withdraw the money. The same applies to dividends: you owe tax on them in the year they are paid to you, even if you reinvest them automatically.

Your brokerage will report may have access to vs. non-may have access to dividends separately on your 1099-DIV form, so you know which rate to use. If the brokerage is unsure whether a dividend qualifies, it will mark it as non-may have access to to be safe.

How to track cost basis and calculate your gain or loss

Cost basis is what you originally paid for an investment, including any fees. When you sell, your gain or loss is the sale price minus the cost basis. If you bought 100 shares at $50 each and sold them at $75, your cost basis is $5,000, your sale price is $7,500, and your gain is $2,500.

Most brokerages track cost basis for you and report it on your 1099-B form. They can also calculate your gain or loss automatically when you sell. However, if you bought the same stock at different times and prices, you need to tell the brokerage which shares you are selling — this is called your cost basis method. The most common methods are:

  • First In, First Out (FIFO): You sell the oldest shares first. This often results in the largest long-term gain if the stock has risen.
  • Specific Identification: You choose which shares to sell. This gives you the most control over your tax bill.
  • Average Cost: You use the average price of all shares you own. This is simpler but less flexible for tax planning.

If you do not specify a method, your brokerage will use FIFO by default. You can change your method for future sales, but you cannot retroactively change how you reported a past sale on your tax return without IRS permission.

Tax-loss harvesting and offsetting gains

If you sell an investment at a loss, you can use that loss to offset capital gains you made elsewhere. If you sold Stock A for a $3,000 gain and Stock B for a $1,000 loss, you owe tax on only $2,000 of gain. This is called tax-loss harvesting — deliberately selling losing positions to reduce your tax bill.

If your losses exceed your gains in a year, you can deduct up to $3,000 of the excess loss against your ordinary income. Any loss beyond $3,000 carries forward to future years and can be used to offset future gains or income. This means a bad year in the market can reduce your taxes for years to come.

One catch: the wash-sale rule prevents you from claiming a loss if you buy the same or substantially identical investment within 30 days before or after the sale. If you sell Stock A at a loss on December 15 and buy it again on January 10, the IRS disallows the loss. You can buy a similar but different investment immediately and avoid the rule — for example, selling a specific tech stock and buying a tech index fund instead.

What happens if you do not report brokerage income

Your brokerage reports all your capital gains, dividends, and interest to the IRS on the same forms it sends to you. The IRS cross-checks these reports against your tax return. If you do not report the income, the IRS will notice the discrepancy and send you a notice asking for the missing tax, plus interest and penalties.

The penalty for not reporting investment income is usually 20% of the unpaid tax, plus interest that compounds daily. If the underreporting is deemed intentional, the penalty can be 75%. It is far cheaper to report the income on time, even if you cannot pay the full tax immediately — you can set up a payment plan with the IRS.

If you owe more than $1,000 in taxes and did not pay enough during the year through withholding or estimated tax payments, you may also owe an underpayment penalty. This is separate from the income tax itself and applies even if you file on time.

Estimated taxes and quarterly payments

If you expect to owe $1,000 or more in taxes from brokerage income (and other sources), you may need to pay estimated taxes four times a year instead of waiting until April. These are due on April 15, June 15, September 15, and January 15 of the following year.

You calculate estimated taxes by predicting your income for the year and paying one-quarter of the expected tax each quarter. If you underestimate, you owe a penalty on the shortfall. If you overestimate, you get a refund when you file. Many investors use their prior year's tax bill as a safe harbor — if you pay at least 90% of this year's tax or 100% of last year's tax (110% if your prior income was over $150,000), you avoid the underpayment penalty.

You do not have to pay estimated taxes if your brokerage withholds enough tax from your dividends and interest. Most brokerages do not withhold automatically, so you usually have to pay estimated taxes yourself or adjust your W-4 at your job to have more tax withheld from your paycheck.

Frequently Asked Questions

Do I owe taxes on money I lose in my brokerage account?

No. Losses reduce or eliminate the tax you owe on gains. If you lose $5,000 and gain $3,000, you owe tax on only $3,000 of gain. If losses exceed gains, you can deduct up to $3,000 against other income, and carry the rest forward to future years.

What if I reinvest my dividends instead of taking them out?

You still owe tax on them in the year you receive them. The IRS taxes dividends when they are paid to you, not when you withdraw them. Reinvesting does not delay the tax bill.

How do I know if a dividend is may have access to or non-may have access to?

Your brokerage reports this on your 1099-DIV form, separating may have access to and non-may have access to dividends into different boxes. may have access to dividends are usually from U.S. stocks you held for at least 60 days around the payment date. If you are unsure, ask your brokerage or check the company's investor relations page.

Can I avoid taxes by not selling my investments?

You avoid capital gains tax by not selling, but you still owe tax on dividends and interest each year. When you eventually sell or pass the investment to heirs, the tax becomes due. Holding does not eliminate tax — it only delays it.

What if my brokerage made a mistake on my 1099 form?

Contact your brokerage immediately and ask for a corrected form (a 1099-X). If you already filed your return, you can file an amended return (Form 1040-X) once you have the corrected form. Do this as soon as possible to avoid penalties and interest.