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? ›

With some investments, you can reinvest proceeds to avoid capital gains, but for stock owned in regular taxable accounts, no such provision applies, and you'll pay capital gains taxes according to how long you held your investment.

How to avoid capital gains tax when selling stock? ›

How to Minimize or Avoid Capital Gains Tax
  1. Invest for the Long Term. You will pay the lowest capital gains tax rate if you find great companies and hold their stock long-term. ...
  2. Take Advantage of Tax-Deferred Retirement Plans. ...
  3. Use Capital Losses to Offset Gains. ...
  4. Watch Your Holding Periods. ...
  5. Pick Your Cost Basis.

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

Can you avoid capital gains tax on stocks by reinvesting? ›

With some investments, you can reinvest proceeds to avoid capital gains, but for stock owned in regular taxable accounts, no such provision applies, and you'll pay capital gains taxes according to how long you held your investment.

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

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

How much stock can you sell without paying taxes? ›

Capital Gains Tax
Long-Term Capital Gains Tax RateSingle Filers (Taxable Income)Head of Household
0%Up to $44,625Up to $59,750
15%$44,626-$492,300$59,751-$523,050
20%Over $492,300Over $523,050

What is the 12 month rule for capital gains tax? ›

The 12 month rule generally requires that forex realisation gains and losses on the acquisition or disposal of capital assets be folded into the CGT treatment of the underlying assets, if the time between that acquisition or disposal and the due time for payment is not more than 12 months.

What lowers capital gains tax? ›

Long-term investing offers a significant advantage in minimizing capital gains taxes due to the favorable tax treatment for investments for longer durations. When investors hold assets for more than a year before selling, they qualify for long-term capital gains tax rates, typically lower than short-term rates.

How to pay zero capital gains tax? ›

The not-so-secret 0 percent capital gains tax rate

You have two major conditions: Your capital gains must be long term. Your taxable income must be below a certain level, depending on your filing status.

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

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

Do I have to buy another house to avoid capital gains? ›

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.

Does selling stock count as income? ›

When you sell an investment for a profit, the amount earned is likely to be taxable. The amount that you pay in taxes is based on the capital gains tax rate. Typically, you'll either pay short-term or long-term capital gains tax rates depending on your holding period for the investment.

How much capital gains are tax free? ›

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. $59,750 for head of household.

Should I sell stocks at a loss for tax purposes? ›

After all, even when the market has had a good run, lifting your holdings, you might still have some stocks that are below where you bought them. If you're looking to lock in some of those gains (aka tax-gain harvesting), selling some of your losers can help minimize your capital gains taxes.

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

Do I Have to Pay Capital Gains Taxes Immediately? In most cases, you must pay the capital gains tax after you sell an asset. It may become fully due in the subsequent year tax return. In some cases, the IRS may require quarterly estimated tax payments.

Do I have to pay capital gains tax immediately on stocks? ›

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.

Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6137

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.