Don’t forget this great year end tax strategy that rich people use to pay less taxes

Sometimes we make bad bets.

Make a bad bet in a casino, you might leave with a drink. Make a bad bet in the stock market, you can leave with an income tax deduction.

If that made you say “huh? what?” — perk up.

It's called tax loss harvesting and it's what successful investors use to help juice up returns on their investment.

You can think about your public market investment portfolio as a business. When you sell a winner, you have profit (capital gains). When you sell a loser, you have loss (capital loss). Capital gain is offset by capital loss and you are taxed on the difference between the two.

For example, if I bought $10,000 worth of Wallet Hacks stock in January and sell it for $20,000 in March, that's a $10,000 short term capital gain. If I also bought $10,000 worth of Get Rich Slowly stock in January but sold it for just $5,000 in December, that's a $5,000 short term capital loss (sorry buddy!).

$10,000 of gain minus $5,000 of loss means I will be taxed on $5,000 of gain at the short term capital gains rate.

I cash out my winner because I want to lock in the paper gains, but I want to lower my tax burden so I need to find a loser I can sell to help offset those gains. Boom, found a good candidate and I sell it to lock in the losses.

This only works in taxable investment accounts. Tax-deferred accounts, like a 401(k), and tax-free accounts, like a Roth IRA, aren't subject to taxes when you buy and sell securities so harvesting has no efect.

The IRS and Treasury Department know people do this. So they create a rule, you can't use the loss to offset gains unless you follow specific guidelines. Those guidelines are referred to as the “wash-sale rule.”

The wash-sale rule says that if you buy the same or “substantially identical asset” within 30 days, you won't be able to use the loss. The loss gets added to the tax basis of the new holding, so it in effect just gets delayed until you sell the stock again. The loss doesn't disappear. (funny enough, your new holding is actually an extension of your old holding, which you sold at a loss, so it could be eligible for long term capital gains rates)

After I sell Get Rich Slowly stock, I can't buy back in for 31 days if I want to offset my gains with that loss. I can buy another asset, maybe pick up shares of The Penny Hoarder or Wise Bread (I hear those two blogs are going places!), but I can't buy Get Rich Slowly. (the same rule applies for 30 days before the loss sale, so I can't buy Get Rich Slowly 30 days before I sell my losing position)

One final rule to remember – if you have more losses than gains, you can use up to $3,000 of those losses to offset ordinary income. Any extra losses above $3,000 get carried over to the next year.

How the rich use this strategy

It all comes down to the term “substantially identical.” There are plenty of mutual funds that, if you asked a regular human being, are pretty much the same.

To IRS regulations, they are not. Take a look at these two funds:


Vanguard 500 Index Fund and the Vanguard Total Stock Market Index fund are two different funds but they're very close. The S&P500 makes up around 75% of the market so we have a lot of good overlap. If you were looking at a loss this year in the S&P500 fund, you could harvest those tax losses and put them into the Total Market fund. Wait 31 days, then go back to the S&P 500 fund.

Another prime example are in two foreign large cap ETFs, VXUS and VEU. They are funds that hold similar companies, with similar performance, but they are not substantially identical.

(Michael Kitces has a good discussion of the substantially identical rule as it relates to the intent of the rule, pooled investment vehicles, and loss harvesting — read it)

When the market took a nosedive in 2008 and 2009, I know a lot of folks who harvested losses. Tens of thousands of dollars, if not into the hundreds of thousands, of losses. But they participated in the upside when the market recovered because they purchased something similar, albeit not “substantially identical.”

Now before the pitchforks come out, remember that the losses suffered are very real. This isn't some crazy loophole that makes the rich richer (look up carried interest for that). It just makes them a little bit more richer because you get a small tax benefit in the interim.

All of the tax benefits, very little risk you'll miss some upside move by the S&P500 that isn't captured by the Total Market fund.

Realizing paper losses may hurt psychologically but it's a boon financially. If your $10,000 investment is only worth $5,000, selling it doesn't mean you lost $5,000 right now. You lost it a long time ago, you're just now able to reap some of the silver lining in that loss. $3,000 can go towards offsetting ordinary income and the rest can be used to offset any capital gains you've already realized.

Some of the robo-advisors integrate this into their service offerings, Wealthfront (see our Wealthfront review) and Betterment are the best example of that. They will automatically harvest it for you and give you a small boost to your returns.

If you read Kitces' article, tax-loss harvesting has a lot of murkiness around “substantially identical” but it's a powerful tool many folks are using and you should be using too.

Related: Year-End Tax Moves You Must Be Doing

Another strategy for the not-so-rich

Before you go, I want to share with you a strategy that is available to those who make very little money.

There's a way you can have gains and still pay ZERO on the capital gains.

Long term capital gains are taxed at either 0%, 15%, or 20% depending on your marginal tax rate for ordinary income. If you are in the 22%, 24%, or 32% brackets then you pay 15%. If you are in the 35% or 37% bracket, you pay 20% (there's a bit of weird overlap in the brackets there, but not the point of this).

If you're in the 10% or 12% tax brackets – you pay ZERO PERCENT in capital gains.

Where's the top end of the 12% bracket? $41,775 for single filers and $83,550 for married filers for 2022.

Add back in the standard deduction of $12,950 for single filers and $25,900 for married filers and your ceiling on the 12% bracket drops considerably.

When you go to sell investments, whatever gains you would get that remain under that ceiling after adding in your income would be tax-free.

As we near the end of the year, check to see what your tax rate on long term capital gains might be. If it's 0%, it might be a good time to harvest some of those gains tax-free.

That's how you avoid paying capital gains on long term investments. And you don't have to be wealthy to do it!

(as with all tax suggestions, make sure you check with an accountant to know for sure)

Other Posts You May Enjoy:

How to File Back Taxes for Free 

People fail to file tax returns for different reasons. But if you owe back taxes, it's critical that you file as soon as possible. After all, you can't hide from the IRS forever. Besides, you could be missing out on valuable tax credits or even a big refund. Here's how to file back taxes for free.

How Much Should Tax Preparation Cost in 2024?

Taxes can be scary but it's nothing compared to how much it can cost to have an accountant prepare your taxes! See how much you'll have to pay a professional and a few tips on how you can save money.

States That Don’t Tax Retirement Income

Thinking of moving to a lower-cost state after you retire? All things being equal, you're better off, financially speaking, moving to a state that doesn't tax retirement income. But which states are those and what other factors should you consider? Here is a list of nine states that don't charge income tax. Learn more.

2023 Year End Tax Moves You Must Be Doing

As we near the end of the year, there are a few last minute tax moves you can make to save some money. Not every move on the list will fit your situation, or be right for you, but check it out to find out. It's time to keep more of your money!

About Jim Wang

Jim Wang is a forty-something father of four who is a frequent contributor to Forbes and Vanguard's Blog. He has also been fortunate to have appeared in the New York Times, Baltimore Sun, Entrepreneur, and Marketplace Money.

Jim has a B.S. in Computer Science and Economics from Carnegie Mellon University, an M.S. in Information Technology - Software Engineering from Carnegie Mellon University, as well as a Masters in Business Administration from Johns Hopkins University. His approach to personal finance is that of an engineer, breaking down complex subjects into bite-sized easily understood concepts that you can use in your daily life.

One of his favorite tools (here's my treasure chest of tools,, everything I use) is Empower Personal Dashboard, which enables him to manage his finances in just 15-minutes each month. They also offer financial planning, such as a Retirement Planning Tool that can tell you if you're on track to retire when you want. It's free.

>> Read more articles by Jim

Opinions expressed here are the author's alone, not those of any bank or financial institution. This content has not been reviewed, approved or otherwise endorsed by any of these entities.

Notify of

Newest Most Voted
Inline Feedbacks
View all comments

This is a really easy to follow write-up of a difficult topic. Thanks for putting it together Jim. As part of the wash sale rules, I have read that you can’t re-purchase the security you sold for 31 days even if it is in a different account (ex. your Roth IRA).. Is this correct? If so, you need to also be aware of any auto contribution investments you might have so you don’t accidentally contribute in the quiet period.

8 years ago

Thias, I know this is a late reply, but in case you are still reading, yes, a wash sale will occur if a substantially identical security is purchased in a Roth IRA within the specified time window.

See IRS Rev. Rul. 2008-5:

8 years ago

Hey, Jim. Nice synopsis of the strategy. I’ve been reading general articles about tax-loss harvesting for about six months now. I’m still a little fuzzy about it, but decided to give it a go recently. In late October I sold a chunk of an energy index fund. Needless to say it’s been getting clobbered this year, so I was able to offset a lot of my dividend income with that one sale. Last week I put the proceeds from the October sale back into that fund and avoided the wash sale. I also got more shares because energy is still… Read more »

8 years ago

Clean and easy to understand summary, the wash sale rule was one of my main reasons I stopped dripping or auto-reinvesting dividends. Thanks for the write up.

8 years ago

Yup. I sold all of my $BABA this year as I’m not seeing it going anywhere, and it was bought in my “bad” period when I thought investing in stock meant picking individual stocks.
So, I sold at a loss, which sucks, but I am now where I want to be in terms of international stock, I had too much before, so I consider it a win-win: rebalanced my portfolio AND got to do a bit of loss harvesting.

8 years ago

Nice analysis! I know that some of the online financial advisors – I think Wealthfront and Betterment? – take care of tax loss harvesting for the clients.

5 years ago

Nice article. I have a question. I use Wealthfront, which use a small percentage of my portfolio in Real Estate. I was considering to invest in Fundrise in order to diversify my portfolio even more but I am not sure if there could be a potential wash sale between the two. Any advice?

As Seen In:

Would love your thoughts, please comment.x