Tax · Guide

Short-Term vs Long-Term Capital Gains Tax 2026: What the Difference Costs You

Short-term vs long-term capital gains tax rates explained with real dollar math. See how waiting one extra month can save thousands, and when short-term sale still makes sense.

·Jun 25, 2026·12 min read
Rate data reviewed recently·Methodology →

How to choose

What to weigh before you pick

It usually comes down to 3 things. Compare your options on each before deciding.

Tax treatment

How each option is taxed going in and coming out.

Eligibility & limits

Income rules, contribution caps, and deadlines.

Flexibility

Access to the money and what it costs to change course.

Key Takeaways
  • Waiting one extra month to cross the one-year holding threshold can save $1,400 in federal tax on a $20,000 gain for someone in the 22% bracket — that is the difference between a 22% short-term rate and a 15% long-term rate.
  • At $100,000 in capital gains, the gap between a 22% short-term rate and a 15% long-term rate is $7,000 in federal tax owed, entirely based on how many days you held the asset.
  • High earners also face a 3.8% Net Investment Income Tax on top of long-term rates — pushing the effective federal rate on large gains to 23.8% for individuals above $200,000 in modified adjusted gross income.

Capital gains tax is one of the few taxes where your behavior changes the rate you pay. The federal government taxes investment profits differently depending on how long you held the asset before selling. Hold for one year or less: you pay your ordinary income tax rate. Hold for more than one year: you pay a substantially lower long-term capital gains rate.

The difference is large enough to change investment decisions. A single holding period crossing from short-term to long-term can save thousands of dollars on a single trade, with no difference in the underlying investment itself. This guide explains the mechanics clearly, shows the dollar impact at common gain sizes, and identifies the situations where selling short-term still makes financial sense despite the higher tax cost.

This is educational information about tax law. Consult a tax professional for advice specific to your situation.

What a Capital Gain Is

A capital gain is the profit you make when you sell an asset for more than you paid. The gain equals your sale price minus your cost basis (what you originally paid, including commissions).

If you bought 100 shares at $30 per share ($3,000 total) and sold them at $50 per share ($5,000 total), your capital gain is $2,000.

The key question is how long you held the shares before selling.

Short-Term vs Long-Term: The Holding Period Rule

Short-term capital gains apply when you sell an asset held for one year or less. The IRS taxes short-term gains at your ordinary income tax rate, which ranges from 10% to 37% for federal taxes depending on your taxable income. Source: IRS Publication 550.

Long-term capital gains apply when you sell an asset held for more than one year. The federal rates are 0%, 15%, or 20% depending on taxable income. Source: IRS.

The one-year threshold is strict. An asset sold on the exact one-year anniversary of purchase still qualifies as short-term. You must hold for at least one year and one day to receive long-term treatment.

The 2026 Rate Structure

For long-term capital gains, the 2024 IRS thresholds (the most recently published; these adjust annually for inflation) are:

Filing Status0% Rate15% Rate20% Rate
SingleUp to $47,025$47,026 to $518,900Above $518,900
Married filing jointlyUp to $94,050$94,051 to $583,750Above $583,750
Head of householdUp to $63,000$63,001 to $551,350Above $551,350

Note: these thresholds adjust for inflation each year. The 2026 thresholds will be published by the IRS in late 2025. Verify current-year figures at IRS.gov or consult a tax professional.

For short-term gains, the 2024 federal ordinary income brackets are 10%, 12%, 22%, 24%, 32%, 35%, and 37%. The bracket that applies depends on your total taxable income for the year.

Dollar-Impact Math: The Cost of Selling Early

Case study: $20,000 gain, 11 months vs 13 months

Investor A sells stock with a $20,000 gain after 11 months of holding (short-term):

  • Falls in the 22% ordinary income bracket
  • Federal tax owed: $20,000 x 22% = $4,400

Investor B waits 2 more months and sells after 13 months (long-term):

  • Taxable income puts them in the 15% long-term capital gains bracket
  • Federal tax owed: $20,000 x 15% = $3,000

Savings from waiting: $4,400 - $3,000 = $1,400 in federal tax

That $1,400 savings required no additional investment, no change in the asset, and no market risk. The only variable was the number of days the investor held the position.

Case study: $100,000 gain — the larger stakes

At $100,000 in capital gains:

Short-term (22% bracket): $100,000 x 22% = $22,000 in federal tax Long-term (15% bracket): $100,000 x 15% = $15,000 in federal tax

Federal tax saved by holding past one year: $7,000

For someone in the 24% bracket selling short-term vs the 15% long-term rate: $100,000 x 24% = $24,000 (short-term) $100,000 x 15% = $15,000 (long-term) Savings: $9,000

These figures are federal only. State taxes stack on top (see below).

Consult a tax professional for your specific situation.

Watch Out: The 1-day difference between an 11-month holding period and a 12-month-plus-one-day holding period can cost thousands of dollars in federal tax. If you are within a few weeks of the one-year mark, consider waiting unless you have a specific financial reason to sell immediately.

The Net Investment Income Tax (An Extra 3.8% for High Earners)

For investors with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly), the IRS applies an additional 3.8% Net Investment Income Tax (NIIT) on top of regular capital gains rates. Source: IRS.

This means a high-income investor selling a long-held position with a large gain may face:

  • 20% long-term capital gains rate (top bracket)
  • 3.8% NIIT
  • Combined federal rate: 23.8%

At the same income level, a short-term gain would be taxed at ordinary rates (potentially 37%) plus 3.8% NIIT, for a combined federal rate of 40.8%.

The NIIT applies to capital gains, dividends, interest, and net rental income. It does not apply to wages, Social Security, or distributions from IRAs and 401(k) plans.

State Taxes: Often Overlooked, Sometimes Large

Many states impose their own capital gains tax, and most treat capital gains as ordinary income regardless of the federal distinction.

Watch Out: State taxes can add 5-13% on top of federal capital gains rates. California taxes all capital gains as regular income, with a top rate of 13.3%. New York adds up to 10.9%. New Jersey adds up to 10.75%. These state rates apply on top of federal rates, making the true combined marginal rate on short-term gains in California potentially 37% federal plus 13.3% state = 50.3% for the highest earners.

State treatment of capital gains varies significantly:

  • No capital gains tax: Texas, Florida, Washington, Nevada, Wyoming, South Dakota, Alaska, Tennessee (on investment income), New Hampshire (on investment income)
  • Taxes all gains as ordinary income: California, New York, New Jersey, Oregon, Minnesota, and most other states
  • Special treatment: A few states offer partial exclusions or lower rates on long-term gains

Residents of high-tax states should factor state rates into the math. In California, the combined federal-plus-state tax on a short-term gain at the top bracket approaches 50%.

Tax-Loss Harvesting: Using Losses to Offset Gains

If you have both gains and losses in a taxable account, selling losing positions can offset the tax bill on profitable sales. This strategy is called tax-loss harvesting.

The rules:

  • Capital losses offset capital gains dollar for dollar
  • Short-term losses first offset short-term gains; long-term losses first offset long-term gains (any excess can cross types)
  • If losses exceed all gains, up to $3,000 of net losses can offset ordinary income per year
  • Losses beyond $3,000 carry forward to future tax years

The wash sale rule is the main restriction. If you sell an investment at a loss and repurchase the same or substantially identical security within 30 days before or after the sale, the IRS disallows the loss. You cannot sell a stock to harvest the loss and immediately buy it back.

You can work around the wash sale by buying a similar but not identical security (for example, selling one S&P 500 ETF and purchasing a different S&P 500 ETF from a different provider) and waiting 31 days before repurchasing the original. The securities must be different enough that the IRS does not consider them substantially identical.

Assets With Special Rules

Not all assets receive standard long-term capital gains rates, even after a holding period longer than one year.

Collectibles (art, coins, precious metals held physically, antiques): taxed at a maximum 28% rate even on long-term gains, rather than the standard 20% maximum. Source: IRS.

Small business stock (Section 1202): Certain qualified small business stock held for more than five years may be eligible for a 50-100% exclusion of gains. This requires meeting specific criteria and consulting a tax professional.

Real estate depreciation recapture: When you sell rental property that you have taken depreciation deductions on, the depreciated portion may be "recaptured" and taxed at up to 25%, even if the overall sale qualifies as long-term.

Home sales: The Section 121 exclusion allows primary residence sellers to exclude up to $250,000 (single) or $500,000 (married) of gain tax-free if they have lived in the home for at least 2 of the last 5 years. Gains above those thresholds are taxed at long-term rates.

Choose Selling Now (Short-Term) If

Despite the higher tax rate, there are legitimate reasons to sell within one year:

You need the cash now. A financial emergency, business investment, or planned expense may require liquidity regardless of the tax cost.

The asset is likely to decline further. If you believe the investment will lose more value over the next few months than the tax savings from waiting, selling short-term and taking the loss (or smaller gain) may be correct.

You are in a low income year. If your taxable income is unusually low (you left a job, retired, or had large deductions), your short-term rate may be lower than in a normal year. Selling in a low-income year can reduce the rate difference.

The gain is small. On a $2,000 gain, the difference between 22% and 15% is $140. If waiting creates meaningful market risk or opportunity cost, it may not be worth the wait.

You are harvesting a loss. Selling a losing position short-term is fine and often intentional. Short-term losses can offset short-term gains at the same high rate.

When the Answer Flips

When the answer flips: short-term sale can be right

The default advice is to hold past one year. These situations change that calculus:

Hold for long-term if:

  • The gain is large ($20,000 or more) and you are weeks away from the one-year mark
  • You are in a high-tax state and the combined state-plus-federal short-term rate approaches 40-50%
  • You have no pressing need for cash and believe the asset will hold its value

Sell short-term if:

  • You need the cash for a concrete purpose now
  • You have offsetting capital losses that eliminate the tax difference
  • Your income is unusually low this year (making the short-term rate closer to the long-term rate)
  • You have a large capital loss carryforward from prior years that will absorb the gain
  • The investment is likely to lose significant value before the one-year mark is reached

Consult a tax professional before making sell decisions driven primarily by tax timing, especially on large gains.

IRAs and 401(k)s: Where the Distinction Disappears

Inside a traditional IRA or 401(k), you can buy and sell investments without triggering capital gains in the year of the transaction. The short-term vs long-term distinction is irrelevant inside these accounts.

The tax calculation defers to withdrawal:

  • Traditional IRA / 401(k): withdrawals taxed as ordinary income regardless of the underlying gain type
  • Roth IRA: qualified withdrawals are tax-free; no capital gains on anything inside the account

This means a Roth IRA is particularly powerful for investments you expect to trade frequently or that generate short-term gains. Frequent trading in a taxable account produces a string of short-term gains taxed at ordinary rates; the same activity inside a Roth produces no taxable events.

How This Guide Works

SwitchWize presents capital gains tax information using IRS Publication 550, IRS announced tax brackets, and publicly available state income tax rate schedules. Dollar calculations illustrate how the rules work mechanically and use simplified scenarios for clarity. Actual tax outcomes depend on your full income picture, filing status, state of residence, and other factors.

This is educational information about how capital gains taxes work. It is not tax advice. Individual tax situations vary substantially. Consult a qualified tax professional before making sell decisions based on tax considerations.

The Bottom Line
The holding period is one of the most controllable variables in investment taxation. Crossing from 364 days to 366 days can cut your federal rate from 22% to 15%, saving thousands on a single trade. The math is especially powerful in high-tax states where state rates stack on top. When the one-year mark is close and the gain is large, waiting is usually the right financial decision — unless you have a specific reason not to.
Run your money map before your next sell decision
If liquidity is driving your investment decisions, your savings rate may be the real problem. See what a top savings account pays today.
Check savings rates

Frequently Asked Questions

How long do I have to hold a stock to get long-term capital gains rates?
More than one year. If you sell on exactly the one-year anniversary of purchase, that is still short-term. You must hold for at least one year and one day to qualify for long-term capital gains tax rates. The difference between 364 days and 366 days can mean thousands of dollars in federal tax.
What is the capital gains tax rate for 2026?
Short-term capital gains are taxed at your ordinary income tax rate (10%, 12%, 22%, 24%, 32%, 35%, or 37% for federal). Long-term capital gains rates are 0%, 15%, or 20% depending on your taxable income. For 2024 (the most recent IRS-published thresholds): the 0% long-term rate applies to single filers with taxable income up to $47,025; 15% up to $518,900; 20% above that. These thresholds adjust annually for inflation. Consult a tax professional for your specific situation.
Can I avoid capital gains tax by investing in an IRA?
Yes and no. Inside a traditional or Roth IRA, you can buy and sell investments without triggering capital gains in the year of the transaction. In a Roth IRA, qualified withdrawals are tax-free. In a traditional IRA, withdrawals are taxed as ordinary income regardless of whether the underlying gains were long-term. IRAs eliminate the short-term vs long-term distinction entirely — helpful for frequent traders but important to understand that traditional IRA withdrawals are not treated as capital gains.
What is tax-loss harvesting?
Tax-loss harvesting is the practice of selling investments at a loss to offset capital gains. You can use capital losses to offset capital gains dollar-for-dollar. If losses exceed gains, up to $3,000 of net losses can offset ordinary income per year. Excess losses carry forward to future years. The wash sale rule requires that you not repurchase the same or substantially identical security within 30 days before or after the sale — if you do, the IRS disallows the loss.
Do I pay capital gains tax on a home sale?
Often no, up to a point. The IRS Section 121 exclusion allows single filers to exclude up to $250,000 in home sale gains from tax, and married couples can exclude up to $500,000, provided the home was your primary residence for at least 2 of the last 5 years. Gains above those thresholds are taxed at long-term capital gains rates if you owned the home for more than a year. Consult a tax professional for your specific situation, especially if you have a large gain or complex ownership history.
What is the Net Investment Income Tax?
The Net Investment Income Tax (NIIT) is an additional 3.8% surtax on investment income for higher earners. It applies to individuals with modified adjusted gross income above $200,000 (single) or $250,000 (married filing jointly). Investment income subject to the NIIT includes capital gains, dividends, interest, and rental income. The 3.8% stacks on top of regular capital gains rates, so a high-income investor selling a long-held position may face 20% + 3.8% = 23.8% federal tax on long-term gains. Consult a tax professional for your specific situation.
Next step
Find your best money move in 90 seconds.

Answer a few questions about your situation and goals. Money Map points you to the highest-value next step across savings, mortgage, cards, and debt.

Editorial review

What changed since the last update

Reviewed dataRate references, product links, and dated claims were checked against current SwitchWize sources.
Updated contextRelated calculators, Money Map paths, and offer links were refreshed for this article topic.
StandardsReviewed under the SwitchWize editorial policy. See standards →

Was this guide helpful?