How do I not pay taxes on stock gains?

Asked by: Laurine Klocko  |  Last update: May 4, 2026
Score: 4.5/5 (69 votes)

7 ways to avoid capital gains tax on stocks for any investor
  1. Donate stock to charity.
  2. Hold stock shares for more than one year.
  3. Invest in retirement accounts.
  4. Pass it on in your estate plans.
  5. Sell stocks when you're in a lower tax bracket.
  6. Offset your capital gains with losses (aka tax-loss harvesting).

How to avoid paying taxes on capital gains from stocks?

Contribute to Your Retirement Accounts

Investing in retirement accounts eliminates capital gains taxes on your portfolio. You can buy and sell stocks, bonds and other assets without triggering capital gains taxes. Withdrawals from Traditional IRA, 401(k) and similar accounts may lead to ordinary income taxes.

What is the loophole for capital gains?

A stepped-up basis is a tax provision that allows heirs to reduce their capital gains taxes. When someone inherits property and investments, the IRS resets the market value of these assets to their value on the date of the original owner's death.

How to get 0% long term capital gains?

Who qualifies for 0% capital gains in 2025. Starting in 2025, single filers can qualify for the 0% long-term capital gains rate with taxable income of $48,350 or less, and married couples filing jointly are eligible with $96,700 or less. However, taxable income is significantly lower than your gross earnings.

How can I reinvest my gains without paying taxes?

To avoid paying capital gains taxes (and depreciation recapture), you can reinvest in a "like-kind" asset with a sales price of at least $500,000. The IRS allows virtually any commercial real estate property to qualify as 'like-kind” as long as you hold it for investment purposes.

How to AVOID Taxes (Legally) When you SELL Stocks

43 related questions found

What is a simple trick for avoiding capital gains tax?

An easy and impactful way to 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.

At what age do you not pay capital gains?

Current tax law does not allow you to take a capital gains tax break based on your age. In the past, the IRS granted people over the age of 55 a tax exemption for home sales, though this exclusion was eliminated in 1997 in favor of the expanded exemption for all homeowners.

How to make capital gains tax free?

You may qualify for the 0% long-term capital gains rate for 2022 with taxable income of $41,675 or less for single filers and $83,350 or under for married couples filing jointly. You may be in the 0% tax bracket, even with six figures of joint income with a spouse, depending on taxable income.

Can you write off 100% of stock losses?

If you own a stock where the company has declared bankruptcy and the stock has become worthless, you can generally deduct the full amount of your loss on that stock — up to annual IRS limits with the ability to carry excess losses forward to future years.

How do I legally not pay capital gains tax?

A few options to legally avoid paying capital gains tax on investment property include buying your property with a retirement account, converting the property from an investment property to a primary residence, utilizing tax harvesting, and using Section 1031 of the IRS code for deferring taxes.

What are the tax loopholes in the stock market?

High-net-worth investors use many loopholes to reduce their taxes. Among them are exchange funds, collars, 1031s, and hedging and borrowing against assets. But investing in qualified opportunity zones has been the home run strategy.

How do the rich avoid capital gains tax?

“It is a simple fact that billionaires in America can live very extraordinarily well completely tax-free off their wealth,” law professor Edward J. McCaffery writes. They can do so by borrowing large sums against their unrealized capital gains, without generating taxable income.

How do I sell shares and avoid capital gains tax?

You could: Stagger the sale of assets over several tax years to make the most of using your CGT allowance over several years. You could sell part of a share portfolio on 3 April and the rest on 6 April to take advantage of two years' CGT allowance. Offset any losses you've made on other assets.

Do I have to pay capital gains tax immediately?

This tax is applied to the profit, or capital gain, made from selling assets like stocks, bonds, property and precious metals. It is generally paid when your taxes are filed for the given tax year, not immediately upon selling an asset.

Can I sell a stock and buy it back the same day?

So, if you profit from the sale of stock or securities, you can repurchase the same stock or securities right away without any penalty. The wash sale rule also doesn't apply to: sales and trades of commodity futures contracts or foreign currencies.

How to avoid paying capital gains tax on stocks?

7 ways to avoid capital gains tax on stocks for any investor
  1. Donate stock to charity.
  2. Hold stock shares for more than one year.
  3. Invest in retirement accounts.
  4. Pass it on in your estate plans.
  5. Sell stocks when you're in a lower tax bracket.
  6. Offset your capital gains with losses (aka tax-loss harvesting).

What states do not have a capital gains tax?

There are only eight states that do not tax capital gains:
  • Alaska.
  • Florida.
  • Nevada.
  • New Hampshire*
  • South Dakota.
  • Tennessee.
  • Texas.
  • Wyoming.

What is the exemption of capital gains tax?

Capital gains up to Rs 1.25 lakh per year (equity) are exempted from capital gains tax. Long-term capital gain tax rate on equity investments/shares will continue to be charged at 12.5% on the gains. On the other hand, short-term capital gains tax on shares or equity investments will be charged at 15%.

Are there any loopholes for capital gains tax?

Stepped-up basis is a loophole exempting certain capital gains from the federal income tax. Wealthy investors are incentivized to hold assets until their deaths, even when switching to other investments might prove more productive. Capital gains are the increase in value of an asset that a person holds.

At what age are you exempt from capital gains?

Unfortunately, there's no age limit to paying capital gains tax. However, you can manage and even reduce your tax burden with the right strategies and information. Here are the basics about capital gains tax rules and rates as well as some tax-saving tactics.

Can I sell stock and reinvest without paying capital gains?

What if I reinvest the proceeds? Buying additional stock shares with the proceeds from a stock sale will not eliminate or reduce capital gains taxes. However, if you reinvest the gain into a QOF (Qualified Opportunity Fund), you can defer the payment of capital gains taxes while you are invested in an eligible fund.

How do seniors avoid capital gains tax?

As of 2022, for a single filer aged 65 or older, if their total income is less than $40,000 (or $80,000 for couples), they don't owe any long-term capital gains tax.

What is the one-time capital gains exemption?

If it's your primary residence

You can sell your primary residence and avoid paying capital gains taxes on the first $250,000 of your profits if your tax-filing status is single, and up to $500,000 if married and filing jointly. The exemption is only available once every two years.

How much can a 70 year old earn without paying taxes?

Taxes aren't determined by age, so you will never age out of paying taxes. People who are 65 or older at the end of 2024 have to file a return for tax year 2024 (which is due in 2025) if their gross income is $16,550 or higher.