Estate LawMagazine
Get Your Plan →
Back to Articles
Tax Reduction

How to Legally Pay Zero Capital Gains Tax: 7 Strategies That Actually Work

Capital gains tax is one of the largest and most avoidable taxes in the US system. Here are 7 legal strategies that can dramatically reduce or eliminate capital gains taxes on investments, real estate, and business sales.

2025-03-25 8 min read
Share:
Educational Disclaimer: This article is for educational purposes only and does not constitute legal, tax, or financial advice. Consult a qualified CPA and estate planning attorney before implementing any strategy.

Direct Answer

Capital gains taxes can be legally reduced or eliminated through seven strategies: (1) holding assets until death for the step-up in basis; (2) contributing appreciated assets to a donor-advised fund or private foundation; (3) using a 1031 exchange for real estate; (4) investing in Qualified Opportunity Zones; (5) harvesting capital losses to offset gains; (6) using the 0% capital gains rate for lower-income years; and (7) structuring a business sale with an installment sale or charitable remainder trust.

Understanding the Basics

Capital gains tax applies when you sell an asset for more than you paid for it. The federal rate is 0%, 15%, or 20% depending on your income, plus the 3.8% Net Investment Income Tax for high earners. On a $1 million gain, that is potentially $238,000 in federal taxes — before state taxes.

Here are 7 strategies to reduce or eliminate that tax

1. Hold Until Death (Step-Up in Basis): When you inherit an asset, your cost basis is stepped up to the fair market value at the date of death. If you hold an appreciated asset until death, your heirs inherit it with a stepped-up basis — and owe zero capital gains tax on the appreciation. This is the ultimate capital gains elimination strategy.

2. Contribute to a DAF or Private Foundation: Contributing appreciated assets to a donor-advised fund or private foundation eliminates capital gains tax entirely on the contributed assets. You also receive a charitable deduction for the full fair market value (subject to AGI limits).

This is the most powerful strategy for investors with large appreciated positions.

3. Use a 1031 Exchange: For real estate investors, a 1031 exchange defers capital gains taxes indefinitely by rolling proceeds from one property into a like-kind property. Combined with the step-up in basis at death, a 1031 exchange program can eliminate capital gains taxes entirely.

4. Invest in Qualified Opportunity Zones: Investing capital gains in a QOZ fund within 180 days of the sale defers the original gain until 2026 and can eliminate taxes on the new investment's appreciation entirely if held for 10 years.

5. Harvest Capital Losses: Selling investments that have declined in value creates capital losses that offset capital gains dollar-for-dollar. Up to $3,000 of excess losses can offset ordinary income per year, and unused losses carry forward indefinitely.

6. Use the 0% Capital Gains Rate: The 0% long-term capital gains rate applies to taxable income below $47,025 (single) or $94,050 (married) in 2024. In years when your income is temporarily lower — between jobs, in early retirement, or after large deductions — you can realize capital gains at zero federal tax.

7. Use a Charitable Remainder Trust (CRT): A CRT allows you to contribute appreciated assets to a trust, receive an income stream for life, and pass the remainder to charity. The trust sells the assets without paying capital gains tax, and the proceeds fund the income stream.

You receive a partial charitable deduction for the present value of the charitable remainder.


The Planning Gap

Most investors pay capital gains taxes unnecessarily because they do not plan the timing and structure of asset sales. The strategies above require advance planning — you cannot implement a 1031 exchange after you have already closed on a real estate sale, and you cannot contribute assets to a DAF after you have already sold them.

Key Risks to Understand

  • 1

    The step-up in basis may be modified or eliminated by future legislation.

  • 2

    QOZ investments are illiquid and require a 10-year holding period to eliminate taxes on appreciation.

  • 3

    CRTs are irrevocable — once established, the terms cannot be changed.

  • 4

    The 0% capital gains rate requires careful income management — exceeding the threshold by even $1 triggers the 15% rate on all gains above the threshold.


The Mini Family Office Solution

Capital gains management is a core component of the Mini Family Office strategy. By coordinating the timing of asset sales, the use of charitable vehicles, and the structure of the investment portfolio, the Mini Family Office can dramatically reduce the family's lifetime capital gains tax burden.

🌱

Foundation Strategy (Mandatory)

Contributing appreciated assets to a private foundation or donor-advised fund is the most powerful capital gains elimination strategy available. It works for stock, real estate, business interests, and virtually any other appreciated asset. For families with a significant liquidity event on the horizon, the pre-sale foundation contribution is the highest-leverage strategy available.


Planning Tools & Instruments

  • Donor-Advised Fund — immediate capital gains elimination and charitable deduction

  • Private Foundation — maximum control over charitable assets

  • 1031 Exchange — real estate capital gains deferral

  • Qualified Opportunity Zone Fund — capital gains deferral and elimination

  • Charitable Remainder Trust — income stream plus capital gains elimination

  • Tax-Loss Harvesting — offset gains with losses


Research Library

Access our full research library for case law, IRS codes, and government sources supporting this topic.

View Research

Free Pro Bono Assessment

Capital gains taxes are one of the most avoidable taxes in the US system — but only with advance planning. Our pro bono assessment identifies the strategies most relevant to your asset base and upcoming transactions.


Tips for Families

  • 1

    Review your investment portfolio annually for appreciated positions — a donor-advised fund contribution can eliminate the capital gains and generate a deduction simultaneously.

  • 2

    If you are planning to sell real estate, talk to a CPA about a 1031 exchange before you list the property — the planning must begin before the sale.

  • 3

    In years when your income is temporarily lower, consider realizing capital gains at the 0% rate — it is free money.

  • 4

    If you are charitably inclined, always contribute appreciated assets rather than cash — the tax savings are significantly larger.

Tips for Attorneys & Advisors

  • 1

    Every client with a significant liquidity event should be evaluated for a pre-sale charitable contribution — the window to act is narrow and the savings can be substantial.

  • 2

    The step-up in basis is one of the most powerful estate planning tools — make sure every client's plan is designed to maximize it.

  • 3

    Coordinate with the client's financial advisor on tax-loss harvesting — the legal and investment implications intersect.

  • 4

    CRTs are underused — they are ideal for clients with large appreciated positions who want an income stream and a charitable deduction.


Sources & References

[1]
IRC § 1014 — Basis of Property Acquired from a Decedent26 U.S.C. § 1014 (2024)
[2]
IRC § 1031 — Like-Kind Exchanges26 U.S.C. § 1031 (2024)
[3]
IRC § 1400Z-2 — Qualified Opportunity Zones26 U.S.C. § 1400Z-2 (2024)
[4]
IRC § 664 — Charitable Remainder Trusts26 U.S.C. § 664 (2024)
Share This Article
Disclaimer: This article is for educational purposes only and does not constitute legal, tax, or financial advice. Consult a qualified CPA and estate planning attorney before implementing any strategy.

Article Structure

  • Direct Answer
  • Understanding the Basics
  • The Planning Gap
  • Key Risks
  • Mini Family Office Solution
  • Foundation Strategy
  • Planning Tools
  • Research Library
  • Free Assessment
  • Tips for Families
  • Tips for Attorneys
  • Sources & References

Free Assessment

Estate Planning Hotline — c/o Estate Law Training Center / Law & Tax Foundation

Get Started Free