Whether you sold stocks, mutual funds, cryptocurrency, real estate, or a business in 2025 or 2026, the profit you made — your capital gain — is subject to federal tax. Understanding how capital gains tax works, and the specific rates and thresholds for 2026, can help you make smarter investment decisions and potentially save thousands of dollars in taxes.
Short-Term vs. Long-Term Capital Gains
Short-term capital gains apply to assets held for 12 months or less. These gains are taxed as ordinary income — subject to your regular federal income tax bracket (10% through 37%). Selling a stock quickly for a profit is treated the same as earning wages from a job.
Long-term capital gains apply to assets held for more than 12 months. These gains receive preferential tax treatment at lower rates — 0%, 15%, or 20%. The one-year holding period is a hard line, which is why tax professionals frequently advise checking it before triggering a sale.
2026 Long-Term Capital Gains Tax Rates and Thresholds
| Rate | Single Filers (Taxable Income) | Married Filing Jointly | Head of Household |
|---|---|---|---|
| 0% | Up to $48,350 | Up to $96,700 | Up to $64,750 |
| 15% | $48,351 – $533,400 | $96,701 – $600,050 | $64,751 – $566,700 |
| 20% | Over $533,400 | Over $600,050 | Over $566,700 |
These thresholds are based on your taxable income (after deductions), not gross income. A married couple with $120,000 in wages but $32,200 in standard deductions has taxable income of $87,800 — putting their long-term gains in the 0% bracket if total taxable income (including the gains) stays under $96,700.
The 0% Capital Gains Rate: An Often-Missed Opportunity
If your taxable income is below the threshold ($48,350 single / $96,700 married), you can sell appreciated investments and pay zero federal capital gains tax. This is particularly valuable for:
- Retirees in early retirement with low taxable income before Social Security kicks in
- Young investors in lower-income years with significant unrealized gains
- Families who can strategically realize gains in a low-income year
Strategically harvesting gains in low-income years — sometimes called "gain harvesting" — resets your cost basis higher, reducing future taxable gains when you eventually sell at higher income levels.
Net Investment Income Tax (NIIT)
High-income investors face an additional 3.8% Net Investment Income Tax on top of capital gains rates. The NIIT applies if your MAGI exceeds $200,000 for single filers or $250,000 for married couples filing jointly. These thresholds are not adjusted for inflation — meaning more taxpayers get caught each year. At the top, high earners effectively face a 23.8% federal rate on long-term gains (20% + 3.8%).
Capital Gains on Your Home Sale
Qualifying homeowners can exclude up to $250,000 in profit from federal capital gains tax (single filers), or $500,000 (married couples filing jointly). To qualify, you must have owned and lived in the home as your primary residence for at least two of the five years before the sale. This exclusion can be used once every two years. Profit above the exclusion amount is taxed as a long-term capital gain at your applicable rate.
Capital Loss Harvesting
Capital losses can offset capital gains dollar for dollar. Short-term losses offset short-term gains first; long-term losses offset long-term gains first. Remaining losses of either type can then offset gains of the other type. If your total losses exceed your total gains, you can deduct up to $3,000 of the excess loss against ordinary income per year. Remaining losses carry forward indefinitely to future years.
Strategic tax-loss harvesting — selling underperforming investments to generate losses that offset gains elsewhere — is a legitimate way to reduce your tax bill. The key rule to avoid: the wash-sale rule prevents you from repurchasing a "substantially identical" investment within 30 days before or after the sale. Buying a different ETF in the same sector is generally fine; buying back the same fund is not.
Cryptocurrency and Capital Gains
The IRS treats cryptocurrency as property, not currency. Every time you sell, trade, or use crypto to purchase goods or services, you trigger a capital gain or loss. Key implications:
- Short-term crypto gains (held ≤12 months) are taxed as ordinary income
- Long-term crypto gains (held >12 months) receive the 0%/15%/20% preferential rates
- Trading one crypto for another (BTC → ETH) is a taxable event
- Using crypto to buy a $5 cup of coffee triggers a capital gain if the crypto appreciated since you acquired it
Accurate record-keeping of your cost basis — the price you paid for each unit of crypto — is essential and increasingly required by exchanges under expanded 1099-DA reporting rules starting in 2026.
Capital Gains on Inherited Assets
Assets inherited at death receive a stepped-up basis to the fair market value at the date of death. This effectively eliminates any gain that accrued during the decedent's lifetime — one of the most significant tax benefits in the code for heirs. An heir who sells inherited stock immediately after inheriting it typically owes no capital gains tax, regardless of how much it appreciated during the original owner's lifetime.
Strategies to Reduce Capital Gains Tax
- Hold for more than one year to convert short-term gains (ordinary income rates) to long-term gains (preferential rates)
- Harvest losses to offset gains in taxable accounts
- Use tax-advantaged accounts (IRA, 401(k), Roth IRA) for high-growth investments — gains inside these accounts grow tax-deferred or tax-free
- Time sales in lower-income years when your long-term rate may be 0% or 15%
- Maximize deductions to reduce taxable income, potentially dropping below the 15% or 0% threshold
- Donate appreciated assets to charity — you avoid the capital gains tax entirely and deduct the full fair market value as a charitable contribution
Use our Capital Gains Tax Calculator to estimate what you'll owe on investment profits based on your income and holding period. For your full federal tax picture, try our Income Tax Calculator.
Capital Gains Tax Planning Summary
The core principle of capital gains tax planning is simple: time your sales and hold periods to minimize the rate you pay. The holding period rule is the most mechanical: hold for more than one year to convert ordinary-income-rate treatment to preferential rates. The income threshold rules are next: in lower-income years, you may pay 0% on long-term gains. In higher-income years, you pay 15% or 20% plus potentially the 3.8% NIIT.
For most buy-and-hold investors, the biggest opportunities are using tax-advantaged accounts for growth investments (avoiding capital gains entirely), holding period awareness for positions approaching the one-year mark, and deliberate loss harvesting to offset gains when losses are available. For investors with larger portfolios, the interaction of capital gains with ordinary income thresholds -- particularly the 15%/20% crossover and the NIIT threshold -- makes year-end income projections worth running before triggering large sales.
The most overlooked opportunity: the 0% long-term capital gains rate for those below the income threshold. A retiree managing withdrawals carefully, or a young investor in a low-income year, can realize substantial gains at zero federal tax cost. This requires proactive planning -- calculating available headroom below the threshold and harvesting gains up to that amount rather than waiting for an arbitrary sell decision. Our Capital Gains Tax Calculator and Income Tax Calculator together make this analysis straightforward.