Selling Stocks? How to Avoid Capital Gains Taxes on Stocks (2024)

Many investors look to lock in equity gains as they rebalance their portfolios. These tips may help you limit the tax consequences.

AS YOU REVIEW YOUR PORTFOLIO throughout the year, you may consider selling some investments that have increased significantly in value since you bought them. Selling high performers can help you capture long-term gains as you rebalance your portfolio periodically. You may owe capital gains tax on their increased value, says Joe Curtin, head of CIO Portfolio Management, Chief Investment Office, Merrill and Bank of America Private Bank. But rebalancing can help you keep your investments in line with your goals and preferred asset allocation. And remember that capital gains taxes are a result of successful investing, he says.

While few people enjoy paying taxes, a capital gains tax of, say, 20%1 (rates vary depending on your income — and therecould be proposals in the future that could raise the capital gains rate) “may be a small price to pay for success,” Curtin notes. “You can celebrate keeping the 80%.”Still, there are several strategies you might consider discussing with your tax professional to help reduce what you may owe in capital gains tax, Curtin suggests.He offers several strategies to consider below.

Selling Stocks? How to Avoid Capital Gains Taxes on Stocks (21)Offsetting gains with losses

“If a good part of your portfolio is up in value, while a smaller part is down,” Curtin says, “selling some of those ‘down’ investments at a loss — known as tax-loss harvesting — and claiming the loss on your tax return could help offset what you owe from your sale of better-performing stocks.” You can generally deduct up to $3,000 (or $1,500 if married and filing separately) of capital losses in excess of capital gains per year from your ordinary income. And if your net capital losses exceed that yearly limit, you can carry over the unused losses to later years.2

Selling Stocks? How to Avoid Capital Gains Taxes on Stocks (22)
“Selling ‘down’ investments at a loss — known as tax-loss harvesting — and claiming the loss on your tax return could help offset what you owe from your sale of better-performing stocks.”

— Joe Curtin, head of CIO Portfolio Management for the Chief Investment Office for Merrill and Bank of America Private Bank

But maybe you want to keep some promising but currently struggling investments in your portfolio. In that case, you could consider selling them, harvest the loss and then buy them again. Just work with your tax professional so that you’re waiting more than 30 days before repurchasing the same or substantially similar stock— if you buy substantially similar investments 30 days before or after the initial sale, you might trigger “wash sale” rules and may not be able to claim the losses on your tax return in that year.

Selling Stocks? How to Avoid Capital Gains Taxes on Stocks (23)Taking capital gains in different years

Another option to discuss with your tax professional may be to “spread the sale over multiple tax years — that can help ease the burden,” says Jonathon McLaughlin, investment strategist for Bank of America.

You might, for example, sell part of an investment that’s performing strongly at the end of 2023, another part during 2024 and the final portion at the beginning of 2025, thereby completing the sale in a little over 12 months while spreading potential capital gains over three tax years, McLaughlin notes.

But don’t forget that waiting to sell involves risks. The advantages of holding on to those assets, McLaughlin notes, may not outweigh the benefits of selling now and reaping the rewards, even if it comes with a greater tax bill now.

Selling Stocks? How to Avoid Capital Gains Taxes on Stocks (24)Giving more efficiently

One option you may want to discuss with your tax advisor is to give certain appreciated investments away— either to charity or to your beneficiaries as part of your estate— in order to entirely avoid capital gains taxes. If you regularly give to a specific charity, you might consider giving some appreciated stock instead of cash. You may be able to deduct the fair market value (subject to certain AGI limitations) of the appreciated stock if you’ve held the stock for more than one year. The charity may not have to pay capital gains taxes, and you can use the cash you would have donated to purchase new investments. You can also give in this way through adonor-advised fund.

The cost basis, or original price paid (plus or minus certain adjustments for tax purposes), of appreciated investments passed to your beneficiaries through your estate is generally stepped up to fair market value at your death. However, if you give investments to your beneficiaries during your lifetime, the assets maintain a “carryover basis,” or the same basis you held in the stock.

Any actions you may take should be based on your specific situation and needs rather than your desire to sidestep taxes, Curtin notes. So be sure to speak with your tax specialist and financial advisor before making any decisions.

Choose your advisor in a more personalized way

All our advisors are committed to putting your needs and priorities first. Find some who match your personal preferences too.

Loading...

Try Advisor Match

Answer a few questions

Want us to contact you?

Submit a request

Phone

Loading...

Email

Loading...

View your advisor

1 Plus a potential 3.8% net investment income tax.

2 Internal Revenue Service, “Topic No. 409 Capital Gains and Losses,” April 4, 2023.

Important Disclosures

Opinions are as of July 17, 2023, and are subject to change.

Investing involves risk including possible loss of principal. Past performance is no guarantee of future results.

Merrill, its affiliates, and financial advisors do not provide legal, tax or accounting advice. You should consult your legal and/or tax advisors before making any financial decisions.

This information should not be construed as investment advice and is subject to change. It is provided for informational purposes only and is not intended to be either a specific offer by Bank of America, Merrill or any affiliate to sell or provide, or a specific invitation for a consumer to apply for, any particular retail financial product or service that may be available.

The Chief Investment Office (CIO) provides thought leadership on wealth management, investment strategy and global markets; portfolio management solutions; due diligence; and solutions oversight and data analytics. CIO viewpoints are developed for Bank of America Private Bank, a division of Bank of America, N.A., (“Bank of America”) and Merrill Lynch, Pierce, Fenner & Smith Incorporated (“MLPF&S” or “Merrill”), a registered broker-dealer, registered investment adviser, Member SIPC and a wholly owned subsidiary of Bank of America Corporation (“BofA Corp.”).

Investments have varying degrees of risk. Some of the risks involved with equity securities include the possibility that the value of the stocks may fluctuate in response to events specific to the companies or markets, as well as economic, political or social events in the U.S. or abroad. Investments in foreign securities (including ADRs) involve special risks, including foreign currency risk and the possibility of substantial volatility due to adverse political, economic or other developments. These risks are magnified for investments made in emerging markets. Investments in a certain industry or sector may pose additional risk due to lack of diversification and sector concentration.

Switch to Accessibility Friendly View

How we can help

Explore what it’s like to work with a Merrill Financial Advisor

Start here

More for you

  • Read this next: “What dividend stocks can offer”

Connect

  • Find out how our advisors can help

Sign up

  • Get monthly insights from our Perspectives newsletter

Related Articles

4 times you should always ask, “How will this affect my taxes?” Read more
How should taxes factor into your investment decisions? Read more
Will your Social Security benefits be taxed? Read more

X

You need to answer some questions first

Then we can provide you with relevant answers.

Get started

Selling Stocks? How to Avoid Capital Gains Taxes on Stocks (2024)

FAQs

Selling Stocks? How to Avoid Capital Gains Taxes 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.

How to avoid capital gains tax when selling stock? ›

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

How do I reduce capital gains tax when selling 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.
Jun 29, 2023

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: $44,625 for single and married filing separately; $89,250 for married filing jointly and qualifying surviving spouse; and.

How do I sell without paying capital gains tax? ›

Who qualifies for the home sale capital gains tax exclusion?
  1. The home must be your principal residence. ...
  2. You must have owned the home for at least two years. ...
  3. You must have lived in the house for at least two years in the five-year period before you sold it.
May 31, 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.

What is the tax efficient way of selling shares? ›

1) Use your CGT allowance

You don't even need to cash in shares or fund holdings (which you may well not want to do). Using your CGT allowance can be as simple as selling all or part of one holding and immediately reinvesting that money into another company or fund.

What is the 50% discount on capital gains tax? ›

There is a capital gains tax (CGT) discount of 50% for Australian individuals who own an asset for 12 months or more. This means you pay tax on only half the net capital gain on that asset. Some assets are exempt from CGT, such as your home.

What is the exemption for capital gains tax? ›

When does capital gains tax not apply? If you have lived in a home as your primary residence for two out of the five years preceding the home's sale, the IRS lets you exempt $250,000 in profit, or $500,000 if married and filing jointly, from capital gains taxes.

Where should I put money to avoid capital gains tax? ›

Investments held for less than a year are taxed at the higher, short-term capital gain rate. To limit capital gains taxes, you can invest for the long-term, use tax-advantaged retirement accounts, and offset capital gains with capital losses.

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.

Do you pay capital gains after age 65? ›

Whether you're 65 or 95, seniors must pay capital gains tax where it's due.

Can I reinvest my capital gains to avoid taxes? ›

Reinvest in new property

The like-kind (aka "1031") exchange is a popular way to bypass capital gains taxes on investment property sales. With this transaction, you sell an investment property and buy another one of similar value. By doing so, you can defer owing capital gains taxes on the first property.

Do I have to pay capital gains tax immediately after selling stock? ›

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.

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.

Do you pay capital gains if you lose money on a stock? ›

Losses on your investments are first used to offset capital gains of the same type. So, short-term losses are first deducted against short-term gains, and long-term losses are deducted against long-term gains. Net losses of either type can then be deducted against the other kind of gain.

Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 5772

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.