Capital Gains Tax Brackets: How the 0/15/20% Rates Actually Stack

For the broader tax bracket context, start with Tax Brackets: A Complete Guide. This piece focuses specifically on capital gains brackets — a separate bracket system that interacts with ordinary income brackets in ways most taxpayers don’t understand.

The two parallel bracket systems

The U.S. tax code has two bracket systems operating in parallel:

Ordinary income brackets (7 rates: 10%, 12%, 22%, 24%, 32%, 35%, 37%) apply to wages, interest, short-term capital gains, IRA withdrawals, Social Security (the taxable portion), pension income, and most other income.

Capital gains and qualified dividend brackets (3 rates: 0%, 15%, 20%) apply to long-term capital gains (assets held >1 year) and qualified dividends.

Both systems look at your total taxable income to determine rates. But they apply to different types of income. Both sit on top of each other as if in a layered cake.

2026 Capital Gains Brackets

Single filers (and Married Filing Separately for 0%/15% thresholds):

RateTaxable Income
0%$0 – $49,450
15%$49,451 – $545,500
20%Above $545,500

Married Filing Jointly / Qualifying Surviving Spouse:

RateTaxable Income
0%$0 – $98,900
15%$98,901 – $613,700
20%Above $613,700

Head of Household:

RateTaxable Income
0%$0 – $66,200
15%$66,201 – $579,600
20%Above $579,600

Married Filing Separately:

RateTaxable Income
0%$0 – $49,450
15%$49,451 – $306,850
20%Above $306,850

How stacking actually works

The capital gains rate depends on your total taxable income, not just your capital gains. Your ordinary income “fills up” the lower capital gains brackets first, leaving less (or no) room in the 0% bracket for your long-term gains.

Visualize it as a stacked cake:

  1. Bottom layer: Your ordinary taxable income. Filled first, taxed via ordinary income brackets.
  2. Next layer: Long-term capital gains and qualified dividends. Stacked on top, taxed via 0/15/20% brackets based on where they land in the cumulative stack.
  3. Higher layers: Unrecaptured Section 1250 gain (max 25%), then collectibles/QSBS (max 28%).

The key insight: adding ordinary income pushes capital gains upward in the stack, potentially out of the 0% bracket into 15%, or out of 15% into 20%.

Example 1: Pure 0% retiree. MFJ couple with $30K of ordinary income (pension, Social Security, interest) and $60K of long-term capital gains. Taxable income: $90K.

  • Ordinary income fills the cake first: $30K in the ordinary brackets
  • Capital gains stack on top: $60K starting at $30K, ending at $90K
  • All $60K of gains sit entirely below the $98,900 0% threshold
  • Capital gains tax: $0

Example 2: Partial 0% / partial 15%. Same couple, but ordinary income is now $70K and capital gains are $60K. Taxable income: $130K.

  • Ordinary income fills the bottom: $70K
  • Capital gains stack on top: $60K starting at $70K, ending at $130K
  • First $28,900 of gains (from $70K to $98,900) sits in the 0% bracket
  • Remaining $31,100 of gains (from $98,900 to $130K) sits in the 15% bracket
  • Capital gains tax: $31,100 × 15% = $4,665

Example 3: Pure 20%. Same couple, but income is $800K total ($600K ordinary + $200K capital gains). All gains sit well above the $613,700 threshold.

  • Capital gains tax: $200,000 × 20% = $40,000 (plus 3.8% NIIT = $7,600 more)

The tax-free 0% bracket

The 0% capital gains bracket is one of the most powerful tax planning tools in the code, and one of the least recognized.

For 2026, a married couple filing jointly can have up to $98,900 of taxable income (ordinary + long-term gains combined) and pay zero federal tax on the capital gains portion. For single filers, the limit is $49,450.

Who benefits most:

  • Early retirees before Social Security and pensions start
  • Taxpayers in low-income years (sabbaticals, career transitions, gap years)
  • Students with part-time income and inheritance portfolios
  • Retirees who’ve drawn down ordinary-income sources and sit primarily on taxable stock holdings

Strategic applications:

Tax-gain harvesting. Intentionally realize long-term gains in low-income years to use up 0% bracket room. This resets your cost basis higher, reducing future taxable gains.

Example: $80K of stock with $20K cost basis. A retiree with $40K of other ordinary income has $58,900 of 0% bracket room ($98,900 − $40K). Selling the stock to realize $60K of gain incurs $0 federal tax (all within 0% bracket). If they bought back the same stock immediately, their new basis is now $80K — locking in $60K of tax-free gain realization. Future sales start from the higher basis.

Note: Unlike tax-loss harvesting, there’s no wash sale rule on tax-gain harvesting. You can sell a stock for a gain and immediately buy it back. The IRS doesn’t restrict the transaction because you’re paying tax (even if at 0%), not claiming a loss.

Roth conversion pairing. In low-income years, some investors combine tax-gain harvesting (up to the 0% bracket limit) with Roth conversions (up to a targeted ordinary bracket). The combination captures both benefits in the same year. See Bracket-Fill Withdrawal Strategy.

Special capital gains rates

Three special rates apply above the standard 0/15/20% structure:

Collectibles: 28% maximum. Art, antiques, coins, stamps, precious metals (gold, silver), gems, historic objects — all taxed at a higher rate when held long-term. If your regular ordinary income rate is below 28%, you pay that lower rate instead. This rate hasn’t changed since 1997.

QSBS (Section 1202): up to 28%. Qualified Small Business Stock in qualifying domestic C-corporations can qualify for substantial exclusions from capital gains tax. Rules depend on when the stock was acquired. For stock acquired September 28, 2010 through July 4, 2025: 100% gain exclusion if held 5+ years, capped at $10M per issuer or 10× basis. For stock acquired after July 4, 2025 (under OBBBA): tiered exclusion — 50% at 3+ years, 75% at 4+ years, 100% at 5+ years — with a $15M cap. Any non-excluded portion is taxed at 28% maximum. This rewards early investors in qualifying small C-corporations.

Unrecaptured Section 1250 gain: 25% maximum. When you sell rental real estate or other depreciable real property, the portion of gain attributable to prior straight-line depreciation is recaptured at ordinary rates up to 25% max. Any gain above the depreciation recapture is taxed at standard LTCG rates. This is why real estate investors face higher effective tax bills than pure-stock investors selling similar-sized gains.

How they stack. The cake analogy continues: ordinary income at the bottom, then LTCG/QD, then unrecaptured 1250, then collectibles/QSBS at the top. Each layer faces its own applicable rate up to its maximum.

Net Investment Income Tax (NIIT)

On top of capital gains rates, the Net Investment Income Tax adds 3.8% for high earners:

  • Applies to the lesser of net investment income OR MAGI above the threshold
  • Threshold: $200K single / $250K MFJ / $125K MFS
  • Not indexed for inflation since 2013 — the real income threshold drops each year

Example: MFJ couple with $350K MAGI, $80K of net investment income.

  • Amount over threshold: $350K − $250K = $100K
  • Lesser of $80K or $100K = $80K
  • NIIT: $80K × 3.8% = $3,040

For capital gains in the 20% federal bracket, add 3.8% NIIT for an effective 23.8% rate. Add state tax (California 13.3% for top earners) and total federal+state capital gains rate exceeds 37%. This is why high earners sometimes lament that long-term gains aren’t as favored as they appear.

Qualified dividends vs. ordinary dividends

Dividends come in two flavors:

Qualified dividends use capital gains brackets (0/15/20%). To qualify:

  • From U.S. corporations or qualified foreign corporations
  • Held for more than 60 days during the 121-day period beginning 60 days before the ex-dividend date

Ordinary (non-qualified) dividends use ordinary income brackets. These include:

  • REIT dividends (mostly)
  • Most foreign dividends from non-qualified corporations
  • Money market fund “dividends” (actually interest)
  • Dividends on stocks you held too briefly to qualify
  • Capital gain distributions from mutual funds (some exceptions)

Most dividends from broad U.S. stock index funds are qualified. Most dividends from REIT funds are not. Treat them differently when modeling future tax costs on an investment.

Short-term capital gains: just ordinary income

Gains on assets held 1 year or less are short-term and taxed as ordinary income. No preferential treatment.

Holding period matters. Selling on day 365 gives you a short-term gain. Day 366 gives you a long-term gain. For a 22% ordinary bracket investor with a $30K gain:

  • Day 365: $30K × 22% = $6,600 tax
  • Day 366: $30K × 15% = $4,500 tax
  • Savings from waiting one extra day: $2,100

The holding period is computed starting the day after acquisition through the day of sale. Watch the exact dates for investments near the one-year mark.

Mutual fund capital gain distributions

Even if you didn’t sell a mutual fund, you may owe capital gains tax on it. Mutual funds must distribute realized capital gains to shareholders annually, and those distributions are taxable in the year received.

ETFs vs. mutual funds. ETFs are structurally more tax-efficient and rarely distribute capital gains. Mutual funds, especially actively-managed ones, can distribute significant gains — sometimes exceeding 10% of fund value in a single year.

Planning implications:

  • Check fund distribution estimates in November before buying in taxable
  • Consider selling before the distribution record date if you don’t want it
  • Hold capital-gain-distributing funds in tax-advantaged accounts instead of taxable

State capital gains treatment

Most states tax capital gains as ordinary income:

  • California: up to 13.3% on capital gains (same as ordinary)
  • New York: up to 10.9% on capital gains
  • Oregon: up to 9.9% on capital gains
  • New Jersey: up to 10.75% on capital gains

No-income-tax states: Florida, Texas, Washington, Nevada, Tennessee, South Dakota, Wyoming, Alaska, New Hampshire — no state capital gains tax.

Special treatment: Massachusetts taxes most capital gains at 5%, short-term at 8.5%. Washington imposes a tiered capital gains excise tax starting 2022: for 2026, gains above ~$278K (inflation-adjusted) are taxed at 7%, with an additional 2.9% surtax on gains above $1M (effective rate 9.9%). Real estate, retirement accounts, and certain other assets are exempt from Washington’s tax.

Combined federal + state capital gains rate in California for a high earner: 20% federal + 3.8% NIIT + 13.3% state = 37.1%. In Florida for the same earner: 20% federal + 3.8% NIIT + 0% state = 23.8%. The state differential for capital gains is substantial.

Capital losses

When gains turn to losses:

Offsetting gains. Capital losses offset capital gains dollar-for-dollar in the same year. Net losses can be claimed against ordinary income up to $3,000 per year ($1,500 MFS).

Carryforward. Losses exceeding the current-year offset carry forward indefinitely to future years.

Loss harvesting. Realizing losses intentionally to offset gains or ordinary income. A classic year-end tax planning strategy.

Wash sale rule. If you sell a security at a loss and buy a substantially similar security within 30 days (before or after), the loss is disallowed. The disallowed loss is added to the basis of the replacement security. Applies only to losses, not gains.

Common capital gains mistakes

Selling on day 365 instead of 366. Costs thousands in unnecessary ordinary-income taxation. Always check exact dates.

Forgetting NIIT. High earners assume 20% is the ceiling. With NIIT, it’s really 23.8% federal.

Ignoring mutual fund distributions. Buying an actively-managed fund late in the year in taxable can create immediate capital gains tax liability.

Using wrong cost basis. IRS has moved most brokerages to automatic basis reporting, but older accounts and securities transferred between firms can have basis errors. Always verify basis on tax returns.

Not harvesting losses. Unrealized losses in taxable accounts should be evaluated annually for harvesting opportunities — especially in declining markets.

Missing the 0% bracket. Eligible retirees and low-income taxpayers often don’t realize they could harvest gains tax-free.

Realizing gains near IRMAA or ACA cliffs. Capital gains count toward MAGI for both IRMAA and ACA premium tax credits. A poorly-timed gain realization can cost thousands in surcharges or lost subsidies. See IRMAA Tiers and The 400% FPL Cliff.

Try Limen

Model capital gains stacking against your ordinary income

Limen shows where your long-term capital gains sit in the stacked bracket system, identifies room in the 0% bracket for tax-gain harvesting, and flags when ordinary income would push gains into higher capital gains rates. Pro tier models multi-year tax-gain harvesting strategies coordinated with Roth conversions.

Open Limen →

Frequently asked questions

Can I really pay 0% on capital gains?

Yes, if your total taxable income (including the gains) stays below the 0% threshold ($49,450 single / $98,900 MFJ / $66,200 HoH for 2026). Common scenarios: early retirees living off accumulated savings before Social Security, low-income years during career transitions, students with investment income. The 0% bracket is very real and very usable.

If I'm in the 22% ordinary bracket, what's my capital gains rate?

Usually 15%, but it depends on total taxable income. At $80K single taxable income, you're in the 22% ordinary bracket. Adding $50K of long-term gains puts your total at $130K — gains sit in the 15% capital gains bracket. But if you had $40K of ordinary income instead, the first $9,450 of gains would be at 0% (filling up to $49,450), then the rest at 15%.

What's the wash sale rule for gains?

There isn't one. Wash sale rules apply only to losses. You can sell a stock for a gain and immediately buy it back with no tax consequence — this is 'tax-gain harvesting' and is a legitimate strategy for resetting cost basis higher. The IRS allows this because you're paying tax (even if at 0%).

Are capital gains included in AGI and MAGI?

Yes. Capital gains are included in gross income, adjusted gross income (AGI), and modified adjusted gross income (MAGI). This means realizing large gains can push you above IRMAA thresholds, ACA subsidy cliffs, and phase-out ranges for various deductions and credits. Always check interactions before realizing significant gains.

How are real estate gains taxed differently?

Complicated. For a rental property sold at a gain: (1) depreciation previously claimed is 'recaptured' at up to 25%, (2) remaining gain is taxed at standard LTCG rates (0/15/20%), (3) NIIT may apply. For primary residence, $250K exclusion single / $500K MFJ if lived in home 2 of last 5 years. For 1031 exchanges, tax can be deferred by rolling into another investment property.

Do I owe capital gains tax if I hold the investment in my IRA?

No. Inside a tax-advantaged account (traditional IRA, Roth IRA, 401(k), HSA), capital gains aren't taxed on realization. Eventual withdrawals from traditional IRAs are taxed as ordinary income; Roth IRA qualified withdrawals are tax-free; HSA qualified medical withdrawals are tax-free. Asset location decisions matter for maximizing tax efficiency. See [Asset Location](/learn/asset-location/).

What is a 'qualified dividend' vs. regular dividend?

Qualified dividends get preferential LTCG rates (0/15/20%). To qualify: dividends must come from U.S. corporations or qualified foreign corporations, AND you must hold the stock for more than 60 days during the 121-day period starting 60 days before the ex-dividend date. Most dividends from broad U.S. stock index funds qualify. REIT dividends generally don't qualify. Always check the 1099-DIV box 1a (total ordinary) vs. box 1b (qualified).

Can I use capital losses to offset ordinary income?

Up to $3,000 per year ($1,500 MFS). Capital losses first offset capital gains dollar-for-dollar. Any excess net loss can offset ordinary income up to the $3K cap. Losses beyond that carry forward indefinitely to future years. In a bad investment year, this is a useful (if modest) deduction.

Do state capital gains rates mirror federal?

Usually not. Most states tax capital gains at the same rate as ordinary income — so California's 13.3% state rate applies to capital gains. Exceptions: Massachusetts taxes most long-term gains at 5%; Washington has a 7% tax on gains above $250K; several states have no income tax at all. Residents in no-income-tax states save substantially on capital gains realization.

What's the best capital gains strategy for retirees?

Depends on income. Low-income early retirees should prioritize tax-gain harvesting in the 0% bracket. Mid-income retirees should coordinate gain realization with Roth conversions and bracket-fill strategies. High-income retirees need to watch NIIT, IRMAA cliffs, and state tax implications. The common thread: capital gains decisions are income-dependent, so multi-year planning with tax-aware tools produces better outcomes than one-off realizations.

Sources


Chris Gammill is the founder of Ignis Tools and writes about tax-aware retirement planning. Research and drafting assisted by AI tools; all figures and claims verified by the author against primary sources.

  1. IRS Topic 409 — Capital Gains and Losses — retrieved 2026-04-21
  2. IRS — Tax inflation adjustments for tax year 2026 — retrieved 2026-04-21
  3. IRS Revenue Procedure 2025-32 — retrieved 2026-04-21
  4. IRS — Publication 550, Investment Income and Expenses — retrieved 2026-04-21
  5. IRS — Instructions for Schedule D (Form 1040) — retrieved 2026-04-21