What Is Capital Gains Tax? Short-Term vs. Long-Term Rates Explained (2026)

Capital gains tax is what you owe when you sell an asset — a stock, a rental property, cryptocurrency, or other investment — for more than you paid for it. The amount you owe depends on how long you held the asset and your income level. Understanding the difference between short-term and long-term treatment can mean thousands of dollars in tax savings.

Short-Term vs. Long-Term Capital Gains

The IRS divides capital gains into two categories based on your holding period:

  • Short-term capital gains: Assets held for one year or less. Taxed at your ordinary income tax rate — the same bracket as your wages. In 2026, that ranges from 10% to 37%.
  • Long-term capital gains: Assets held for more than one year. Taxed at preferential rates of 0%, 15%, or 20%, depending on your taxable income.

The difference is significant. A single filer who earns $80,000 and sells stock for a $10,000 gain faces roughly $2,200 if the gain is short-term (22% bracket) — versus $1,500 if it is long-term (15% rate). Waiting one additional day to cross the one-year threshold can change your tax bill materially.

2026 Long-Term Capital Gains Tax Rates

Long-term capital gains rates for 2026 (based on taxable income):

  • 0% rate: Single filers up to ~$47,025; married filing jointly up to ~$94,050
  • 15% rate: Single filers $47,026–$518,900; married filing jointly $94,051–$583,750
  • 20% rate: Above those thresholds

If your total income — including the capital gain — keeps you in the 0% bracket, you owe nothing on the gain. This is worth planning around, especially in early retirement or low-income years.

Net Investment Income Tax (NIIT)

High earners face an additional 3.8% net investment income tax on capital gains when modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). This effectively raises the top rate on long-term gains to 23.8% for those taxpayers.

Capital Losses and Tax-Loss Harvesting

Capital losses offset capital gains dollar for dollar. If you have $10,000 in gains and $6,000 in losses in the same year, you are only taxed on $4,000 of net gains. If losses exceed gains, you can deduct up to $3,000 of excess losses against ordinary income per year, with the remainder carried forward to future years.

Tax-loss harvesting — selling underperforming assets before year-end to realize losses that offset gains — is one of the most consistently effective tax strategies for investors. The key rule to avoid: the wash-sale rule prohibits you from buying the same (or substantially identical) security within 30 days before or after a loss sale, or the loss is disallowed.

Capital Gains on Real Estate

Selling your primary residence has a significant tax exclusion: up to $250,000 of gain ($500,000 for married couples) is excluded from capital gains tax, as long as you have lived in the home as your primary residence for at least two of the last five years. Gains above those limits are taxed at long-term rates if you have owned the home for more than a year.

Investment properties do not qualify for the exclusion and are subject to capital gains tax plus depreciation recapture — a separate calculation that taxes the depreciation deductions you took over the ownership period at up to 25%.

Strategies to Minimize Capital Gains Tax

  • Hold for more than one year before selling appreciated assets whenever practical.
  • Harvest losses in taxable accounts before year-end to offset gains.
  • Use tax-advantaged accounts (IRA, 401(k)) for high-turnover or actively traded positions — gains inside these accounts are not subject to capital gains tax.
  • Time income strategically — in years when your taxable income is low, you may qualify for the 0% rate and can realize gains at no cost.
  • Donate appreciated shares to charity instead of cash — you avoid the capital gains tax entirely and deduct the full fair market value.

Related: Step-Up in Basis: How It Reduces Taxes on Inherited Assets in 2026