How to avoid paying capital gains tax on stocks?

Editorial team Published on

You can avoid or minimize capital gains tax on stocks by holding them long-term (over a year), using tax-advantaged retirement accounts (IRAs, 401(k)s), harvesting losses to offset gains, donating appreciated stock to charity, gifting them to heirs (who get a step-up in basis), or timing sales in low-income years to hit the 0% long-term capital gains bracket, but the most effective methods often involve strategic planning with a tax advisor, like using Donor-Advised Funds (DAFs) or Charitable Remainder Trusts (CRTs).

How long do you have to keep 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.

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 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.

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%). 

How to AVOID Taxes (Legally) When you SELL Stocks

26 related questions found

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.

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 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.
 

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 take profits from stocks without selling?

Even if you don't sell your winning stocks, you can create room to take profits by offsetting them with losses elsewhere in your portfolio. This strategy, called tax-loss harvesting, helps minimize the tax impact of realizing gains, making it easier to access value when you need to.

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 you need to hold shares 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 state has the best capital gains tax?

States with No Capital Gains Taxes

These include Alaska, Florida, Nevada, New Hampshire, South Dakota, Tennessee, Texas, and Wyoming. In these states you are only subject to Federal Capital Gains, which are typically lower than your ordinary income tax rate.

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%). 

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. 

Who is eligible for a 50% CGT discount?

The beneficiary claiming the discount must be an Australian resident for tax purposes. The trust must have held the asset for at least 12 months before the CGT event occurs.

How do rich people avoid capital gains tax?

Wealthy family buys stocks, bonds, real estate, art, or other high-value assets. It strategically holds on to these assets and allows them to grow in value. The family won't owe income tax on the growth in the assets' value unless it sells them and makes a profit.

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.

How much capital gain is tax free?

The amount of tax-free capital gain depends on the asset, but the most common exemption is for your primary home, allowing single filers to exclude up to $250,000 (or $500,000 for married couples) of profit if you've lived there 2 of the last 5 years. Additionally, certain long-term investments in qualified small businesses or Opportunity Funds, plus gains on inherited assets (due to stepped-up basis at death), can also be tax-free, while lower income levels may qualify for a 0% long-term capital gains tax rate. 

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

Your capital gain (profit) is $200,000. Your taxable capital gain with the 50% discount applied is $100,000. Your estimated capital gains tax obligation is $37,175.

How to get away without paying capital gains tax?

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.

Who is exempt from capital gains tax?

Certain joint returns can exclude up to $500,000 of gain. You must meet all these requirements to qualify for a capital gains tax exemption: You must have owned the home for a period of at least two years during the five years ending on the date of the sale.