Tax Loss Harvesting

Loss Harvesting vs Gain Harvesting: Which Strategy Should You Use?

9 min read ยท Updated 22 February 2026

Two Sides of the Same Coin

Tax loss harvesting and gain harvesting are complementary strategies that Indian stock investors can use to minimize their capital gains tax. While loss harvesting focuses on selling unprofitable holdings to offset gains, gain harvesting is about strategically booking profits to use up the Rs 1,25,000 LTCG exemption.

Both strategies are legal, well-established, and widely used by informed investors. But they serve different purposes, apply in different situations, and have different risk profiles. Understanding when to use each and how to combine them can save you significantly more tax than using either strategy alone.

Loss harvesting reduces your tax bill by offsetting gains with losses. Gain harvesting prevents future tax liability by resetting your cost basis through the Rs 1,25,000 LTCG exemption. One is about saving tax today. The other is about avoiding tax tomorrow.

The best approach depends on your specific portfolio composition, the mix of gains and losses you have, and your investment horizon. This article compares both strategies side by side and provides a framework for deciding which to prioritize.

How Loss Harvesting Works

Tax loss harvesting involves selling holdings that are currently at a loss to create a realized capital loss. This loss offsets your realized capital gains, reducing your tax liability.

Key mechanics: - STCL offsets STCG at 20%, then LTCG at 12.5% - LTCL offsets only LTCG at 12.5% - You must have realized gains to offset; otherwise, the loss is carried forward - No wash sale rule in India means you can rebuy immediately

Loss harvesting is reactive. You are responding to poor-performing holdings in your portfolio by converting paper losses into tax-saving realized losses. It works best when you have both gains and losses in the same financial year.

The savings are immediate and quantifiable. If you have Rs 2,00,000 in STCG and you harvest Rs 1,00,000 in STCL, you save Rs 20,800 in tax. The money stays in your pocket, and you can reinvest the savings.

Loss harvesting has no cap on the amount you can harvest. You can book as much loss as your portfolio allows, and the entire amount offsets your gains (subject to the STCL/LTCL rules). Excess losses carry forward for up to 8 years.

How Gain Harvesting Works

Gain harvesting is the strategy of intentionally booking long-term capital gains up to Rs 1,25,000 per financial year to use up the LTCG exemption. Under Section 112A, the first Rs 1,25,000 of LTCG from listed equity in a financial year is completely tax-free.

Key mechanics: - Sell long-term holdings to realize up to Rs 1,25,000 in LTCG - Pay zero tax on the gains due to the exemption - Rebuy the same stocks immediately (no wash sale rule) - Your cost basis resets to the higher repurchase price - Future gains on the same stock are calculated from the new, higher cost basis

Gain harvesting is proactive. You are not responding to losses; you are actively booking gains to reset your cost basis. It works even when your portfolio has no losing positions.

The benefit is forward-looking. By resetting your cost basis, you reduce the taxable gain when you eventually sell the stock for real. If you hold a stock for 10 years and its value increases significantly, periodic gain harvesting prevents the accumulated LTCG from ballooning into a large tax liability.

The Rs 1,25,000 exemption is per financial year. If you do not use it, you lose it. This is what makes gain harvesting a use-it-or-lose-it strategy.

Side-by-Side Comparison

Here is a direct comparison of the two strategies across key dimensions:

Objective: Loss harvesting reduces current-year tax. Gain harvesting reduces future-year tax.

When to use: Loss harvesting when you have gains to offset and losing positions. Gain harvesting when you have long-term winners and unused LTCG exemption.

Tax saving: Loss harvesting saves 20% on STCL-STCG offset and 12.5% on LTCL-LTCG offset. Gain harvesting saves 12.5% on future LTCG by using the annual exemption.

Risk: Loss harvesting has minimal risk since you are selling losers. Gain harvesting involves selling winners and rebuying, with slippage risk.

Complexity: Loss harvesting can create carry-forwards. Gain harvesting resets cost basis, which is simpler.

Frequency: Loss harvesting is situational, based on portfolio losses. Gain harvesting should be done annually as a routine.

Best for: Loss harvesting is best for investors with active trading and mixed gains and losses. Gain harvesting is best for long-term buy-and-hold investors with growing portfolios.

Both strategies are compatible with each other. You can and should use both in the same financial year when the conditions are right.

Can You Do Both in the Same Year?

Absolutely. In fact, combining both strategies is the optimal approach. Here is the recommended priority order:

Priority 1: Harvest losses first. If you have realized capital gains and unrealized losses, book the losses to offset the gains. This provides an immediate, certain tax saving.

Priority 2: After loss harvesting, check your remaining LTCG. If your net LTCG (after loss set-offs) is below Rs 1,25,000, you have unused exemption space. Consider booking additional LTCG from winning stocks to use up the exemption. This is gain harvesting.

Example: You have Rs 3,00,000 in STCG and Rs 50,000 in LTCG. You harvest Rs 2,00,000 in STCL. After set-off, your STCG reduces to Rs 1,00,000 and your LTCG stays at Rs 50,000 (STCL fully absorbed by STCG). Your LTCG of Rs 50,000 is within the Rs 1,25,000 exemption, so it is tax-free. You have Rs 75,000 of unused exemption. You can now sell long-term winners to book an additional Rs 75,000 in LTCG, completely tax-free. This is gain harvesting.

By doing both, you reduce your current-year STCG tax by Rs 41,600 (loss harvesting) and avoid future LTCG tax on Rs 75,000 of gains (gain harvesting). The two strategies are complementary, not competing.

When Loss Harvesting Is Better

Loss harvesting is the superior strategy when:

  • You have substantial realized STCG. At 20%, the savings per rupee of loss are high. Harvesting Rs 3,00,000 in STCL saves Rs 62,400.
  • Your portfolio has deep unrealized losses. Stocks down 30% or more represent large potential tax savings with low opportunity cost (the stocks are already significantly impaired).
  • You are unlikely to hold the losing stocks long-term anyway. Selling a stock you were planning to exit and getting a tax benefit is a win-win.
  • Your LTCG is already above Rs 1,25,000. The exemption is fully used, so gain harvesting provides no additional benefit. But loss harvesting still reduces your taxable gains.

Loss harvesting is especially powerful in bear market years when many holdings are underwater. A broad market decline creates harvesting opportunities across the portfolio. Experienced investors treat market corrections as tax-saving opportunities.

The key advantage of loss harvesting over gain harvesting is the savings rate. STCL offsetting STCG saves at 20%, which is the highest capital gains tax rate for listed equity. Gain harvesting only saves at 12.5% and is capped at Rs 1,25,000.

When Gain Harvesting Is Better

Gain harvesting is the superior strategy when:

  • You have no capital losses. If your entire portfolio is profitable, there is nothing to harvest on the loss side. But the Rs 1,25,000 exemption is still available and should be used.
  • You are a long-term buy-and-hold investor. If you rarely sell stocks, your unrealized LTCG grows year after year. Without periodic gain harvesting, you accumulate a large taxable gain that hits you all at once when you finally sell.
  • Your annual LTCG is naturally below Rs 1,25,000. Each year that you do not use the exemption, it is lost forever. Gain harvesting ensures you use every rupee of the annual exemption.
  • You have a concentrated portfolio with a few big winners. Periodically harvesting gains from these positions resets the cost basis and prevents a massive tax bill when you eventually exit.

Gain harvesting is a more consistent, annual practice compared to loss harvesting, which depends on having both gains and losses. A disciplined investor should gain harvest every year as a default, and loss harvest whenever the opportunity arises.

The main limitation of gain harvesting is the Rs 1,25,000 annual cap. You cannot book more than Rs 1,25,000 in LTCG tax-free. Any LTCG above this is taxed at 12.5%.

The Optimal Combined Strategy

The best approach for most investors combines both strategies in a structured year-end process:

  • In January-February, review your portfolio for unrealized losses and your broker's P&L for realized gains.
  • Calculate the optimal loss harvesting plan: which losses to book, in what order, and what the tax saving is.
  • Execute loss harvesting transactions by mid-March.
  • After loss harvesting, recalculate your net LTCG position.
  • If net LTCG is below Rs 1,25,000, identify long-term winning stocks to sell for gain harvesting.
  • Execute gain harvesting to fully utilize the Rs 1,25,000 exemption.
  • Rebuy harvested stocks (both loss and gain harvested) to maintain portfolio allocation.
  • File ITR on time, reporting all transactions and claiming set-offs.

This combined approach maximizes both immediate tax savings (loss harvesting) and long-term tax efficiency (gain harvesting). TaxHarvestLab identifies both types of opportunities from your portfolio data and shows you the combined optimal plan.

Remember: loss harvesting provides a definite current-year saving, so it always takes priority. Gain harvesting is a bonus that you layer on top after the loss harvesting is complete.

See how this applies to your portfolio

Upload your Zerodha or Groww reports and get personalized recommendations in under 2 minutes.

Analyze My Portfolio Free

Frequently Asked Questions

Which is better, loss harvesting or gain harvesting?

Loss harvesting provides immediate tax savings at higher rates (20% for STCG) and takes priority. Gain harvesting provides future tax savings capped at Rs 1,25,000 per year. Ideally, you should do both.

Can I do both loss and gain harvesting in the same year?

Yes. First harvest losses to offset current gains. Then, if your LTCG is still below the Rs 1,25,000 exemption, harvest gains from long-term winners to use up the exemption and reset your cost basis.

What if I have no losses to harvest?

Focus on gain harvesting. Sell long-term winning positions to book up to Rs 1,25,000 in LTCG tax-free, then rebuy immediately. This resets your cost basis and prevents future tax accumulation.

๐Ÿค

Support Our Mission

TaxHarvestLab is free and always will be. Help us keep it that way for 10,000+ Indian investors.

10K+
Active Users
โ‚น0
Ads โ€ข Ever
Contribute Nowโ†’

One-time or monthly, your choice

Ready to optimize your capital gains tax?

TaxHarvestLab analyzes your actual broker data and shows you exactly what to sell โ€” and what to hold โ€” before March 31.

Analyze My Portfolio Free

Free forever. Works with Zerodha and Groww. Takes under 2 minutes.