Home

Learn › Taxes & Rules › Stock & Investment Taxes

Short-Term vs. Long-Term Capital Gains Tax Rates

Spot the edge. Swoop in.

One year is the most valuable date in your portfolio. Hold a stock for 365 days or fewer and every dollar of profit gets taxed as ordinary income — the same rate as your paycheck. Hold for more than a year and the IRS switches to a preferential schedule: 0%, 15%, or 20% depending on your income, rates that can be less than half what ordinary income brackets impose. This guide covers how the holding period clock works, the 2026 long-term capital gains brackets, what resets or extends the clock (including the wash-sale rule), qualified dividends, and the NIIT surtax that stacks on top at higher incomes.

By Swoopr Editorial Team

Published · Updated

AI-assisted content · Swoopr is responsible for the final published article.

Key Takeaways

The distinction between short-term and long-term capital gains is among the most consequential tax rules an individual investor can understand, and also one of the most straightforward to act on. A single date determines whether the IRS treats your profit as ordinary income — taxed at the same rates as wages — or as a preferential gain, taxed at rates that for many investors are significantly lower. This guide explains the mechanics, the 2026 brackets, and the edge cases that trip up investors who think they understand the rule.

Direct answer: Capital gains on assets held for one year or less are short-term and taxed as ordinary income at your marginal rate. Capital gains on assets held for more than one year are long-term and taxed at preferential rates of 0%, 15%, or 20% depending on your 2026 taxable income. For single filers, the 0% rate applies up to $49,450 in taxable income; the 15% rate applies from $49,450 to $545,500; and the 20% rate applies above $545,500. Married filing jointly thresholds are $98,900 (0%/15% break) and $613,700 (15%/20% break). If your modified AGI exceeds $200,000 (single) or $250,000 (MFJ), a 3.8% Net Investment Income Tax also applies on top.

The Core Distinction: Short-Term vs. Long-Term

The Internal Revenue Code divides capital gains into exactly two categories based on how long you held the asset before selling. Everything else — which rate applies, whether losses offset gains — flows from which category the sale falls into.

Short-term capital gains (held one year or less)

A gain is short-term if you held the asset for 365 days or fewer, measured from the day after your purchase date to your sale date. Short-term gains have no preferential rate — they are added to your ordinary income and taxed at whatever marginal bracket applies to your total taxable income. In 2026, that means rates between 10% and 37% depending on your filing status and income. An active trader who buys and sells within weeks or months pays the same rate on every profitable trade as on their salary.

Long-term capital gains (held more than one year)

A gain is long-term if you held the asset for more than 365 days — meaning if you bought on January 5, you must sell on January 6 of the following year at the earliest to qualify, not January 5. Long-term gains qualify for preferential rates: 0%, 15%, or 20%, determined by your taxable income bracket. For most middle-income investors, the long-term rate is 15%, compared to ordinary income brackets that typically fall between 22% and 24% for the same income level — a difference that compounds significantly on large unrealized gains.

Why this distinction exists

Congress has taxed long-term gains at lower rates than ordinary income since 1922, with the policy rationale shifting over time but generally emphasizing incentives for long-term investment over short-term speculation, and concerns about "lock-in" effects where high tax rates on gains discourage investors from selling appreciated assets. The exact rates and thresholds have changed many times; the 0%/15%/20% framework has been in place since the Tax Cuts and Jobs Act of 2017 and was made permanent by the American Rescue Plan Act's subsequent adjustments, with the thresholds adjusted for inflation each year through 2026.

How the Holding Period Clock Works

Understanding the mechanics of the holding period prevents the most common mistake investors make: selling one or two days too early and forfeiting long-term treatment on the entire gain.

Start date: the day after purchase

Your holding period begins the day after you acquire the asset. If you buy 100 shares of a stock on March 15, 2025, your holding period clock starts on March 16, 2025. The purchase date itself does not count.

End date: the sale date (trade date, not settlement)

Your holding period ends on the date you sell, specifically the trade date — the date you execute the sell order. Settlement (T+1 for most stocks as of 2024) does not matter for tax purposes. If you click "sell" on March 16, 2026, that is your sale date regardless of when the cash clears your account two business days later.

The one-year cliff in practice

To qualify for long-term treatment, you must hold for more than one year — not exactly one year. Selling on the exact one-year anniversary of your purchase date is still short-term. Selling the day after the anniversary crosses the threshold. This distinction matters enormously on large positions: a taxpayer in the 24% ordinary income bracket who holds a stock with a $50,000 gain and sells on day 365 instead of day 366 pays $12,000 in federal tax instead of $7,500 (at a 15% long-term rate), a $4,500 difference from a single day.

Worked example: calculating the holding period

Example scenario — for education only.

An investor buys 200 shares of a stock on April 10, 2025, at $40 per share ($8,000 total cost). By April 2026, the stock trades at $65 per share ($13,000 total value), representing a $5,000 unrealized gain.

Multiple purchases (lots)

If you buy shares of the same stock at different times — building a position across several purchases — each purchase creates a separate lot with its own holding period. Selling 50 shares when some lots are over one year old and others are not means some shares get long-term treatment and others get short-term treatment, depending on which lot the sale is attributed to. The lot attribution method (specific identification vs. FIFO) determines which — covered in detail in the Specific Identification vs. FIFO section below.

2026 Long-Term Capital Gains Rate Brackets

For tax year 2026, the IRS has set the following long-term capital gains thresholds, adjusted for inflation from the 2025 figures. These thresholds apply to your taxable income (after deductions), not gross income.

Rate Single filer taxable income Married filing jointly Head of household
0% $0 – $49,450 $0 – $98,900 $0 – $66,750
15% $49,451 – $545,500 $98,901 – $613,700 $66,751 – $551,350
20% Above $545,500 Above $613,700 Above $551,350

Note that these thresholds are based on taxable income, which is your adjusted gross income minus the standard deduction (or itemized deductions if larger). For 2026, the standard deduction is $16,100 for single filers and $32,200 for married filing jointly. A single filer with $65,550 in wages who takes the standard deduction has taxable income of $49,450, placing them at the upper edge of the 0% long-term capital gains bracket — meaning any long-term gains realized in that year could be tax-free at the federal level.

How the brackets stack

Long-term capital gains are layered on top of your ordinary income when determining which rate applies. If a single filer has $30,000 in ordinary taxable income and realizes a $50,000 long-term capital gain, the first $19,450 of the gain fills the remaining room in the 0% bracket, and the remaining $30,550 is taxed at 15%. The gain does not all land in a single rate; it stacks through the brackets from where ordinary income left off.

Short-term rate comparison

Scenario $10,000 gain, short-term (22% bracket) $10,000 gain, long-term (15% bracket) Tax savings from waiting
Federal tax on gain $2,200 $1,500 $700
$50,000 gain equivalent $11,000 $7,500 $3,500
$100,000 gain equivalent $22,000 $15,000 $7,000

Specific Identification vs. FIFO: Controlling Which Lot You Sell

When you own multiple lots of the same security — bought at different times and prices — the method used to identify which shares are being sold determines both the cost basis and the holding period for each sale. Choosing the wrong method can inadvertently convert a long-term gain into a short-term one or inflate your taxable gain unnecessarily.

FIFO (first in, first out)

Under FIFO, the shares you bought first are treated as the shares you sell first. If you bought 50 shares in January 2024 and another 50 shares in November 2024, and you sell 50 shares in February 2026, FIFO attributes the sale to the January 2024 lot — which has been held for over two years and qualifies for long-term treatment. In this case FIFO helps. But if you bought 50 shares in January 2025 and 50 more in July 2025, and you sell 50 shares in August 2026, FIFO sends you to the January 2025 lot first — which crossed the one-year mark in January 2026 and is long-term. That's fine. But if the July 2025 lot has a lower cost basis, FIFO gives you a larger long-term gain than you might achieve by choosing the July lot with specific ID, which would still be short-term but with a smaller gain if strategically paired with losses elsewhere.

Specific identification (Spec ID)

Specific identification lets you tell your broker exactly which lot to sell before you execute the trade. This gives you full control over both the cost basis and the holding period treatment. Common strategies include:

To use specific identification, you must designate the lot before or at the time of the sale — the IRS does not permit retroactive lot identification after the fact. Your broker must confirm the designation in writing (electronically is fine). Most major brokers support specific identification at the account level or per-trade, but the mechanics vary — check your broker's procedure before assuming it works the way you expect.

Average cost (mutual funds and ETFs)

For mutual funds, a third option — average cost — averages the cost basis across all shares purchased. Average cost is not available for individual stocks or ETFs held in a standard brokerage account; it applies only to mutual fund shares. The holding period for average cost basis purposes is still lot-specific: each individual share's holding period is tracked to determine short-term vs. long-term treatment, but the cost basis reported is the average across all shares in the account.

The Wash-Sale Rule and How It Resets (or Extends) Your Holding Period

The wash-sale rule is primarily discussed as a mechanism that disallows a loss — but it also has a direct effect on holding periods that is frequently overlooked, and that effect can create an unexpected short-term gain situation if you're not paying attention.

What the wash-sale rule does

Under IRC Section 1091, if you sell a security at a loss and repurchase the same or a substantially identical security within the 61-day window surrounding the sale (30 days before through 30 days after), the loss is disallowed. It doesn't disappear permanently — it is added to the cost basis of the replacement shares, effectively deferring the tax benefit until those replacement shares are sold in a qualifying transaction.

The holding period tack-on

When a wash sale occurs, your holding period in the replacement shares is not a fresh start. The IRS tacks the holding period of the shares you sold onto the holding period of the replacement shares. This can help or hurt, depending on how long you held the original position:

Wash sales and short-term gains

A particularly consequential scenario arises when an investor sells a long-term position at a loss, triggers a wash sale by repurchasing, and the replacement shares subsequently appreciate. The replacement shares' holding period includes the tacked-on time from the original shares, so if the original position was already over one year old when sold, the replacement shares immediately qualify as long-term — the gain on the repurchased shares will eventually be long-term even if the shares are sold quickly. The detailed interaction between wash sales and holding periods is covered more fully on the Wash-Sale Rule page.

Qualified Dividends: Capital Gains Rates Without the Clock

Qualified dividends are taxed at the same preferential 0%/15%/20% rates as long-term capital gains, which makes them among the most tax-efficient forms of investment income available in a standard taxable brokerage account. But the investor's holding period on their own shares — not just the dividend classification — also matters.

What makes a dividend "qualified"

A dividend qualifies for preferential tax treatment if it is paid by a U.S. corporation (or a qualifying foreign corporation) and the investor has held the underlying stock for more than 60 days during the 121-day window that surrounds the ex-dividend date (60 days before through 60 days after). Dividends from REITs, master limited partnerships, and most money market funds generally do not qualify regardless of how long you hold them.

Practical implications

An investor who holds a dividend-paying stock for the long term and receives qualified dividends pays no federal tax on those dividends if their taxable income falls within the 0% long-term capital gains bracket — effectively tax-free income at lower income levels. At the 15% level, a qualified dividend is taxed at half the rate of an ordinary dividend. This is why many tax-efficient portfolio strategies emphasize holding dividend-paying stocks in taxable accounts rather than in tax-deferred accounts like IRAs, where the preferential rate advantage is lost since all withdrawals are taxed as ordinary income regardless.

Ordinary dividends — those that don't meet the holding-period or source test — are taxed at ordinary income rates, just like short-term capital gains. The distinction between qualified and ordinary is usually reported on Form 1099-DIV from your broker; Box 1a shows total ordinary dividends and Box 1b shows the qualified portion.

The Net Investment Income Tax (NIIT) Surtax

The preferential long-term capital gains rates are not the final word on what a high-income investor pays. Since 2013, an additional 3.8% federal surtax has applied to net investment income — including capital gains, qualified dividends, interest, and rental income — for taxpayers whose modified adjusted gross income (MAGI) exceeds specific thresholds.

2026 NIIT thresholds

These thresholds have been frozen at the same dollar amounts since 2013 and are not indexed for inflation. In 2026, a $200,000 MAGI threshold has substantially less purchasing power than it did thirteen years ago, meaning a growing number of households are affected by the NIIT compared to when it was enacted.

How NIIT stacks with capital gains rates

The NIIT applies in addition to — not instead of — the regular capital gains rate. The practical effect:

The NIIT applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold — so a taxpayer with $210,000 MAGI and $5,000 of net investment income pays NIIT only on the lesser of $5,000 (investment income) or $10,000 (the excess over $200,000), which is $5,000. The 3.8% on $5,000 = $190 additional tax.

Worked NIIT example

Example scenario — for education only.

A single filer has $180,000 in wages and sells stock with a $80,000 long-term gain. Total MAGI = $260,000. The entire $80,000 gain is investment income. MAGI exceeds the $200,000 threshold by $60,000. The lesser of $80,000 (investment income) and $60,000 (excess over threshold) = $60,000 is subject to NIIT. Regular tax on the $80,000 long-term gain: 15% × $80,000 = $12,000. NIIT: 3.8% × $60,000 = $2,280. Total federal capital gains tax: $14,280, or an effective rate of 17.85% on the gain. The remaining $20,000 of the gain (above the threshold) is taxed only at the regular 15% rate without the NIIT surtax.

Misconceptions vs. Reality

MisconceptionReality
Holding exactly one year qualifies you for long-term rates You must hold for more than one year — the day you hit exactly 365 days is still short-term; long-term begins on day 366
The holding period starts on your purchase date It starts the day after your purchase date (trade date); your sale date is the trade date, not settlement
The 20% long-term rate is the worst case for capital gains With the 3.8% NIIT on top, the effective federal rate on long-term gains can reach 23.8%; short-term gains can reach 40.8% for the highest earners
Wash-sale losses are gone permanently The loss is deferred, not eliminated — it is added to the cost basis of replacement shares and recognized when those shares are sold in a qualifying transaction
The 0% capital gains rate only helps very low-income people The 0% bracket extends to $49,450 (single) or $98,900 (MFJ) in 2026 taxable income — it applies to retirees, part-year workers, and others managing income below those thresholds
Qualified dividends require holding the stock for more than one year Qualified dividends only require holding more than 60 days in the 121-day window around the ex-dividend date — not one year
All dividends from U.S. stocks are qualified Dividends from REITs, MLPs, and some preferred stocks are ordinary even if paid by U.S. entities; REIT dividends are generally taxed as ordinary income

Common Mistakes

Several recurring errors cost investors money that clear mechanics would have prevented.

Selling one day too early. The single most common and costly mistake. Investors who track holding periods loosely sell when they believe they've crossed the one-year threshold, but miscalculate by one or two days. On a position with a large gain, this is an expensive error — one that a calendar reminder or a broker's lot-detail view can prevent entirely.

Assuming settlement date determines holding period. In a T+1 settlement environment, it's tempting to think the settlement date matters. It doesn't. Only the trade date — the date you execute the buy or sell — determines your holding period start and end dates. Brokerage confirmations will show both dates; the trade date is what you use for tax purposes.

Ignoring lot-level holding periods on partial sales. When selling a portion of a position that was built up in multiple tranches, investors who don't track lot-level holding periods may inadvertently sell short-term shares when long-term shares were available, or fail to recognize that some of their shares are still short-term even though the initial purchase was over a year ago. Checking your broker's lot detail before selling avoids this.

Overlooking the NIIT cliff. A taxpayer whose MAGI sits just below $200,000 (single) who realizes a large capital gain may push well into NIIT territory without planning for it, resulting in a higher effective rate than anticipated. MAGI management — charitable contributions, retirement contributions, installment sale elections — can keep gains below the NIIT threshold in some circumstances.

Treating all dividends as qualified. REIT dividends, MLP distributions, and dividends on foreign stocks held through ADRs that don't meet the qualifying-foreign-corporation test are not qualified dividends, and planning your portfolio's income around the preferential rate when some sources don't qualify leads to tax surprises at filing time.

Practical Checklist

Risks, Limitations, and Exceptions

Frequently Asked Questions

What is the difference between short-term and long-term capital gains?

A short-term capital gain arises when you sell a capital asset you held for one year or less; it is taxed as ordinary income, meaning at the same rate that applies to your wages or salary. A long-term capital gain arises when you sell an asset held for more than one year; it qualifies for preferential rates of 0%, 15%, or 20% depending on your taxable income. The one-year threshold is a hard cliff — selling one day early converts the entire gain to short-term treatment.

How do I calculate my holding period for capital gains tax purposes?

Your holding period starts the day after you buy the asset (trade date, not settlement date) and ends on the date you sell it (again, trade date). To qualify for long-term treatment in 2026, you must have held the asset for more than 365 days — selling on the exact one-year anniversary still counts as short-term. If you bought on March 15, 2025, you need to hold through March 16, 2026 at minimum. The settlement date (T+1 for most stocks) is irrelevant for holding-period purposes.

What are the 2026 long-term capital gains tax rates?

For 2026, long-term capital gains are taxed at 0% if your taxable income falls at or below $49,450 (single) or $98,900 (married filing jointly). The 15% rate applies from that threshold up to $545,500 (single) or $613,700 (MFJ). The 20% rate applies above $545,500 (single) or $613,700 (MFJ). If your modified adjusted gross income exceeds $200,000 (single) or $250,000 (MFJ), an additional 3.8% Net Investment Income Tax also applies, pushing the effective top rate to 23.8%.

Does the wash-sale rule affect my holding period?

Yes, indirectly. The wash-sale rule disallows a loss when you sell a security at a loss and repurchase the same or substantially identical security within 30 days before or after the sale. When this happens, your disallowed loss is added to the cost basis of the replacement shares, and critically, the holding period of the shares you sold is tacked on to the holding period of the replacement shares. This means wash sales can extend the clock on your new position's holding period, which matters when calculating whether a future sale qualifies for long-term treatment.

Are qualified dividends taxed at long-term capital gains rates?

Yes. Qualified dividends — those paid by U.S. corporations or qualifying foreign corporations on stock held for more than 60 days during the 121-day window surrounding the ex-dividend date — are taxed at the same preferential rates as long-term capital gains: 0%, 15%, or 20% depending on taxable income. Ordinary dividends that don't meet the holding-period and source requirements are taxed as ordinary income at your marginal rate, just like short-term gains.

What is the Net Investment Income Tax and when does it apply?

The Net Investment Income Tax (NIIT) is a 3.8% federal surtax on investment income — including capital gains, dividends, interest, and rental income — that applies when your modified adjusted gross income exceeds $200,000 if you are single, or $250,000 if you are married filing jointly. These thresholds have not been indexed for inflation since the tax was introduced in 2013 and have not changed for 2026. The NIIT stacks on top of your regular capital gains rate, so a long-term gain taxed at 20% effectively costs 23.8% once NIIT applies.

Can I choose which shares to sell to control my holding period?

Yes. If you own multiple lots of the same stock purchased at different times and prices, you can use specific identification (Spec ID) to tell your broker exactly which lot to sell. This lets you select shares that have been held for more than a year (for long-term treatment) or shares with the highest cost basis (to minimize the gain). You must identify the specific lot before the sale, not after. If you do not specify, most brokers default to FIFO (first in, first out), which may or may not give you the most tax-efficient result.

What happens if I sell one day before the one-year mark?

Selling even one day before your holding period exceeds one year converts the entire gain from long-term to short-term, which means the full profit is taxed as ordinary income at your marginal rate rather than at the preferential 0%, 15%, or 20% long-term rate. On a large gain this can be a significant difference — for a taxpayer in the 24% ordinary income bracket, waiting one additional day to cross the one-year threshold can cut the tax rate on that gain from 24% down to 15%. The cliff is absolute; there is no partial credit for holding 364 days versus 300 days.

Sources and Methodology

This guide covers the federal tax treatment of short-term and long-term capital gains for U.S. individual investors under current law as of mid-2026. Key sources include:

This content was reviewed by the Swoopr Editorial Team in August 2026. Tax law is subject to legislative change; verify current rates and thresholds with the IRS or a qualified tax professional before filing or making tax-sensitive investment decisions.

Conclusion

The difference between a short-term and long-term capital gain is, mechanically, a single day past the one-year mark — but the financial difference can be thousands of dollars on a meaningful position. In 2026, a single filer in the 22% ordinary income bracket who earns a $50,000 capital gain pays $11,000 in federal tax if the gain is short-term and $7,500 if it's long-term, assuming 15% applies. That $3,500 difference requires only that you hold for more than 365 days. Understanding that the clock starts the day after your purchase, ends on your trade date, can be extended by wash-sale tack-ons, and is tracked separately for each lot you hold puts the relevant decisions within a single spreadsheet column — not a complex strategy. Add the NIIT threshold to your planning if your MAGI could approach $200,000 ($250,000 joint), note that qualified dividends already receive capital gains treatment without any one-year wait, and you've covered the practical landscape of how the IRS taxes investment gains.

Related Reading