The IRS taxes capital gains — but the tax code also provides multiple legal strategies to reduce or eliminate what you owe. The 2026 long-term capital gains rate can be as low as 0% for millions of Americans, and strategies like tax-loss harvesting, retirement accounts, and charitable giving reduce the bill further. Here are eight methods that work.
1. Hold Investments for More Than One Year
The single most powerful and simple strategy: don’t sell too soon.
Short-term capital gains (assets held 12 months or less) are taxed as ordinary income at your marginal bracket — up to 37%. Long-term capital gains (held more than 12 months) are taxed at 0%, 15%, or 20%.
The difference:
| Gain Amount | Short-Term (22% bracket) | Long-Term (15% rate) | Savings |
|---|---|---|---|
| $5,000 | $1,100 | $750 | $350 |
| $25,000 | $5,500 | $3,750 | $1,750 |
| $100,000 | $22,000 | $15,000 | $7,000 |
Waiting one day past the 12-month anniversary of your purchase converts a short-term gain into a long-term one. This is frequently the easiest and largest single tax saving available to investors.
2. Use the 0% Long-Term Capital Gains Rate
In 2026, long-term capital gains are taxed at 0% for taxpayers below these taxable income thresholds:
| Filing Status | 0% Rate Applies Up To |
|---|---|
| Single | $48,350 |
| Married Filing Jointly | $96,700 |
| Head of Household | $64,750 |
| Married Filing Separately | $48,350 |
This is taxable income — meaning after subtracting your standard deduction ($15,000 single / $30,000 married in 2026).
Worked example: A married couple has $80,000 in wages. After the $30,000 standard deduction, taxable income is $50,000. They also have $45,000 in long-term capital gains. Their taxable income including gains is $95,000 — just under the $96,700 threshold. They pay 0% federal tax on all $45,000 in capital gains.
This strategy is particularly powerful for:
- Early retirees living on investments before Social Security
- People in lower-income years between jobs
- Parents who gift appreciated assets to children in lower brackets
3. Tax-Loss Harvesting
Tax-loss harvesting converts paper losses into real tax savings by selling declining investments to generate capital losses that offset gains.
How it works:
- You have $15,000 in capital gains from selling Apple stock
- You sell a bond fund at a $15,000 loss
- The losses cancel the gains: $0 taxable capital gains
- You immediately buy a similar (but not “substantially identical”) fund to maintain your market exposure
Rules to know:
- Losses first offset gains of the same type (short-term against short-term, long-term against long-term)
- Net losses after offsetting gains can deduct up to $3,000/year against ordinary income
- Excess losses carry forward indefinitely to future tax years
- The wash-sale rule: you cannot repurchase the same or substantially identical security within 30 days before or after the sale
Tax-loss harvesting is most valuable in taxable brokerage accounts. It does not apply inside IRAs or 401(k)s.
4. Maximize Retirement Account Contributions
Capital gains inside tax-advantaged accounts are never immediately taxable:
| Account Type | Tax Treatment | 2026 Contribution Limit |
|---|---|---|
| 401(k) / 403(b) | Gains deferred; withdrawals taxed as ordinary income | $23,500 ($31,000 age 50+) |
| Traditional IRA | Gains deferred; withdrawals taxed as ordinary income | $7,000 ($8,000 age 50+) |
| Roth IRA | Gains grow tax-free; qualified withdrawals tax-free | $7,000 ($8,000 age 50+) |
| Roth 401(k) | Gains grow tax-free; qualified withdrawals tax-free | $23,500 ($31,000 age 50+) |
| HSA | Triple tax-advantaged for medical expenses | $4,300 individual / $8,550 family |
Roth accounts are the gold standard for high-growth investments: you pay tax on contributions now, but all future gains and withdrawals are tax-free, regardless of the amount.
Investors who hold individual stocks, ETFs, or other growth assets inside Roth accounts effectively eliminate capital gains tax on those holdings permanently.
5. Use the Primary Home Exclusion
When you sell your primary residence, you can exclude up to $250,000 in gains from taxes ($500,000 for married filing jointly), as long as you’ve owned and lived in the home as your primary residence for at least 2 of the last 5 years.
Worked example:
- Bought home in 2019 for $350,000
- Sold in 2026 for $750,000
- Gain: $400,000
- Single filer exclusion: $250,000
- Taxable gain: $150,000 (taxed at long-term capital gains rates)
- Married couple exclusion: $400,000 → $0 taxable gain
You can use this exclusion once every two years. It is not available for investment properties, vacation homes, or rentals (though a rental converted to a primary residence for 2+ years can qualify for a partial exclusion).
6. Donate Appreciated Assets to Charity
Instead of selling appreciated stock and donating cash, donate the stock directly:
- You receive a full charitable deduction for the fair market value
- You owe no capital gains tax on the appreciation
- The charity receives the full value tax-free
Example:
- You bought stock for $5,000; it’s now worth $25,000
- Option A: Sell → pay 15% capital gains tax on $20,000 gain ($3,000) → donate $22,000 cash
- Option B: Donate stock directly → deduct $25,000, pay zero capital gains tax
Donor-advised funds (DAFs) make this easy — you can donate a lump sum of appreciated stock in a high-income year, take the full deduction, and distribute to charities over time.
7. Use a 1031 Exchange for Real Estate
Real estate investors can defer capital gains tax indefinitely by executing a Section 1031 like-kind exchange: selling one investment property and rolling the proceeds into another of equal or greater value within strict timelines.
Key rules:
- Must identify replacement property within 45 days of sale
- Must close on replacement property within 180 days of sale
- Applies to investment and business property only — not primary residences
- You can chain multiple 1031 exchanges, deferring the gain for decades
- At death, heirs inherit property at a stepped-up basis, potentially eliminating the deferred gain entirely
A real estate investor who bought a rental for $200,000 (now worth $800,000) can exchange into a larger property without paying capital gains tax on the $600,000 gain.
8. Gift Appreciated Assets to Family Members in Lower Brackets
If a family member is in a lower tax bracket — a child, a parent in retirement — gifting appreciated assets can reduce or eliminate capital gains tax.
Gift tax rules (2026): You can give up to $19,000 per person per year ($38,000 married filing jointly) without filing a gift tax return. The recipient takes your original cost basis.
For adult children: If your child has little taxable income, they may pay 0% on capital gains (below $48,350 for single filers in 2026). You avoid the 15%–20% rate you would have paid.
Kiddie tax warning: For children under 19 (or full-time students under 24), unearned income above $2,500/year is taxed at the parent’s rate under the kiddie tax rules. This strategy works best for adult children with independent income.
Quick Reference: Which Strategy for Which Situation?
| Your Situation | Best Strategy |
|---|---|
| Still holding an investment | Hold 12+ months before selling |
| Low-income year (job change, early retirement) | Realize gains at 0% rate |
| Have losing positions in taxable account | Tax-loss harvesting |
| High earner with long-term investments | Max Roth IRA/Roth 401(k) |
| Selling a home | Primary residence exclusion |
| Charitably inclined | Donate appreciated stock |
| Real estate investor | 1031 exchange |
| Family in lower brackets | Gift appreciated assets |
The wash sale rule is the key constraint on tax-loss harvesting — you cannot repurchase the same or substantially identical security within 30 days of a loss sale without losing the deduction. High earners should also account for the net investment income tax (NIIT), which adds 3.8% on investment income above $200,000 (single) or $250,000 (married). If the asset you’re selling is real estate, the rules differ — see capital gains tax on real estate for the depreciation recapture and home-sale exclusion details.
The content on Wealthvieu is for informational purposes only and should not be considered financial, tax, or investment advice. Consult a qualified professional before making financial decisions. Full disclaimer · Editorial policy