Short-term vs long-term capital gains comes down to one date: assets held one year or less are taxed as ordinary income (10%-37% in 2026), while assets held longer than a year qualify for 0%, 15%, or 20% federal rates.
That single difference in holding period can change the tax bill on an identical gain by thousands of dollars, depending on the investor’s other income. Below are worked examples using 2026 federal tax figures, followed by how the Net Investment Income Tax (NIIT) layers on top and how loss harvesting interacts with both.
What is the actual difference between short-term and long-term capital gains?
Long-term capital gains arise from assets sold after holding them for more than one year, and Congress has set preferential rates for long-term gains under IRC 1(h), which in 2026 are 0%, 15%, or 20%. Short-term capital gains apply to assets held for one year or less and are taxed at ordinary income tax rates, which for 2026 range from 10% to 37% federal. The holding-period test itself is strict: you must hold a capital asset for more than one year, at least one year plus one day, before selling it to qualify for the 0%, 15%, or 20% long-term rates.
What are the 2026 long-term capital gains brackets?
For 2026, the 0% long-term rate covers taxable income up to $49,450 for single filers and $98,900 for married couples filing jointly. Above that, gains are taxed at 15% and then 20% once taxable income crosses the top threshold.
| Rate | Single | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | $0 – $49,450 | $0 – $98,900 | $0 – $66,200 |
| 15% | $49,451 – $545,500 | $98,901 – $613,700 | $66,201 – $579,600 |
| 20% | Over $545,500 | Over $613,700 | Over $579,600 |
The 2026 federal income tax brackets for single filers are 10% up to $12,400, 12% up to $50,400, 22% up to $105,700, 24% up to $201,775, 32% up to $256,225, 35% up to $640,600, and 37% above that. Short-term gains stack on top of other ordinary income and are taxed using these same brackets.
How does the same $30,000 gain get taxed differently by income level?
These examples model a single filer in 2026, applying the standard deduction separately and stacking the capital gain on top of other taxable income. Ordinary tax is calculated using the 2026 marginal brackets above; long-term gain tax is calculated by stacking the gain on top of other income within the 0%/15%/20% long-term brackets.
Example A: $70,000 in other taxable income, plus a $30,000 gain.
- Taxed as short-term (ordinary rates): $6,600 in tax on the gain, an effective rate of 22.0% on that $30,000.
- Taxed as long-term: $4,500 in tax on the gain, an effective rate of 15.0%.
- Difference: $2,100 more in tax if the same gain is short-term instead of long-term.
Example B: $35,000 in other taxable income, plus the same $30,000 gain.
- Taxed as short-term: $5,060 in tax, an effective rate of 16.9%.
- Taxed as long-term: $2,332.50 in tax, an effective rate of 7.8% — because part of the gain lands in the 0% long-term bracket while other income fills the lower ordinary brackets first.
- Difference: $2,727.50 more in tax under short-term treatment.
In both examples the dollar amount of the gain never changes — only the holding period does — which is why the same transaction can produce a materially different tax bill depending on how long the asset was held and what else is on the return that year.
How does the Net Investment Income Tax layer on top of capital gains?
High earners add a 3.8% Net Investment Income Tax under IRC §1411, and an additional 3.8% NIIT may apply if MAGI exceeds $200,000 (single) or $250,000 (MFJ), bringing the top effective rate to 23.8%. The NIIT applies to the smaller of net investment income or the amount by which modified adjusted gross income (MAGI) exceeds the threshold — it does not depend on how long the asset was held, so it can apply to short-term and long-term gains alike.
Worked example: a single filer with $220,000 in MAGI in 2026, where a $30,000 capital gain is the only investment income on the return. MAGI exceeds the $200,000 threshold by $20,000. Since $20,000 is less than the $30,000 of net investment income, the NIIT applies to the $20,000 excess, producing additional tax of $760 (3.8% of $20,000) — on top of whatever regular capital gains or ordinary income tax already applies to that gain.
How does tax-loss harvesting interact with short-term and long-term gains?
Tax-loss harvesting means selling an investment at a loss to offset taxable gains elsewhere in the portfolio. Capital losses offset capital gains of the same year with no limit, and losses are netted by character — short-term losses offset short-term gains first, long-term losses offset long-term gains first, with any excess crossing over to the other category.
Worked example: an investor realizes an $8,000 capital gain and an $11,000 capital loss in the same year, for a net capital loss of $3,000. The cap is the lesser of the net capital loss or $3,000 — a taxpayer with a $2,000 net loss deducts $2,000, while one with a $40,000 net loss deducts $3,000 and carries $37,000 forward. In this $3,000-net-loss example, the entire $3,000 is deductible against ordinary income in the current year, with nothing left to carry forward. The $3,000 limit itself is a fixed dollar amount, not one the IRS adjusts for inflation each year, and for taxpayers other than corporations, IRC §1211 generally limits net capital loss deductions to capital gains plus up to $3,000 of excess losses for the year, or $1,500 if married filing separately.
What is the wash sale rule and how does it limit loss harvesting?
Buying the same or a substantially identical security 30 days before or after the sale, including in an IRA or Roth IRA, disallows the loss for now. The wash sale rule disallows a capital loss if you buy the same or substantially identical security within 30 days before or after the sale — a 61-day total blackout window. A disallowed wash-sale loss does not simply vanish; it shrinks the deductible loss, which directly affects the $3,000 deduction and the capital loss carryover for that year.
Does the holding period or the loss limit ever change?
- The more-than-one-year holding period that separates short-term from long-term gains is set by statute and does not adjust with inflation.
- The long-term 0%/15%/20% breakpoints and the ordinary tax brackets are adjusted annually for inflation — the figures above are specific to tax year 2026.
- The NIIT’s $200,000/$250,000 MAGI thresholds are fixed amounts in the statute, not indexed for inflation.
- The $3,000 ($1,500 married filing separately) capital loss deduction limit is a fixed dollar figure that Congress has not adjusted for decades.
Readers who want to see these rules applied to their own gain, holding period, and income can run the numbers through the Capital Gains Estimator.
Sources
- CNBC: IRS unveils higher capital gains tax brackets for 2026
- The College Investor: Capital Gains Tax Brackets 2026 And 2027
- US Tax Tools: Federal Income Tax Brackets — IRS Rates for 2026
- Calculover: 2026 Capital Gains Tax Rates — Long-Term & Short-Term
- OurTaxPartner: Long-Term Capital Gains Tax Rates 2026
- The Money Overview: Investors can deduct only $3,000 of net capital losses a year
- TaxGPT: Wash Sale Rule and Investment Losses
- Freenance: How to Deduct Stock Losses on Your Taxes
This article is for educational purposes only and isn't legal, financial, or tax advice. See our Disclaimer for details.