How long do you have to own stock to not pay capital gains?

Asked by: Bailey Ward  |  Last update: January 8, 2026
Score: 4.9/5 (13 votes)

If you sell stocks for a profit, your earnings are known as capital gains and are subject to capital gains tax. Generally, any profit you make on the sale of an asset is taxable at either 0%, 15% or 20% if you held the shares for more than a year, or at your ordinary tax rate if you held the shares for a year or less.

How can I avoid capital gains tax on stocks?

9 Ways to Avoid Capital Gains Taxes on Stocks
  1. Invest for the Long Term. ...
  2. Contribute to Your Retirement Accounts. ...
  3. Pick Your Cost Basis. ...
  4. Lower Your Tax Bracket. ...
  5. Harvest Losses to Offset Gains. ...
  6. Move to a Tax-Friendly State. ...
  7. Donate Stock to Charity. ...
  8. Invest in an Opportunity Zone.

How long must you hold a stock to avoid capital gains?

Consider your holding period

The easiest way to lower capital gains taxes is to simply hold taxable assets for one year or longer to benefit from the long-term capital gains tax rate.

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.

Do you have to wait 2 years to avoid capital gains?

If you've owned and occupied your property for at least 2 of the last 5 years, you can avoid paying capital gains taxes on the first $250,000 for single-filers and $500,000 for married people filing jointly. Visit the IRS website to review additional rules that may help you qualify for the capital gains tax exemption.

How to AVOID Taxes (Legally) When you SELL Stocks

32 related questions found

What is a simple trick for avoiding 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 is the 6 year rule for capital gains?

CGT 6-Year Rule

Allows temporary renting of PPOR for up to 6 years while still claiming main residence exemption. – Each 6-year absence period is treated individually. - No limit on number of times you can use this exemption. - Property must have been your main residence before renting out.

How do I sell shares without paying capital gains tax?

Another easy and straightforward way of reducing capital gains tax is to give an asset to your spouse or civil partner, as this type of transfer won't be taxed. It also means you can each use your allowance, effectively doubling your annual exempt amount.

How do I avoid paying capital gains tax on inherited stock?

Inherited asset generally come with a stepped-up cost basis. For example, suppose your grandparent initially purchased that $100,000 of stock for just $25,000 many years ago. You don't pay capital gains taxes based on the original purchase price of $25,000 initial 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: $47,025 for single and married filing separately; $94,050 for married filing jointly and qualifying surviving spouse; and. $63,000 for head of household.

How do I avoid capital gains on sale of primary residence?

Sale of your principal residence. We conform to the IRS rules and allow you to exclude, up to a certain amount, the gain you make on the sale of your home. You may take an exclusion if you owned and used the home for at least 2 out of 5 years. In addition, you may only have one home at a time.

How long do you have to hold shares to avoid capital gains?

Key Takeaways. Selling a capital asset after owning it for one year or less results in a short-term capital gain. Selling a capital asset after owning it for more than one year results in a long-term capital gain.

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.

Do you have to pay capital gains after age 70 if you?

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.

Why is my capital loss limited to $3,000?

However, if you had significant capital losses during a tax year, the most you could deduct from your ordinary income is just $3,000. Any additional losses would roll over to subsequent tax years. The issue is that $3,000 loss limit was established back in 1978 and hasn't been updated since.

What is the 6 month rule for inherited stock?

Most of the time, you calculate the cost basis for inherited stock by determining the fair market value of the stock on the date that the person in question died. Sometimes, however, the person's estate may choose what's known as the alternate valuation date, which is six months after the date of death.

How to avoid paying taxes on capital gains from 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 is the inherited capital gains tax loophole?

But when gains are inherited, the loophole zeroes out the gain for tax purposes. As a result, an investment sale that would create a taxable gain for the original owner is tax-free for the inheritor. Example: an investor buys 100 shares of stock for $200. Ten years later, the stock is worth $500.

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

How to sell stock immediately?

KEVIN: A market order is your go-to when you want to get out of a trade as quickly as possible during standard market hours. Generally, they execute immediately, but remember, the trade-off here is price. You will receive the current price, which could be different from the last bid you saw.

Can I transfer shares to my wife to avoid capital gains tax?

However, you do not have to pay CGT on any shares that you transfer (i.e. sell or gift) to a spouse or civil partner unless you are separated and did not live together at any point during the tax year in which the transfer took place.

What is the 12 month rule for capital gains tax?

For an asset to qualify for the CGT discount you must own it for at least 12 months before the 'CGT event' happens. The CGT event is the point at which you make a capital gain or loss.

What is the 2 out of 5 year rule?

To qualify for the principal residence exclusion, you must have owned and lived in the property as your primary residence for two out of the five years immediately preceding the sale. Some exceptions apply for those who become disabled, die, or must relocate for reasons of health or work, among other situations.

How do I avoid capital gains under 2 years?

One way to accomplish this is to convert a second home or rental property to a principal residence. A homeowner can make their second home into their principal residence for two years before selling and take advantage of the IRS capital gains tax exclusion.