How to avoid paying taxes on capital gains from stocks?

Asked by: Josue Bednar DVM  |  Last update: June 19, 2026
Score: 4.4/5 (30 votes)

You can avoid or minimize capital gains tax on stocks by holding them long-term (over a year) for lower rates, using tax-advantaged retirement accounts (like Roth IRAs), donating appreciated stock to charity, gifting to family in lower brackets, tax-loss harvesting to offset gains, or reinvesting gains into Qualified Opportunity Zones for deferral and potential exemption. Holding stocks indefinitely defers taxes until sale, and inheriting appreciated stock gets a stepped-up cost basis, eliminating taxes on prior gains.

How do you avoid capital gains tax when selling shares?

Use your CGT allowance every year

For example, you could sell part of the investment at the end of the tax year on 5 April and the rest at the start of the next tax year on 6 April. This allows you to use two annual allowances and it may mean you reduce or eliminate your CGT exposure.

Is there a way to avoid capital gains tax on shares?

You may be able to reduce your capital gain if you either:

  1. owned your shares for at least 12 months.
  2. gifted them to a deductible gift recipient, provided both. they are valued at less than $5,000. you acquired them at least 12 months earlier.

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. 

How can I minimize my capital gains tax?

There are several ways you can minimize the taxes you pay on capital gains: Wait to sell assets. If you can keep an asset for more than a year before selling, this can usually result in paying a lower capital gains rate on that profit. Invest in tax-free or tax-deferred accounts.

How The Ultra-Rich Use The 'Buy, Borrow, Die' Strategy

41 related questions found

Who pays 42% tax in India?

Maximum marginal rate is the highest rate of tax at any income level. This means for those with incomes between Rs 2 crore and Rs 5 crore, 39% will be the highest applicable tax rate, and for those with incomes above Rs 5 crore, it will be 42.74% — the highest tax rate since 1992.

How do the rich avoid paying capital gains tax?

How Wealthy Households Use a “Buy, Borrow, Die” Strategy to Avoid Taxes on Their Growing Fortunes

  1. Step 1: Buy Assets. Wealthy family buys stocks, bonds, real estate, art, or other high-value assets. ...
  2. Step 2: Borrow Against Assets. ...
  3. Step 3: Die and Pass Assets Tax Free to Heirs.

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.

How to avoid capital gains tax on shares held for 20 years?

The simplest way to avoid capital gains tax is to regularly use your capital gains tax allowance (officially known as your annual exempt amount or AEA). How easy this is to do depends on the assets you are selling.

What is the 6 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 7% sell rule?

The 7% sell rule is a stock trading guideline to cut losses quickly, advising you to sell a stock if it drops 7-8% below your purchase price to protect capital, remove emotion, and prevent small losses from becoming catastrophic, a strategy popularized by William O'Neil's CAN SLIM method for growth investing. It assumes that truly strong stocks typically don't fall much below their buy point, so a dip signals something is wrong, requiring you to exit the trade to preserve funds for better opportunities.
 

How long do I have to hold a stock to avoid capital gains tax?

To avoid the higher ordinary income tax rates on stock profits (short-term), you must hold the stock for more than one year, qualifying for the generally lower long-term capital gains tax rates; selling after one year or less results in short-term gains taxed at your regular income bracket, while holding over a year offers preferential rates, potentially saving you significantly on taxes.

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.

How to pay 0 capital gains tax?

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.

How does Mark Zuckerberg avoid taxes?

We thought Michigan residents might be interesting in learning how Facebook founder Mark Zuckerberg and several company insiders are using a legal tactic called a “grantor-retained annuity trust” to avoid paying hundreds of millions of dollars in estate and gift taxes on their Facebook shares.

Can I sell stock and reinvest without paying capital gains?

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.

Are there tax loopholes in India?

Tax regulations in India can be intricate, making it easier for some to exploit loopholes for personal gain.

How much dividend does Mukesh Ambani get?

Prior to FY21, his salary had been capped at Rs 15 crore annually since 2009. Despite forgoing a salary, Ambani earned Rs 8.85 crore in dividend income from his 1.61 crore directly held shares in Reliance Industries, based on the Rs 5.50 per share dividend declared for FY25.

How much tax on 5 crore in India?

Surcharge and Cess:

Surcharge under the New Regime (for individuals below 60 years): Income over ₹50 lakh but under ₹1 crore: 10% of income tax payable. Income over ₹1 crore but under ₹2 crore: 15% of income tax payable. Income over ₹2 crore but under ₹5 crore: 25% of income tax payable.

What is the 6 year rule for capital gains tax?

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.
 

How to reinvest capital gains to avoid taxes?

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.