Capital Gains Tax Explained Simply: How Your Stock Profits Are Taxed in 2026
So You Made Money in the Stock Market. Now What?
Congratulations — your investments went up. You sold some shares. You made a profit.
Now the IRS wants their cut.
Capital gains tax is probably the most misunderstood tax for beginner investors. People either panic about it (and avoid selling winners) or ignore it completely (and get a nasty surprise at tax time).
Neither approach is great. So let's break down exactly how stock profits are taxed, what rates you'll actually pay in 2026, and — most importantly — how to keep more of your money.
The Basic Rule: You Only Pay When You Sell
This is the most important thing to understand: you don't owe taxes on paper gains.
If your stock went from $50 to $100 but you haven't sold it, you owe nothing. That's an unrealized gain. The IRS can't touch it.
The moment you hit "sell" and pocket the profit? That's a realized gain, and it's taxable.
This is actually a huge advantage. You control when you pay taxes by controlling when you sell. More on that strategy later.
Short-Term vs. Long-Term: The One-Year Line
The IRS divides capital gains into two buckets based on one simple question: How long did you hold the investment?
Short-Term Capital Gains (Held 1 Year or Less)
If you buy a stock on January 15 and sell it on December 30 of the same year, that's a short-term gain. And short-term gains are taxed at your ordinary income tax rate — the same rate as your salary.
For most people, this means 12% to 24%. For higher earners, it can go up to 37%.
Short-term gains are the expensive kind. The IRS treats them like you earned that money at your day job.
Long-Term Capital Gains (Held More Than 1 Year)
If you hold that same stock for at least one year and one day before selling, it becomes a long-term gain. And long-term gains get preferential tax rates: 0%, 15%, or 20%.
Yes, you read that right. Some people pay 0% tax on their stock profits. We'll show you exactly who qualifies below.
The takeaway: Whenever possible, hold your investments for more than one year before selling. The tax savings can be massive.
2026 Long-Term Capital Gains Tax Rates
Here are the actual rates for tax year 2026 (the return you'll file in early 2027):
Single Filers
| Taxable Income | Long-Term Capital Gains Rate | |---|---| | $0 – $49,450 | 0% | | $49,451 – $545,500 | 15% | | $545,501 and above | 20% |
Married Filing Jointly
| Taxable Income | Long-Term Capital Gains Rate | |---|---| | $0 – $98,900 | 0% | | $98,901 – $613,700 | 15% | | $613,701 and above | 20% |
Source: IRS, via Investopedia. Note: High earners may also owe the 3.8% Net Investment Income Tax (NIIT) on top of these rates.
2026 Ordinary Income Tax Brackets (For Short-Term Gains)
Since short-term gains are taxed as ordinary income, here are the 2026 federal income tax brackets for single filers:
| Tax Rate | Taxable Income | |---|---| | 10% | $0 – $12,400 | | 12% | $12,401 – $50,400 | | 22% | $50,401 – $105,700 | | 24% | $105,701 – $201,775 | | 32% | $201,776 – $256,225 | | 35% | $256,226 – $640,600 | | 37% | $640,601+ |
Source: IRS (IR-2025-111). These brackets are for 2026 income, filed in 2027.
Remember: these are marginal rates. You don't pay 22% on all your income — just the portion that falls in that bracket.
Real Examples: What You'd Actually Pay
Let's make this concrete with three real-world scenarios.
Example 1: Sarah — $50,000 Salary
Sarah earns $50,000 and sold stocks for a $5,000 long-term gain this year.
- Standard deduction (2026, single): ~$15,450
- Taxable income from salary: $50,000 – $15,450 = $34,550
- Total taxable income with gain: $34,550 + $5,000 = $39,550
- Since $39,550 is below the $49,450 threshold...
Sarah pays 0% capital gains tax on her $5,000 profit. She keeps all of it.
Now what if that was a short-term gain instead? She'd pay her marginal rate of 12%, or $600 in tax. That's $600 she could have kept just by waiting a few more months to sell.
Example 2: Mike — $100,000 Salary
Mike earns $100,000 and sold stocks for a $15,000 long-term gain.
- Standard deduction: ~$15,450
- Taxable income from salary: $100,000 – $15,450 = $84,550
- The 0% bracket ends at $49,450, so Mike is firmly in the 15% zone
Mike pays 15% × $15,000 = $2,250 in capital gains tax.
If those were short-term gains taxed at his marginal rate of 22%: $3,300. Holding long-term saved Mike $1,050.
Example 3: Lisa — $200,000 Salary
Lisa earns $200,000 and sold stocks for a $30,000 long-term gain.
- Standard deduction: ~$15,450
- Taxable income from salary: $200,000 – $15,450 = $184,550
- Solidly in the 15% long-term bracket
Lisa pays 15% × $30,000 = $4,500 in capital gains tax.
If short-term? Her marginal rate is 32%: $9,600. By holding long-term, Lisa saved $5,100.
Plus, if Lisa's income were above the $200,000 threshold (single), she might also owe the 3.8% Net Investment Income Tax, adding another $1,140. High earners have extra reasons to think strategically about capital gains.
5 Ways to Minimize Capital Gains Tax
1. Hold for More Than One Year
This is the single most effective strategy. The difference between short-term and long-term rates can save you thousands of dollars. Before selling any winning position, check your purchase date.
Using a brokerage like Moomoo or Webull, you can see exactly when you bought each share and whether gains would be short-term or long-term.
2. Use Tax-Advantaged Accounts
Inside a Roth IRA, you pay zero capital gains tax — ever. Gains grow tax-free and withdrawals in retirement are tax-free.
In a Traditional IRA or 401(k), gains grow tax-deferred. You don't pay capital gains tax on trades inside the account. You only pay ordinary income tax when you withdraw in retirement.
If you're doing a lot of trading, do it inside a tax-advantaged account. Save your taxable brokerage for buy-and-hold dividend investing.
3. Tax-Loss Harvesting
Got winners AND losers in your portfolio? Sell the losers to offset your gains. This is called tax-loss harvesting, and it can eliminate or significantly reduce your capital gains tax bill. You can offset unlimited gains, plus deduct up to $3,000 against ordinary income.
4. Watch Your Income Thresholds
If your taxable income is near the 0% capital gains threshold ($49,450 single / $98,900 married), you might be able to sell stocks tax-free by keeping your total income below the line.
This is especially powerful in years when your income dips — maybe you switched jobs, took time off, or retired early. Harvest those gains while your rate is 0%.
5. Gift Appreciated Stock
If you want to give to charity or family, consider gifting appreciated stock instead of cash. When you donate appreciated stock held over a year to a qualified charity, you deduct the full market value and pay zero capital gains tax. Everyone wins.
What About Dividends?
Dividends are taxed differently depending on whether they're qualified or ordinary:
- Qualified dividends (most dividends from U.S. stocks held 60+ days) are taxed at the same favorable rates as long-term capital gains: 0%, 15%, or 20%.
- Ordinary dividends (REITs, money markets, short holding periods) are taxed at your ordinary income rate.
If you're building a dividend portfolio, most of your dividends from blue-chip stocks and Dividend Kings will be qualified — meaning you get the lower tax rate.
State Capital Gains Taxes: The Wild Card
Federal taxes are only part of the picture. Most states also tax capital gains, typically at the same rate as ordinary income.
States with NO income tax (and therefore no capital gains tax):
- Alaska, Florida, Nevada, New Hampshire*, South Dakota, Tennessee*, Texas, Washington*, Wyoming
*New Hampshire and Tennessee have limited exceptions. Washington state has a 7% tax on long-term capital gains above $270,000.
States with high capital gains taxes:
- California (up to 13.3%), New Jersey (up to 10.75%), Oregon (up to 9.9%), Minnesota (up to 9.85%)
If you're considering relocating in retirement, the tax difference between states can be significant. A retiree selling $100,000 in stocks pays $0 in state taxes in Florida vs. up to $13,300 in California.
The 3.8% Net Investment Income Tax (NIIT)
If your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), you may owe an additional 3.8% tax on your investment income. This applies to capital gains, dividends, interest, rental income, and more.
This means high earners effectively pay 18.8% (15% + 3.8%) or even 23.8% (20% + 3.8%) on long-term capital gains. It's another reason to use tax-advantaged accounts aggressively.
Capital Gains + The Poor Man's Strategy
If you're following our value investing approach — buying undervalued stocks with strong dividends and holding for the long haul — you're already doing most things right from a tax perspective:
- Long holding periods = long-term capital gains rates ✅
- Qualified dividends = lower tax rates ✅
- DRIP investing = you're not selling, so no gains realized ✅
- Compounding = your money grows tax-deferred until you sell ✅
The poor man's approach to investing is naturally tax-efficient. Buy quality, hold forever, collect dividends. When you do sell, you pay the lowest rates possible.
Quick Reference: 2026 Capital Gains Cheat Sheet
| | Short-Term | Long-Term | |---|---|---| | Holding period | ≤ 1 year | > 1 year | | Tax rate | Your ordinary income rate (10%–37%) | 0%, 15%, or 20% | | 0% threshold (single) | N/A | Up to $49,450 | | 15% threshold (single) | N/A | $49,451 – $545,500 | | NIIT surcharge | 3.8% above $200K income | 3.8% above $200K income | | Loss offset | Unlimited against gains, $3K vs income | Same |
The Bottom Line
Capital gains tax doesn't have to be scary. The rules are actually pretty straightforward:
- Hold longer than one year to get the lower rate
- Use tax-advantaged accounts for active trading
- Harvest losses to offset gains
- Know your bracket — you might qualify for 0%
The biggest mistake investors make isn't paying too much in taxes — it's letting tax fear prevent them from investing at all. Don't let that be you.
Your money should work for you, and understanding taxes is part of making that happen.
This article is for educational purposes only and does not constitute tax advice. Consult a qualified tax professional for advice specific to your situation. Tax rates and brackets are based on IRS guidance for 2026 and may be subject to legislative changes.
📊 Free Tools for Smarter Investing
- Dividend Income Calculator — Project your dividend income and plan for tax efficiency
- DRIP Calculator — Model tax-advantaged compound growth
- Stock Screener — Find undervalued stocks to hold long-term (and minimize capital gains)
- Graham Number Calculator — Calculate intrinsic value for any stock
Get Picks Like This Every Tuesday
Join value investors getting our best undervalued stock picks, Graham Number breakdowns, and dividend analysis — free.
Get Our Best Stock Picks — Free
Join value investors who get our top undervalued stock picks, Graham-style analysis, and dividend recommendations delivered to your inbox every week.
No spam, ever. Unsubscribe anytime.