Is Automated Tax-Loss Harvesting a Good Idea?

By AJ Smith · April 11, 2023 · 9 minute read

We’re here to help! First and foremost, SoFi Learn strives to be a beneficial resource to you as you navigate your financial journey. Read more We develop content that covers a variety of financial topics. Sometimes, that content may include information about products, features, or services that SoFi does not provide. We aim to break down complicated concepts, loop you in on the latest trends, and keep you up-to-date on the stuff you can use to help get your money right. Read less

Is Automated Tax-Loss Harvesting a Good Idea?

Automated tax-loss harvesting can be a tool for tax-efficient investing because it involves using an algorithm to sell securities at a loss so as to offset capital gains and potentially lower an investor’s tax bill.

Standard tax-loss harvesting uses the same principle, but the process is complicated and an advisor might only harvest losses once or twice a year versus automated tax-loss harvesting which can be done more frequently.

That said, automated tax-loss harvesting — which is sometimes a feature of robo-advisor accounts — may give investors only limited (or possibly no) tax benefits. Here’s a breakdown of whether an automated tax-loss strategy makes sense.

Tax-Loss Harvesting: The Basics

First, a quick recap of how standard tax-loss harvesting works. Tax-loss harvesting is a way of selling securities at a loss, and then “harvesting” that loss to offset capital gains or other taxable income, thereby reducing federal tax owed.

The reason to consider this strategy is that capital gains are taxed at two different federal tax rates: long-term (when you’ve held an asset for a year or more) and short-term (when you’ve held an asset for under a year).

•   Long-term capital gains are taxed at 0%, 15%, or 20%, depending on the investor’s tax bracket.

•   Short-term capital gains are taxed at a typically higher rate based on the investor’s ordinary income tax rate.

The one-year mark is crucial, because the IRS taxes short-term investments at the higher marginal income tax rate of the investor. For high-income earners that can be 37% plus a 3.8% net investment income tax (NIIT). That means the taxes on those quick gains can be as much as 40.8% — and that’s before state and local taxes are factored in.

Example of Basic Tax-Loss Harvesting

For example, consider an investor in the highest tax bracket who sells security ABC after a year, and realizes a long-term capital gain of $10,000. They would owe 20%, or $2,000.

But if the investor sells XYZ security and harvests a loss of $3,000, that can be applied to the gain from security ABC. So their net capital gain will be $7,000 ($10,000 – $3,000). This means that they would owe $1,400 in capital gains tax.

The differences can be even greater when investors can harvest short-term losses to offset short-term gains, because these are typically taxed at a higher rate. In this case, using the losses to offset the gains can make a big difference in terms of taxes owed.

According to IRS rules, short-term or long-term losses must be used first to offset gains of the same type, unless the losses exceed the gains from the same type. When losses exceed gains, up to $3,000 per year can be used to offset ordinary income or carried over to the following year.

What Is Automated Tax-Loss Harvesting?

Until the advent of robo-advisor services some 15 years ago, tax-loss harvesting was typically carried out by qualified financial advisors or tax professionals in taxable accounts. But as robo-advisors and their automated portfolios became more widely accepted, many of these services began to offer automated tax-loss harvesting as well, though the strategy was executed by a computer program.

Just as the algorithm that underlies an automated portfolio can perform certain basic functions like asset allocation and portfolio rebalancing, some automated programs can execute a tax-loss harvesting strategy as well. SoFi’s automated platform does not offer automated tax-loss harvesting, but others may, for example.

So whereas tax-loss harvesting once made sense only for higher-net-worth investors owing to the complexity of the task, automation has enabled some retail investors to reap the benefits of tax-loss harvesting as well. The idea has been that automated tax-loss harvesting can be conducted more often and with less room for error, thanks to the precision of the underlying algorithm — which can also take into account the effects of the wash-sale rule.

The Wash-Sale Rule

It’s important that investors understand the “wash-sale rule” as it applies to tax-loss harvesting.

What Is the Wash-Sale Rule?

The wash-sale rule prevents investors from selling a security at a loss and buying back the same security, or one that is “substantially identical”, within 30 days. If you sell a security in order to harvest a loss and then replace it with the same or a substantially similar security, the IRS will disallow the loss — and you won’t reap the desired tax benefit.

In the example above, the investor who sells security XYZ in order to apply the loss to the gain from selling security ABC may then want to replace security XYZ because it gives them exposure to a certain market sector. While the investor can’t turn around and buy XYZ again until 30 days have passed, they could buy a similar, but not substantially identical security, to maintain that exposure.

That said, it can be tricky to follow this guidance because the IRS hasn’t established a precise definition of what a “substantially identical security” is. This is another reason why automated tax-loss harvesting may be more efficient: It may be simpler for a computer algorithm to make these choices based on preset parameters.

How ETFs Help With the Wash-Sale Rule

This is how the proliferation of exchange-traded funds (ETFs) has benefited the strategy of tax-loss harvesting. Exchange-traded funds, or ETFs, are baskets of securities that typically track an index of stocks, bonds, commodities or other assets, similar to a mutual fund. Unlike mutual funds, though, ETFs trade on exchanges like stocks.

In some ways, ETFs may make tax-loss harvesting a little easier. For instance, if an investor harvests a loss from an emerging-market stocks ETF, he or she can soon after buy a “similar” but non-identical emerging-market stocks ETF because the fund may have slightly different constituents.

Because most robo-advisors generate automated portfolios comprised of low-cost ETFs, this can also support the process of automated tax-loss harvesting.

Other Important Tax Rules to Know

Tax losses don’t expire. So an investor can apply a portion of losses to offset profits or income in one year and then “save” the remaining losses to offset in another tax year. Investors tend to practice tax-loss harvesting at the end of a calendar year, but it can really be done all year.

As noted above, another potential perk from tax-loss harvesting is that if the losses from an investment exceed any taxable profits from trades, the losses can actually be used to offset up to $3,000 of ordinary income per year.

How Much Does Automated Tax-Loss Harvesting Save?

It’s hard to say whether automated tax-loss harvesting definitively and consistently delivers a reduced tax bill to investors. A myriad of variables — such as the fluctuating nature of both federal tax rates and market price moves — make it difficult to calculate precise figures.

The Upside of Automated Tax-Loss Harvesting

One study of standard (not automated) tax-loss harvesting that was published by the CFA Institute in 2020 found that from 1926 to 2018, a simulated tax-loss harvesting strategy delivered an average annual outperformance of 1.08% versus a passive buy-and-hold portfolio.

Taking into account transaction costs and the wash-sale rule, the outperformance or “alpha” fell to 0.95%.

The study found the strategy did better when the stock market was volatile, such as between 1926 and 1949, a period which includes the Great Depression. The average outperformance was 2.13% a year during that period, as investors found more opportunities to harvest losses. Meanwhile, between 1949 and 1972 — a quieter period in the market as the U.S. underwent economic expansion after World War II — tax-loss harvesting only delivered an alpha of 0.51%.

The Downside of Automated Tax-Loss Harvesting

While the research cited above identifies some benefits of tax-loss harvesting, like many investment studies it’s based on historical data and simulations of a portfolio, not real-world investments.

Another fact to bear in mind: This study does not factor in the impact of automated tax-loss harvesting, which is typically conducted more frequently — and may not deliver a tax benefit.

Indeed, in 2018 the Securities and Exchange Commission (SEC) charged a robo-advisor for making misleading claims about the benefits of automated tax-loss harvesting in terms of higher portfolio returns. Investors should know that there could be no or little tax savings, or even a bigger tax bill, depending on how different securities perform after they’re sold (or bought back).

For instance, if the underlying algorithm that automates trades in a robo portfolio harvests a loss from one ETF (to offset the gains from a sale of another ETF), it might then purchase a replacement ETF that’s not substantially identical, per the wash-sale rule.

If the second ETF is sold later, the gains realized from this second sale could be so high that they cancel out or be greater than the tax benefits from selling the first fund to harvest the loss.

In that case, the investor could end up paying more taxes down the road — effectively deferring, not eliminating, the tax burden.

Continuously trading assets in automated tax-loss harvesting also means an investor may incur additional costs, such as more transaction fees.

Pros of Automated Tax-Loss Harvesting

1.    Standard tax-loss harvesting is complex and time-consuming, but the benefits are well established. Therefore using automated tax-loss harvesting may be an efficient way to reap the benefits of this strategy because it can be done more automatically and consistently.

2.    To realize the benefits of tax-loss harvesting investors must obey the IRS wash-sale rule, which imposes restrictions that can be tricky to follow. In this way, an automated strategy may limit the potential for human error and may increase the tax benefits for investors.

Cons of Automated Tax-Loss Harvesting

1.    Because an algorithm performs tax-loss harvesting on an automated cadence, investors cannot choose which investments to sell and when and therefore have less control.

2.    An automated tax-loss program may not be able to anticipate a security’s future gains that could reduce or eliminate the tax benefit of harvested losses.

3.    Automated tax-loss harvesting could increase the amount an investor pays in transaction fees, which can lower portfolio returns.

The Takeaway

Automated tax-loss harvesting is a feature primarily offered by robo-advisors, which use a computer algorithm to automatically sell securities at a loss in order to potentially reduce the tax impact of capital gains realized from the sale of other securities.

While this practice can offer tax benefits in some cases, and academic studies have used portfolio simulations to gauge the potential for outperformance, it’s unclear whether automated tax-loss harvesting offers the same benefits. Because the strategy is carried out by an underlying algorithm, a computer program may not be capable of making more nuanced choices about which assets to sell and when.

Investors could potentially end up still owing capital gains taxes or paying more in transaction fees and brokerage fees.

If you’re ready to start investing, it’s easy to open an Active Invest account with SoFi Invest® and start trading stocks or set up an automated portfolio. SoFi’s automated portfolio does not offer tax loss harvesting. SoFi members have access to complimentary advice from a financial professional. Set up your portfolio today!

See why SoFi is this year’s top-ranked robo advisor.


SoFi Invest®
INVESTMENTS ARE NOT FDIC INSURED • ARE NOT BANK GUARANTEED • MAY LOSE VALUE
SoFi Invest encompasses two distinct companies, with various products and services offered to investors as described below: Individual customer accounts may be subject to the terms applicable to one or more of these platforms.
1) Automated Investing and advisory services are provided by SoFi Wealth LLC, an SEC-registered investment adviser (“SoFi Wealth“). Brokerage services are provided to SoFi Wealth LLC by SoFi Securities LLC.
2) Active Investing and brokerage services are provided by SoFi Securities LLC, Member FINRA (www.finra.org)/SIPC(www.sipc.org). Clearing and custody of all securities are provided by APEX Clearing Corporation.
For additional disclosures related to the SoFi Invest platforms described above please visit SoFi.com/legal.
Neither the Investment Advisor Representatives of SoFi Wealth, nor the Registered Representatives of SoFi Securities are compensated for the sale of any product or service sold through any SoFi Invest platform.

Tax Information: This article provides general background information only and is not intended to serve as legal or tax advice or as a substitute for legal counsel. You should consult your own attorney and/or tax advisor if you have a question requiring legal or tax advice.

Financial Tips & Strategies: The tips provided on this website are of a general nature and do not take into account your specific objectives, financial situation, and needs. You should always consider their appropriateness given your own circumstances.

Exchange Traded Funds (ETFs): Investors should carefully consider the information contained in the prospectus, which contains the Fund’s investment objectives, risks, charges, expenses, and other relevant information. You may obtain a prospectus from the Fund company’s website or by email customer service at [email protected]. Please read the prospectus carefully prior to investing.
Shares of ETFs must be bought and sold at market price, which can vary significantly from the Fund’s net asset value (NAV). Investment returns are subject to market volatility and shares may be worth more or less their original value when redeemed. The diversification of an ETF will not protect against loss. An ETF may not achieve its stated investment objective. Rebalancing and other activities within the fund may be subject to tax consequences.


SOIN0423001

All your finances.
All in one app.

SoFi QR code, Download now, scan this with your phone’s camera

All your finances.
All in one app.

App Store rating

SoFi iOS App, Download on the App Store
SoFi Android App, Get it on Google Play

TLS 1.2 Encrypted
Equal Housing Lender