MetaCap
October 9, 2026

Capital Gains Tax on Stocks: 2026 Rates & Brackets

Stocks held over a year are taxed at 0%, 15% or 20%; shorter holds at up to 37%. See the 2026 bracket table, a $10,000 worked example and wash sale rules.

Key Takeaways

  • •You owe capital gains tax only when you sell for more than you paid (a "realized" gain). Unrealized gains are not taxed.
  • •Stocks held more than one year qualify for long-term rates of 0%, 15% or 20%; stocks held one year or less are taxed as ordinary income at up to 37%.
  • •High earners pay an additional 3.8% net investment income tax on gains and dividends.
  • •Losses offset gains, and up to $3,000 of net losses per year can offset ordinary income; the rest carries forward.
  • •The wash sale rule disallows a loss if you buy the same or a substantially identical stock within 30 days before or after the sale.

Capital gains tax on stocks is the federal tax on the profit when you sell shares for more than you paid. For 2026, stocks held more than one year are taxed at 0%, 15% or 20% depending on income; stocks held one year or less are taxed as ordinary income at 10% to 37%.

How much you owe depends on how long you held the stock and how much other income you have. This guide covers the rules for US taxpayers for the 2026 tax year, filed in early 2027. It is general information, not tax advice; a tax professional can apply it to your situation.

Realized vs unrealized gains

A gain only becomes taxable when it is realized, meaning you sold the shares. A stock that has tripled in your account creates no tax bill until you sell it. This is why long-term investors who rarely sell can defer taxes for decades.

Your gain is the sale proceeds minus your cost basis, which is what you paid including any commissions. If you bought in several lots at different prices, your broker tracks each lot. By default most brokers use "first in, first out," but you can usually choose which lot to sell, which matters for the holding-period test below.

Short-term vs long-term

The holding period is counted from the day after you bought to the day you sold.

  • Short-term gain: held one year or less. Taxed as ordinary income at your marginal rate, from 10% to 37%.
  • Long-term gain: held more than one year. Taxed at the preferential rates of 0%, 15% or 20%.

Selling on the one-year anniversary is still short-term. Waiting one more day converts the gain to long-term, which for a high earner cuts the federal rate from 37% to 20%.

Worked example: a $10,000 gain

A single filer with $70,000 of taxable income from wages sells shares for a $10,000 profit in 2026:

Held Rate on the gain Federal tax
1 year or less (short-term) 22% ordinary rate $2,200
More than 1 year (long-term) 15% $1,500

Waiting past the one-year mark saves $700 in this case, before any state tax. The saving grows with income: in the top bracket the gap is 37% versus 20%.

2026 long-term capital gains brackets

The thresholds are based on taxable income (after deductions) and are adjusted for inflation each year.

Rate Single Married filing jointly Head of household
0% Up to $49,450 Up to $98,900 Up to $66,200
15% $49,451 to $545,500 $98,901 to $613,700 $66,201 to $579,600
20% Over $545,500 Over $613,700 Over $579,600

Capital gains are stacked on top of your ordinary income. If a married couple has $80,000 of wages and $40,000 of long-term gains, the first $18,900 of the gain falls in the 0% bracket and the remaining $21,100 is taxed at 15%.

Qualified dividends from US stocks use the same 0/15/20% schedule. To qualify, you must hold the stock more than 60 days in the 121-day window around the ex-dividend date; see dividend yield explained for more.

The 3.8% net investment income tax

Taxpayers with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly) pay an additional 3.8% on investment income, including capital gains and dividends. These thresholds are not indexed for inflation. For a top-bracket investor the effective federal rate on long-term gains is therefore 23.8%, and on short-term gains 40.8%.

State taxes

Most states tax capital gains as ordinary income at their regular rates. California's top rate exceeds 13%, while Texas, Florida, Washington (except on very large gains), Nevada and a few others have no income tax. Your state rate applies on top of the federal rate.

Using losses

Losses are the other half of the system.

  1. Netting. Short-term losses offset short-term gains first, long-term losses offset long-term gains first, and then any remaining losses cross over.
  2. The $3,000 rule. If your losses exceed your gains for the year, up to $3,000 ($1,500 if married filing separately) can be deducted against ordinary income such as wages.
  3. Carryforward. Losses beyond that carry forward indefinitely to future years.

Tax-loss harvesting is the deliberate sale of a losing position to realize the loss, typically replacing it with a similar but not identical investment so your market exposure does not change.

The wash sale rule

A loss is disallowed if you buy the same stock, or a "substantially identical" security, within 30 days before or after the sale. The window is 61 days in total. The disallowed loss is not gone; it is added to the cost basis of the replacement shares, so you recover it when you eventually sell those.

Traps to know:

  • Automatic dividend reinvestment can trigger a wash sale if it buys shares inside the window.
  • Buying the stock in your IRA after selling it at a loss in a taxable account still counts, and in that case the loss is permanently lost.
  • Two ETFs tracking the same index may be treated as substantially identical. Swapping an S&P 500 fund for a total-market fund is the common workaround.

Special cases

  • Inherited stock receives a stepped-up basis to the market value on the date of death, erasing the gain accumulated during the original owner's life.
  • Gifted stock carries the giver's original basis and holding period.
  • Employee stock (RSUs, ESPPs, options) has its own layered rules; the value at vesting is usually ordinary income and only later appreciation is a capital gain.
  • Stock splits do not create a taxable event; your basis is spread across the new share count. See what is a stock split.
  • Donating appreciated shares held more than a year to a charity lets you deduct the full market value and never pay the capital gains tax.

Reporting

Your broker sends Form 1099-B each February listing every sale, its proceeds and, for most lots, the cost basis. You report the totals on Form 8949 and Schedule D of your Form 1040. Keep your own records for shares bought before 2011 or transferred between brokers, because the basis may be missing from the 1099.

Planning checklist

  • Prefer tax-advantaged accounts for stocks you plan to trade actively.
  • Before selling a winner, check whether waiting past the one-year mark is realistic.
  • Harvest losses in December, but mind the 30-day window on both sides.
  • Estimate the tax when you sell and set the cash aside; large gains can push you into estimated-payment territory.
  • Track lots across brokers if you move accounts.

MetaCap's stock return calculator shows the pre-tax result of a hypothetical investment; subtract the rates above to see what you would keep.

Frequently Asked Questions

Do I pay tax on stocks if I don't sell?

No. Price gains are not taxed until you sell. Dividends, however, are taxable in the year you receive them even if you reinvest them.

What is the capital gains tax rate for 2026?

Long-term gains are taxed at 0%, 15% or 20% depending on taxable income, plus 3.8% net investment income tax above $200,000 (single) or $250,000 (married filing jointly). Short-term gains are taxed at ordinary income rates from 10% to 37%.

How do I avoid capital gains tax on stocks?

Hold investments inside a Roth IRA or 401(k), hold winners for more than one year to get long-term rates, realize losses to offset gains, donate appreciated shares to charity, or simply do not sell. Heirs also receive a stepped-up cost basis on inherited shares.

How long do you have to hold a stock to avoid short-term capital gains tax?

More than one year. The holding period starts the day after you buy, so shares bought on March 10, 2026 qualify for long-term rates if sold on March 11, 2027 or later. Holding longer does not eliminate the tax, but it moves the gain to the 0%, 15% or 20% rates.

How much tax will I pay on a $10,000 stock gain?

It depends on your income and holding period. For a single filer with $70,000 of other taxable income in 2026, a $10,000 long-term gain is taxed at 15%, or $1,500 federal. The same gain held a year or less is taxed at the 22% ordinary rate, or $2,200. State tax may apply on top.

Do I pay capital gains tax if I sell a stock and reinvest the money?

Yes. In a regular taxable brokerage account, every sale at a profit is a taxable event even if you immediately buy another stock with the proceeds. Only trades inside tax-advantaged accounts such as IRAs and 401(k)s are exempt until withdrawal.

Is there a minimum amount of stock gains before you owe tax?

No. Any realized gain is reportable, however small. The 0% long-term rate means many lower-income filers owe nothing on long-term gains, but the sale still appears on Form 1099-B and your return.

Are ETF gains taxed the same as stock gains?

Yes for the shares you sell. ETFs also distribute capital gains occasionally, though most broad stock ETFs rarely do because of how they are structured.

Sources

Author: metacap-editorial-team

Last reviewed: October 17, 2026