How Does Tax Loss Harvesting Work
Written by: Corey Janoff | Blog
Tax-loss harvesting is an important aspect of managing an investment portfolio. Tax-loss harvesting is a tax strategy that involves selling investments at a loss to offset or reduce capital gains taxes from investments sold for a profit. Tax-loss harvesting opportunities arise when we see stock market declines, where individual stocks or mutual funds are showing capital losses in your account.
It is never enjoyable for investors when the stock market goes down; however, market declines present a couple of beneficial opportunities. For one, it allows long-term investors to buy stocks at a discount compared to their previous highs. Additionally, it offers certain investors the ability to reduce their tax liability via a strategy called tax-loss harvesting. So how exactly does tax-loss harvesting work?
We discussed tax-loss harvesting in-depth in a somewhat-recent podcast episode. I encourage you to subscribe to Financial Clarity for Doctors and listen to it. Today we will walk through a tax-loss harvesting guide and discuss the pros and cons of tax-loss harvesting to help you be better prepared for opportunities in the future.
What is Tax-Loss Harvesting?
What is tax-loss harvesting, and how does tax-loss harvesting work? Any time you earn money from income or your investments, you must pay taxes on your earnings. There are a few exceptions to that, but in general, if you make money, you must pay taxes.
Well, if you lose money, you can use your losses to offset earnings elsewhere and negate the taxes owed on those other earnings. Nobody wants to lose money, but doing so allows you to lower your tax bill.
Tax-loss harvesting is the process of selling investments for less than you originally paid to offset taxable gains elsewhere. This only works in taxable accounts. In tax-sheltered accounts, such as 401(k)’s and IRAs, this is not applicable. You do not pay taxes on investment earnings within tax-sheltered accounts.
The concept of tax-loss harvesting is pretty simple: sell the losers in your portfolio to minimize taxes. The execution of it can be tricky.
Losses offset gains. Short-term losses offset short-term gains, and long-term losses offset long-term gains. Short-term applies to investments bought and sold within a year. Long-term positions are bought and sold in a time frame greater than a year. The net short-term gains/losses are then compared to the net long-term gains/losses to offset each other. If there is a net loss for the year, up to $3,000 of investment losses can be deducted from your other taxable income for the year. Any amount beyond that can be carried forward and used to offset taxable gains/income in future years until the losses are exhausted.
For a complimentary review of your investment portfolio or to learn more about our wealth management services, click here.
Tax-Loss Harvesting Guide
As mentioned in the previous section, the first step is to sell the investments that are showing a loss in your portfolio. This is easier said than done. The simple example is if you own a stock or a mutual fund where all the shares were acquired in a single purchase. In that scenario, you have a single cost basis for your shares. The cost basis is the amount you paid for something. For example, if you purchase 100 shares of XYZ stock at $50 a share, your cost basis is $50 per share or $5,000 for the entire position. If the share price drops to $35 per share, you can sell the whole position for $3,500 for a total loss of $1,500 dollars. That $1,500 loss will offset realized gains of $1,500 elsewhere in your portfolio that you otherwise would owe taxes on.
What if you are making regular contributions every month to your investment portfolio? This is where things get a little more complex. In this scenario, you have to look at the individual tax lots. Each purchase establishes its own tax lot. You may have purchased XYZ stock at various prices ranging from $20 per share up to $60 per share over the last decade. If the price is currently at $35 per share, any tax lots above $35 per share would be sitting at a loss. Any tax lots below $35 per share would still be at a taxable gain if sold. So, what do you do here?
If the goal is only to realize losses and not realize gains, you only want to sell the investments showing a loss. Therefore, you have to hand-select the individual tax lots you wish to sell and only sell the losers to realize those losses.
If you prefer to get rid of all of your XYZ stock, you could sell the entire position, knowing some of the shares are at a gain, and some are at a loss. The losses will offset the gains dollar for dollar. If the net result is a gain, you will owe some taxes on the total gain. If the net result is a loss, you can use the net loss to offset taxable gains elsewhere in the portfolio.
If you would like to discuss your investment portfolio in more detail or to learn more about our wealth management services, click here and one of our financial advisors would be glad to connect.
What Do You Do with The Proceeds?
After selling positions in your portfolio, you will have some cash available. Assuming your investment goals and strategy have not coincidentally changed at the same time that you are tax-loss harvesting, it is imperative to reinvest the money immediately, ideally in similar positions as before. This is important to understand and note if you will be performing tax-loss harvesting.
For example, if you sell a mutual fund that invests in large companies, reinvest the proceeds in a different mutual fund that invests in large United States companies. The goal is to maintain your overall investment allocation deemed appropriate for your goals. Tax-loss harvesting is strictly an allowable means to lower your taxes. That’s it. It should not alter your portfolio composition or strategy. So, be sure to reinvest the money immediately into your pre-determined asset allocation so your investments can continue working towards your goals.
Beware of Wash Sales
Wash sales are why you need to reinvest your proceeds in something different than what you sold. If you sell XYZ stock at a loss and then purchase new shares of XYZ stock within 30 days, it is considered a “wash sale” and the tax benefits are negated. Therefore, if you sell a position, you must wait at least a month before purchasing that position again.
This applies across all your investment accounts. If you have a Roth IRA and a taxable account, you cannot purchase new XYZ stock shares in your Roth IRA within 30 days, either. Many of you have similar holdings in all your investment accounts, so it is crucial to pay attention to this when tax-loss harvesting.
How do you immediately reinvest the money in a similar asset allocation if you cannot reinvest in the same fund for at least 30 days? It’s not that hard. The individual position you own matters far less than the overall asset class.
Sticking with one of the previous examples using large United States companies, if you sell an S&P 500 index fund, you could reinvest in a Russell 1000 index fund. Both invest predominately in large United States companies, but they track different indices, so they are different enough to avoid the wash sale. That is the key here. The fund must track a different index in order for them to avoid wash sale issues.
Pros and Cons of Tax Loss Harvesting
There are multiple pros and cons of tax-loss harvesting. The big attraction is lowering taxes. Who doesn’t want to reduce their tax bill? It also creates an opportunity to rebalance your portfolio with minimal tax implications.
Rebalancing is the process of periodically adjusting your portfolio back to its initial target allocations. For simplicity, let’s pretend your target investment portfolio is 50% United States stocks and 50% international stocks. Hypothetically, if United States stocks increase more this year than international stocks, you may end the year with 60% of your portfolio in United States stocks and 40% in international stocks. To rebalance the portfolio, you would sell 10% of the United States stocks to bring the position back down to 50% and reinvest that money in international stocks to bring that position back up to 50%. This forces you to sell high, buy low, and maintain a consistent portfolio strategy over time.
The problem with rebalancing is that it is the opposite of tax-loss harvesting. Tax-loss harvesting involves selling the investment at a loss, whereas rebalancing consists of selling the winners and buying the losers. Well, tax-loss harvesting helps offset the tax ramifications of rebalancing.
The other advantage of tax-loss harvesting is you are deferring many of your gains, so you pay taxes on them when you withdraw money from your portfolio in retirement, rather than while you are working. In retirement, you are theoretically going to be in a lower tax bracket than your working years, so the tax implications then should be (hopefully) softer than at your peak earning years.
The downside of tax-loss harvesting is mostly the effort involved. You have to pay attention and be proactive. Yuck. Sounds like work. It is like doing yard maintenance to keep your grass green and weed-free. It’s a lot easier not to mow your lawn and not weed the yard. That takes time and effort. Time + effort = no fun. If you would like some help with this, or to see if tax loss harvesting makes sense for you and your portfolio, we would be happy to meet with you.
Tax-loss harvesting is a crucial aspect of portfolio management, so it is important to ensure that you or your financial advisor is taking advantage of these opportunities to save you potentially tens of thousands of dollars in taxes throughout your life.
The other downside to wash sales is your portfolio could get more complicated the more you tax-loss harvest. Before you know it, you could end up with four large-cap US funds, three small-cap funds, five international positions, all from trying to avoid wash sales, and invest in something similar but not identical. At some point, you may choose to sell some winners to simplify things.
Is Tax-Loss Harvesting Worth It?
Is tax-loss harvesting worth it? Absolutely. The most recent significant stock decline we have seen in the past decade was in March of 2020, the start of the Covid pandemic. Stocks across the board dropped on average by about 35% in four weeks. Stocks sharply rebounded and began setting all-time highs once again in August of 2020.
Someone who did tax-loss harvesting in their portfolio in late March of 2020 and reinvested immediately could have tens of thousands of dollars (or more) of paper losses that can offset taxable gains elsewhere. That will save them thousands of dollars in taxes this year (and potentially next year). An identical person who didn’t tax-loss harvest their portfolio would have the same portfolio balance today, but will end up paying more in taxes in April when taxes are due.
Now, you want to weigh the number of losses you can realize in relation to the effort involved and the portfolio composition ramifications. If you have a $100 loss, probably not worth it. Suppose it’s a $100,000 loss, definitely worth it.
Is Now a Good Time to Tax-Loss Harvest?
As we post this blog in April of 2025, we have seen recent stock market volatility and many major United States stock indexes down year to date. It may be a good time to start looking at your accounts to see if opportunities to tax-loss harvest are available.
For people who are investing weekly or monthly into the market, you likely will see some tax lots showing capital losses. The S&P 500, which is made up of some of the largest 500 US companies, is currently at a similar level to August of 2024. If you have invested in this index since then, those tax lots may be showing a negative. As mentioned above, we will want to weigh the amount of losses you can realize in relation to the effort involved and the portfolio composition ramifications.
For investors that have not been contributing on an ongoing basis, there may not be a lot of opportunity to tax-loss harvest at this time. The United States stock market has performed quite well over the past two years, and really even the past 15-years. Depending on the time frame your account has been invested, there may still be many tax-lots in the positive. Nonetheless, it is still important to be thinking about tax-loss harvesting strategies when stock market declines occur.
Summary
The tax code is a guidebook for people to maximize wealth and minimize taxes. Take advantage of the provisions available to you. Tax-loss harvesting is an easy one for people to potentially lower their taxes. If you have any questions or would like a second opinion on your portfolio, please don’t hesitate to contact us.
Related Blog Posts
- What is the Purpose of Tax-Deferred Retirement Accounts?
- Backdoor Roth IRA
- What is a Cash Balance Plan
- What Do I Do With My Old Retirement Plan?
Related Podcast Episodes on Financial Clarity for Doctors
- Retirement Savings Strategies for Doctors
- Student Loan Management for Doctors
- Debt vs. Investment – What Should You Do First?
- PSLF: What Doctors Need to Know
Reach out to us for a complimentary review of your retirement plan!
Disclosures:
Any investment involves risk of loss, including total loss of principal. Consult with a financial professional for guidance on which retirement plan in right for you. This is not to be construed as tax-advice. Consult with a tax-professional for tax-advice and implications for your particular circumstances.