United Tax

What is Tax Loss Harvesting? Rules, Strategy & Examples Explained

July 13, 2026| Author: United Tax
What is Tax Loss Harvesting? Rules, Strategy & Examples Explained

Every investor knows the sting of watching a holding slide into the red. But a losing investment doesn't have to be a total loss. With the right approach, that decline can quietly work in your favor at tax time. The method that turns a money-losing position into a tax advantage has a name, and understanding it could keep thousands of dollars in your pocket instead of sending them to the IRS.

For individuals and small to mid-sized businesses across the USA, it is one of the most practical tools available for trimming a tax bill while being fully invested.

What is Tax Loss Harvesting?

What is tax loss harvesting? It's a strategy where you sell an investment that has dropped below its purchase price, lock in that loss on paper, and use it to offset taxable gains from other investments.

The losses you "harvest" reduce your taxable income, so less of your money goes toward taxes and more is invested and working for you.

Here's the core idea: the IRS lets you net your investment losses against your investment gains. If you sold one stock for a $10,000 profit and another for a $10,000 loss in the same year, those two cancel out, and you owe nothing on the gain. That's tax loss harvesting in its simplest form.

When your losses exceed your gains, the benefit extends further. You can apply up to $3,000 of net losses against your ordinary income each year ($1,500 if married filing separately). Any losses left over carry forward indefinitely to future tax years, ready to offset gains down the road.

To be invested after selling, most people immediately buy a comparable investment. This keeps your portfolio's overall strategy intact while still capturing the tax benefit. The position changes; your market exposure is roughly the same.

How the Numbers Actually Work

Knowing how to tax-loss harvest starts with knowing how gains and losses are categorized. The IRS treats short-term and long-term holdings differently.

TypeHolding PeriodTax Treatment (2025)
Short-term gainOne year or lessTaxed as ordinary income (up to 37%)
Long-term gainMore than one yearTaxed at 0%, 15%, or 20%
Short-term lossOne year or lessOffsets short-term gains first
Long-term lossMore than one yearOffsets long-term gains first

The netting follows a specific order. Short-term losses offset short-term gains, and long-term losses offset long-term gains. If losses remain in one category, they spill over to offset the other. This pairing matters because short-term gains carry the highest tax rate. So using losses to neutralize them delivers the biggest savings.

This category matching is at the heart of long-short tax loss harvesting. A thoughtful investor pairs losses against the gains taxed at the steepest rates first.

A Tax Loss Harvesting Example

A concrete tax loss harvesting example makes the mechanics click. Suppose Maria, a small business owner in Texas, has the following activity in one tax year.

1. Sold shares of a tech fund for a $15,000 long-term gain.

2. Sold an energy stock that dropped, realizing a $9,000 long-term loss.

3. Has a $2,000 short-term gain from a quick trade.

Without harvesting, Maria owes taxes on the full $15,000 long-term gain plus the $2,000 short-term gain. By harvesting the $9,000 loss, her long-term gain shrinks to $6,000. At a 15% long-term capital gains rate, that loss saves her $1,350 in taxes. She then reinvests the proceeds into a similar energy fund, keeping her portfolio balanced.

Now imagine her loss had been $20,000 instead. After wiping out the $15,000 long-term gain and $2,000 short-term gain, she'd have $3,000 left. She could deduct that against her ordinary income, and if anything remained, it would carry forward to next year.

Tax Loss Harvesting Rules

The IRS sets clear tax loss harvesting rules and the most important one is the wash-sale rule. Break it and your loss gets disallowed.

The tax-loss harvesting 30-day rule states that you cannot claim a loss if you buy the same or a "substantially identical" security within 30 days before or after the sale. That creates a 61-day window (30 days on each side, plus the sale date itself) during which you must avoid repurchasing the same asset.

Buy back too soon and the disallowed loss gets added to the cost basis of your new shares instead of being deducted now. The deduction isn't lost forever, but it's deferred. It defeats the purpose of harvesting in the current year.

Points to Keep in Mind

  • The rule applies across all your accounts, including your spouse's accounts and IRAs.
  • "Substantially identical" is the gray area. Two index funds tracking the same benchmark may qualify; a fund tracking a different index usually won't.
  • Buying a comparable-but-distinct investment lets you stay in the market without violating the rule.

How to Tax Loss Harvest: A Practical Sequence

1. Review your portfolio: Identify positions trading below their cost basis. Year-end is a common checkpoint, though opportunities appear throughout the year during market dips.

2. Confirm your realized gains: Tally up any gains you've already locked in so you know how much loss you need to offset them.

3. Sell the losing position: Realize the loss by selling, documenting the date and amount for your records.

4. Reinvest in a comparable asset: Maintain your market exposure by buying a similar investment that isn't substantially identical.

5. Track the 30-day window: Mark your calendar to avoid repurchasing the original security inside the 61-day window.

6. Report everything on Schedule D: Losses and gains flow through Form 8949 and Schedule D when you file.

Pros and Cons

ProsCons
Reduces current-year tax liabilityRequires careful tracking to avoid wash sales
Offsets up to $3,000 of ordinary incomeLowers your cost basis, raising future gains
Unused losses carry forward indefinitelyTransaction costs can chip away at savings
Keeps you invested through replacementsLimited value in tax-advantaged accounts

One subtle point deserves attention: harvesting lowers the cost basis of your replacement investment. It is a larger taxable gain when you eventually sell it. The strategy doesn't eliminate taxes outright. It defers them and shifts them to a future date.

Another consideration: this technique only matters in taxable brokerage accounts. Gains and losses inside a 401(k) or IRA grow tax-deferred or tax-free.

When the Strategy Makes the Most Sense

Tax loss harvesting delivers the strongest results in specific situations. It shines for investors with significant short-term gains taxed at high ordinary rates, since neutralizing those gains produces the largest savings. It also rewards anyone in a higher tax bracket, where each dollar of offset is worth more.

Market downturns create natural openings. When prices fall broadly, harvestable losses appear across portfolios, letting disciplined investors convert temporary declines into lasting tax benefits. Business owners with variable income can use harvested losses to manage which years carry heavier tax burdens.

That said, the right tax loss harvesting strategy depends on your full financial picture. The wash-sale rules, the netting order, and the long-short tax loss harvesting nuances all interact in ways that reward expert handling.

Work With United Tax

Understanding what tax loss harvesting is takes you halfway. Executing it cleanly is where real savings get won or lost.

At United Tax, we work with individuals and small to mid-sized businesses across the USA to build personalized strategies that fit your situation.

We'll review your portfolio, identify harvestable losses, keep you clear of wash-sale violations, and coordinate the timing so your tax loss harvesting strategy pays off this year and in the years ahead.

Reach out to United Tax today. Let us turn your investment losses into a smarter tax outcome.

Tax laws are subject to change and individual circumstances vary. This article is intended for informational purposes only and should not be considered legal, investment, or tax advice. Consult a qualified tax professional regarding your specific situation.

FAQs

Is tax-loss harvesting worth it?

For investors in higher tax brackets with significant taxable gains, the savings usually outweigh the effort. Those in the 0% long-term capital gains bracket or with minimal gains see little benefit from the strategy.

Can tax loss harvesting offset short-term capital gains?

Yes. Short-term losses offset short-term gains first, which is valuable since short-term gains face ordinary income rates up to 37%. Excess losses then spill over to offset long-term gains.

Does tax-loss harvesting apply to cryptocurrency?

Currently, the wash-sale rule does not cover crypto, since the IRS classifies it as property rather than a security.

Is there a deadline to harvest losses each year?

You must sell the losing position by December 31 to claim the loss for that tax year. Settlement timing matters. You need to act several days before year-end to be safe.

Can businesses use tax-loss harvesting too?

Yes. Businesses and pass-through entities holding investments in taxable accounts can harvest losses against capital gains. C-corporations follow different netting rules. They apply capital losses only against capital gains.