Tax BasicsLesson 1

Investment Taxes 101

Understand when and how your investments are taxed.

7 min read
Beginner
Sean ShaReviewed by Sean Sha
Updated: February 2026

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.

TL;DR

You pay taxes on investments when you sell for a profit (capital gains) or receive dividends. Holding an investment that goes up in value doesn't trigger taxes until you sell. Long-term gains (held over 1 year) are taxed at lower rates than short-term gains.

When Are Investments Taxed?

The most important concept in investment taxes: you don't pay taxes just because your investments go up in value.

Taxes are triggered by specific events - mainly when you sell an investment for a profit or when you receive income like dividends. Simply buying an investment does not create a taxable event. This is the difference between unrealized gains (paper profits) and realized gains (actual profits you can spend).

Example: You buy 100 shares of a stock at $50 each ($5,000 total). A year later, those shares are worth $70 each ($7,000 total). You have a $2,000 unrealized gain - no taxes owed yet. If you sell, it becomes a realized gain and you'll owe taxes on the $2,000 profit.

Types of Investment Taxes

There are three main ways investments generate taxable income:

1. Capital Gains (When You Sell)

When you sell an investment for more than you paid, the profit is called a capital gain. This is the most common investment tax.

Formula: Capital Gain = Sale Price - Purchase Price (Cost Basis)

2. Dividends (Company Profits Shared With You)

When companies pay dividends to shareholders, that's taxable income - even if you reinvest it. There are two types: qualified dividends (lower tax rate) and ordinary dividends (higher tax rate).

3. Interest (From Bonds and Cash)

Interest earned from bonds, savings accounts, or money market funds is taxable as ordinary income. Some bonds (like municipal bonds) may be tax-exempt.

What Forms to Expect

Your broker sends these tax forms by mid-February each year:

  • 1099-B — Reports sales proceeds and capital gains/losses from stocks, ETFs, and other securities you sold during the year.
  • 1099-DIV — Reports dividends and distributions you received, broken down by qualified vs. ordinary.

Realized vs Unrealized Gains

Understanding this distinction is key to tax-efficient investing:

TypeWhat It MeansTaxable?
Unrealized GainYour investment went up but you haven't soldNo
Realized GainYou sold and made a profitYes
Unrealized LossYour investment went down but you haven't soldNo
Realized LossYou sold and took a lossCan offset gains

Key insight: Long-term investors can let investments grow for decades without paying capital gains taxes. You control when to realize gains by choosing when to sell. This is called "tax deferral" and is one of the biggest advantages of buy-and-hold investing.

How Investment Tax Rates Work

How much you pay depends on two factors: how long you held the investment and your income level.

1

Short-Term Capital Gains (held 1 year or less)

Taxed at your ordinary income rate (10% - 37% depending on income). Same rate as your paycheck.

2

Long-Term Capital Gains (held more than 1 year)

Taxed at preferential rates: 0%, 15%, or 20% depending on your income. Much lower than short-term rates for most people.

Why this matters: If you're in the 24% tax bracket and sell a stock after 11 months, you pay 24% on the gain. Wait one more month and sell after 12 months+, you might pay only 15%. Same profit, much lower tax.

Important Tax Dates for Investors

DateWhat Happens
December 31Tax year ends. Sales after this date count toward next year's taxes.
Mid-FebruaryBrokers send 1099 forms (1099-B for sales, 1099-DIV for dividends).
April 15Tax filing deadline (for most people).
April 15 (quarterly)Estimated tax payment deadlines if you owe significant taxes.

Note: This lesson provides general tax education. Tax laws are complex and change frequently. Consult a qualified tax professional for advice specific to your situation.

Now you understand the basics of investment taxes. In the next lesson, we'll dive deeper into capital gains - the most common investment tax and how to minimize it.

Key Takeaways

  • Taxes are triggered by selling, not holding - You only owe capital gains tax when you sell for a profit.
  • Dividends are taxed when received - Dividend income is taxable in the year you receive it, even if reinvested.
  • Holding period matters - Investments held over a year qualify for lower long-term capital gains rates.
  • Losses can reduce taxes - Investment losses can offset gains and reduce your overall tax bill.

Continue Learning

Frequently Asked Questions

No. If your stocks increase in value but you don't sell, you have an "unrealized gain" or "paper profit." You only owe taxes when you sell for a profit (realize the gain). This is why long-term investors can let their investments grow for years without annual tax bills on the appreciation.

You owe taxes on dividends in the year you receive them, even if you reinvest them through a DRIP (dividend reinvestment plan). Your broker will send you a 1099-DIV form showing all dividends received during the year.

Yes, you should still report investment losses. Losses can offset gains and reduce your tax bill - a strategy called tax-loss harvesting. You can also deduct up to $3,000 of net losses against ordinary income each year.

It depends on your income, how long you held the investment, and the type of gain (capital gain vs dividend). Long-term capital gains are taxed at 0%, 15%, or 20% depending on your income. Short-term gains are taxed at your ordinary income rate. Consult a tax professional for your specific situation.

Share