Financial Education

What Is Capital Gains Tax? Short-Term vs. Long-Term Explained

Written by MarketSharkly
What Is Capital Gains Tax Short-Term vs. Long-Term Explained

Capital gains tax applies to the profit you make when you sell an asset — stock, real estate, a business, or other property — for more than you paid for it. How that profit gets taxed depends heavily on one specific factor: how long you held the asset before selling. That single distinction, short-term versus long-term, can change your tax bill on the same dollar amount of gain substantially.

Short-Term vs. Long-Term: The Line That Matters

Short-term capital gains apply to assets held for one year or less. They aren't taxed under a special capital gains rate at all — they're simply added to your other income and taxed at your regular ordinary income tax rate, the same seven-bracket schedule (10% to 37% for 2026) that applies to wages.

Long-term capital gains apply to assets held for more than one year, and they get their own, generally lower, preferential rate structure: 0%, 15%, or 20%, depending on your total taxable income.

The one-year line is exact, not approximate — an asset sold on day 365 of ownership is short-term; the same asset sold on day 366 is long-term. That single extra day can be the difference between two very different tax outcomes on the identical gain.

The 2026 Long-Term Capital Gains Brackets

Per IRS Revenue Procedure 2025-32, the 2026 long-term capital gains rate thresholds are:

Rate

Single

Married Filing Jointly

0%

Up to $49,450

Up to $98,900

15%

$49,451–$545,500

$98,901–$613,700

20%

Above $545,500

Above $613,700

These thresholds are based on taxable income — and critically, that figure includes the gain itself, not just your income from other sources.

Why Capital Gains "Stack" on Top of Your Ordinary Income

This is the part most explanations skip, and it changes how you should actually read the table above: the IRS doesn't evaluate your capital gain in isolation. It stacks your ordinary income first, then places the long-term gain on top of that, filling whatever portion of the 0%/15%/20% brackets sits above your ordinary income floor.

A Worked Example

Say you're a single filer with $85,000 in ordinary taxable income, and you sell stock you've held for two years, realizing a $25,000 long-term gain.

Stacked total income: $85,000 + $25,000 = $110,000

Since your ordinary income alone ($85,000) already exceeds the $49,450 zero-rate threshold, none of the gain gets the 0% rate — it starts being taxed from where your ordinary income left off. Because the full stacked total ($110,000) stays below the $545,500 breakpoint for the 20% rate, the entire $25,000 gain is taxed at 15%:

Long-term capital gains tax: $25,000 × 15% = $3,750

The Same Gain, Held Short-Term Instead

Now compare that to the exact same $25,000 profit, but on an asset held only seven months — short-term. Instead of getting the flat 15% rate, it's added directly to your $85,000 ordinary income and taxed through the regular bracket schedule, climbing from the 22% bracket into the 24% bracket as it stacks on top:

Portion taxed at 22% (from $85,000 up to the $105,700 bracket edge): $20,700 × 22% = $4,554

Portion taxed at 24% (the remaining $4,300 above $105,700): $4,300 × 24% = $1,032

Total short-term tax on the same $25,000 gain: $4,554 + $1,032 = $5,586

Holding the identical investment for over a year instead of under it, in this example, saves $1,836 in federal tax on the exact same $25,000 profit — purely from the holding period, with nothing else about the investment changing.

The Net Investment Income Tax (NIIT): An Extra Layer for Higher Earners

Above certain income levels, an additional 3.8% Net Investment Income Tax applies on top of whatever capital gains rate you'd otherwise owe. It kicks in when your Modified Adjusted Gross Income exceeds $200,000 (single) or $250,000 (married filing jointly) — thresholds set by statute in 2013 that, unlike the capital gains brackets themselves, are not adjusted for inflation each year.

Stacked together, a gain that would otherwise be taxed at 15% effectively costs 18.8% once NIIT applies, and a gain taxed at the top 20% rate effectively costs 23.8% — the maximum realistic federal rate on a long-term capital gain for a high earner in 2026.

Special Asset Categories With Different Rates

Not every asset follows the standard 0%/15%/20% schedule. A few notable exceptions:

Collectibles — art, antiques, coins, stamps, and precious metals held as investments — are capped at a 28% long-term rate, higher than the standard top rate.

Section 1250 real estate gain attributable to previously claimed depreciation can be subject to a 25% rate, separate from the gain attributable to appreciation, which follows the standard brackets.

Qualified Small Business Stock (QSBS), under specific holding-period and eligibility requirements, can allow all or a significant portion of the gain to be excluded from federal tax entirely — a substantially different outcome from the standard rules, with rules detailed enough to warrant its own dedicated review with a tax professional.

Offsetting Gains With Losses

If you sell some investments at a loss in the same year you realize gains elsewhere, those losses can offset the gains — a strategy commonly called tax-loss harvesting. If your total losses for the year exceed your total gains, you can generally deduct up to $3,000 of the excess against ordinary income (for single filers and married filing jointly; $1,500 if married filing separately), with any remaining loss carried forward to future tax years.

Losses aren't unlimited in usefulness, though — the IRS's wash sale rule disallows the loss if you buy the same or a "substantially identical" security within 30 days before or after the sale, specifically to prevent selling purely to harvest a tax loss while immediately buying back into the same position.

Frequently Asked Questions

Does selling my primary home trigger capital gains tax?

Often not, up to a limit. A commonly used exclusion allows eligible homeowners who meet ownership and use requirements to exclude a substantial portion of the gain on the sale of a primary residence from federal tax — the specific eligibility rules and exclusion amount are worth reviewing directly for your situation, since they depend on filing status and how the home was used.

Do I owe capital gains tax if I don't sell the investment?

No. Capital gains tax applies to realized gains — meaning you've actually sold the asset. An investment that's grown in value but hasn't been sold, sometimes called an unrealized gain, isn't taxed.

Is capital gains tax the same at the state level?

No, and it varies significantly. Some states tax capital gains at the same rate as ordinary income with no preferential long-term rate at all, some have no state income tax, and rules differ enough by state that state tax is worth checking separately from the federal calculation.

What happens if my gain pushes me into a higher long-term capital gains bracket?

The same stacking principle applies as with ordinary tax brackets — only the portion of the stacked total that falls above a threshold gets the higher rate; the rest continues to be taxed at the lower rate it already qualified for.

Are dividends taxed the same way as capital gains?

It depends on the type. Qualified dividends are generally taxed at the same preferential 0%/15%/20% long-term capital gains rates. Non-qualified (ordinary) dividends are taxed as ordinary income, similar to short-term capital gains.

Key Takeaways

Whether a capital gain is taxed as ordinary income (short-term, held one year or less) or at the preferential 0%/15%/20% long-term rates (held more than a year) can meaningfully change the tax owed on an identical profit — often by a significant margin, as the worked example above shows.

For 2026, the long-term brackets run 0% up to $49,450 (single) / $98,900 (MFJ), 15% up to $545,500 / $613,700, and 20% above that — with gains stacking on top of ordinary income to determine which rate applies, and a 3.8% NIIT layering on top for higher earners. The holding period is the single lever most within an investor's control, which is why it's worth tracking deliberately rather than as an afterthought at tax time.


Sources

This article is for general educational purposes only and does not constitute financial, investment, tax, or legal advice.