Taxes on Investments: Dividends, Interest, and Stock Sales
How dividends, interest income, and stock sales are taxed — qualified vs ordinary dividends, capital gains rates, and tax-saving strategies.
If you earn money from investments — whether dividends, interest, or selling stocks — the IRS wants its share. But not all investment income is taxed the same way. Understanding these differences is the first step to tax-efficient investing.
Key Takeaways
- Long-term capital gains (held > 1 year) are taxed at preferential rates: 0%, 15%, or 20%.
- Qualified dividends get the same low rates as long-term gains.
- Interest income and ordinary dividends are taxed at your full ordinary rate.
- The 3.8% NIIT can apply on top for high earners.
- Tax-loss harvesting can offset gains and reduce your bill.
Capital Gains on Stock Sales
You only owe capital gains tax when you sell an investment at a profit. Unrealized gains (paper profits) are not taxed until you sell.
| Holding Period | Tax Treatment | Rates |
|---|---|---|
| 1 year or less (short-term) | Ordinary income | 10% – 37% |
| More than 1 year (long-term) | Preferential rates | 0%, 15%, or 20% |
For the full bracket thresholds, see our capital gains tax rate guide.
Cost basis matters. Your gain is the sale price minus your cost basis (what you paid, plus commissions). If you received shares through an ESPP or RSUs, verify your basis carefully — incorrect basis is one of the most common causes of overpaying taxes.
Dividends: Qualified vs Ordinary
Qualified dividends are taxed at the long-term capital gains rate (0%, 15%, or 20%). To qualify, the stock must be:
- Issued by a U.S. corporation or a qualifying foreign corporation.
- Held for at least 61 days during the 121-day period beginning 60 days before the ex-dividend date.
Ordinary (non-qualified) dividends are taxed at your full ordinary income rate. Common sources:
- REITs (real estate investment trusts)
- Money market funds
- Dividends from stocks held for very short periods
- Certain foreign stock dividends
Your brokerage reports both types on Form 1099-DIV (Box 1a for total, Box 1b for qualified).
Interest Income
Interest from the following sources is taxed as ordinary income:
- Savings accounts and CDs
- Money market accounts and funds
- Corporate bonds
- Treasury bonds (federal tax only — exempt from state tax)
- Peer-to-peer lending
Exceptions:
- Municipal bond interest is exempt from federal tax (and often state tax for in-state bonds).
- I Bond and Series EE bond interest used for education may be tax-exempt.
Interest income is reported on Form 1099-INT.
The 3.8% Net Investment Income Tax (NIIT)
High earners pay an additional 3.8% on net investment income when their modified AGI exceeds:
- $200,000 (Single)
- $250,000 (Married Filing Jointly)
This applies to dividends, interest, capital gains, rental income, and other passive income. For a deeper look, see our NIIT guide.
Tax Forms You Will Receive
| Form | What It Reports |
|---|---|
| 1099-B | Stock and bond sales (proceeds and cost basis) |
| 1099-DIV | Dividends (qualified and ordinary) |
| 1099-INT | Interest income |
| Schedule D | Summary of capital gains and losses |
| Form 8949 | Individual transaction detail for gains/losses |
Strategies to Minimize Investment Taxes
- Hold for more than one year to qualify for the lower long-term capital gains rate.
- Tax loss harvesting: Sell losers to offset gains, but watch out for the wash sale rule. Carry forward up to $3,000 of net losses against ordinary income.
- Asset location: Hold tax-inefficient investments (bonds, REITs) in tax-advantaged accounts; keep tax-efficient investments (index funds) in taxable accounts.
- Use Roth accounts for assets you expect to grow the most — all gains become permanently tax-free.
- Donate appreciated stock to charity to avoid capital gains and get a deduction. See charitable giving strategies.
- Harvest gains at the 0% rate during low-income years (sabbatical, early retirement, gap year). See capital gains vs ordinary income for rate details.
- Direct indexing lets you own individual stocks instead of a fund, creating more tax-loss harvesting opportunities.
- Defer gains with Qualified Opportunity Zones — invest capital gains into designated areas for deferral and potential exclusion.
How sharper.tax Helps
sharper.tax analyzes your tax return to identify investment income, calculate your effective tax rate, and recommend strategies like tax loss harvesting and asset location. We show you how much each strategy could save based on your actual numbers. Sophisticated tax planning used to require a high-end CPA — we make it available for free.
Related guides:
- Tax on stock gains — quick reference on rates
- Step-up in basis at death — how inherited investments are taxed differently
- HSA triple tax advantage — shelter investment growth from all taxes
- DIY tax planning for investors — a complete investor tax playbook
- Taxes on retirement withdrawals — how 401(k) and IRA distributions are taxed
Sources
- IRS Topic 409: Capital Gains and Losses
- IRS Topic 404: Dividends
- IRS Topic 403: Interest Received
- IRS Publication 550: Investment Income and Expenses
The information above is educational and not tax advice.