Case Studies

Case Study: Why Pure Short-Term Losses Should Be Harvested Before Mixed Lots

9 min read read ยท Updated 22 February 2026

The Investor's Situation

Kavita is an active investor who has built positions in multiple stocks over time. She regularly adds to her holdings through SIPs and lump-sum purchases, which means some of her stocks have multiple purchase lots at different prices and holding periods.

As the financial year draws to a close, Kavita has Rs 10,000 in realized short-term capital gains (STCG) that she wants to offset. She identifies two stocks in her portfolio that are currently in loss:

Stock PURELOSS: - Single purchase lot, bought 6 months ago - Current unrealized loss: Rs 5,000 - Entirely short-term (one lot, held less than 12 months)

Stock MIXEDLOSS: - Multiple purchase lots at different dates - Oldest lot: bought 18 months ago (long-term) - Newest lot: bought 4 months ago (short-term) - Net unrealized loss across all lots: Rs 10,000 - Mix of long-term and short-term lots

Kavita's instinct is to harvest MIXEDLOSS first because the total loss is larger (Rs 10,000 vs Rs 5,000). But TaxHarvestLab recommends the opposite order. Here is why.

What Most Investors Think

Kavita's reasoning is straightforward: "MIXEDLOSS has a bigger loss (Rs 10,000), so I should harvest it first to get the maximum offset against my Rs 10,000 STCG."

This thinking treats all losses as equal -- a Rs 10,000 loss is a Rs 10,000 loss, regardless of the underlying lot structure. But in reality, the composition of a loss matters enormously because of how the FIFO (First In, First Out) rule works in India.

When Kavita sells shares of MIXEDLOSS, the income tax department considers the oldest lot sold first, regardless of which specific shares Kavita intended to sell. This is the FIFO rule, and it applies automatically to all stock sales.

The problem is that the oldest lot in MIXEDLOSS is long-term. So when Kavita sells to "harvest the loss," the FIFO rule forces her to sell the long-term lot first. This long-term lot might actually be in profit (even though the overall position is in loss), which would create an unexpected LTCG tax liability.

This is the "FIFO sell-through" problem, and it trips up many investors who hold multiple lots of the same stock.

What TaxHarvestLab Identifies

TaxHarvestLab analyzes the lot-level structure of both positions and flags PURELOSS as the safer and cleaner harvesting candidate. Here is the lot-by-lot analysis:

PURELOSS Analysis: - Lot 1: Bought 6 months ago at Rs 1,05,000. Current value: Rs 1,00,000. Loss: Rs 5,000 (short-term). - Classification: Pure short-term position. Single lot. - Harvesting is clean: sell the position, realize Rs 5,000 STCL, no complications.

MIXEDLOSS Analysis: - Lot 1 (oldest): Bought 18 months ago at Rs 50,000. Current value: Rs 55,000. Gain: Rs 5,000 (long-term). - Lot 2: Bought 10 months ago at Rs 60,000. Current value: Rs 48,000. Loss: Rs 12,000 (short-term). - Lot 3 (newest): Bought 4 months ago at Rs 30,000. Current value: Rs 27,000. Loss: Rs 3,000 (short-term). - Net position: Rs 10,000 loss overall. But under FIFO, selling triggers Lot 1 first, which is actually a Rs 5,000 LTCG.

If Kavita sells all MIXEDLOSS shares, she realizes: Rs 5,000 LTCG (Lot 1) + Rs 12,000 STCL (Lot 2) + Rs 3,000 STCL (Lot 3) = net Rs 10,000 STCL overall, but with a Rs 5,000 LTCG she did not expect.

Tax Calculation: Both Scenarios

ScenarioHarvest PURELOSS OnlyHarvest Both
Realized STCG (original)Rs 10,000Rs 10,000
STCL from PURELOSSRs 5,000Rs 5,000
STCL from MIXEDLOSSRs 0Rs 15,000
LTCG from MIXEDLOSS (FIFO)Rs 0Rs 5,000
Net Taxable STCGRs 5,000Rs 0 (excess STCL offsets LTCG)
Net LTCGRs 0Rs 5,000 - excess STCL offset
STCG Tax @ 20%Rs 1,000Rs 0
LTCG TaxRs 0Rs 0 (within exemption)
Total TaxRs 1,000Rs 0
ComplexityLowHigh (FIFO sell-through)

The Outcome: Simplicity vs Maximum Savings

This case study presents a trade-off that investors frequently face:

Option A (Harvest PURELOSS only): Save Rs 1,000 with zero complications. The trade is clean -- one lot, one sale, one rebuy. Tax drops from Rs 2,000 to Rs 1,000.

Option B (Harvest both): Save Rs 2,000 total, but with the complexity of FIFO sell-through on MIXEDLOSS. Kavita needs to sell through the long-term lot first, creating an unexpected LTCG, and then the excess STCL from the short-term lots offsets that LTCG. The net result is better, but the path is more complex.

For most retail investors, Option A is the pragmatic choice. The extra Rs 1,000 savings from Option B requires understanding FIFO at the lot level, managing the unexpected LTCG, and ensuring the cross-term offsets work correctly on the ITR. For larger amounts, the extra effort might be worthwhile; for smaller amounts, simplicity wins.

TaxHarvestLab presents both options with full transparency, showing the lot-level breakdown and the FIFO implications. It lets the investor choose their comfort level. But it always recommends pure short-term positions as Priority 1 for harvesting.

Key Takeaway

When you have multiple loss positions to choose from, prioritize harvesting in this order:

  • First: Pure short-term losses (single lot, all short-term). These are the cleanest to harvest with no FIFO complications.
  • Second: Pure long-term losses (single lot, all long-term). Also clean, but can only offset LTCG.
  • Third: Mixed lots (multiple lots with different holding periods). These carry FIFO sell-through risk and require lot-level analysis.

The FIFO rule is the hidden complexity in tax harvesting. When a stock has multiple purchase lots, you cannot choose which lot to sell. The oldest lot is always deemed sold first. If the oldest lot is in a different term category (long-term vs short-term) than what you intended, the tax consequences can be unexpected.

TaxHarvestLab performs lot-level FIFO analysis automatically, flagging stocks where sell-through creates complications. It computes the exact gain or loss on each lot that would be triggered by a sale, accounting for FIFO ordering. This gives you full visibility into the consequences of each harvesting decision before you execute it.

For most investors, the simple rule is: harvest the easy wins first. Pure positions with clear, single-lot losses are always the safest starting point.

Frequently Asked Questions

FIFO and lot-level analysis are among the most technically nuanced aspects of tax harvesting in India. The questions below address common concerns about lot selection, FIFO implications, and when the complexity of mixed-lot harvesting is worth the effort.

For a comprehensive guide to FIFO and its impact on tax harvesting, see our dedicated FIFO article linked in the related articles section.

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

Can I choose which lot to sell in India, or is FIFO mandatory?

FIFO is mandatory for income tax purposes in India. When you sell shares of a stock you purchased in multiple lots, the Income Tax Act considers the earliest purchased shares as sold first. You cannot choose to sell specific lots. Some brokers allow you to select lots for internal tracking, but for tax purposes, FIFO applies regardless of the broker's internal lot selection.

What exactly is FIFO sell-through?

FIFO sell-through occurs when you want to sell short-term lots (which are in loss), but FIFO forces you to sell older long-term lots first (which may be in profit). To access the short-term lots, you must 'sell through' the long-term lots. This can create unintended long-term capital gains even though your overall intention was to harvest a loss.

How does TaxHarvestLab handle mixed lots?

TaxHarvestLab analyzes each stock at the lot level. For each stock, it identifies every purchase lot, its date, cost, current value, and holding period. When calculating the impact of selling, it applies FIFO ordering automatically and shows you the gain or loss on each lot that would be triggered. If a sell-through scenario exists, the tool warns you and quantifies the unexpected LTCG so you can make an informed decision.

Should I always avoid harvesting mixed-lot positions?

Not always. Mixed-lot harvesting can still be beneficial if the net loss after FIFO sell-through exceeds the unintended gains. In Kavita's case, the net result of harvesting MIXEDLOSS was still positive -- Rs 15,000 STCL minus Rs 5,000 LTCG = Rs 10,000 net benefit. The point is to be aware of the complexity, not to avoid it entirely. When the amounts are large enough, the extra savings justify the extra complexity.

๐Ÿค

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.