Stock & ETF Taxes

Short-Term vs Long-Term Capital Gains Tax Rates (2026)

Last updated: October 25, 2026 · Applies to the 2026 tax year (returns filed in 2027)

You don’t pay tax on stocks or ETFs just because they go up. Tax is triggered when you sell (and, separately, when you receive dividends). The gain is the sale price minus what you paid, and the rate depends mostly on one thing: whether you held the shares for more than a year. Hold one day too few and the same gain can be taxed at almost twice the rate. Here are the 2026 rates and how to calculate what you owe.

Key takeaways

  • Selling shares for more than your cost basis creates a capital gain; selling for less creates a capital loss.
  • Shares held one year or less: short-term gain, taxed at your ordinary income rate (10% to 37%).
  • Shares held more than one year: long-term gain, taxed at 0%, 15% or 20%.
  • In 2026, single filers pay 0% on long-term gains up to $49,450 of taxable income ($98,900 married filing jointly).
  • High earners may also owe the 3.8% net investment income tax.

2026 long-term capital gains rates

RateSingleMarried filing jointlyHead of household
0%Up to $49,450Up to $98,900Up to $66,200
15%$49,451 to $545,500$98,901 to $613,700$66,201 to $579,600
20%Over $545,500Over $613,700Over $579,600
Thresholds are based on total taxable income, including the gain. Source: IRS Rev. Proc. 2025-32.

Short-term gains are added to your other income and taxed at the regular 2026 brackets. For single filers, that’s 10% up to $12,400, 12% up to $50,400, 22% up to $105,700, 24% up to $201,775, then 32%, 35% and 37%. For married couples filing jointly, the 22% bracket runs from $100,801 to $211,400.

How to calculate your gain

  • Proceeds: the sale price, minus any commission or fee on the sale.
  • Cost basis: what you paid, plus any commission on the purchase. Reinvested dividends add to your basis, because you already paid tax on them.
  • Gain or loss = proceeds − cost basis.
  • Holding period: starts the day after you buy and includes the day you sell. To be long-term, you must hold for more than one year. Shares bought on March 10, 2025 become long-term if sold on March 11, 2026 or later.

If you bought the same stock at different times, each purchase is a separate “lot” with its own basis and holding period. Brokers use first-in, first-out (FIFO) by default, but you can usually choose specific lots before the trade settles, which can lower your tax. For mutual funds, you can also use average cost.

Worked example

Emily is single. After the standard deduction, her taxable income from her salary is $60,000. In 2026 she sells two positions:

  • Stock A, held for two years: bought for $15,000, sold for $25,000. A $10,000 long-term gain.
  • ETF B, held for six months: bought for $8,000, sold for $12,000. A $4,000 short-term gain.
StepAmountTax
Short-term gain added to salary: $60,000 + $4,000$64,000 ordinary income$4,000 × 22% = $880
Long-term gain stacked on top: $64,000 to $74,000Entirely above $49,450$10,000 × 15% = $1,500
Total tax on the gains$2,380

Had Emily waited another six months to sell ETF B, that $4,000 would have been taxed at 15% ($600) instead of 22% ($880), saving $280. On larger gains or in higher brackets, the difference is much bigger.

Losses offset gains

Capital losses are netted against gains: short-term losses against short-term gains first, long-term against long-term, then the two totals against each other. If you end the year with a net loss, you can deduct up to $3,000 of it against other income ($1,500 if married filing separately) and carry the rest forward indefinitely. Selling losing positions on purpose to offset gains is called tax-loss harvesting; for stocks and ETFs, it’s limited by the wash sale rule.

The 3.8% net investment income tax

If your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly), you may owe an extra 3.8% on the smaller of your net investment income or the amount above the threshold. These thresholds aren’t adjusted for inflation. A high earner’s long-term rate can therefore reach 23.8%, and the top short-term rate 40.8%.

Where it goes on your return

Your broker reports each sale on Form 1099-B. You list sales on Form 8949, separated into short-term and long-term, and carry the totals to Schedule D, which flows to Form 1040. Sales inside an IRA, 401(k) or other retirement account are not reported, because those accounts are taxed only on withdrawal (or not at all, for qualified Roth withdrawals).

Frequently asked questions

Do I pay tax if I sell and reinvest the money right away?

Yes. Each sale in a taxable brokerage account is a taxable event, even if you use the cash to buy something else the same day. Only trades inside tax-advantaged accounts are exempt.

Are ETFs taxed differently from stocks?

When you sell ETF shares, the same rules apply. The difference is that ETFs rarely pass capital gains distributions to shareholders, while mutual funds often do. Some funds are taxed differently, such as commodity and precious metals funds; see crypto ETFs vs coins for an example.

Do states tax capital gains too?

Most states tax capital gains as ordinary income at their own rates. A few, such as Texas and Florida, have no income tax. Washington taxes certain long-term gains above a high threshold.

Sources

This article is for educational purposes only and is not tax, legal or investment advice. Tax rules depend on your individual situation; consult a qualified tax professional before filing.