Capital gains tax is the tax you pay on profit from selling an asset — stocks, funds, real estate, crypto, or other investments. The rate you pay depends on two things: how long you held the asset and your total taxable income for the year. Get these two variables right and the legal tax savings can be significant. Ignore them and you might owe far more than necessary.
What changed in 2026
- Long-term capital gains thresholds adjusted for inflation, as they do annually. The 0% bracket now extends to roughly $47,000–$94,000 (single/married) of taxable income — a real planning opportunity.
- Net Investment Income Tax (NIIT) of 3.8% still applies to investment income above $200k/$250k thresholds, unchanged — stacking on top of the capital gains rate.
- Crypto treated as property — the same rules that apply to stocks apply to Bitcoin, Ethereum, and other cryptocurrencies. Every trade, sale, or conversion is a taxable event.
- Wash-sale rule enforcement tightened for cryptocurrency in some states; federal guidance on crypto wash sales remained a legislative topic in 2026.
Short-term vs long-term rates
| Holding period |
Tax treatment |
2026 rates (approximate) |
| 12 months or less |
Ordinary income |
10%–37% federal |
| More than 12 months |
Long-term capital gains |
0%, 15%, or 20% federal |
The one-year threshold is binary. Sell on day 364 and you pay ordinary income rates. Sell on day 366 and you pay long-term rates. For high-income investors, this difference can be 20+ percentage points.
The 2026 long-term capital gains brackets
| Taxable income (single filers) |
Taxable income (married filing jointly) |
Federal LTCG rate |
| $0–~$47,000 |
$0–~$94,000 |
0% |
| ~$47,001–$518,000 |
~$94,001–$583,000 |
15% |
| Above ~$518,000 |
Above ~$583,000 |
20% |
Plus 3.8% NIIT on net investment income if your modified AGI exceeds $200,000 (single) or $250,000 (married).
Note: these are approximate figures based on inflation-indexed brackets. Confirm exact thresholds with IRS.gov or a tax professional each year.
How to minimize capital gains taxes
1. Hold for more than one year
The single biggest lever. A short-term gain taxed at 37% becomes a long-term gain taxed at 15% just by waiting a few more months.
2. Harvest tax losses
Sell positions at a loss to offset realized gains. Net losses can also offset up to $3,000 of ordinary income per year, with excess carried forward indefinitely.
3. Use the 0% bracket
If your taxable income lands in the 0% long-term capital gains bracket, you can realize gains tax-free. Useful for early retirees, lower-income years, or before converting a traditional IRA to Roth.
4. Give appreciated assets
Donating stock directly to charity lets you deduct the full fair market value and avoid the capital gains entirely. See donor-advised funds in 2026 for a tax-efficient giving vehicle.
5. Hold appreciated assets until death
Inherited assets receive a "step-up in basis" to the date-of-death value, eliminating the embedded capital gain. A lifetime of appreciation can pass tax-free to heirs.
6. Invest inside tax-advantaged accounts
Gains inside Roth IRAs, traditional IRAs, and 401ks are not subject to capital gains tax. Max these first.
Real estate capital gains
Selling your primary residence has a special exclusion:
- Up to $250,000 of gain is excluded for single filers
- Up to $500,000 for married filing jointly
- You must have owned and lived in the home for at least 2 of the last 5 years
Investment property gains don't get this exclusion and are also subject to depreciation recapture taxed at up to 25%.
Common mistakes
Forgetting the wash-sale rule. If you sell a stock at a loss and repurchase the same or "substantially identical" security within 30 days before or after, the loss is disallowed. This applies to stocks and funds, though crypto rules differ.
Ignoring state taxes. Most states tax capital gains as ordinary income. California, for example, taxes long-term gains at up to 13.3% on top of federal.
Not tracking cost basis. Without accurate records, you may overpay because you can't prove the original purchase price. Your brokerage should track this, but verify.
Selling everything in one year. If you can spread large gains across two calendar years, you may stay in a lower bracket.
What to skip
- Letting taxes drive investment decisions entirely — don't hold a bad investment just to avoid a tax. But taxes are a real factor in timing.
- Short-term trading in taxable accounts — turning long-term gains into ordinary income is expensive. Use tax-advantaged accounts for active trading.
FAQ
Do I owe capital gains on dividends?
Qualified dividends are taxed at long-term capital gains rates. Ordinary (non-qualified) dividends are taxed as ordinary income. Both are reported on your 1099-DIV.
What is cost basis and why does it matter?
Cost basis is your original purchase price. Gain = sale price minus cost basis. A higher basis means a smaller gain and less tax.
Are capital losses deductible against ordinary income?
Net capital losses can offset up to $3,000 of ordinary income per year. Excess losses carry forward to future years.
Does moving to a no-income-tax state help?
It eliminates state-level capital gains tax (which can be substantial in high-tax states), but federal rates still apply.
Where to go next