Skip to main content

What is Tax Loss Harvesting? And Should You Do It?

Published January 13, 2021

5 minute read

David Ning

By David Ning

Everyone knows (or should know, at least) that we pay taxes on investments when we sell and money on them. Some of us also know that all our losses are deducted against our gains. In broad terms, there are tax consequences whenever we change our investment mix.

What many don’t know, however, is that some people are reducing their tax liabilities by tax loss harvesting. That is the practice of selling investments when they have losses, then buying a similar investment with similar performance characteristics, and using the losses to offset gains they have incurred (or will incur in the future). These investors are switching their losers out even when they don’t have any gains to offset. They do it because current tax rules allow you to “store” investment losses to deduct against gains in future years. In fact, $3,000 of losses can even be deducted for other tax liabilities in the current tax year.

The Wash Sale Rule

Imagine buying a stock that is very volatile. Whenever it goes down, you sell it, reaping the tax loss benefit. Then, immediately, you buy it back (and likely at the exact same price). With the ability to trade electronically these days, you can see how this can create a huge problem for Uncle Sam. I bet someone could easily create an automated trading program to instantly buy and sell hundreds of securities everywhere. It could harvest billions and billions of tax losses. That’s why the IRS created the Wash Sale Rule. It prevents investors from deducting losses on an investment if the same, or “substantially identical”, investment is bought 30 days before and after selling.

So How Are People Still Taking Advantage?

The rules state that you can’t buy or sell the “same, or substantially identical” investment within 30 days of selling. When the market crashes, some investors have just been selling their losers at huge losses and just waiting out the 30 day period. They contend that even if the market jumps back up quickly, the tax benefit outweighs the potential of missed gains.

Another way to harvest your losses is to buy something similar, but not similar enough to raise red flags. For example, let’s say you are invested in the actively managed international mutual fund, Dodge & Cox International (Symbol: DODFX). Let’s also assume that you have some losses you can harvest. You won’t be able to just sell and buy it back right away to reap the tax benefit. However, you can certainly sell the fund at a loss, then buy the Vanguard FTSE Developed Markets ETF instead and get the tax deduction. The Vanguard ETF is different because it’s a passive fund. But since it tracks the index of countries that the Dodge & Cox fund mainly invests in, performance will hopefully be similar.

To reduce your risk that this move materially changes your investment returns, you can even choose to buy the Vanguard ETF for 30 days and then sell that to buy back the Dodge & Cox International stock fund.

Are There Risks?

One of the biggest deterrent of tax loss harvesting is that investors are afraid they will buy an alternative that ends up jumping in value. Then they’re left with a security they didn’t really want to begin with. But that’s really not as big of an issue as people make it out to be.

Let’s go back to our previous example. Let’s say the Dodge & Cox fund goes down 30% in a market crash similar to the one we witnessed recently. You then decide to sell that and buy the Vanguard ETF. Immediately, as our luck would have it, the market snaps back 10% within the month. That sounds like bad news, but is it that bad? We can still sell the Vanguard ETF at a 10% gain and have 20% of net losses left. It certainly beats doing nothing.

This is just a simple example. I’m in no way recommending these two specific investments, but hopefully you get the idea of how the maneuver works.

What to Watch Out For

You can reap substantial benefits with tax loss harvesting moves, but there are a few “gotchas” you need to watch out for. Here are a few to remember when you are making the exchanges.

Don’t Buy The Dividend, Twice

Some experts recommend not buying ETFs and funds right before they distribute a dividend. The reason is that the dividend is just coming out of the fund’s value. Plus, you have to pay taxes on that distribution. Because different funds make their distributions on different days (but often very close together), you can theoretically sell one fund right after they distribute a dividend, only to exchange into another fund that then makes a distribution a few days later. If you do this, you’ll end up paying taxes on the dividend on the first fund and then paying taxes again on the second distribution. Try to avoid this situation by looking up the funds’ dividend distribution dates before you buy and sell them.

Ensure You’re Really Exchanging it for a Similar (But Different) Securities.

Buying back the same stock will obviously trigger the Wash Sale Rule. However, so will selling your stock and buying its options. You’ll need to shy away from buying and selling ETFs that track the same index. I’m not a tax professional, but I’m pretty sure it wouldn’t fly with the IRS if you sell the Vanguard 500 Index Fund ETF (symbol: VOO) just to buy the SPDR S&P 500 ETF Trust (symbol: SPY). They are too similar to pass the smell test.

Remember the 30-Day Rule

Don’t forget that the 30-day rule applies to purchases before and after the sell. You can’t just buy a stock, then figure you will start tax loss harvesting a portion of it a couple weeks later.

This sounds obvious and easy to avoid, but there are three common situations where people get tripped up on the mechanics.

  1. You have an automatic investment plan. People sometimes forget that they even bought the investment because they set it up to automatically buy at regular intervals.
  2. You also have to be especially careful if the security you are buying or selling pays a dividend and you automatically reinvest that dividend. The dividends that are set to be re-invested counts as a purchase too.
  3. The Wash Sale Rule applies to transactions across different accounts. That means you can’t buy a stock and sell that same stock in a different account. In fact, you can’t even sell an investment in a taxable account and buy that back in a retirement account.

My sister lives in Hong Kong and they don’t tax investment gains at all. I envy her for being able to take advantage of their generous tax laws, since taxes take a huge bite out of investment income. I used to make quick calculations of how much more I would effectively get to spend if I lived where my sister was. With tax loss harvesting, I can at least even the playing field just a little bit.

Tax Loss Harvesting


David Ning

Experienced Finance Writer

David is a published author, entrepreneur and a proud dad. He firmly believes that anyone can build a solid financial foundation as long as they are willing to learn. He runs, where he discusses every day money issues to encourage the masses to think about their finances more often.

Explore Investing

Young tech professional with vested interest in his company Investing

Vested Interest: What Is It and How Do You Use It?

America is a leader in many things, but I’m not sure they should be proud of pioneering this particular thing. I’m talking about vested interest. (Or sometimes referred to as “golden handcuffs.) Plenty of companies use vested interest as a way to keep their employees from leaving. In some cases, people are delaying their own […]

Read More about Post Title

8 minute read

Vector illustration of stock investing Investing

How To Invest In Dividend Stocks (And Make Money)

One of the ways you can create a good revenue stream is to become involved in income investing. Income investing is all about making solid, relatively safe investment choices that actually produce regular income. This can include interest-bearing investments like bonds and some cash products. It can also include dividend stocks. If you’ve ever wondered […]

Read More about Post Title

8 minute read

See All In Investing

More from WalletGenius

Young couple worried about finances Save Money

How To Tell If Your Retirement Is In Jeopardy

One of the most common financial concerns for adults these days is retirement. It comes up over and over again. For anyone concerned about money, retirement is a very big problem to confront. Current (and future) generations of working-aged Americans aren’t exactly fairing well, when it comes to retirement savings. Some studies have shown that […]

Read More about Post Title

7 minute read

Young woman worried about student loans Perkins loans Student Loans

Perkins Loans: Everything You Need To Know

A Perkins Loan was a federal program that provided low-interest loans to college students who demonstrated exceptional financial need. The program, which operated as the “Perkins Loan Program,” no longer exists. It was discontinued on September 30, 2017. The final disbursements were permitted through June 30, 2018. Although the program has been discontinued, many current […]

Read More about Post Title

5 minute read

Capital budgeting paperwork Budgeting

Capital Budgeting: A Complete Guide

Capital budgeting is a business term used to describe the process of determining how to best use the capital the company has on hand. Should they expand? Should they reinvest in a new factory to increase capacity? Is it profitable to acquire another business for expansion? In other words, capital budgeting is the process of […]

Read More about Post Title

7 minute read

Woman checking her credit score Credit

What You Need to Know About Free Credit Scores

You probably know that your credit score is an important aspect of your finances. Your credit score goes beyond just helping you get a loan with a good interest rate. It can also influence your insurance rates and even impact what happens when you sign up for internet or a cell phone plan. Knowing your […]

Read More about Post Title

7 minute read


EBITDA: What Is It and How Is It Calculated?

It might look like it, but EBITDA is not actually an alien word. It is an acronym that stands for “earnings before interest, taxes, depreciation, and amortization.” As you may have guessed by now, it’s a metric used in the business world. A company’s EBITDA can help you better understand their ability to generate cash […]

Read More about Post Title

6 minute read

Trusted provider of accurate rates & financial information