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 one-year threshold is a hard cliff, selling on the one-year anniversary itself is still short-term; you must hold for more than one year.
  • The holding period clock starts the day after your purchase (trade date, not settlement date) and ends on the sale date (trade date).
  • The 2026 long-term capital gains 0% bracket extends to $49,450 (single) and $98,900 (MFJ) in taxable income, meaningful for investors managing income in retirement or low-income years.
  • The wash-sale rule can tack a prior holding period onto replacement shares, extending how long they must be held for long-term treatment.
  • Qualified dividends are taxed at long-term capital gains rates without any holding requirement on the investor's part, only the 60-day holding test on the shares applies.
  • The NIIT adds 3.8% on top of capital gains rates at MAGI above $200,000 (single) or $250,000 (MFJ), pushing the effective top rate to 23.8%, and these thresholds are not indexed for inflation.

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.

Scrabble tiles spelling 'AGREEMENT' on a lease document, emphasizing contractual themes.
Photo by RDNE Stock project via Pexels

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.

  • Sale on April 10, 2026: Holding period = April 11, 2025 to April 10, 2026 = exactly 365 days. This is short-term. The $5,000 gain is taxed as ordinary income.
  • Sale on April 11, 2026: Holding period = April 11, 2025 to April 11, 2026 = 366 days. This is long-term. The $5,000 gain is taxed at 0%, 15%, or 20% depending on the investor's taxable income.
  • Tax difference (assuming 22% ordinary income rate and 15% long-term rate): Short-term tax = $1,100. Long-term tax = $750. Difference = $350 saved by waiting one day.

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:

  • Highest-cost-basis lots first, minimizes the gain (or maximizes the loss) on the current sale.
  • Long-term lots first, ensures the sale qualifies for preferential rates.
  • Short-term loss lots, harvests a short-term loss that can offset short-term gains taxed at ordinary rates.

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:

  • Example, tack-on helps: You buy stock in January 2025, hold it for 14 months through March 2026, sell at a loss, and immediately repurchase. The replacement shares inherit 14 months of holding period, so they already qualify as long-term immediately upon purchase.
  • Example, tack-on hurts: You buy stock in November 2025 (2 months old), sell at a loss in January 2026, and repurchase immediately. The replacement shares inherit only 2 months of holding period. You still need to hold them for more than 10 more months to reach long-term treatment, you cannot reset the clock to try again from month zero.

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.

Advanced Scenario: Lot Selection, a Wash Sale, and Loss Ordering Together

The three mechanics above, holding period, specific lot identification, and the wash-sale rule, rarely operate in isolation. The scenario below walks through how they interact in a single account holding multiple lots of the same fund, and why the interaction can change how much of a loss is actually usable in the current tax year.

Hand signing a contract on a wooden desk, emphasizing business formalities.
Photo by Vidal Balielo Jr. via Pexels

Hypothetical scenario, for education only. All prices, dates, and amounts are illustrative.

The position. An investor holds three lots of the same broad-market ETF, purchased at different times:

  • Lot A: 100 shares bought January 10, 2024, cost basis $90/share ($9,000 total). Long-term as of early 2026.
  • Lot B: 100 shares bought September 1, 2025, cost basis $125/share ($12,500 total). Short-term until September 2, 2026.
  • Lot C: 100 shares bought November 15, 2025, cost basis $80/share ($8,000 total). Short-term until November 16, 2026.

The trades. On March 1, 2026, with the ETF trading at $95/share, the investor executes two specific-identification sales: 50 shares from Lot A (long-term, $95 − $90 = $5/share gain, $250 total long-term gain) and all 100 shares from Lot B (short-term, $95 − $125 = −$30/share, a $3,000 short-term loss intended to offset other gains for the year). Two weeks later, on March 15, 2026, the investor repurchases 100 shares of the same ETF at $92/share because the position still fits the portfolio's target allocation.

The wash sale. The March 15 repurchase falls inside the 61-day window (30 days before through 30 days after the March 1 loss sale) and is the same security, so the entire $3,000 loss on Lot B is disallowed as a wash sale. The disallowed loss is added to the cost basis of the 100 replacement shares: $9,200 (100 × $92) + $3,000 = $12,200 adjusted basis. The replacement shares also inherit Lot B's original holding-period start date of September 1, 2025, so as of the March 15 repurchase they are already partway toward long-term status rather than starting a fresh clock, but they are still short-term as of the repurchase date since less than a year has elapsed since September 1, 2025.

The effect on the current year's return. Form 8949 reports the Lot B sale with a wash-sale adjustment code and a $3,000 adjustment, resulting in $0 of currently deductible loss from that trade, the loss is deferred into the replacement shares' basis, not lost, but it is unavailable this year. The only currently recognized result from these trades is the $250 long-term gain from Lot A. Had the wash sale not occurred, the $3,000 short-term loss would have been available to net against other gains for the year under the ordering rules described below.

How loss ordering would have applied without the wash sale. Under IRC Sections 1211 and 1212, short-term losses net against short-term gains first, and long-term losses net against long-term gains first, within their own category. Only after that same-category netting does any remaining net loss in one category offset a net gain in the other. In this scenario there were no other short-term gains to absorb the $3,000 short-term loss, so it would have cross-netted against the $250 long-term gain, eliminating it and leaving a $2,750 net capital loss. Up to $3,000 of a net capital loss can offset ordinary income in the same year, with any remainder carried forward indefinitely to future tax years. The wash sale removed that $2,750 offset for the current year entirely.

When multiple repurchases are involved. If the investor had instead repurchased in two smaller trades inside the window, for example 60 shares ten days after the loss sale and 40 shares twenty-five days after, brokers generally match the disallowed loss to replacement shares in the order they were acquired (the earliest repurchase absorbs the loss first) when computing the Box 1g wash-sale adjustment on Form 1099-B. Brokers also only track wash sales within a single account; a repurchase in a different account at the same firm, a different brokerage, or a spouse's account will not be caught by any single broker's 1099-B and must be identified and adjusted manually.

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

  • Single filers and head of household: MAGI above $200,000
  • Married filing jointly: MAGI above $250,000
  • Married filing separately: MAGI above $125,000

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:

  • A long-term gain taxed at 15% plus NIIT = effective rate of 18.8%
  • A long-term gain taxed at 20% plus NIIT = effective rate of 23.8%
  • A short-term gain taxed as ordinary income at 37% plus NIIT = effective rate of 40.8%

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.

tax documents finance paperwork Short-Term Long-Term Capital
Photo by jplenio via Pixabay

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

  • Before selling any position, check the trade date of each lot and calculate your exact holding period, use your broker's lot detail view, not an estimate.
  • Mark your calendar for the one-year-plus-one-day date on positions with large unrealized gains; don't rely on memory.
  • If you own multiple lots of the same security, tell your broker which lot to sell before executing the trade. Don't let FIFO choose for you unless you've confirmed it produces the best outcome.
  • Check whether a planned sale will push your MAGI above the $200,000/$250,000 NIIT threshold, and whether that changes the after-tax economics.
  • Review Form 1099-DIV after year-end and distinguish Box 1a (total ordinary dividends) from Box 1b (qualified dividends) before estimating your tax liability.
  • After any wash-sale event, verify your replacement shares' adjusted holding period in your records, your broker's cost basis reporting may not display this clearly.
  • In a year with short-term gains, look for long-term capital losses available to offset them, losses of either type can offset gains of either type, but short-term losses are especially valuable against short-term gains taxed at ordinary rates.
  • Consult a tax professional before realizing any large gain or structuring a tax-loss harvesting strategy around the wash-sale rules, the interactions are fact-specific.

Risks, Limitations, and Exceptions

  • This guide covers federal income tax only. State income taxes do not uniformly follow federal capital gains treatment, many states tax short-term and long-term gains at the same ordinary income rate; some states have no income tax at all; a handful have their own preferential rates. State tax can materially change the calculus.
  • The brackets and thresholds described here apply to tax year 2026 and are subject to legislative change. The long-term capital gains rates are not guaranteed beyond the current law; proposals to raise the top rate or expand the NIIT have been introduced in Congress in recent years.
  • Collectibles (art, coins, antiques) held for more than one year are subject to a maximum 28% rate, not the standard 0%/15%/20% schedule. Section 1250 unrecaptured depreciation on real property is taxed at a maximum 25% rate. The standard long-term rates do not apply uniformly to all asset types.
  • Incentive stock options (ISOs) have specialized holding period rules, the two-year from grant and one-year from exercise tests determine whether an ISO disposition is qualifying (generally long-term capital gain) or disqualifying (ordinary income). ISOs require separate analysis.
  • This content is educational and does not constitute personalized tax advice. Tax situations are fact-specific; verify figures and strategies with a qualified tax adviser before acting.

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.

What happens if a wash sale is triggered on a lot I specifically identified for tax-loss harvesting?

The wash-sale rule overrides the intended tax result of a specific-identification sale. If you sell a lot at a loss and repurchase the same or a substantially identical security within the 61-day window (30 days before through 30 days after the sale), the loss is disallowed regardless of which lot you designated, and it is added to the cost basis of the replacement shares instead of being currently deductible. The replacement shares also inherit the sold lot's original holding-period start date. If you plan to harvest a loss and stay invested, either wait more than 30 days to repurchase the same security or replace it with something similar but not substantially identical.

In what order does the IRS require capital losses to offset capital gains across multiple lots?

Short-term losses net against short-term gains first, and long-term losses net against long-term gains first, each within its own category. Only after that same-category netting does a remaining net loss in one category offset a net gain in the other category. Up to $3,000 of any remaining net capital loss for the year ($1,500 if married filing separately) can then offset ordinary income, and any amount beyond that carries forward to future tax years indefinitely. This ordering applies across every lot and every security sold during the year, it is not calculated lot by lot or trade by trade.

References

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.