How can I avoid capital gains tax?

Asked by: Tomasa Erdman  |  Last update: July 7, 2026
Score: 4.7/5 (69 votes)

To avoid or minimize capital gains tax, hold investments over a year for lower long-term rates, use tax-advantaged retirement accounts (401(k), IRAs) for tax deferral, utilize Roth IRAs for tax-free withdrawals, sell your primary home after meeting residency rules (2 of 5 years for exclusions up to $250k/$500k), and strategically reinvest real estate profits via 1031 exchanges or use charitable trusts. Tax-loss harvesting (offsetting gains with losses) and investing in Opportunity Zones are also effective strategies.

How can I legally avoid capital gains tax?

A common way to defer or reduce your capital gains taxes is to use tax-advantaged accounts. Retirement accounts such as 401(k) plans, and individual retirement accounts offer tax-deferred investment. You don't pay income or capital gains taxes on assets while they remain in the account.

How much capital gains do I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

What is the loophole for capital gains tax?

Second, capital gains taxes on accrued capital gains are forgiven if the asset holder dies—the so-called “Angel of Death” loophole. The basis of an asset left to an heir is “stepped up” to the asset's current value.

Can I reinvest my capital gains to avoid taxes?

Does reinvesting reduce capital gains? Real estate investors can employ certain tax strategies to potentially defer gains on the sale of a property. But with stocks, reinvesting your gains does not reduce the federal income taxes you may owe.

How to AVOID Capital Gains TAX (Legally)

34 related questions found

How to get 0% tax on capital gains?

Capital gains tax rates

A capital gains rate of 0% applies if your taxable income is less than or equal to: $48,350 for single and married filing separately; $96,700 for married filing jointly and qualifying surviving spouse; and. $64,750 for head of household.

What is the 5 year rule for capital gains tax?

The "5-year rule" for capital gains tax primarily refers to the IRS's 2-out-of-5-year test for excluding gain on the sale of a primary residence, requiring you to have owned and lived in the home for at least two of the five years before selling it to exclude up to $250k (single) or $500k (married filing jointly) of profit. There are also rules for investment properties, like 1031 exchanges, which involve holding periods, and state-level exceptions, but the main federal rule is for your primary home. 

What happens if I sell my house and don't buy another?

If you sell your house and don't buy another, you'll have cash proceeds (after paying off the mortgage and selling costs) and need to decide on new housing, often renting or moving in with family; financially, you might benefit from the IRS capital gains exclusion (up to $250k/$500k profit if you've lived there two of the last five years), but you'll pay tax on gains beyond that, while also managing the new costs of renting or storage.

How to get exempt from capital gains?

The exemption under section 54 is allowed only if the capital gain arises from the transfer of a long-term capital asset being a residential house property or land appurtenant thereto whose income is taxable under the head of 'income from house property'.

How much capital gains do you have to pay on $300,000?

Capital gains tax on $300,000 depends on your filing status and total income, but for most, it will be taxed at the 15% federal rate, meaning around $45,000 in tax, potentially rising to 20% if your total income is very high, and you'll also need to account for state taxes and potentially a 3.8% Medicare surtax. A $300,000 gain usually falls into the 15% bracket for single filers (above $48,350) and married filing jointly (above $96,700), while for married filing separately, it hits the 20% bracket (over $300,000).

What is the six year rule for capital gains?

The "6-year rule" for Capital Gains Tax (CGT) in Australia allows you to treat a former main residence as tax-exempt for up to six years after you move out, even if you rent it out, enabling you to avoid CGT on any growth during that period. You qualify by moving out, choosing to treat it as your main home for tax, and can reset the rule by moving back in. If you rent it out for longer than six years, only the portion of the gain after the six-year mark becomes taxable.
 

What is the 20% rule for capital gains?

The 20% rule for capital gains refers to the highest federal tax rate for long-term capital gains, applying to higher income brackets when you sell investments (stocks, real estate) held for over a year, with lower rates of 0% and 15% for lower incomes, and even higher rates for special assets like collectibles. This rate kicks in for single filers earning over approximately $492,300 (2024) or $533,401 (2025), and higher for joint filers, making holding assets over a year a key tax strategy.

What is the one-time capital gains exemption?

The primary "one-time" capital gains exemption in the U.S. allows single filers to exclude up to $250,000 (or $500,000 for married couples filing jointly) of profit from selling their main home, provided they've owned and lived in it for at least two of the last five years before the sale. While it's often called a one-time exclusion, you can use it multiple times, but you must wait two years before claiming it again on another property.
 

Can I skip capital gains tax?

Exemption under Section 54EC

Section 54EC provides that you do not have to pay LTCG tax on the sale of any long-term capital assets if the capital gains are invested in the designated government bonds and instruments. The bonds must be purchased within six months following the asset's sale.

Can I use a trust to avoid capital gains?

A Living Trust Does Not Eliminate Capital Gains Taxes

Another common myth is that putting a home or investments in a trust removes capital gains tax obligations. However: If you sell an asset while it's in a revocable living trust, you still owe capital gains tax on any profit.

Can I sell my house to my son for $1 dollar?

Yes, but it comes with major risks. Tax risk: The IRS will treat the difference between the home's market value (e.g., $500,000) and the $1 sale price as a gift, which may require filing a gift tax return.

What is the 3-3-3 rule in real estate?

The "3-3-3 rule" in real estate isn't a single guideline but refers to different strategies: for buyers, it's about financial readiness (3 months savings, 3 months reserves, 3 property comparisons) or a financial affordability check (30% income, 30% down, 3x income); for agents, it's a marketing habit (call 3, note 3, share 3) or prospecting (talking to everyone within 3 feet). There's also a developer rule (1/3 land, 1/3 build, 1/3 profit), though it's considered outdated by some.

Who qualifies for 0% capital gains?

To qualify for 0% capital gains tax, you must have long-term capital gains (assets held over a year) and your taxable income (after deductions) must fall below specific IRS thresholds, which change annually but are roughly <$48,350 for single filers and <$96,700 for married filing jointly for the 2025 tax year, allowing for higher total income when combined with deductions like the standard deduction. The key is keeping your adjusted gross income (AGI) low enough so that after subtracting deductions, your taxable income remains within these limits. 

What is the best way to pass on wealth to children?

There are many options for transferring wealth to the next generation beyond cash gifts; 2503(c) trusts, trusts with Crummey withdrawal rights, UGMA/UTMA accounts, and 529 plans are some of the most common and tax-efficient strategies available.

How much capital gains will I pay on $100,000?

On a $100,000 capital gain, you'll likely pay 15% for long-term gains, resulting in about $15,000 in federal tax (plus potential state tax), but it could be 0% or 20% depending on your total taxable income and filing status, while short-term gains are taxed as ordinary income (potentially 22-24%). 

Will Trump get rid of capital gains tax?

Does the Trump Tax Plan Affect Capital Gains Tax Rates? Trump's tax law leaves existing capital gains tax rates and income tax brackets unchanged. Capital gains remain a key consideration for investors, especially those with taxable brokerage accounts, real estate holdings or long-term investment portfolios.

What are some common capital gains tax mistakes?

One of the simplest yet most expensive mistakes is misunderstanding the difference between short-term and long-term capital gains taxes. Short-term gains — profits from assets held less than a year — are subject to typical income tax rates, which can reach 37% for high earners.