Tax-Loss Harvesting: Turn Market Losses Into Tax Savings

Selling a losing investment can lower your tax bill when you do it correctly. Here is how tax-loss harvesting works, who benefits most, and the wash sale rules that can quietly erase the deduction.

Every investor holds a few positions that have fallen below what they paid. Most people see those losers as a mistake to forget. A tax strategist sees them differently. Done correctly, selling a losing investment can lower this year’s tax bill and leave your long-term plan intact. That is the core of tax-loss harvesting, and for a high earner facing capital gains and a top marginal rate, the savings can be meaningful. This guide explains how the strategy works, the wash sale rule that can quietly cancel the benefit, and the 2026 limits you need to respect.

What tax-loss harvesting actually does

Tax-loss harvesting is the practice of selling an investment that has dropped in value to realize a capital loss on purpose. You then use that loss to offset capital gains you have taken elsewhere. If your losses exceed your gains, you can apply up to a set amount against your ordinary income and carry the rest forward. The position is real, the loss is real, and the tax code lets you use it. The goal is not to lose money. It is to make sure a loss you already have works for you at tax time.

The benefit matters most for people who realize gains regularly. That includes investors who rebalance taxable accounts, business owners who sell appreciated assets, and executives who receive and sell equity compensation. For a high earner, offsetting a short-term gain taxed near the top rate is far more valuable than the same offset for someone in a lower bracket.

How the numbers flow through your return

The mechanics follow a fixed order, and understanding that order is what separates a casual sale from a real strategy. Losses first offset gains of the same character, then the other character, and only then reach your ordinary income.

  • Step one. Short-term losses offset short-term gains, and long-term losses offset long-term gains.
  • Step two. If a net loss remains in one category, it offsets net gains in the other category.
  • Step three. If you still have a net capital loss, you may deduct up to $3,000 against ordinary income in 2026 ($1,500 if married filing separately).
  • Step four. Any loss left over carries forward to future years, with no expiration, until it is used up.

Because short-term gains are taxed at ordinary rates that can reach 37%, while long-term gains are generally taxed at 15% or 20%, the character of your gains changes how much a harvested loss is worth. As a result, many investors harvest short-term losses first when they have a choice, since those losses shield the most expensive income.

The wash sale rule: the trap that erases the benefit

The single biggest mistake in this strategy is triggering the wash sale rule. Under Internal Revenue Code Section 1091, you cannot claim a loss if you buy the same or a “substantially identical” security within 30 days before or after the sale. The window is 61 days in total, centered on the trade. Break it, and the IRS disallows the loss for now and adds it to the basis of the replacement shares instead.

The rule exists to stop investors from selling purely for the deduction and then buying right back into the identical position. In practice, it is easy to violate by accident. A dividend reinvestment, an automatic contribution, or a purchase in a spouse’s account or an IRA can all count. Therefore, the safest approach is to pause automatic buys in the security and to check every account before and after the sale.

How to stay invested without a wash sale

You do not have to sit in cash for a month to harvest a loss. The common solution is to sell the losing position and immediately buy a similar but not substantially identical investment. For example, an investor might sell one broad market index fund and buy a different provider’s fund that tracks a comparable but distinct index. This keeps your market exposure roughly the same while still booking the loss. The line between “similar” and “substantially identical” is a matter of facts, so review any swap with a licensed tax professional before you rely on it.

Short-term versus long-term losses

The distinction between short-term and long-term is not a technicality. It decides which gains your loss can neutralize first and how much tax you actually save. The table below shows how the two types generally behave for a high earner in 2026.

FeatureShort-term (held 1 year or less)Long-term (held more than 1 year)
Tax rate on the matching gainOrdinary rates, up to 37%Generally 0%, 15%, or 20%
Offsets firstShort-term gainsLong-term gains
Relative value of the harvested lossHigher, because it shields costlier incomeLower, but still useful
Net investment income tax exposurePossible additional 3.8%Possible additional 3.8%

High earners should also remember the 3.8% net investment income tax, which applies on top of the regular capital gains rate above certain income thresholds. When that surtax is in play, a harvested loss that removes a gain also removes the surtax on it, which quietly increases the strategy’s value.

The $3,000 limit and why carryforwards matter

Many investors are surprised to learn how little loss can offset ordinary income each year. The annual cap is $3,000 after your losses have absorbed all of your capital gains. That figure has not changed in decades, and it is not indexed for inflation. At first glance the limit looks small for someone with a large loss.

The carryforward is what makes the strategy powerful over time. Suppose you harvest $60,000 of losses in a year with no gains to offset. You deduct $3,000 this year, and the remaining $57,000 carries forward. In a later year when you sell a large winner, that stored loss can wipe out the gain entirely, no matter how big it is. In effect, a down market can fund tax relief for years of future gains. For that reason, some investors deliberately harvest deep losses in volatile years to build a reserve.

A worked example

Numbers make the benefit concrete. Imagine an executive who sold company stock early in the year for a $50,000 short-term gain. Later, a technology fund in the same taxable account is down $50,000 from its purchase price. She sells the fund, realizes the $50,000 short-term loss, and immediately buys a comparable fund from a different provider to stay invested.

Her short-term loss offsets her short-term gain dollar for dollar, so the $50,000 gain is fully neutralized. At a 37% federal rate plus the 3.8% surtax, she avoids roughly $20,400 of federal tax on that gain. The exact number depends on her full return, her state, and whether the swap avoids a wash sale. State treatment varies too. Still, the direction is clear. A loss she already had became a tool that removed a large, expensive gain from her return.

Change one fact and the picture shifts. If the loss had been long-term while the gain was short-term, the loss would first look for long-term gains before crossing over. The offset still works, but the ordering rules decide the sequence, which is why planning the sales matters as much as making them.

When tax-loss harvesting makes sense, and when it does not

The strategy is not automatic. It fits some situations and backfires in others. Before you sell, weigh a few practical points so the tax tail does not wag the investment dog.

  • You have gains to offset. The benefit is largest when you have realized gains this year or expect them soon. Without gains, you are limited to the $3,000 annual deduction plus carryforwards.
  • The position is in a taxable account. Harvesting does nothing inside a 401(k), IRA, or Roth, because those accounts are already tax-sheltered.
  • You still believe in the exposure. If you want to stay in the market, plan the replacement security in advance to avoid a wash sale.
  • Watch your basis reset. Buying back a similar asset at a lower price lowers your basis, which can mean a larger gain later. Harvesting defers tax; it rarely erases it outright.
  • Mind low-bracket years. If you expect to be in the 0% long-term rate later, harvesting a long-term loss now may waste it.

In short, the tactic rewards investors who are intentional. It punishes those who chase the deduction without thinking about the trade behind it.

What about crypto losses?

Digital assets deserve a separate note because the rules are unsettled. The IRS treats cryptocurrency as property, so a sale at a loss is a deductible capital loss like any other. As of 2026, the wash sale rule under Section 1091 refers to “stock or securities,” and the IRS has not issued definitive guidance applying it to crypto. Many investors have therefore sold a token at a loss and repurchased it right away. That said, Congress has repeatedly proposed extending the rule to digital assets, so the treatment could change. Confirm the current position before you assume an immediate repurchase is safe.

Where this fits in a high earner’s plan

Harvesting losses works best as one gear in a larger machine rather than a year-end scramble. It pairs naturally with the other moves high earners use to manage gains and build wealth on a tax-favored basis. If you hold appreciated positions and give to charity, our guide to charitable bunching with a donor-advised fund shows how to donate winners and skip the embedded gain entirely. If you own startup equity, review how the exclusion works in our piece on QSBS and the Section 1202 exclusion. Used together, these approaches form a system rather than a set of isolated trades.

For the official rules, the IRS explains the basics in its overview of capital gains and losses, and the wash sale rules and reporting details appear in IRS Publication 550. Both are worth reading before you rely on a harvested loss for a specific sale.

Frequently asked questions

Can I harvest losses at any time of year?

Yes. Although many investors act in December, losses can be harvested whenever a position is underwater and the trade fits your plan. Acting earlier can also give you time to manage the 30-day wash sale window on both sides of the sale.

Do harvested losses expire if I do not use them?

No. Capital loss carryforwards have no expiration date for federal purposes. They continue to offset future gains and up to $3,000 of ordinary income each year until they are fully used.

Does harvesting a loss hurt my long-term returns?

Not by itself, provided you stay invested through a comparable replacement. The main long-term effect is a lower basis on the new position, which defers rather than eliminates tax on future gains.

Your next step

If you hold losing positions in a taxable account and expect gains this year, review them now rather than in the final days of December. Start by listing your realized gains, then match them against unrealized losses and plan any replacement trades in advance to avoid a wash sale.

For more strategies you can put to work this year, download our free guide, Top 5 Tax Strategies for High-Income Earners. When you are ready for the full framework of more than 100 strategies, explore the ETS Playbook.

The strategies described here are general educational information about the U.S. tax code. Individual results vary based on income, holding period, account type, state law, and other factors. This is not personalized tax, legal, or financial advice. Consult a licensed tax professional before implementing any strategy.

At Executive Tax Strategy, we know most high earners overpay the IRS every single year, not because they have to, but because they file and never plan. We hand entrepreneurs, investors, and business owners the same proactive, legal strategies the wealthy use to keep more of what they earn. The tax code rewards the people who plan and punishes the ones who wait, so don’t be the one who waits. Stop just filing. Start planning.

 

Share this post:

Table of Contents

Related Post :