SuperMoney logo
SuperMoney logo

What Is Capital Gains Tax? Rates, Rules, and How to Reduce What You Owe

Ante Mazalin avatar image
Last updated 04/08/2026 by

Ante Mazalin

Fact checked by

Andy Lee

Summary:
Capital gains tax is the tax owed on the profit from selling a capital asset — such as stocks, real estate, or a business — for more than you paid for it, with the rate depending primarily on how long you held the asset before selling.
The holding period determines which rate applies.
  • Short-term capital gains: Profit from assets held one year or less, taxed as ordinary income at your marginal rate — up to 37% for high earners.
  • Long-term capital gains: Profit from assets held more than one year, taxed at preferential rates of 0%, 15%, or 20% depending on taxable income — significantly lower than ordinary income rates for most taxpayers.
  • Capital losses: Losses from selling assets below cost can offset capital gains dollar-for-dollar, and up to $3,000 of net losses can reduce ordinary income annually — with unused losses carried forward indefinitely.
The distinction between short-term and long-term treatment is one of the most actionable tax planning levers available to investors.
Holding an appreciated asset for just one day past the one-year mark can shift the tax rate from 22% or more to 15% — a meaningful difference on a large gain.

Compare Tax Preparation Services

Compare multiple vetted providers. Discover your best option.
Compare Options

Short-Term vs. Long-Term Capital Gains Rates

Short-term capital gains apply to assets held 12 months or less. They’re taxed at your ordinary income tax bracket rate — the same rate as wages and salary.
Long-term capital gains apply to assets held more than 12 months. They receive preferential tax rates set by Congress specifically to encourage long-term investing.
2024 Taxable Income (Single)2024 Taxable Income (Married Filing Jointly)Long-Term Rate
$0 – $47,025$0 – $94,0500%
$47,026 – $518,900$94,051 – $583,75015%
Over $518,900Over $583,75020%
Note: High-income taxpayers may also owe an additional 3.8% Net Investment Income Tax (NIIT) on investment income above $200,000 (single) or $250,000 (married filing jointly), bringing the effective top rate on long-term capital gains to 23.8%.

What Assets Are Subject to Capital Gains Tax

Capital gains tax applies to virtually any asset sold at a profit, including:
  • Stocks, ETFs, and mutual funds — including fund distributions of capital gains even if you didn’t sell
  • Real estate — primary residences have a special exclusion (see below); investment properties are fully taxable
  • Bonds — gains on bond sales (not interest income) are subject to capital gains rates
  • Cryptocurrency — the IRS treats crypto as property; each sale or exchange is a taxable event
  • Collectibles — art, coins, and antiques face a maximum long-term rate of 28%, higher than the standard 20%
  • Business interests — gains from selling a business or partnership interest

The Primary Residence Exclusion

Homeowners who sell their primary residence can exclude up to $250,000 of capital gains from tax ($500,000 for married filing jointly). To qualify, you must have owned and lived in the home as your primary residence for at least two of the five years before the sale.
This exclusion resets every two years — meaning you can use it repeatedly over a lifetime. Gains above the exclusion threshold are taxed as long-term capital gains (assuming you’ve owned the home more than a year).
Pro Tip: Tax-loss harvesting — strategically selling investments at a loss to offset gains elsewhere in your portfolio — is one of the most reliable legal tax reduction strategies available. A $10,000 loss offsets $10,000 of gains, potentially saving $1,500–$2,000 in taxes. The wash-sale rule prevents repurchasing the “substantially identical” security within 30 days before or after the sale, but you can immediately buy a similar (not identical) fund to maintain market exposure while locking in the tax loss.

Capital Gains Tax Rates by Asset Type

Asset TypeShort-Term RateLong-Term Rate
Stocks, ETFs, mutual fundsOrdinary income (up to 37%)0%, 15%, or 20%
Real estate (investment property)Ordinary income0%, 15%, or 20% (depreciation recapture at 25%)
Primary residenceN/A (exclusion usually applies)Excluded up to $250K/$500K
CollectiblesOrdinary incomeMaximum 28%
CryptocurrencyOrdinary income0%, 15%, or 20%
Small business stock (Sec. 1202)Ordinary incomeUp to 100% exclusion if held 5+ years

How Capital Losses Offset Gains

Capital losses first offset capital gains of the same type (short-term losses against short-term gains, long-term against long-term). If losses exceed gains of that type, they carry over to offset the other type.
If total capital losses exceed total capital gains, up to $3,000 of net losses can reduce ordinary income in that tax year. Any remaining losses carry forward to future years with no expiration, applying against future gains indefinitely.
For a full breakdown of how gains and losses interact on your return, see How Capital Gains and Losses Affect Your Taxes.

Strategies to Reduce Capital Gains Tax

  • Hold for more than one year. Converting a short-term gain to long-term can reduce the rate by 10–20+ percentage points depending on your bracket.
  • Max tax-advantaged accounts. Gains inside a Roth IRA or 401(k) are not subject to capital gains tax. Tax-deferred accounts let gains compound without annual tax drag.
  • Harvest losses strategically. Sell losing positions to offset gains elsewhere, then reinvest in similar assets to maintain your target allocation.
  • Donate appreciated assets. Donating stock or other appreciated assets directly to a charity avoids capital gains tax entirely while allowing you to deduct the full market value.
  • Time gains to low-income years. If your income drops — between jobs, early retirement, or a business loss year — falling into the 0% long-term capital gains bracket makes it the optimal time to realize gains. Single filers with taxable income under $47,025 in 2024 pay no federal capital gains tax.
  • Use Opportunity Zones. Investing capital gains in Qualified Opportunity Zone funds defers and potentially reduces tax on the original gain while providing additional benefits on future appreciation.
For stock-specific strategies, see How to Avoid Capital Gains Tax on Stocks.

Key takeaways

  • Capital gains tax applies to profit from selling assets. The rate — short-term (ordinary income) or long-term (0%, 15%, 20%) — depends on how long you held the asset.
  • Holding an asset more than one year qualifies it for long-term rates, which are substantially lower than ordinary income rates for most taxpayers.
  • Taxpayers with taxable income below $47,025 (single) or $94,050 (married filing jointly) in 2024 pay 0% on long-term capital gains.
  • Capital losses offset capital gains dollar-for-dollar. Up to $3,000 in net losses can also reduce ordinary income annually, with unlimited carryforward.
  • Primary residence gains up to $250,000 ($500,000 married) are excluded if you’ve lived there two of the last five years.
  • Tax-loss harvesting, holding gains past the one-year mark, and using tax-advantaged accounts are the three most impactful legal strategies for reducing capital gains tax.

Frequently Asked Questions

When do you pay capital gains tax?

Capital gains are realized — and become taxable — when you sell the asset. Unrealized gains (assets that have appreciated in value but haven’t been sold) are not taxed.
You report capital gains on your annual tax return and pay the associated tax when you file, or through quarterly estimated payments if the amount is significant.

Do I owe capital gains tax if I reinvest the proceeds?

Yes. Selling an asset at a gain triggers capital gains tax regardless of what you do with the money afterward. The only exceptions are specific deferral mechanisms — like 1031 exchanges for real estate or Qualified Opportunity Zone investments — where reinvestment is into an approved vehicle within a specified time window.

How does capital gains tax work on mutual funds?

Mutual funds distribute capital gains to shareholders when the fund manager sells holdings at a profit inside the fund — even if you didn’t sell your shares. These distributions are taxable in the year received.
Index funds and ETFs tend to distribute far fewer capital gains than actively managed funds due to lower portfolio turnover, making them more tax-efficient in taxable accounts.

What is the short-term capital gains tax rate?

Short-term capital gains — on assets held 12 months or less — are taxed at your ordinary income rate, the same as wages. In 2024, that ranges from 10% to 37% depending on your total taxable income. See Short-Term Capital Gains for a full rate breakdown with examples.
Table of Contents