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

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.

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.

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 long do you need to hold shares 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.

When can I sell a stock and not get taxed? ›

Selling a stock for profit locks in "realized gains," which will be taxed. However, you won't be taxed anything if you sell stock at a loss. In fact, it may even help your tax situation — this is a strategy known as tax-loss harvesting.

How do I 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

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

Capital gains can be subject to either short-term tax rates or long-term tax rates. Short-term capital gains are taxed according to ordinary income tax brackets, which range from 10% to 37%. Long-term capital gains are taxed at 0%, 15%, or 20%.

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.

How do I sell without paying capital gains tax? ›

As long as you lived in the property as your primary residence for 24 months within the five years before the home's sale, you can qualify for the capital gains tax exemption. And if you're married and filing jointly, only one spouse needs to meet this requirement.

How do I get zero capital gains tax? ›

For 2023, you may qualify for the 0% long-term capital gains rate with taxable income of $44,625 or less for single filers and $89,250 or less for married couples filing jointly. The rates use “taxable income,” calculated by subtracting the greater of the standard or itemized deductions from your adjusted gross income.

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.

Can I reinvest 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.

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.

Does selling stocks 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 to offset capital gains tax? ›

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

Does selling stock affect social security benefits? ›

The Bottom Line. If you're worried that stock market slumps can affect your Social Security benefits, the short answer is no. For the most part, it's fair to say that the performance of the stock market has no direct impact on your Social Security benefits.

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

The capital gains tax property six-year rule allows you to treat your investment property as your main residence for tax purposes for up to six years while you are renting it out. This means you can rent it out for six years and still qualify for the main residence capital gains tax exemption when you sell it.

What expenses can be deducted from capital gains on shares? ›

All expenses incurred like acquisition cost , brokerage charges paid , Stamp duty , SEBI turnover fees , Clearing charges , GST is allowed as deduction. However STT - Securities Transaction tax is not eligible for deduction where you show such income under the head capital gain.

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.

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.

Top Articles
Latest Posts
Article information

Author: Laurine Ryan

Last Updated:

Views: 5553

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.