Capital Gains Tax Explained: Short-Term vs. Long-Term (and Why the Difference Is Huge)
How capital gains tax actually works, the 2026 IRS brackets, and why holding an investment one extra day can save you thousands.
If you've ever sold a stock, a rental property, or a chunk of crypto for a profit, you owe capital gains tax. But how much you owe depends almost entirely on one thing: how long you held the asset before you sold it. Get that wrong and you can end up paying more than double what you owed to.
This isn't a niche issue for day traders. It applies to anyone selling stock outside a 401(k) or IRA, cashing out RSUs, selling a second home, or offloading an investment that's finally paid off. Understanding the rules before you sell — not after — is what actually saves you money.
What Counts as a Capital Gain
A capital gain is the profit you make when you sell an asset for more than you paid for it. Sell a stock you bought for $5,000 for $8,000, and you have a $3,000 capital gain. That gain is what gets taxed — not the full sale price.
Assets held inside retirement accounts work differently. Gains inside a 401(k), IRA, or HSA aren't taxed as capital gains while the money stays in the account — you're taxed later, under different rules, when you withdraw.
Short-Term vs. Long-Term: The Rule That Changes Everything
The IRS splits capital gains into two buckets based on how long you owned the asset:
- Short-term: held one year or less. Taxed as ordinary income, at your regular tax bracket — up to 37%.
- Long-term: held more than one year. Taxed at preferential rates of 0%, 15%, or 20%.
That's not a small difference. A high-income investor who sells an asset just one day before the one-year mark can pay more than double the tax r ate compared to waiting one more day and qualifying for long-term treatment. The calendar, not the market, is often the biggest lever you control.
2026 Long-Term Capital Gains Tax Brackets
The IRS adjusts the income thresholds for the 0%, 15%, and 20% long-term rates every year for inflation. For 2026, the long-term capital gains tax rates remain at 0%, 15%, and 20%, but the income thresholds have shifted.
| Rate | Single Filers (Taxable Income) | Married Filing Jointly |
|---|---|---|
| 0% | Up to $49,450 | Up to $98,900 |
| 15% | $49,451 – $545,500 | $98,901 – $613,700 |
| 20% | Over $545,500 | Over $613,700 |
For 2026, single filers can earn up to $49,450 in taxable income — or $98,900 for married couples filing jointly — and still pay 0% for long-term capital gains. That's a real opportunity: if your income is low in a given year — between jobs, in early retirement, or during a career break — realizing long-term gains in that window can mean paying nothing on them at all.
Short-term gains don't get their own bracket. Long-term capital gains tax rates are 0%, 15% or 20%. Short-term rates equal ordinary income tax rates. They just get added to your regular income and taxed at whatever marginal bracket that pushes you into.
The Extra 3.8% Most People Don't Know About
If you're a higher earner, there's another layer on top of the capital gains rate: the Net Investment Income Tax (NIIT). This 3.8% surtax applies to investment income — including capital gains, dividends, and interest — once your modified adjusted gross income crosses $200,000 (single) or $250,000 (married filing jointly).
Unlike the capital gains brackets, these NIIT thresholds don't move with inflation. Because they're fixed, more households get pulled into NIIT territory every year simply through normal income growth — even without a raise that feels like one.
How Gains Stack on Top of Your Income
Capital gains brackets don't work in isolation. The IRS fills your taxable income up with your ordinary income first — wages, side income, interest — and then stacks your long-term capital gains on top of that to figure out which rate applies.
That means the size of your paycheck can push an otherwise low-taxed gain into a higher bracket. A single filer with $90,000 in ordinary taxable income who sells stock for a $20,000 long-term gain doesn't get any of that gain taxed at 0%, because their ordinary income already exceeds the $49,450 threshold — the gain lands entirely in the 15% bracket instead.
What This Actually Means for You
A few practical takeaways:
- Hold investments longer than a year whenever it makes sense. The jump from short-term to long-term treatment is the single biggest lever most investors have.
- Watch your total taxable income before you sell. If you're close to a bracket threshold, timing a sale for a lower-income year can meaningfully cut what you owe.
- Don't forget state taxes. Many states tax capital gains as regular income on top of the federal rate.
- Losses offset gains. Selling a losing position in the same year as a winning one can reduce your total taxable gain — just be aware of wash-sale rules if you plan to buy the asset back quickly.
None of this replaces a tax professional for a large or complicated sale, but knowing the basic mechanics means you won't get blindsided by a tax bill you didn't plan for. If you're not sure how a big sale might affect your overall financial picture, running a quick check with Grade My Finance is a good way to see where things stand before you make the move.
What's your financial grade?
Get a free A–F grade on your finances in under two minutes — no signup required.
Get My Free GradeDo I pay capital gains tax on investments in my 401(k) or IRA?
No. Gains inside tax-advantaged retirement accounts aren't taxed as capital gains while the money stays in the account. You're taxed later under different rules, depending on the account type, when you eventually withdraw.
What's the exact cutoff between short-term and long-term?
One year. If you sell an asset on day 365 or earlier after buying it, the gain is short-term. Hold it for at least one year and one day, and it qualifies for long-term rates instead.
Can I really pay 0% on capital gains?
Yes, if your total taxable income (including the gain) falls below the 0% threshold for your filing status — $49,450 for single filers or $98,900 for married couples filing jointly in 2026.
Does selling a stock at a loss help my taxes?
Yes. Capital losses offset capital gains dollar for dollar, which can reduce or eliminate the tax on gains realized in the same year. This is often called tax-loss harvesting.