How to Reduce Capital Gains Tax: 10 Effective Strategies Selling appreciated stock, real estate, or a business can trigger a tax bill that eats straight into your gains. The top federal long-term capital gains rate sits at 20%, and once you layer on the 3.8% Net Investment Income Tax, high earners can face a combined 23.8% federal hit before state taxes even enter the picture (IRS Topic 409).

That's real money. A $500,000 gain taxed at the top combined rate means giving up over $100,000 to the IRS alone. Many investors don't realize how much of that is avoidable with proper planning.

This guide covers 10 legal strategies to reduce your capital gains exposure — from simple holding-period tricks to advanced tax-advantaged investments most people never hear about.

Key Takeaways

  • Hold over a year to move from ordinary income rates to long-term rates of 0%, 15%, or 20%
  • Mix simple moves (longer holds, loss harvesting) with advanced tools (1031s, opportunity zones, tax-advantaged energy investments)
  • Combine 2–3 strategies for the largest overall cut to capital gains tax
  • Clear higher-complexity moves with a CPA or tax advisor before you act

Understanding Capital Gains Tax Basics

Capital gains tax applies to profit earned from selling an appreciated asset — stocks, real estate, or a business interest. The IRS taxes that profit, not your total sale price.

Short-Term vs. Long-Term Capital Gains

Hold an asset for more than one year and you qualify for preferential long-term rates. Sell within a year, and the gain is taxed as ordinary income, which can run significantly higher.

In practice, the split looks like this:

  • Long-term (held more than one year): Preferential 0%, 15%, or 20% federal rates
  • Short-term (held one year or less): Taxed as ordinary income at your marginal bracket

2025 federal long-term capital gains brackets (IRS Topic 409):

Rate Single (taxable income) Married Filing Jointly
0% $0 – $48,350 $0 – $96,700
15% $48,351 – $533,400 $96,701 – $600,050
20% Over $533,400 Over $600,050

High earners also owe the 3.8% NIIT once modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly).

Why Capital Gains Costs Add Up

The headline rate rarely tells the whole story. State taxes stack on top of federal rates, and combined burdens can climb fast:

  • California: 20% federal + 13.3% state + 3.8% NIIT ≈ 37%+
  • New York City: 20% federal + 10.9% state + 3.876% city + 3.8% NIIT ≈ 38.5%
  • Oregon: combined top marginal rate around 31%

These figures show top marginal stacking, not a flat effective rate on every dollar of gain. The surprise for many filers is how quickly state tax and NIIT push the real cost well past the 20% federal headline.

State-by-state combined capital gains tax rate comparison chart

10 Effective Strategies to Reduce Capital Gains Tax

These fall into four buckets: timing decisions, offsetting mechanisms, reinvestment vehicles, and income-reducing investments.

Strategies 1-4: Timing and Basic Tax Planning

1. Hold assets longer than one year. Crossing the one-year mark moves you from ordinary income rates (up to 37%) to long-term capital gains rates (0-20%). This single move often produces the biggest single savings.

2. Time sales around your income. If you expect a lower-income year (a sabbatical, retirement transition, or business slowdown), selling then could land you in the 0% or 15% bracket instead of 20%.

3. Use tax-loss harvesting. Sell underperforming positions to realize losses that offset realized gains. Up to $3,000 in excess losses can offset ordinary income annually, with the rest carried forward indefinitely (IRC Section 1211). Watch the wash-sale rule: you can't repurchase a substantially identical security within 30 days.

4. Choose high-cost-basis tax lots. When selling partial positions, IRS-approved specific identification lets you select which shares to sell. Selecting your highest-cost lots minimizes the taxable gain per share sold.

Four timing and basic tax planning strategies overview diagram

Strategies 5-7: Reinvestment and Deferral Vehicles

5. Use a 1031 exchange for real estate. Sell investment property and reinvest in a "like-kind" property to defer the gain entirely. You get 45 days to identify a replacement and 180 days to close. Miss either deadline and the exchange collapses, triggering immediate taxation.

6. Invest in a Qualified Opportunity Zone fund. Roll capital gains into a QOF within 180 days to defer tax. Hold the investment five years for a 10% exclusion, seven years for 15%. Note: deferred gains must be recognized by December 31, 2026, under current law (IRS OZ FAQ).

7. Donate appreciated assets to charity. Give appreciated stock or property directly to a charity or donor-advised fund. You avoid capital gains tax entirely on the appreciation and can deduct the fair market value — up to 30% of AGI for long-term gain property donated to public charities.

Strategies 8-10: Advanced and Income-Offsetting Approaches

8. Use the primary residence exclusion. Sell a qualifying home and exclude up to $250,000 (single) or $500,000 (married) of gain, provided you meet the ownership and use tests (24 months out of the prior 5 years for each).

9. Consider step-up in basis at death. Highly appreciated assets held until death get a basis reset to fair market value, wiping out the built-in gain for heirs entirely. This is a core estate-planning lever, not a sale-timing one.

10. Offset gains with direct oil and gas investment deductions. This is one of the few strategies that can offset active income and capital gains, not just passive income.

Investors in qualifying working interests can deduct Intangible Drilling Costs (IDCs), generally 60-85% of a well's total cost, in the year incurred (Treasury Reg. 1.612-4). Combined with depletion allowances, some programs push deductions further.

Oil and gas intangible drilling cost deduction breakdown infographic

PetroVybe, a Texas-based natural gas development company, has documented this at scale for accredited investor partners through Schedule K-1s:

  • 91% first-year deduction against active income in 2024
  • 94% first-year deduction against active income in 2025
  • A redacted 2025 K-1: $600,000 contribution generated $401,772 in year-one deductions
  • Optional election to spread the deduction across five years

This path is not for every investor. Typical requirements include:

  • Accredited investor status
  • Roughly $100,000 in liquidity
  • A multi-year horizon (distributions may not start for 2-3 years)
  • Comfort with illiquidity

For someone with a large capital gain and high active income, it can deliver an offset most tax-loss harvesting or timing strategies cannot match.

Choosing the Right Strategy for Your Situation

No single capital gains move fits every sale. Match your plan to four factors:

  • Size of the gain — small gains may only need bracket management; large gains often justify more complex strategies
  • Asset type — real estate opens 1031s; stock opens tax-loss harvesting and specific lot ID; business sales may combine several strategies
  • Timeline — some strategies (opportunity zones, direct energy deductions) require multi-year commitments
  • Liquidity needs — deferral and direct investment strategies typically lock up capital longer than simple timing moves

Combining strategies often works best. Someone selling a highly appreciated stock position might harvest losses elsewhere in their portfolio. They can also direct a portion of the proceeds into a deduction-generating investment, such as an oil and gas development partnership. Layering approaches this way usually produces a bigger net reduction than any single move alone.

Four-factor decision framework for choosing capital gains tax strategy

Conclusion

Reducing capital gains tax takes matching the right strategy, or combination of strategies, to your specific gain, income level, and timeline.

Before implementing anything here, especially higher-complexity moves like 1031 exchanges, opportunity zone investments, or direct energy partnerships, talk to a qualified CPA or tax advisor. What works for one investor can backfire for another.

Frequently Asked Questions

How do I reduce capital gains tax?

Hold assets longer than a year to qualify for lower long-term rates. Then time sales in lower-income years, harvest losses, and use vehicles like 1031 exchanges or opportunity zone funds—combining several approaches usually works best.

How can I legally avoid capital gains tax?

Full avoidance is rare, but it's possible in specific cases: the primary residence exclusion, donating appreciated assets to charity, or holding assets until death for a step-up in basis.

What can I offset against capital gains?

Capital losses offset gains dollar-for-dollar. Qualifying oil and gas investments can also generate Intangible Drilling Cost (IDC) deductions that offset capital gains and other active income, with unused losses carrying forward.

How much capital gains tax would I pay on $300,000?

Federal long-term rates are 0%, 15%, or 20% by income, so a $300,000 gain could cost $0–$60,000 before NIIT and state tax. Filing status, total income, and holding period all matter—consult a tax advisor for your figure.

Is it better to hold or sell to avoid capital gains tax?

Holding past one year typically drops you into lower long-term rates. But market risk from continuing to hold has to be weighed against the tax savings from waiting.

Can I use investment losses to reduce my tax bill every year?

Yes. Up to $3,000 in excess losses ($1,500 if married filing separately) can offset ordinary income annually, and any remaining losses carry forward indefinitely.