Skip to main content
Share
Taxes21 min read

How to Reduce Capital Gains Tax Legally in 2026: 9 Proven Strategies

There are nine legal strategies that reduce capital gains tax for every investor, from the 0% rate strategy that saves families thousands to 1031 exchanges, opportunity zones, and step-up in basis. This guide covers every major method with eligibility requirements, IRS citations, and worked examples so you know exactly which strategies apply to your situation.

Published
Updated
Sources Cited
Depth
18 sections
Evidence
1 source domain cited
Reading time
21 minutes
Freshness
August 22, 2026
How to Reduce Capital Gains Tax Legally in 2026: 9 Proven Strategies
Share

Paying the full statutory capital gains rate is not inevitable. The U.S. tax code includes multiple strategies that legally reduce or eliminate capital gains taxes for investors who plan ahead. Some are simple (hold an asset one extra day to qualify for long-term rates), others are sophisticated (a 1031 exchange defers taxes on real estate indefinitely). All are legal, IRS-approved, and used by investors at every income level. This guide covers the nine most effective strategies, who qualifies for each, and how much each one can save.

Last Updated: June 17, 2026 Next Review: January 2027 Verified: IRS.gov

This article is for educational purposes only and does not constitute professional tax or financial advice. The strategies described are legal under current U.S. tax law; individual applicability depends on your specific circumstances. Consult a qualified CPA or tax professional before implementing any strategy.

Quick Answer

The nine most effective legal strategies to reduce capital gains tax are: (1) hold assets longer than one year for long-term rates, (2) use the 0% rate in low-income years, (3) harvest losses to offset gains, (4) hold investments inside retirement accounts, (5) use the home sale exclusion, (6) donate appreciated assets to charity, (7) use a 1031 exchange for real estate, (8) invest in Qualified Opportunity Zones, and (9) leverage the step-up in basis through estate planning. Each strategy has eligibility requirements and trade-offs.

Key Takeaways

  • 01The most powerful strategy is also the simplest. Holding assets for more than one year cuts your maximum federal rate from 37% to 20% and makes the 0% rate available. No paperwork, no qualification requirements, no complexity required.

  • 02The 0% bracket is available to more households than most people realize. In 2026, a married couple can have up to $128,900 in gross income (after the standard deduction) and owe zero federal tax on long-term capital gains. This applies to retired couples, lower-income earners, and anyone with a temporarily low-income year.

  • 03Every strategy has trade-offs. Donating appreciated stock eliminates capital gains tax but you no longer own the asset. A 1031 exchange defers real estate gains but requires reinvestment in like-kind property. Understand the full picture before executing any strategy.

  • 04State taxes matter too. Most states tax capital gains as ordinary income with no preferential rate. Even a 0% federal rate may still result in a significant state tax bill in states like California, New York, or Oregon. Strategies that reduce federal taxes may not reduce state taxes equally.

  • 05Combining strategies multiplies savings. The most tax-efficient investors do not use just one strategy. A retiree might harvest gains at 0% while also using tax-loss harvesting to reset basis on losers and donating appreciated shares to charity instead of cash.

Key Definitions

Section 121 Exclusion

IRS provision allowing homeowners to exclude up to $250,000 ($500,000 for married couples) of capital gain from the sale of a primary residence, provided ownership and use requirements are met.

1031 Exchange

IRS Section 1031 provision allowing real estate investors to defer capital gains taxes by reinvesting proceeds from one investment property into a like-kind replacement property within specific IRS deadlines.

Qualified Opportunity Zone (QOZ)

Economically distressed census tracts designated by the IRS where investments held for specified periods receive capital gains tax deferral or exclusion.

Step-Up in Basis

The reset of inherited asset cost basis to fair market value at the date of the original owner's death, permanently eliminating all capital gains that accrued before death.

Donor-Advised Fund (DAF)

A charitable giving vehicle where you donate appreciated assets, receive an immediate charitable deduction, and recommend grants to charities over time, while never paying capital gains on the donated assets.

Table of Contents

  1. 1. Hold Longer Than One Year

  2. 2. Use the 0% Long-Term Rate

  3. 3. Tax-Loss Harvesting

  4. 4. Invest Through Retirement Accounts

  5. 5. Home Sale Exclusion (Section 121)

  6. 6. Donate Appreciated Assets

  7. 7. 1031 Exchange for Real Estate

  8. 8. Qualified Opportunity Zone Investment

  9. 9. Step-Up in Basis (Estate Planning)

  10. 10. Comparing All 9 Strategies

  11. 11. Worked Examples

  12. 12. Common Mistakes

  13. 13. Frequently Asked Questions

  14. 14. Sources and References

Strategy 1: Hold Assets for More Than One Year

The simplest, most universally applicable strategy to minimize capital gains tax is to hold assets for more than one year before selling. This converts a short-term gain taxed at ordinary income rates (up to 37%) into a long-term gain taxed at preferential rates of 0%, 15%, or 20%.

The math is compelling: An investor in the 24% ordinary income bracket sells $50,000 of appreciated stock. If held 11 months: short-term gain, taxed at 24% = $12,000. If held 13 months: long-term gain, taxed at 15% = $7,500. Difference from one extra 2-month wait: $4,500 saved.

How to implement it: Review the purchase dates of positions before selling. Your brokerage account should display the holding period for each lot. Positions within a few months of the one-year anniversary are worth holding. Set calendar reminders on the one-year dates of your largest unrealized gains.

Specific identification: If you bought shares of the same stock at different times, you can choose which lot to sell using specific identification. Always sell the lot that has been held longest first to ensure long-term treatment, or sell the highest-cost-basis lot to minimize the gain.

For the full breakdown of how long-term rates work and who qualifies for each bracket, see our Long-Term Capital Gains Tax Guide 2026.

Strategy 2: Use the 0% Long-Term Rate

For investors with lower taxable income, the 0% federal long-term capital gains rate means paying nothing to the IRS on investment profits. This is not a loophole. It is a congressionally intended feature of the tax code designed to encourage investment.

2026 thresholds:

  • 0%Single filers: Total taxable income at or below $49,450

  • 0%Married filing jointly: Total taxable income at or below $98,900

  • 0%Head of household: Total taxable income at or below $66,750

Capital gains harvesting: In any year where your taxable income is below the 0% threshold, you should realize as many long-term gains as possible up to that threshold. Sell appreciated positions, pay zero federal tax, and immediately repurchase the same shares at the new higher price. This resets your cost basis without triggering capital gains tax, permanently reducing future taxable gains. This is legal, widely used by tax professionals, and one of the most powerful annual planning strategies available.

Who benefits most: Early retirees with pension or Social Security income below the threshold, investors in a gap year between jobs, anyone with temporarily reduced income, and students or young investors with modest investment income.

Strategy 3: Tax-Loss Harvesting

Tax-loss harvesting uses investment losses to offset gains. Selling positions at a loss generates a capital loss that directly reduces the amount of gain subject to tax. Short-term losses offset short-term gains first (the most expensive gains); long-term losses offset long-term gains. If total losses exceed all gains, up to $3,000 can reduce ordinary income, with the rest carrying forward indefinitely.

For a complete guide including ETF replacement pairs, crypto harvesting, and six worked examples, see our Tax-Loss Harvesting Guide 2026.

Key practical tip: Review your portfolio in October and November each year for unrealized losses. Year-end is the most common time for harvesting, but market dips throughout the year create opportunities. Pair harvested positions with similar replacement funds to stay invested while waiting out the 30-day wash-sale window.

Strategy 4: Invest Through Retirement Accounts

Capital gains inside traditional and Roth retirement accounts are never taxed as capital gains. A Roth IRA is the most powerful: all gains grow tax-free, and qualified distributions in retirement are completely tax-free, with no capital gains tax regardless of how large the gains are.

Roth IRA: Contribute after-tax dollars. All future growth, including capital gains from trading inside the account, is permanently tax-free. Active trading, short-term or long-term, generates no annual tax bill. Maximum 2026 contribution: $7,000 ($8,000 if age 50 or older). Income limits apply for direct contributions, but a backdoor Roth conversion may be available.

Traditional IRA and 401(k): Contributions are pre-tax (reducing current income), and investments grow tax-deferred. The trade-off: withdrawals in retirement are taxed as ordinary income at whatever your rate is then, not at capital gains rates. But the compounding benefit of decades of tax-deferred growth often outweighs the ordinary income tax at withdrawal.

Best assets for Roth accounts: Put your highest-growth, most actively traded assets inside Roth accounts. The potential for large gains taxed at 0% is maximized there. Low-turnover index funds and dividend-paying stocks may be better suited to taxable accounts where long-term rates apply.

Strategy 5: The Home Sale Exclusion (Section 121)

Section 121 of the Internal Revenue Code allows eligible homeowners to exclude a substantial amount of capital gain from a home sale from federal taxes entirely. This is not a deferral; the excluded gain is permanently tax-free.

Exclusion amounts:

  • Single filers: Exclude up to $250,000 of gain

  • Married filing jointly: Exclude up to $500,000 of gain

Eligibility requirements: You must have owned the home for at least 2 of the last 5 years AND used it as your primary residence for at least 2 of the last 5 years. The two-year periods do not need to be continuous. You can use this exclusion once every two years.

What the exclusion means in practice: A married couple who bought a home for $350,000 and sold it for $850,000 has a $500,000 gain. The entire gain is excluded. Federal capital gains tax owed: $0. The exclusion does not apply to rental or investment properties. Only your primary residence qualifies.

What happens above the exclusion? Any gain above $250,000 (single) or $500,000 (MFJ) is taxable at long-term capital gains rates, assuming the home was held for more than one year. Plan accordingly for homes with very large appreciation.

Strategy 6: Donate Appreciated Assets to Charity

When you donate appreciated long-term capital assets (stocks, ETFs, mutual fund shares) directly to a qualified charity, you receive a double tax benefit: you eliminate the capital gains tax entirely, and you receive a charitable deduction for the full fair market value of the donated assets.

How it works: Instead of selling $10,000 of appreciated stock (paying $1,500 in capital gains tax at 15%) and donating the remaining $8,500 in cash, you donate the $10,000 in stock directly. The charity receives $10,000, you get a $10,000 charitable deduction, and you pay zero capital gains tax. Both you and the charity are better off.

Donor-Advised Funds (DAFs): If you want to support multiple charities over time, a Donor-Advised Fund allows you to donate appreciated assets in one lump sum, receive the full charitable deduction immediately, and then direct grants to specific charities over months or years. You can contribute appreciated stock to the DAF, take the deduction today, and recommend grants to your chosen organizations later.

Eligibility requirements: The donated asset must be a long-term capital asset (held more than one year). Donations of short-term capital assets are deductible only at cost basis, not fair market value. The deduction is limited to 30% of your adjusted gross income for non-cash appreciated property, with a 5-year carryforward for amounts above the limit.

IRS citation: IRS Charitable Contribution Deductions guidance

Strategy 7: 1031 Exchange for Real Estate

A 1031 exchange (named for IRC Section 1031) allows real estate investors to sell an investment property and defer all capital gains taxes indefinitely by reinvesting the proceeds into a like-kind replacement property within strict IRS timelines.

The IRS deadlines are firm:

  • 45 days: You must identify potential replacement properties in writing within 45 days of closing the relinquished property sale

  • 180 days: You must close on the replacement property within 180 days of closing the sale (or by your tax return due date, whichever is earlier)

  • Qualified intermediary: You cannot receive the sale proceeds directly. A qualified intermediary must hold the funds between the sale and reinvestment

Key rules: The replacement property must be like-kind (any real property held for investment or business use qualifies as like-kind, regardless of type; a commercial building can be exchanged for a rental house). You must acquire a replacement property of equal or greater value. Any cash received ("boot") is taxable.

The power of 1031 deferral: A real estate investor who bought a rental property for $200,000, sold it for $600,000 after 10 years ($400,000 gain), and executed a 1031 exchange into a $600,000 replacement property defers all taxes on the $400,000 gain. If they continue 1031 exchanging through retirement and then die with the property, their heirs receive a step-up in basis and the deferred gain is eliminated entirely. The deferred taxes may never be paid.

What 1031 does NOT cover: Primary residences (though Section 121 applies), stocks, bonds, and most personal property. Since 2018, the Tax Cuts and Jobs Act limited 1031 exchanges to real property only.

Strategy 8: Qualified Opportunity Zone Investment

The Qualified Opportunity Zone (QOZ) program, established by the Tax Cuts and Jobs Act of 2017, allows investors to defer capital gains taxes by reinvesting gains into specially designated Qualified Opportunity Funds (QOFs) that invest in economically distressed communities.

How QOZ deferral works: If you have any capital gain (from selling a stock, real estate, or other asset), you can roll that gain into a QOF within 180 days. The original gain is deferred until December 31, 2026 (under current law, deferred gains become due for the 2026 tax year), or until you sell your QOF investment, whichever comes first.

The big benefit is on the QOF gain itself: If you hold your QOF investment for at least 10 years, all appreciation on the QOF investment itself is permanently excluded from capital gains tax. You still pay tax on the original deferred gain, but all new gains from the QOZ investment are tax-free.

Important 2026 note: The deferral deadline means taxpayers with deferred gains rolling over from prior years may need to recognize those gains in 2026. Consult a tax advisor about the timing of any QOZ investment made before 2026 and its tax impact this year.

Risk consideration: QOZ investments are typically illiquid, in higher-risk markets, and require a 10-year hold to maximize the tax exclusion. They are appropriate for gains investors can afford to have tied up for a decade in speculative community development investments. They are not appropriate for core portfolio capital.

Strategy 9: Step-Up in Basis Through Estate Planning

When an asset is passed to heirs through an estate, its cost basis resets to the fair market value on the date of the original owner's death. This permanently eliminates all capital gains that accumulated during the original owner's lifetime.

The implication is significant: An investor who bought stock for $10,000 that grows to $500,000 over 40 years has $490,000 of embedded capital gain. If they sell the stock, they pay capital gains tax on $490,000. But if they hold the stock until death and leave it to a child, the child inherits the stock with a basis of $500,000. The $490,000 of gain is permanently forgiven. If the child sells immediately, they owe nothing.

Who should use this strategy: Elderly investors with highly appreciated long-term positions and no immediate need for the cash. The trade-off is maintaining the investment rather than liquidating it, which may not be appropriate for everyone. This strategy pairs well with charitable giving: donate appreciated assets to charity during your lifetime (eliminating the gain tax-free) and let the most appreciated positions pass to heirs via the step-up.

Important note: The step-up in basis applies to assets held in taxable accounts, not IRAs or 401(k)s. Inherited retirement accounts are taxed as ordinary income when withdrawn by the inheriting beneficiary. Estate planning with step-up in basis should focus on taxable account investments.

How Much Can You Actually Save? Federal Tax Savings by Bracket

The table below shows the federal tax savings from converting a short-term gain to a long-term gain (the single most impactful strategy), across common gain sizes and tax brackets. These figures use 2026 rates and assume the gain does not push the taxpayer into a higher bracket.

Capital Gain

22% Bracket (Short-Term)

15% Bracket (Long-Term)

Savings from Holding 1+ Year

$10,000

$2,200

$1,500

$700

$25,000

$5,500

$3,750

$1,750

$50,000

$12,000

$7,500

$4,500

$100,000

$24,000

$15,000

$9,000

$250,000

$60,000

$37,500

$22,500

$500,000

$120,000

$100,000

$20,000

Note: The $500,000 long-term gain uses 20% rate (above the 2026 $545,500 single threshold). Short-term rate shown is 24% for gains pushing into that bracket. All figures are federal only; add your state rate for total savings. Source: IRS Rev. Proc. 2025-32.

Comparing All 9 Strategies at a Glance

Strategy

Tax Effect

Best For

Complexity

Hold 1+ year

Rate reduced to 0-20%

All investors

Very Low

0% rate harvesting

Gains eliminated

Low/moderate income

Low

Tax-loss harvesting

Gains offset dollar-for-dollar

Taxable account investors

Medium

Retirement accounts

Gains deferred or eliminated

All investors

Low

Section 121 exclusion

Up to $500K gain eliminated

Homeowners

Low

Donate appreciated assets

Gain eliminated + deduction

Charitably inclined investors

Medium

1031 exchange

Gains deferred indefinitely

Real estate investors

High

Opportunity zones

Gains deferred; new gains excluded

Large gains, long time horizon

Very High

Step-up in basis

Lifetime gains permanently forgiven

Estate planning, older investors

Low (planning) / High (legal)

Worked Examples: Combining Strategies

Example 1: Early Retiree Using 0% Harvesting + Roth Conversion

Married couple, retired at 60, $48,000 gross annual income

  • After $30,000 standard deduction: $18,000 taxable ordinary income

  • 0% LTCG space available: $98,900 - $18,000 = $80,900

  • Action: Realize $80,900 of long-term capital gains (sell appreciated index funds, immediately repurchase). Federal LTCG tax: $0

  • Cost basis of portfolio reset from $80,900 lower to current prices. Future gains reduced permanently.

  • Annual savings at 0% vs. 15%: $80,900 x 15% = $12,135 saved per year vs. realizing at 15%

Example 2: Active Investor Using Harvesting + Long-Term Holding

Single filer, $95,000 ordinary income, multiple stock positions

  • Has $25,000 short-term gain from selling Stock A (held 8 months)

  • Action 1: Harvest $18,000 in short-term losses from declining positions. Net short-term gain: $7,000

  • Action 2: Hold appreciated long-term Stock B (currently up $30,000) until past the one-year mark

  • Result: Pay 22% on $7,000 net short-term gain ($1,540) instead of $25,000 ($5,500). Plus $30,000 of long-term gain will be taxed at 15% when eventually sold ($4,500) instead of 22% ($6,600)

  • Combined strategy saves: $5,560

Example 3: Homeowner Using Section 121 + Long-Term Investment Strategy

Married couple, primary home purchased 2018, also holds investment portfolio

  • Sold primary home in 2026: purchased for $280,000, sold for $780,000. Gain: $500,000

  • Section 121 exclusion for MFJ: $500,000. Federal capital gains tax on home sale: $0

  • Meanwhile, investment portfolio has $120,000 long-term gain. Taxable income (after deductions): $145,000

  • $120,000 long-term gain at 15%: $18,000 federal tax

  • Total tax on both: $18,000 (only on investments). Without the Section 121, the home gain alone would have cost: $500,000 x 15% = $75,000

  • Section 121 saved: $75,000

Common Mistakes When Trying to Reduce Capital Gains Tax

1. Selling Before the One-Year Mark to Raise Cash

Investors who need liquidity sometimes sell appreciated positions before reaching the one-year mark, unknowingly converting a potential long-term gain into a short-term one. Before selling appreciated positions for cash needs, check whether you are within a few months of the one-year anniversary. If so, consider borrowing against the position or selling a different asset to raise cash.

2. Forgetting State Taxes Negate Some Federal Strategies

The 0% federal rate on long-term gains does not apply at the state level in most states. A California resident who qualifies for the federal 0% rate still pays California's 9.3% on those same gains. Strategies that reduce federal capital gains tax may not reduce state tax at all. Always calculate your combined federal and state liability before assuming a strategy eliminates your entire tax bill.

3. Misunderstanding the Home Exclusion Requirements

The Section 121 exclusion requires 2 years of ownership AND 2 years of use as a primary residence out of the last 5 years. Investors who convert a primary residence to a rental property and then sell several years later may not meet the use test. Plan conversions carefully if you want to preserve the Section 121 exclusion.

4. Making Wash Sales When Harvesting Losses

The most common mistake in tax-loss harvesting is repurchasing the same or substantially identical security within 30 days, triggering a wash sale and disallowing the loss. Always replace with a similar but not identical fund or wait the full 31 days before repurchasing the original position.

5. Using 1031 Exchanges Without a Qualified Intermediary

If you receive the sale proceeds directly (even briefly) before reinvesting in the replacement property, the 1031 exchange is disqualified and all deferred gains become immediately taxable. Always engage a qualified intermediary before closing on the relinquished property sale. Do not wait until after the sale to set this up.

Frequently Asked Questions

What is the easiest way to reduce capital gains tax?

The simplest and most accessible strategy is holding investments for more than one year before selling, converting short-term gains taxed at up to 37% into long-term gains taxed at 0%, 15%, or 20%. Combined with maximizing contributions to Roth IRA and 401(k) accounts, these two strategies alone can dramatically reduce most investors' lifetime capital gains tax burden with minimal complexity.

Can I reduce capital gains tax without selling?

Yes. The step-up in basis strategy involves holding appreciated assets until death, at which point heirs inherit them with a basis reset to fair market value, permanently eliminating the capital gain without ever selling. Additionally, borrowing against appreciated positions (through margin loans or securities-backed loans) generates cash without triggering a sale, though this carries interest costs and leverage risk.

Does contributing to a 401(k) reduce capital gains?

Not directly. 401(k) contributions reduce your ordinary income, which may lower the income base that your capital gains stack on top of, potentially keeping you in a lower long-term capital gains bracket. But gains on assets already held in taxable accounts are not affected by 401(k) contributions. The bigger benefit is making future investments inside the 401(k), where gains grow tax-deferred without annual capital gains taxes.

Is there a way to reset my cost basis without selling?

In taxable accounts, you generally cannot reset your cost basis without a sale. The exception is inherited property (step-up in basis at death) and charitable donations. The 0% rate harvesting strategy requires an actual sale; the tax savings come from paying 0% on the sale, then repurchasing at the current price with a new, higher cost basis.

Can I use multiple strategies together?

Yes, and the most tax-efficient investors do exactly this. A retiree might harvest long-term gains at the 0% rate each year, simultaneously use tax-loss harvesting to offset remaining gains, donate appreciated shares to charity instead of cash, and hold concentrated appreciated positions to pass to heirs with a step-up in basis. These strategies are complementary, not mutually exclusive.

What is the difference between deferring and eliminating capital gains tax?

Deferral means delaying the tax payment to a future date (1031 exchanges defer taxes until the property is eventually sold, or permanently if continued through estate). Elimination means the tax is permanently forgiven (the Section 121 exclusion, step-up in basis, and 0% rate on long-term gains are true eliminations). Deferral is valuable because of the time value of money, but eliminated taxes are better than deferred taxes.

How does the home sale exclusion work for a home used partly as rental?

If you rent out part of your home (basement apartment, for example), the exclusion applies to the portion of the home you used as your primary residence. The rental portion's gain may not be excludable and may also be subject to depreciation recapture. The calculation becomes complex; a CPA should handle the allocation for homes with mixed personal and rental use.

Sources and References

Editorial Process

This article was researched using official IRS publications and guidance. All strategies described are legal under current U.S. federal tax law as of June 2026. State tax treatment varies and is not covered comprehensively here. Tax laws can change; consult the IRS website and a qualified tax professional for current applicability. This article does not constitute legal or tax advice.

State Tax Reality: Your Location Doubles (or Halves) the Value of These Strategies

Every strategy in this guide targets federal capital gains tax. But for many investors, state capital gains tax adds a substantial second layer that can be larger than the federal tax on smaller gains. The nine states with no income tax charge zero capital gains tax, while California taxes gains at up to 13.3%, the highest rate in the nation.

Scenario: $100,000 Long-Term Gain

California Investor

Florida Investor

Federal tax (20% long-term rate)

$20,000

$20,000

Net Investment Income Tax (3.8%)

$3,800

$3,800

State capital gains tax

$13,300 (at 13.3%)

$0

Total taxes paid

$37,100

$23,800

After-tax proceeds from $100,000 gain

$62,900

$76,200

Additional state tax saved in Florida

$13,300

For a $1 million long-term gain at the highest rates, the difference reaches $133,000. This is why tax planning for large asset sales often involves discussions about residency, and why some high-net-worth investors legitimately establish domicile in no-tax states before selling concentrated positions. See our complete state capital gains tax guide for every state's exact rate.

IRS Forms Required When Using These Strategies

Each strategy in this guide has corresponding tax reporting requirements. Using a strategy correctly also means filing the right forms.

Strategy Used

IRS Form Required

Purpose

Due Date

Any sale of securities

Form 8949 + Schedule D

Report each transaction; summarize gains and losses

Tax return deadline

1031 Like-Kind Exchange

Form 8824

Report the exchange, deferred gain, and basis of replacement property

Year of exchange

High-income investors (NIIT)

Form 8960

Calculate 3.8% Net Investment Income Tax if MAGI exceeds $200k (single) / $250k (MFJ)

Tax return deadline

Donate appreciated stock

Form 8283

Noncash charitable contribution; required for donations over $500

Year of donation

Opportunity Zone investment

Form 8949 + Form 8997

Report deferred gain and QOZ investment; annual tracking required

Every year until exit

Installment sale

Form 6252

Report installment sale income each year until the obligation is fully paid

Each year payments received

Home sale exclusion

Schedule D (if gain exceeds exclusion) or no reporting required if fully excluded

Only report if gain exceeds $250k/$500k exclusion

Year of sale

Important: Most Strategies Defer Taxes, Not Eliminate Them

A common misconception: most capital gains tax strategies delay the tax obligation rather than permanently erasing it. A 1031 exchange defers your gain to a future sale. Installment sales spread the tax over multiple years. Opportunity Zones defer gains for years then exclude appreciation. Only a few strategies truly eliminate capital gains tax permanently: donating appreciated assets to a qualified charity, the primary home sale exclusion (up to $250k/$500k), and the stepped-up basis at death. Do not confuse deferral with elimination when planning large asset sales.

Quick Win: Check Your 0% Bracket Eligibility First

Before exploring complex strategies, check whether you qualify for the 0% federal long-term capital gains rate. In 2026, single filers with taxable income at or below $48,350 pay zero federal tax on long-term gains. Married couples filing jointly qualify at or below $96,700. If you are close to this threshold, income timing strategies such as increasing retirement account contributions, deferring consulting income, or accelerating deductions can get you under it. You can then sell appreciated long-term positions, immediately repurchase them (no wash-sale rule applies to gains), and permanently reset your cost basis at zero federal tax cost. This one move can save thousands and is available to any middle-income investor with long-term positions.

Frequently Asked Questions

What is the easiest way to reduce capital gains tax?
The simplest and most accessible strategy is holding investments for more than one year before selling, converting short-term gains taxed at up to 37% into long-term gains taxed at 0%, 15%, or 20%. Combined with maximizing contributions to Roth IRA and 401(k) accounts, these two strategies alone can dramatically reduce most investors' lifetime capital gains tax burden with minimal complexity.
Can I reduce capital gains tax without selling?
Yes. The step-up in basis strategy involves holding appreciated assets until death, at which point heirs inherit them with a basis reset to fair market value, permanently eliminating the capital gain without ever selling. Additionally, borrowing against appreciated positions (through margin loans or securities-backed loans) generates cash without triggering a sale, though this carries interest costs and leverage risk.
Does contributing to a 401(k) reduce capital gains?
Not directly. 401(k) contributions reduce your ordinary income, which may lower the income base that your capital gains stack on top of, potentially keeping you in a lower long-term capital gains bracket. But gains on assets already held in taxable accounts are not affected by 401(k) contributions. The bigger benefit is making future investments inside the 401(k), where gains grow tax-deferred without annual capital gains taxes.
Is there a way to reset my cost basis without selling?
In taxable accounts, you generally cannot reset your cost basis without a sale. The exception is inherited property (step-up in basis at death) and charitable donations. The 0% rate harvesting strategy requires an actual sale; the tax savings come from paying 0% on the sale, then repurchasing at the current price with a new, higher cost basis.
Can I use multiple strategies together?
Yes, and the most tax-efficient investors do exactly this. A retiree might harvest long-term gains at the 0% rate each year, simultaneously use tax-loss harvesting to offset remaining gains, donate appreciated shares to charity instead of cash, and hold concentrated appreciated positions to pass to heirs with a step-up in basis. These strategies are complementary, not mutually exclusive.
What is the difference between deferring and eliminating capital gains tax?
Deferral means delaying the tax payment to a future date (1031 exchanges defer taxes until the property is eventually sold, or permanently if continued through estate). Elimination means the tax is permanently forgiven (the Section 121 exclusion, step-up in basis, and 0% rate on long-term gains are true eliminations). Deferral is valuable because of the time value of money, but eliminated taxes are better than deferred taxes.
How does the home sale exclusion work for a home used partly as rental?
If you rent out part of your home (basement apartment, for example), the exclusion applies to the portion of the home you used as your primary residence. The rental portion's gain may not be excludable and may also be subject to depreciation recapture. The calculation becomes complex; a CPA should handle the allocation for homes with mixed personal and rental use.

Written by

Founder and Editor, FinanceFirst

Asim Ahmad is the founder and editor of FinanceFirst, where he leads editorial standards, consumer-finance research, and data-driven financial education.

Consumer finance educationFinancial research methodsCapital gains educationSavings and cash managementCost-of-living researchState financial comparisonsEditorial standards
View full profile