Capital Gains Tax Guide 2026: Rates, Rules, and Strategies
Every time you sell an investment for a profit — a stock, ETF, real estate, cryptocurrency, or even a piece of art — you have a capital gain. The IRS taxes that gain, but the rate depends heavily on two factors: how long you held the asset and your total income. Understanding the difference between short-term and long-term rates, plus a few strategic moves, can save investors thousands of dollars every year. This guide covers everything you need to know about capital gains taxation in 2026.
What Is a Capital Gain?
A capital gain is the profit you make when you sell an asset for more than you paid for it. The amount you originally paid — including commissions and other acquisition costs — is called your cost basis. The gain is calculated as: Sale Price − Cost Basis = Capital Gain.
If you sell an asset for less than your cost basis, you have a capital loss, which can offset gains and provide other tax benefits (discussed below).
Capital gains are realized when you actually sell. If your stock portfolio has grown in value but you have not sold, you have unrealized gains — no taxes owed yet. The tax clock starts ticking only when you sell. Use our capital gains tax calculator to estimate your specific tax bill.
Short-Term vs Long-Term Capital Gains
The most important factor in capital gains taxation is the holding period — how long you owned the asset before selling.
Short-term capital gains: Assets held one year or less. Taxed at ordinary income tax rates — the same brackets as your wages (10% to 37%). If you are in the 22% bracket and sell a stock after 9 months with a $5,000 gain, you owe $1,100 in federal tax.
Long-term capital gains: Assets held more than one year. Taxed at preferential rates of 0%, 15%, or 20%. If you held that same stock for 13 months instead of 9, your tax on the same $5,000 gain might be $750 (at 15%) — a savings of $350 for holding 4 extra months.
The one-year threshold is calculated precisely. An asset purchased on March 15, 2025 becomes long-term on March 16, 2026. Selling on March 15, 2026 (exactly one year) is still short-term. This matters — a single day can change your tax rate by 7–17 percentage points.
2026 Long-Term Capital Gains Tax Rates
Long-term capital gains rates are based on your total taxable income — including the capital gains themselves. Think of your ordinary income as the foundation and your capital gains as sitting on top.
0% Rate (2026):
- Single: Taxable income up to $47,025
- Married Filing Jointly: Up to $94,050
- Head of Household: Up to $63,000
- Married Filing Separately: Up to $47,025
15% Rate:
- Single: $47,026 – $518,900
- MFJ: $94,051 – $583,750
- HOH: $63,001 – $551,350
- MFS: $47,026 – $291,850
20% Rate: Above those thresholds.
The Net Investment Income Tax (NIIT): An Additional 3.8%
High-income taxpayers face an additional 3.8% Net Investment Income Tax on capital gains, dividends, and other investment income. The NIIT applies to the lesser of your net investment income OR the amount by which your modified AGI exceeds:
- $200,000 for single filers
- $250,000 for married filing jointly
- $125,000 for married filing separately
Combined with the 20% long-term rate, this means the maximum federal capital gains tax rate is 23.8%. For short-term gains, the maximum is 37% (ordinary income) + 3.8% NIIT = 40.8%.
The 0% Rate: Possibly Your Most Powerful Tool
The 0% long-term capital gains rate is an extraordinary opportunity that many investors overlook. If your total taxable income (including the gains) stays below $47,025 (single) or $94,050 (MFJ), you pay zero federal tax on long-term capital gains.
Who can use this:
- Retirees in early retirement drawing down investments before Social Security kicks in
- Parents transferring appreciated assets to children in lower brackets (beware the kiddie tax)
- Taxpayers in low-income years who can strategically realize gains
- Self-employed individuals with large deductions that bring taxable income below the threshold
Example: A married couple with $70,000 in ordinary income and $20,000 in standard deductions has $50,000 taxable income. Their capital gains threshold before hitting 15% is $94,050 − $50,000 = $44,050 in gains. They can sell up to $44,050 in appreciated investments and pay zero federal capital gains tax — completely legally.
Real Estate Capital Gains
Primary Home Sale Exclusion
If you sell your primary residence, you can exclude up to $250,000 in gains from taxes ($500,000 for married filing jointly). To qualify:
- You must have owned the home for at least 2 of the last 5 years
- You must have lived in it as your primary residence for at least 2 of the last 5 years
- You cannot have used the exclusion for another home sale in the past 2 years
Any gain above the exclusion amount is taxed at long-term capital gains rates (if held over a year). A couple with a $600,000 gain on their home would exclude $500,000 and pay capital gains tax on $100,000.
Depreciation Recapture on Investment Properties
When you sell a rental or investment property, you face two layers of tax. The first is standard long-term capital gains tax on the appreciation. The second is depreciation recapture — you must "repay" the tax benefit of depreciation deductions taken over the years, and this portion is taxed at up to 25% (not the standard 0/15/20% rates). This often catches real estate investors by surprise when they sell.
Tax-Loss Harvesting
Tax-loss harvesting is one of the most powerful legal tax reduction strategies available to investors. The idea: sell investments that are currently at a loss to generate tax losses that offset gains.
The netting rules:
- Short-term losses first offset short-term gains
- Long-term losses first offset long-term gains
- Excess losses from either category then offset gains of the other type
- Net losses after offsetting all gains can reduce ordinary income by up to $3,000 per year
- Remaining unused losses carry forward indefinitely to future tax years
Example: You have $15,000 in long-term gains and $8,000 in long-term losses. Net long-term gain: $7,000. You also have $5,000 in short-term losses. These offset the remaining $7,000 long-term gain, leaving $2,000 net long-term gain taxable. The excess $0 carries forward.
The Wash-Sale Rule
The IRS prevents you from selling a security at a loss and immediately repurchasing it just to generate a tax loss. The wash-sale rule disallows the loss if you buy the same or substantially identical security within 30 days before or after the sale. "Substantially identical" generally means the exact same stock or fund — selling an S&P 500 index fund from one provider and buying a different S&P 500 index fund from another provider may trigger wash-sale treatment.
Strategy: Sell a fund at a loss, immediately buy a similar (but not identical) fund to maintain market exposure while waiting out the 30-day window. Example: sell Vanguard Total Stock Market (VTI) and buy Schwab US Broad Market ETF (SCHB) — different funds tracking similar but not identical indexes.
Cryptocurrency Capital Gains
The IRS treats cryptocurrency as property. Every taxable event — selling crypto for dollars, exchanging one cryptocurrency for another, or using crypto to pay for goods or services — triggers a capital gain or loss calculated from your cost basis in that crypto.
Key rules for crypto:
- The same short-term (over 1 year) and long-term (under 1 year) distinctions apply
- Cost basis is typically the price you paid for the crypto on the day you acquired it
- For crypto you received as income (mining, staking, airdrops, payments for work), your basis is the fair market value on the day you received it, and that income is taxed as ordinary income at receipt
- Transferring crypto between your own wallets is not a taxable event
- The wash-sale rule technically does not apply to crypto (it applies only to securities), but this may change in future legislation
Record-keeping is critical for crypto. Most exchanges provide year-end tax reports, and tools like Koinly, CoinTracker, or TaxBit can aggregate transactions across multiple wallets and exchanges.
Strategies to Reduce Capital Gains Tax
- Hold investments for more than one year: The single most impactful move — shifts your rate from ordinary income (up to 37%) to preferential rates (0–20%).
- Use tax-advantaged accounts: Gains in IRAs, 401(k)s, and HSAs are not taxed in the year of the transaction. Traditional retirement accounts defer taxes; Roth accounts eliminate them entirely on qualifying withdrawals.
- Harvest losses strategically: Review your portfolio in November or December each year for loss-harvesting opportunities before year-end.
- Time large gains around income changes: If you expect lower income next year (retirement, sabbatical, large deductions), delay realizing gains until your rate is lower.
- Donate appreciated assets to charity: If you donate stock or crypto held long-term, you avoid the capital gains tax entirely and deduct the full fair market value. A $10,000 stock with a $3,000 cost basis — donate it and avoid $1,050 in capital gains tax (at 15%) while getting a $10,000 charitable deduction.
- Maximize the 0% rate bracket: If your income allows, strategically realize long-term gains each year up to the 0% threshold.
Frequently Asked Questions
What is the long-term capital gains tax rate in 2026?
0%, 15%, or 20% depending on your total taxable income. Single filers pay 0% up to $47,025, 15% up to $518,900, and 20% above. Married filing jointly: 0% up to $94,050, 15% up to $583,750, 20% above. High earners also owe the 3.8% NIIT, pushing the maximum to 23.8%.
How long do I need to hold an investment to qualify for long-term rates?
More than one year — at least one year and one day from the purchase date. Exactly one year is still short-term. The holding period starts the day after you buy and ends on the day you sell.
What is tax-loss harvesting?
Selling investments at a loss to offset capital gains. Losses offset gains of the same type first, then the other type. Up to $3,000 of net losses can offset ordinary income annually, with unused losses carrying forward. Watch the wash-sale rule: do not repurchase the same or substantially identical security within 30 days before or after the sale.
Sources & further reading
Claims in this article are cross-checked against the following primary sources. Links open on the publisher's site.
- IRS — About Form W-2
Official IRS reference for W-2 wage and tax statements, with current-year instructions.
- IRS — Publication 17 (Your Federal Income Tax)
Comprehensive guide to filing individual federal income taxes.
- IRS — Tax Withholding Estimator
Official tool for verifying paycheck withholding accuracy.
- IRS — Tax Topic 409 (Capital Gains and Losses)
Authoritative source for short-term and long-term capital gains tax treatment.
- CFPB — Filing Your Taxes
Consumer Financial Protection Bureau guidance on tax-filing essentials.