Capital Gains Tax Strategies — Keep More of Your Investment Returns
Don't let taxes eat your investment gains. Learn how long-term holding, tax-loss harvesting, and using retirement accounts can save you thousands.
Short-Term vs. Long-Term Capital Gains
Assets held for one year or less are taxed as short-term capital gains — at your ordinary income tax rate (10%–37%). Assets held longer than one year qualify for long-term capital gains rates: 0%, 15%, or 20% depending on your taxable income.
Example: A high earner in the 32% bracket selling stock after 10 months pays 32% tax on gains. Waiting 2 more months to cross the one-year mark reduces the tax rate to 15% or 20% — potentially cutting the tax bill in half.
2025 Long-Term Capital Gains Brackets
- 0%: Taxable income up to $47,025 (single) / $94,050 (married)
- 15%: Income from $47,026 to $518,900 (single) / $94,051 to $583,750 (married)
- 20%: Income over $518,900 (single) / $583,750 (married)
Married couples with moderate incomes can pay 0% on long-term gains — an enormous incentive to hold investments over one year.
Calculate your tax impact
Use our Capital Gains Calculator to see exactly what you would owe after selling an investment.
Tax-Loss Harvesting
If some investments have lost value, you can sell them to realize a capital loss. Those losses offset any capital gains you have realized in the same year, reducing your tax bill. If your losses exceed your gains, you can deduct up to $3,000 against ordinary income and carry the rest forward to future years.
Example: You sold Stock A for a $10,000 gain. You also hold Stock B down $8,000. Selling Stock B eliminates tax on $8,000 of the gain — you pay tax only on the remaining $2,000. You can then reinvest the proceeds from Stock B into a similar (not identical) fund to maintain market exposure.
Use Tax-Advantaged Accounts First
- 401(k) / Traditional IRA: Contributions are pre-tax, and investments grow tax-deferred. You pay ordinary income tax upon withdrawal in retirement.
- Roth IRA / Roth 401(k): Contributions are post-tax, but growth and withdrawals are completely tax-free (after age 59½). This is the ultimate capital gains shelter.
- HSA (Health Savings Account): Triple tax advantage — contributions are pre-tax, growth is tax-free, and withdrawals for medical expenses are tax-free.
Before investing in taxable brokerage accounts, max out your tax-advantaged space. For 2025, 401(k) limit is $23,500 ($30,500 if 50+), IRA limit is $7,000 ($8,000 if 50+), HSA limit is $4,300 individual / $8,550 family.
Gift Appreciated Stock Instead of Cash
If you donate to charity, consider gifting appreciated stock you have held for over one year instead of cash. You get a charitable deduction for the full fair market value and never pay capital gains tax on the appreciation. The charity sells the stock tax-free.
Example: You bought stock for $5,000 that is now worth $15,000. Donating the stock directly gives you a $15,000 deduction and avoids capital gains tax on the $10,000 profit. Donating cash from a sale would cost you capital gains tax first.
The Home Sale Exclusion
If you sell your primary residence, you can exclude up to $250,000 of capital gains ($500,000 for married couples) provided you lived in the home for at least two of the last five years. This is one of the most valuable tax breaks for ordinary Americans — many people pay zero tax on home appreciation.
You can use this exclusion once every two years, making it possible to roll gains from home to home over a lifetime without paying tax.
Net Investment Income Tax (NIIT)
For high earners (modified AGI over $200,000 single / $250,000 married), there is an additional 3.8% tax on investment income including capital gains. This stacks on top of the 15% or 20% rate. Tax-loss harvesting becomes even more valuable for this group.
State Capital Gains Taxes
Most states also tax capital gains as ordinary income. Some states have no income tax (Texas, Florida, Nevada, Washington, etc.). If you live in California (top rate 13.3%) or New York (~10%), consider the timing of large sales. Moving to a no-tax state before a major liquidity event can legally save tens of thousands.
Run your capital gains scenarios
Use our capital gains calculator to model taxes before you sell.
Try Capital Gains Calculator →