How to Avoid Capital Gains Tax on Stocks (2024)

How to Avoid Capital Gains Tax on Stocks (1)

Capital gains taxes are a tax on the profits you make on investments, which you might owe if you are investing through a taxable brokerage account. The good news is that there are strategies investors can use to eliminate or minimize those taxes. The right ways for you will depend on your long-term financial goals. If you have questions about taxes and the minimization of them, consider speaking with a financial advisor through SmartAsset’s free matching tool.

What Are Capital Gains Taxes?

Capital gains taxes are taxes owed when you sell an asset for a profit. The tax rates vary depending on how long you held the stocks. If you sell it for a loss, you do not owe any taxes on that transaction. So a capital gain on a stock you own would be the profit you receive that is above what you originally paid for those stocks.

For example, if you bought one share of XYZ Corporation at $10 and end up selling it for $100, your capital gain would be taxed on the $90 difference. How long you hold that asset will depend on whether it is a long- or short-term gain. There is a difference when determining how those taxes are treated and the rate at which you’ll have to pay.

  • Short-term capital gains:When you’ve held the stock for one year or less, these are called short-term capital gains. Short-term capital gains tax rates have the same income tax rates as ordinary income, like the money earned from a job.
  • Long-term capital gains:Long-term capital gains offer preferential treatment in the Federal tax code. These income tax rates are lower than ordinary income tax rates with a maximum tax rate of 20%. In some cases, long-term capital gains tax rates can be as low as 0%.

How Capital Gains Are Taxed on Stocks

The tax rates for the capital gains you earn on your stocks are going to be determined by both your tax filing status as well as your adjusted gross income (AGI). You will end up being taxed between 0% and 20% of your profit, depending on your filing status. For 2024, you will likely end up paying either 15% if your AGI is between $47,025 and $518,900 as a single filer or $94,050 and $583,750 as a married couple filing together. For individuals above $518,900 and couples over $583,750, the rate will be 20%.

In addition to the capital gains tax, high-net-worth individuals or high-earners might end up being on the hook for additional taxes for their investment profits. The net investment income tax can add an additional 3.8% tax on top of your capital gains tax if your modified adjusted gross income (MAGI) is above $200,000 for single filers or $250,000 for married filing jointly.

9 Ways to Avoid Capital Gains Taxes on Stocks

There are numerous strategies that investors can implement to reduce or avoid capital gains tax on stocks sold at a profit. Each has its own unique pros and cons that you should take a look at to see if it’s a good fit for your personal situation before moving forward.

Here are some of the most common methods that you can incorporate into your financial plan:

1. Invest for the Long Term

When you invest for the long term, you benefit from long-term capital gains rates. These tax rates can be substantially lower than ordinary income tax rates. In 2024, if your taxable income is less than $47,025 as a single filer ($94,050 for married, filing jointly), your long-term capital gains tax rate is 0%.

2. 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. However, Roth accounts eliminate taxes entirely on eligible withdrawals.

3. Pick Your Cost Basis

When selling your stocks, it is possible to pick your cost basis on the shares that you sell. By handpicking the individual shares, you may be able to avoid capital gains taxes by selling shares that are at a loss (or at least have lower gains), even if your overall position in that investment has made money.

4. Lower Your Tax Bracket

When you have less taxable income, you may qualify for 0% tax rates on long-term capital gains. You can lower your taxable income by being strategic on withdrawals. For example, retirees can make withdrawals from a Roth IRA instead of a 401(k) or traditional IRA, since Roth withdrawals are not taxable in retirement.

Alternatively, you can maximize your deductions by prepaying property tax payments before December 31 or bunching two year’s worth of charitable contributions into one year. Another option to keep from getting bumped up into a higher tax bracket is deferring income and maximizing your deductions. Maxing out your company retirement accounts and health savings accounts (HSA) is an excellent way to reduce your taxable income as well.

5. Harvest Losses to Offset Gains

Capital losses on investments can offset realized short-term and long-term capital gains. Some investors harvest losses proactively when investments go down in value to offset potential future capital gains. Investors may also offset $3,000 in ordinary income yearly if they have excess capital losses.

6. Move to a Tax-Friendly State

While the state you live in won’t affect your federal taxes owed, moving to a tax-friendly state may help you avoid capital gains tax on stocks when paying state income taxes. Nine states do not charge capital gains taxes. The states are Alaska, Florida, New Hampshire, Nevada, South Dakota, Tennessee, Texas, Washington and Wyoming.

7. Donate Stock to Charity

If you have appreciated stock, consider donating the stock instead of cash to your favorite charity. You won’t owe capital gains taxes on the profits when you transfer those shares directly to the charity. Plus, you’ll get a tax deduction based on the current value of the shares instead of the actual amount that you paid for them. And the charity won’t owe taxes either, making it a win-win for both parties.

8. Invest in an Opportunity Zone

The Tax Cuts and Jobs Act created “opportunity zones” that offer tax advantages to investors. By investing in eligible low-income and distressed communities, you can defer taxes and potentially avoid capital gains tax on stocks altogether. To qualify, you must invest unrealized gains within 180 days of a stock sale into an eligible opportunity fund, then hold the investment for at least 10 years.

9. Pass Down Appreciated Assets

When someone passes away, there is a step-up in the cost basis of their assets. This means that the heirs that receive stocks, bonds, real estate and other assets do not owe capital gains taxes if they sell the assets right away. If the assets continue to appreciate after the investor’s death, the beneficiaries will only owe taxes on the appreciation that occurred after their date of death.

Bottom Line

Capital gains taxes can negatively impact your investment profits, especially if you’ve held the assets for one year or less. Luckily, there are numerous strategies that investors can use to reduce or avoid capital gains tax on stocks, bonds and other assets. Before making any moves, talk with a financial planner or tax advisor to discuss your current situation and the strategies that you’re considering.

Tips for Tax Planning

  • Investors with a financial advisor can work together to reduce or avoid capital gains tax on stocks and other investments. By using their experience and knowledge, a financial advisor can propose steps to minimize the taxes you’ll owe on your stock sales. Finding a financial advisor doesn’t have to be hard.SmartAsset’s free tool matches you with up to three vetted financial advisors who serve your area, and you canhave a free introductory call with your advisor matches to decide which one you feel is right for you. If you’re ready to find an advisor who can help you achieve your financial goals, get started now.
  • Capital gains taxes reduce the profits that you’ve earned from your investments. You can properly plan out what your potential liability might be by planning ahead for how your investments might grow. Use our investment calculator to know what your potential increase might be.

©iStock.com/South_agency, ©iStock.com/SrdjanPav, ©iStock.com/Tanja Ristic

How to Avoid Capital Gains Tax on Stocks (2024)

FAQs

How to Avoid Capital Gains Tax on Stocks? ›

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 at all on the assets in the account.

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 at all on the assets in the account.

Can I sell stock and reinvest without paying capital gains? ›

You and other investors who want to avoid paying tax on stocks that have appreciated, will “sell” (in actuality contribute) and reinvest, through a swap. This process involves swapping your appreciated shares for a diversified portfolio of stocks of equivalent value, effectively deferring capital gains tax.

How long do you have to keep a stock to avoid capital gains tax? ›

To correctly arrive at your net capital gain or loss, capital gains and losses are classified as long-term or short-term. Generally, if you hold the asset for more than one year before you dispose of it, your capital gain or loss is long-term. If you hold it one year or less, your capital gain or loss is short-term.

How do I reduce capital gains tax when selling shares? ›

Use the 12-month ownership discount

If you've owned your asset for at least 12 months, you will automatically receive a 50 per cent discount on any capital gains from the sale.

Are there any loopholes for 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.

At what age do you not pay capital gains? ›

Capital Gains Tax for People Over 65. For individuals over 65, capital gains tax applies at 0% for long-term gains on assets held over a year and 15% for short-term gains under a year. Despite age, the IRS determines tax based on asset sale profits, with no special breaks for those 65 and older.

How to sell stock and not get taxed? ›

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.
Mar 6, 2024

What is the 6 year rule for capital gains tax? ›

Here's how it works: Taxpayers can claim a full capital gains tax exemption for their principal place of residence (PPOR). They also can claim this exemption for up to six years if they move out of their PPOR and then rent it out. There are some qualifying conditions for leaving your principal place of residence.

How do I sell shares and avoid capital gains tax? ›

13 ways to pay less CGT
  1. 1) Use your CGT allowance. ...
  2. 2) Give money or assets to your spouse or civil partner. ...
  3. 3) Don't forget your losses. ...
  4. 4) Deduct your costs. ...
  5. 5) Increase your pension contributions. ...
  6. 6) Use your ISA allowance – each year. ...
  7. 7) Try Bed and ISA. ...
  8. 8) Donate to charity.

How to pay 0 capital gains tax? ›

For the 2024 tax-filing season, the 0% rate on long-term capital gains – any asset held for longer than a year – can be applied to taxable income of $44,625 or less for single filers and $89,250 or less for married couples filing jointly.

Can you transfer stock to avoid capital gains? ›

You don't have to pay capital gains tax when you give away stocks. The person who receives the stocks, however, will face capital gains tax if they earn money when they sell the stock.

How much capital gains tax will I pay if I sell stock? ›

According to the IRS, the tax rate on most long-term capital gains is no higher than 15% for most people. And for some, it's 0%. For the highest earners in the 37% income tax bracket, waiting to sell until they've held investments at least one year could cut their capital gains tax rate to 20%.

What can I offset against capital gains tax? ›

Allowable deductions for capital gains
  • The acquisition and creation of the asset concerned.
  • Where incurred as incidental costs of acquiring an asset.
  • For enhancement of the asset.
  • To establish, preserve or defend title to or rights over the asset.
  • They are incurred as the incidental costs of disposal of the asset.

Do I have to pay capital gains tax immediately? ›

It is generally paid when your taxes are filed for the given tax year, not immediately upon selling an asset. Working with a financial advisor can help optimize your investment portfolio to minimize capital gains tax.

What can offset capital gains? ›

To limit capital gains taxes, you can invest for the long-term, use tax-advantaged retirement accounts, and offset capital gains with capital losses.

How do I get zero capital gains tax? ›

Long-term capital gains tax rates for the 2024 tax year

For example, if you're filing as an individual, you can earn taxable income of up to $44,625 in 2023 and qualify for the 0 percent rate. For 2024, that threshold for individuals rises to $47,025.

How do I sell without paying capital gains tax? ›

You can sell your primary residence and be exempt from capital gains taxes on the first $250,000 if you are single and $500,000 if married filing jointly.

How to reduce capital gains tax on sale of property? ›

You can avoid capital gains tax when you sell your primary residence by buying another house and using the 121 home sale exclusion. In addition, the 1031 like-kind exchange allows investors to defer taxes when they reinvest the proceeds from the sale of an investment property into another investment property.

What can you off set against capital gains? ›

Lower-performing funds in a portfolio generate a capital loss that may be used to offset all or part of any realized capital gains. These capital losses can be used to offset any gains realized in the last three years or in any future year as they do not expire.

Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 6247

Rating: 5 / 5 (60 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.