· Updated March 2026 Tax Loss Harvesting Explained: Turn Losing Stocks Into Ta...
7 min read

Tax Loss Harvesting Explained: Turn Losing Stocks Into Tax Savings

No one likes seeing red in their portfolio. But what if those losing investments could actively save you money when tax season rolls around? That's the power of tax-loss harvesting.

This strategy isn't just for billionaires and hedge funds. Anyone with a taxable brokerage account can use it to offset gains, reduce their ordinary income tax, and keep more of their hard-earned money working for them in the market.

How Does Tax Loss Harvesting Work?

At its core, tax-loss harvesting is the practice of selling an investment that has lost value, replacing it with a similar investment to maintain your asset allocation, and then using the realized loss to offset taxes on both gains and income.

Here is the step-by-step process:

  1. Identify Losers: Review your taxable portfolio for assets trading below their original purchase price (your cost basis).
  2. Sell to Realize the Loss: Execute a sell order. What was previously an "unrealized" or "paper" loss is now a "realized" loss recognized by the IRS.
  3. Offset Gains: Use the realized losses to cancel out realized capital gains you may have incurred during the year.
  4. Reinvest: Take the cash from the sale and buy a similar—but not identical—asset to keep your portfolio balanced and positioned for a market recovery.

Tax Loss Harvesting Rules You Must Follow

While the concept is straightforward, the IRS has strict rules governing how and when you can claim these losses. Understanding these tax loss harvesting rules is critical to successfully executing the strategy.

The Wash Sale Rule (The 30-Day Trap)

The most crucial regulation is the wash sale rule. The IRS won't let you sell a stock for a tax deduction and immediately buy it back. If you purchase a "substantially identical" security within 30 days before or 30 days after the sale, the wash sale rule is triggered.

Warning: If you trigger a wash sale, your loss is disallowed for the current tax year. Instead, the loss is added to the cost basis of the newly purchased shares.

To avoid the wash sale rule while staying invested, you must buy a similar but not identical asset. For example, if you sell the SPDR S&P 500 ETF (SPY) at a loss, you cannot immediately buy back SPY. However, you could buy the Vanguard S&P 500 ETF (VOO) or a Russell 1000 ETF to maintain your large-cap US stock exposure.

Short-Term vs. Long-Term Losses

The IRS categorizes capital gains and losses by how long you held the asset:

When offsetting gains, like must offset like first. Short-term losses must first offset short-term gains, and long-term losses must first offset long-term gains. If you have excess losses in one category, they can then cross over to offset gains in the other category.

How Much You Can Deduct ($3,000/yr + Carry Forward)

What happens if your losses exceed all your capital gains for the year? This is where tax-loss harvesting becomes highly valuable.

You can use up to $3,000 of excess capital losses ($1,500 if married filing separately) to offset your ordinary income (like your salary) each year. Depending on your tax bracket, this $3,000 deduction can save you over $1,000 in actual taxes.

If your net losses exceed $3,000, the remaining balance isn't lost. You can carry forward the remaining losses indefinitely into future tax years.

Tax Loss Harvesting Calculator

Estimate your potential tax savings by inputting your realized gains, losses, and estimated tax brackets.

Net Gain/Loss:-$5,000
Losses Used to Offset Gains:$0
Losses Deducted from Income:$3,000
Losses Carried Forward:$2,000
Estimated Tax Savings:$720

*Calculations are simplified estimates and assume all gains/losses are short-term for maximum possible benefit visualization. Consult a tax professional.

When It Makes Sense (And When It Doesn't)

Tax-loss harvesting is a powerful tool, but it's not a universal solution.

It makes sense when:

It doesn't make sense when:

Common Mistakes

Beyond the wash sale rule, investors often make a few critical errors. First, letting the "tax tail wag the investment dog." Don't sell an investment you fundamentally believe in just to get a minor tax deduction, especially if you can't find a suitable replacement. Second, triggering wash sales across accounts. The wash sale rule applies across all your accounts, including your IRA or your spouse's accounts. If you sell a stock for a loss in your taxable account, but your IRA automatically reinvests dividends to buy the same stock the next day, you've triggered a wash sale.

Automating with Robo-Advisors

Keeping track of cost basis, wash sale windows, and cross-account trading can be exhausting. This is why many investors turn to robo-advisors like Betterment or Wealthfront.

These platforms offer automated tax-loss harvesting algorithms that scan your portfolio daily. When an asset drops by a specific percentage, the algorithm automatically sells it, buys a highly correlated alternative ETF to avoid wash sales, and banks the loss for tax season—all without requiring manual intervention.

FAQ: Tax Loss Harvesting

Tax loss harvesting explained?

Tax loss harvesting is an investment strategy where you sell securities at a loss to offset a capital gains tax liability. It allows you to reduce your overall tax bill while maintaining your market position by buying a similar, but not substantially identical, asset.

How does tax loss harvesting work?

It works by selling a stock or ETF that has dropped in value. The realized loss is then used to offset any realized capital gains from other investments. If your losses exceed your gains, you can offset up to $3,000 of ordinary income per year, and carry forward any remaining losses to future years.

What are the key tax loss harvesting rules?

The most important rules include the wash sale rule, which prevents you from claiming the loss if you buy a 'substantially identical' asset within 30 days before or after the sale. Also, short-term losses first offset short-term gains, and long-term losses first offset long-term gains.

How much can you deduct with tax loss harvesting?

If your capital losses exceed your capital gains, you can deduct up to $3,000 of those losses against your ordinary income in a given tax year. Any losses beyond that $3,000 limit can be carried forward indefinitely into future tax years.

Is tax loss harvesting worth it?

It is generally worth it if you have highly taxed short-term capital gains, are in a high income tax bracket, or have significant portfolio losses. It may not make sense if you are in a very low tax bracket where capital gains taxes are already 0%, or if transaction costs outweigh the tax benefits.

Data Sources & Methodology

Tax and retirement account information based on current IRS/CRA regulations and guidelines. Consult a qualified tax professional for advice specific to your situation.

Cite This Page

Westmount Fundamentals. "Tax Loss Harvesting Explained: Turn Losing Stocks Into Ta...." westmountfundamentals.com/guide-tax-loss-harvesting, 2026.

Related Pages

Tax-Loss Harvesting CalculatorTax-Efficient Investing: Complete Strategy GuideUnderstanding Market Cycles: When to Be Greedy and When to BThe Complete Guide to ETF Investing (2026)