Selling stocks, ETFs, mutual funds, cryptocurrency, or investment real estate can trigger a significant tax bill. However, the IRS doesn't tax all investment profits equally. The exact amount you owe in capital gains tax depends heavily on how long you owned the asset, your total taxable income, and your filing status.

For 2026, long-term capital gains continue to be taxed at highly favorable rates of 0%, 15%, or 20%, while short-term gains are taxed at your ordinary income tax rates.

In this comprehensive guide, we break down the 2026 capital gains tax rates, the latest IRS income thresholds, practical real-world examples, and proven strategies to help you minimize your tax liability.

What Is Capital Gains Tax?

A capital gain is the profit you earn when you sell a capital asset for more than you paid for it (your adjusted basis).

Formula:
Capital Gain = Selling Price − Adjusted Basis

Examples of capital assets include:

  • Stocks and Bonds
  • ETFs and Mutual funds
  • Cryptocurrency (Bitcoin, Ethereum, etc.)
  • Investment real estate
  • Collectibles and precious metals

Short-Term vs. Long-Term Capital Gains

The IRS heavily incentivizes long-term investing. The amount of time you hold an asset before selling it dictates which tax rate applies.

Category Holding Period Applicable Tax Rate
Short-Term Capital Gain Held for exactly 1 year or less Taxed at your ordinary income tax rates (up to 37%)
Long-Term Capital Gain Held for more than 1 year Preferential rates of 0%, 15%, or 20%

Note: High-income earners may also be subject to an additional 3.8% Net Investment Income Tax (NIIT).

2026 Long-Term Capital Gains Tax Rates & Thresholds

The applicable long-term rate depends entirely on your taxable income and your filing status.

Filing Status 0% Rate Applies to Income: 15% Rate Applies to Income: 20% Rate Applies to Income:
Single $0 – $49,450 $49,451 – $545,500 Over $545,500
Married Filing Jointly $0 – $98,900 $98,901 – $613,700 Over $613,700
Head of Household $0 – $66,200 $66,201 – $579,600 Over $579,600

Critically, these thresholds are based on your taxable income (after deductions), not your gross income.

How the IRS "Stacking Rule" Works

A common point of confusion is how exactly the IRS calculates these brackets. Long-term capital gains are not taxed completely separately from the rest of your return. The IRS uses a "stacking rule."

Your ordinary income (like W-2 wages) is calculated first and placed at the bottom of the stack, filling up the tax brackets. Your long-term capital gains are then layered on top of that ordinary income. The bracket your capital gains fall into determines the tax rate.

graph TD A[Ordinary Income Fills Tax Brackets First] --> B[Long-Term Capital Gain Layered on Top] B --> C{Which Threshold Does It Hit?} C -->|Fits under $49,450 Single limit| D[Taxed at 0%] C -->|Spills over into middle limit| E[Taxed at 15%] C -->|Spills into highest limit| F[Taxed at 20%] style A fill:#475569,stroke:#334155,stroke-width:2px,color:#fff style B fill:#3b82f6,stroke:#2563eb,stroke-width:2px,color:#fff style D fill:#10b981,stroke:#059669,stroke-width:2px,color:#fff style E fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#fff style F fill:#ef4444,stroke:#b91c1c,stroke-width:2px,color:#fff

Example 1: The 0% Tax Free Gain

You are a Single taxpayer. Your taxable income from your job is $40,000. You sell stocks for a long-term capital gain of $8,000.

Your total taxable income becomes $48,000. Because this total stays completely under the $49,450 threshold for a single filer, your entire $8,000 capital gain is taxed at 0%.

Example 2: Splitting the Brackets

You are Married Filing Jointly. Your taxable income from jobs is $90,000. You realize a long-term capital gain of $30,000. Your total income is now $120,000.

The 0% threshold for MFJ is $98,900. Therefore, the first $8,900 of your capital gain (the room left under the threshold) is taxed at 0%. The remaining $21,100 of the gain spills into the next bracket and is taxed at 15%.

Capital Loss and Wash Sale Rules

What happens if you lose money on an investment? The IRS allows you to use those losses to offset your gains.

  • If your total capital losses exceed your total capital gains for the year, you can deduct up to $3,000 of net capital losses against your other ordinary income (like your salary).
  • Any remaining losses beyond $3,000 are carried forward to future tax years until they are fully used.

Beware the Wash Sale Rule: If you sell a security at a loss and then buy substantially identical securities within 30 days before or after the sale, the IRS will disallow the loss for the current year. Instead, the loss is added to the cost basis of the newly purchased shares.

How to Report Capital Gains

When filing your taxes, the paper trail usually flows like this:

  1. Form 1099-B: Received from your brokerage showing your transaction proceeds and basis.
  2. Form 8949: Used to list all individual sales and adjustments (like wash sales).
  3. Schedule D: Summarizes the totals from Form 8949 to calculate your net short-term and long-term gains.
  4. Form 1040: The final net gain or loss is reported on your main tax return.

Proven Tips to Reduce Capital Gains Tax

  • Patience pays off: Whenever possible, hold your investments for at least one year and one day to ensure they qualify for the lower long-term rates.
  • Tax-loss harvesting: Strategically sell losing investments before December 31 to offset the massive gains you took earlier in the year.
  • Donate appreciated assets: Instead of selling stock and donating cash, consider donating the highly appreciated stock directly to charity. You avoid capital gains tax entirely and can still claim a charitable deduction for the full market value.

The Bottom Line

Understanding the 2026 capital gains tax brackets and the IRS stacking rule is essential for modern investors. By strategically timing your sales and offsetting your gains with losses, you can legally keep significantly more of your investment profits out of the hands of the IRS.