Tax-Loss Harvesting: When Losing Money on Paper Actually Saves You Money

Primary (best): Tax-loss harvesting concept with scissors cutting a declining stock chart while new growth emerges

Selling an investment at a loss feels wrong. In the right circumstances it lowers your taxes while keeping your portfolio fully invested.

Take Jordan, a 42-year-old physical therapist with a growing investment account and a fund that is down $20,000. His instinct is immediate. Wait for it to come back. Selling now locks in the loss. Waiting might erase it.

That instinct is also the reason many investors quietly overpay taxes for years. What Jordan does not realize is that the loss on his screen has zero value until he acts on it. Tax-loss harvesting turns that paper loss into real money. It works whether or not the investment ever recovers.

What Tax-Loss Harvesting Actually Is

When you invest, you buy something hoping it grows. If it grows and you sell it, you make a profit, and the IRS calls that a capital gain and taxes it. If it falls and you sell, you take a loss, and the IRS lets you use that loss to reduce other taxes you owe.

Two terms matter before anything else. An unrealized loss is a position worth less than you paid that has not been sold yet. The IRS does not count it until you sell. A realized loss happens the moment you sell, and that is when it becomes usable. Even within a buy-and-hold strategy where picking stocks is generally a losing approach, harvesting is the rare active intervention worth making.

Cost basis is simply what you originally paid. If Jordan paid $50,000 for a fund now worth $30,000, his cost basis is $50,000 and his loss is $20,000. Think of it like a receipt. The IRS compares the sale price to that receipt to calculate the official result.

Tax-loss harvesting has three steps. Sell the investment to create a realized loss. Use that loss to reduce taxes. Reinvest immediately to stay in the market. Without reinvesting you just sold at a loss. With all three steps you kept your position and gained a tax benefit. Think of it like resetting the scoreboard without leaving the game.

How the Tax Benefit Actually Works

If you hold an investment for more than one year before selling, the profit is taxed at the lower long-term capital gains rate, meaning the preferential tax rate on profits from investments held more than one year. For most high earners that rate is 20 percent federally. Short-term gains, from investments held one year or less, are taxed at the same higher rates as regular income.

There is also an extra charge called the net investment income tax, or NIIT. It adds 3.8 percent for individuals earning above $200,000 or couples above $250,000. Combined, many high earners pay 23.8 percent in federal taxes on long-term investment gains. Taxes matter more than most investors realize and this is one of the clearest examples.

Capital losses cancel capital gains dollar for dollar. Jordan has $20,000 in gains from a profitable sale earlier in the year. He harvests a $20,000 loss from his declining fund and the two cancel completely. The $4,760 in taxes he would have owed stays in his account instead.

If losses exceed gains, up to $3,000 a year can reduce regular earned income. For someone in a 35 percent bracket, meaning the range of income taxed at 35 percent, that saves about $1,050. Any remaining losses carry forward into future years indefinitely. Think of this as a loss bank. Unused losses sitting in reserve ready to cancel future gains whenever they appear.

The Wash Sale Rule: The One Rule That Changes Everything

The IRS recognized an obvious problem. Without a rule, investors could sell a losing position, claim the tax benefit, and immediately buy it back, getting free tax savings while changing nothing. The wash sale rule closes that gap entirely. You cannot claim a loss if you buy a substantially identical investment within 30 days before or after the sale.

Substantially identical means essentially the same security. The same stock, the same fund, or a fund tracking the exact same index, meaning a basket of stocks used to measure the performance of a group of companies, like the S&P 500 representing the 500 largest U.S. public companies. The total restricted window is 61 days. Thirty days before the sale, the day of sale, and 30 days after.

Violating the rule does not create a penalty. The loss is delayed rather than eliminated, added to the cost basis of the replacement and recognized later. But the immediate benefit disappears, which defeats the purpose of harvesting in the current year.

The solution is replacing the sold investment with something similar but not identical. Selling an S&P 500 fund and buying a total market fund, meaning a fund that includes essentially every publicly traded U.S. company including smaller ones, is generally compliant because they track different indexes. Knowing the differences between common fund types is what lets investors stay invested while staying compliant. Think of it like switching lanes instead of leaving the highway.

When Tax-Loss Harvesting Is Actually Worth It

The strategy matters most when significant realized capital gains already exist in a taxable brokerage account, meaning a standard investment account outside of retirement accounts. In a taxable account the IRS taxes gains each year as they occur. In a retirement account like a 401(k) or an IRA, meaning an Individual Retirement Account that lets you contribute on your own outside of an employer plan, investments grow without annual tax consequences.

Harvesting produces no benefit in retirement accounts. The right account order matters more than most investors realize, and getting the placement right is the foundation of every other tax strategy that follows.

The strategy is most valuable for high earners because savings scale with the tax rate. A $10,000 harvested loss saves $2,380 at the 23.8 percent combined rate and only $1,500 at 15 percent.

Take Sarah, a 38-year-old marketing director earning $185,000 with a 22 percent marginal rate and modest taxable account gains. Harvesting still helps her, but the dollar value of each harvested loss is materially smaller than what Jordan captures from the same loss. Calculate the tax impact on your specific account types and the difference between taxable and retirement placement is rarely as small as it looks at first glance.

The strategy works at every income level. It just works hardest at the top. Volatile markets, meaning periods when prices move up and down sometimes sharply in short windows, create the most opportunity because more positions fall below their cost basis simultaneously.

One scenario where harvesting matters less is worth naming. If an investment is intended to be held for life and passed to heirs, current tax law provides a step-up in cost basis at death. Heirs inherit the investment at its market value at the time of inheritance, which effectively eliminates the accumulated gain without any sale or tax event. For truly permanent family assets the urgency to harvest is lower.

How to Actually Do It

Review the taxable portfolio in October or November for positions trading below their cost basis. The fourth quarter is the natural time because the full picture of realized gains for the year is clear and December 31st remains reachable. Identify the replacement investment before selling so proceeds can be reinvested the same day without a gap in market exposure.

Execute the sale and reinvestment on the same day. Document the new cost basis carefully. Do not buy the original investment back within 30 days, and set a calendar reminder if needed because the window is easy to lose track of during a recovery. A working framework built around an annual harvest review removes the need to remember the rules every time the market drops.

For investors who prefer automation, robo-advisor platforms, meaning online investment platforms that use computer programs to manage investments automatically at lower cost than a human advisor, including Betterment and Wealthfront offer systematic tax-loss harvesting as a built-in feature. They monitor portfolios continuously, identify opportunities, and execute compliant replacements without manual effort. For large portfolios with many positions this removes the need for quarterly manual reviews entirely.


THE BOTTOM LINE

• Tax-loss harvesting means selling a losing investment, claiming the loss to reduce taxes, and immediately reinvesting in a similar security so the position continues. The loss becomes real on the tax return. The market exposure does not change.

• Losses cancel gains dollar for dollar, reduce ordinary income by up to $3,000 a year, and carry forward indefinitely. At the 23.8 percent combined federal rate, a $20,000 harvest saves approximately $4,760.

• The strategy works only in taxable accounts. The wash sale rule requires replacing the sold investment with something similar but not identical within a 61-day window. Done right, market declines become a long-term tax advantage without changing the plan.


Money Questions

  • Tax-loss harvesting is selling an investment that has declined below the original purchase price to create an official loss the IRS recognizes, using that loss to cancel out profits from other investments or reduce regular income, and immediately reinvesting in a similar investment to stay in the market. The sale makes the loss real and usable for tax purposes. The reinvestment ensures the investor does not step away from the market to capture a short-term tax benefit. Think of it like resetting the tax scoreboard without leaving the investment game. All three steps must occur for the strategy to work correctly.

  • The wash sale rule prevents investors from claiming a capital loss if they purchase a substantially identical investment within 30 days before or after the sale, creating a total restricted window of 61 days. Substantially identical means essentially the same security, such as the same stock or a fund tracking the exact same index. Violating the rule does not create a penalty but delays the loss to the cost basis of the replacement investment, eliminating the immediate tax benefit. The solution is replacing the sold investment with something providing similar market exposure through a different index or composition, such as replacing an S&P 500 fund with a total market fund that includes additional company sizes not in the S&P 500.

  • It is most worth doing when significant realized capital gains already exist in a taxable brokerage account for the current year, because harvested losses cancel those gains immediately and the tax savings are certain before execution. It is most valuable for high earners at the 23.8 percent combined federal rate on long-term gains, because each dollar of harvested loss produces maximum possible federal tax savings. It only works in taxable accounts, not in retirement accounts where annual gains and losses have no immediate tax consequence. It is less compelling for investments intended as permanent family assets where the step-up in cost basis at death may eliminate the accumulated gain without any harvesting required.

By Karim Ali, MD, MBA. Emergency Physician & Finance Educator

 
Previous
Previous

Crypto in a Portfolio? How to Think About It Without the Noise

Next
Next

Which Matters More Tax Deductions or Credits