Capital Gains Tax 2026: Rates, Rules, and How to Minimize What You Owe

When you sell an investment for more than you paid for it, the profit is called a capital gain — and the IRS wants a cut. Understanding how capital gains tax works can save you thousands of dollars over your lifetime as an investor.

This guide covers the 2026 capital gains tax rates, the difference between short-term and long-term gains, and proven strategies to legally minimize what you owe.

What Is Capital Gains Tax?

Capital gains tax is the tax you pay on profit from selling a capital asset — stocks, bonds, mutual funds, ETFs, real estate, cryptocurrency, and other investments. The gain is the difference between what you paid (your cost basis) and what you sold it for.

Example: You bought 100 shares of a stock at $50 each ($5,000 total). You sold them for $80 each ($8,000 total). Your capital gain is $3,000. That $3,000 is what gets taxed.

Short-Term vs. Long-Term Capital Gains

The most important factor in how your gains are taxed is how long you held the asset before selling.

Short-Term Capital Gains

Assets held for one year or less generate short-term capital gains. These are taxed as ordinary income — the same as your salary — at rates ranging from 10% to 37% depending on your total taxable income.

Long-Term Capital Gains

Assets held for more than one year generate long-term capital gains. These are taxed at preferential rates: 0%, 15%, or 20%, depending on your income. Most investors pay 15%.

2026 Long-Term Capital Gains Tax Rates

Filing Status 0% Rate 15% Rate 20% Rate
Single Up to $47,025 $47,026–$518,900 Over $518,900
Married Filing Jointly Up to $94,050 $94,051–$583,750 Over $583,750
Head of Household Up to $63,000 $63,001–$551,350 Over $551,350

Note: Thresholds are approximate based on 2026 projections with inflation adjustments. Verify with IRS publications or a tax professional for exact figures.

Net Investment Income Tax (NIIT)

High-income investors may also owe the Net Investment Income Tax — a 3.8% surtax on investment income including capital gains, dividends, and interest. It applies to the lesser of your net investment income or the amount by which your modified adjusted gross income (MAGI) exceeds:

  • $200,000 for single filers
  • $250,000 for married filing jointly

Combined with the 20% top rate, high earners can face an effective capital gains rate of 23.8%.

Capital Gains on Real Estate

The sale of a primary residence has special rules. If you have owned and lived in the home for at least 2 of the last 5 years, you can exclude up to:

  • $250,000 in gains if filing single
  • $500,000 in gains if married filing jointly

Gains above the exclusion are subject to regular long-term capital gains rates. If you have rented the property, depreciation recapture rules apply — the depreciation you claimed is taxed at up to 25%.

Capital Gains on Cryptocurrency

The IRS treats cryptocurrency as property, not currency. Every sale, trade, or use of crypto to purchase goods or services is a taxable event. Short-term gains from crypto held under a year are taxed as ordinary income. Long-term gains qualify for preferential rates.

Strategies to Minimize Capital Gains Tax

Hold Investments for More Than One Year

The simplest strategy: wait until you have held an investment for over 12 months before selling. The difference between short-term and long-term rates can be substantial. Selling a position at day 364 vs. day 366 could cost you thousands in extra taxes.

Tax-Loss Harvesting

If you have losing positions in your portfolio, selling them generates a capital loss that offsets your capital gains. If losses exceed gains, you can deduct up to $3,000 against ordinary income per year, with unused losses carrying forward to future years.

Example: You realize $10,000 in gains and $7,000 in losses. Your net taxable gain is $3,000 instead of $10,000.

Be aware of the wash-sale rule: you cannot buy the same or “substantially identical” security within 30 days before or after the sale and still claim the loss.

Use Tax-Advantaged Accounts

Investments held in a Roth IRA, traditional IRA, or 401(k) grow tax-free or tax-deferred. There is no capital gains tax on sales inside these accounts. Placing your highest-return investments in tax-advantaged accounts is a powerful long-term strategy.

Stay in the 0% Capital Gains Bracket

If your taxable income is below $47,025 (single) or $94,050 (married), you pay 0% on long-term capital gains. This is an opportunity to harvest gains in lower-income years (early retirement, gap years, years with large deductions) without triggering any tax.

Qualified Opportunity Zone Investments

Investing capital gains in a Qualified Opportunity Fund (QOF) can defer and potentially reduce your tax liability. You defer the gain until the earlier of the date you sell the QOF investment or December 31, 2026. Gains on the QOF investment itself may be partially or fully excluded depending on how long you hold it.

Donate Appreciated Assets to Charity

If you donate appreciated stock directly to a qualified charity, you avoid capital gains tax entirely and can deduct the full fair market value of the donation (subject to AGI limits). This is more tax-efficient than selling the stock, paying tax, and donating the proceeds.

Gift Appreciated Assets

Gifting appreciated assets to family members in lower tax brackets can shift capital gains to someone who pays a lower rate — or even the 0% rate. Gift tax rules apply for large transfers ($18,000 annual exclusion per recipient in 2026).

Capital Gains vs. Ordinary Income: A Key Planning Decision

Understanding how capital gains interact with your other income is critical for tax planning. Capital gains “stack on top of” your ordinary income when determining your rate. This means even if you are in a low ordinary income bracket, large capital gains can push you into a higher capital gains bracket.

Work with a tax professional or use tax planning software to model the impact of large asset sales before executing them.

How to Report Capital Gains

Capital gains are reported on Schedule D of your federal tax return (Form 1040). Your brokerage will send you Form 1099-B showing proceeds and cost basis for all sales. Review this form carefully — cost basis is sometimes reported incorrectly, especially for reinvested dividends and gifted securities.

Bottom Line

Capital gains tax is unavoidable, but it is highly manageable with the right strategies. The biggest levers are holding period (long-term vs. short-term), account type (taxable vs. tax-advantaged), and tax-loss harvesting. Start with the simplest step: always hold investments for more than one year before selling when possible. The difference in tax rates can mean keeping significantly more of your returns.

For more on this topic, see our guide on how Qualified Opportunity Zones can defer and reduce capital gains taxes.