What Is Capital Gains Tax? 2026 Guide to Short and Long-Term Rates

Capital gains tax is the tax you pay on the profit from selling a capital asset — stocks, bonds, real estate, collectibles, or other property — for more than you paid for it. The profit is the capital gain. The tax rate depends on how long you held the asset and your total income. Understanding capital gains tax is essential for investors, homeowners, and anyone selling a valuable asset in 2026.

Short-Term vs. Long-Term Capital Gains

The IRS distinguishes between two types of capital gains based on how long you held the asset before selling:

  • Short-term capital gains: Profit from assets held one year or less. Taxed as ordinary income — the same rate as your wages. In 2026, ordinary income tax brackets range from 10% to 37%.
  • Long-term capital gains: Profit from assets held more than one year. Taxed at preferential rates: 0%, 15%, or 20%, depending on your taxable income. Most middle-income investors pay 15%.

This distinction creates a powerful incentive to hold investments longer than one year. An investor in the 22% ordinary income bracket pays 22% on short-term gains but only 15% on long-term gains — a 7 percentage point difference that compounds significantly on large positions.

2026 Long-Term Capital Gains Tax Rates

Long-term capital gains rates for 2026 (approximate, subject to IRS inflation adjustments):

  • 0% rate: Single filers with taxable income up to approximately $47,025; married filing jointly up to approximately $94,050.
  • 15% rate: Single filers with taxable income between approximately $47,026 and $518,900; married filing jointly between approximately $94,051 and $583,750.
  • 20% rate: Single filers with taxable income above approximately $518,900; married filing jointly above approximately $583,750.

Note: taxable income (after deductions) determines your rate, not gross income. Many middle-income investors who take the standard deduction fall into the 15% bracket even with six-figure incomes.

Net Investment Income Tax (NIIT)

High-income taxpayers owe an additional 3.8% Net Investment Income Tax on the lesser of their net investment income or the amount by which their modified adjusted gross income (MAGI) exceeds the threshold: $200,000 for single filers, $250,000 for married filing jointly. This pushes the effective top rate on long-term capital gains to 23.8% (20% + 3.8%).

How Capital Losses Work

If you sell an investment at a loss, you have a capital loss. Capital losses offset capital gains dollar-for-dollar:

  • Short-term losses first offset short-term gains, then long-term gains.
  • Long-term losses first offset long-term gains, then short-term gains.
  • If total losses exceed total gains, you can deduct up to $3,000 of net capital losses against ordinary income per year ($1,500 if married filing separately).
  • Any unused losses carry forward to future years indefinitely.

Tax-loss harvesting is the strategy of intentionally selling losing positions to realize losses that offset gains elsewhere. It defers taxes without changing your overall market exposure — you sell one fund, immediately buy a similar (but not identical) fund, and maintain your investment position while booking the loss for tax purposes. Be aware of the wash-sale rule: you cannot repurchase the same or “substantially identical” security within 30 days before or after the sale without losing the tax benefit of the loss.

Capital Gains on Real Estate

When you sell a home, capital gains apply to any profit above your cost basis (purchase price plus certain improvements and selling costs). However, a significant exclusion applies:

  • Primary residence exclusion: If you have lived in the home as your primary residence for at least 2 of the past 5 years, you can exclude up to $250,000 of capital gains from federal tax ($500,000 for married couples filing jointly).
  • Gains above the exclusion are taxed at long-term rates if you owned the home more than one year.
  • The exclusion can be used every two years — not a one-time benefit.

Investment property does not qualify for this exclusion. Gains on rental property are taxed at long-term rates, and depreciation recapture (taxed at a maximum 25% rate) may apply to the portion of gain attributable to previous depreciation deductions.

Capital Gains on Inherited Assets

When you inherit an asset, the cost basis is “stepped up” to the fair market value at the date of the original owner’s death. This means if you inherit stock that was purchased for $10,000 and is worth $200,000 at the time of inheritance, your cost basis is $200,000 — not $10,000. If you sell it immediately for $200,000, there is zero capital gains tax. This step-up in basis is one of the most powerful estate planning tools available.

Strategies to Reduce Capital Gains Tax

  • Hold investments longer than one year to qualify for long-term rates.
  • Tax-loss harvest losing positions to offset gains.
  • Invest through tax-advantaged accounts (IRA, 401(k), HSA) where gains are either tax-deferred or tax-free.
  • Donate appreciated assets to charity instead of selling them. You get a deduction for the full fair market value and pay no capital gains tax on the appreciation.
  • Qualified Opportunity Zone investments: Deferring gains into a Qualified Opportunity Fund postpones the tax on reinvested gains and may eliminate tax on the new appreciation after 10 years.
  • Income management: In years with lower income (career transition, retirement), realize long-term gains that qualify for the 0% rate.

Bottom Line

Capital gains tax is one of the most manageable taxes in the U.S. tax code because timing is often within your control. Hold assets more than one year for preferential rates, harvest losses to offset gains, use tax-advantaged accounts whenever possible, and plan asset sales around your income level. A few strategic decisions each year can significantly reduce what you owe at tax time.

Related reading: How to Invest in Index Funds in 2026: Beginner’s Complete Guide | Best Robo-Advisors for 2026: Betterment vs Wealthfront vs Vanguard Digital Advisor | How to File Your Taxes for Free in 2026: IRS Free File and More