Understand Investment Taxes

Tax Basics for Investors

Taxes can eat into your returns - but they don't have to. Learn how investment taxes work and how to keep more of what you earn.

7 Lessons
~49 min total
Beginner
Sean ShaReviewed by Sean Sha

Educational purposes only. This content does not constitute investment advice. Read our disclaimer

StockCram is not a broker-dealer, investment adviser, or financial institution. All content is for educational and informational purposes only and should not be construed as personalized investment advice. Consult a qualified financial professional before making investment decisions. Past performance does not guarantee future results.

After this course, you'll be able to:

  • Understand how investments are taxed
  • Know the difference between short-term and long-term capital gains
  • Use tax-loss harvesting to reduce your tax bill
  • Understand qualified vs ordinary dividend taxation
  • Maximize tax-advantaged accounts for faster growth
  • Avoid common tax mistakes that cost investors money

How Are Investments Taxed?

Investment taxes can significantly impact your returns if you don't understand how they work. When you sell an investment for more than you paid, you owe capital gains tax. When you receive dividends, those are taxed too. But there are legal strategies to minimize what you owe - from holding investments longer to using the right accounts.

Capital Gains Tax Rates (2025)

TypeHolding PeriodTax Rate
Short-Term1 year or less10% - 37% (ordinary income rates)
Long-TermMore than 1 year0%, 15%, or 20% (based on income)

Tax rates depend on your taxable income. Most investors pay the 15% long-term rate. Consult a tax professional for personalized advice.

Frequently Asked Questions

How are stock investments taxed?
Stock investments are taxed when you sell for a profit (capital gains) or receive dividends. If you hold a stock for more than one year, gains are taxed at lower long-term capital gains rates (0%, 15%, or 20% depending on income). Stocks held one year or less are taxed at your ordinary income rate, which is typically higher.
What is the difference between short-term and long-term capital gains?
Short-term capital gains apply to investments held one year or less and are taxed at your ordinary income tax rate (up to 37%). Long-term capital gains apply to investments held more than one year and are taxed at preferential rates of 0%, 15%, or 20% depending on your taxable income.
What is tax-loss harvesting?
Tax-loss harvesting is a strategy where you sell investments at a loss to offset capital gains from other investments. This reduces your taxable income. You can also deduct up to $3,000 of net capital losses against ordinary income each year, with excess losses carried forward to future years.
How are dividends taxed?
Dividends are taxed in the year you receive them. Qualified dividends (from most US stocks held 60+ days) are taxed at the lower long-term capital gains rates. Non-qualified (ordinary) dividends are taxed at your regular income tax rate. Your broker sends a 1099-DIV showing your dividend income.
Do I pay taxes on investments inside a 401(k) or IRA?
Not immediately. In traditional 401(k)s and IRAs, you pay taxes when you withdraw in retirement. In Roth accounts, qualified withdrawals are completely tax-free. Inside these accounts, you can buy and sell investments without triggering capital gains taxes each year.

Important: This course provides general tax education, not personalized tax advice. Tax laws change and individual situations vary. Consult a qualified tax professional for advice specific to your situation.

Before You Start

This course assumes you understand basic investing concepts. If terms like "capital gains" or "dividends" are new to you, consider our Foundations course first.

Take Foundations first

Ready to Understand Investment Taxes?

Tax season doesn't have to be confusing. Learn how your investments are taxed and strategies to keep more of your returns.

Start Lesson 1