You Want to Harvest Two Losses. Harvesting One Blocks the Other.
India's wash sale rule: You cannot harvest a loss on a stock and then repurchase the same stock within 30 days. If you do, the loss is disallowed for tax purposes.
This rule exists to prevent using tax harvesting as a 'free' way to reset your cost basis without permanently exiting a position.
For most investors, this rule is straightforward to follow. You harvest a loss, avoid the stock for 30 days, and move on.
But here's where it gets tricky: what happens when you have losses in related positions and need to manage them strategically?
The Paradox Scenario
You own:
- Stock A (Nifty 50 index stock): -₹15,000 unrealized loss
- Stock B (Similar sector, similar fundamentals): -₹22,000 unrealized loss
- Index fund tracking Nifty (holds both A and B): Unrealized gains
Your strategy: 'I'll harvest losses from Stock A and Stock B to offset my gains elsewhere.'
But here's the trap:
If you harvest Stock A, the wash sale rule prevents you from buying Stock A again for 30 days. But your index fund automatically buys it (because it rebalances/tracks Nifty).
Technically, you may have triggered a wash sale without realizing it.
Or, more realistically:
You harvest Stock A, expecting to repurchase it after 30 days. But before the 30 days are up, your CA tells you: 'Wait, if you harvest Stock B as well, and then try to rebalance your portfolio with both, you might have wash sale issues.'
So you're forced to choose: harvest Stock A, or harvest Stock B. You can't do both without complicated workarounds.
You lose ₹7,000 in tax savings because you harvested only one instead of both.
Why Manual Investors Hit This Trap
Most DIY tax planning doesn't account for wash sale interactions between holdings.
Your spreadsheet might show:
- Stock A: -₹15,000 loss (harvestable)
- Stock B: -₹22,000 loss (harvestable)
Your instinct: 'Harvest both.'
But you don't track:
- Which trades trigger wash sales on which other positions
- Whether your index fund or other auto-rebalancing could trigger unintended wash sales
- What the optimal harvest sequence is when you factor in wash sale delays
So you might harvest Stock A, then discover (days later) that harvesting Stock B would create wash sale issues, and now you're stuck.
Or you avoid harvesting either, to be safe, and miss both tax-saving opportunities.
An optimizer avoids this by:
- Evaluating wash sale rules across your entire holdings
- Identifying which combinations of harvests create wash sale conflicts
- Recommending an optimal sequence that avoids the trap
- Suggesting repurchase timing that doesn't trigger unintended wash sales
Real Example: The ₹8,000 Loss
Here's a real (anonymized) case:
Investor owns:
- Reliance Industries: -₹18,000 loss
- TCS (IT sector peer): -₹12,000 loss
- Nifty 50 index fund (holds both Reliance and TCS): +₹45,000 gain
Manual approach: 'Harvest both losses. They're separate positions.'
Reality: When you harvest Reliance, you cannot repurchase Reliance for 30 days. But you want to maintain Nifty index exposure. Your only option: temporarily reduce index fund holdings during the 30-day period.
Or: Let the index fund buy back Reliance automatically on rebalancing days, which triggers a wash sale, disallowing the loss.
Result: You can only harvest one loss cleanly (TCS), and Reliance loss is either disallowed or requires complex timing.
Tax impact: ₹12,000 loss (TCS) saves ₹3,000 (at 25% blended rate). But the ₹18,000 Reliance loss is either lost or complicated.
Optimal approach (what an optimizer would recommend): Harvest TCS, hold off on Reliance for 2 months, then harvest Reliance separately when you can commit to staying out of Nifty index for 30 days, or harvest Reliance alongside a plan to replace index exposure with a different fund temporarily.
Result: Both losses harvested cleanly, ₹7,500 in total tax savings (vs. ₹3,000 if you only harvest TCS).
How Optimizers Handle Wash Sales
A good tax optimizer with wash sale awareness:
- Maps the wash sale universe. Understands which positions could trigger wash sales if combined.
- Evaluates sequences. Tests different harvest orderings to find which one avoids unintended wash sales.
- Plans repurchase timing. Tells you not just what to harvest, but when to repurchase and in what order.
- Handles equivalent positions. Knows that an index fund holding the same stock as your direct holding could create wash sale issues.
- Recommends alternatives. Suggests substitute holdings if a direct repurchase would trigger a wash sale.
The output is a harvest plan that is not just tax-optimal, but also practically executable without unexpected wash sale traps.
See how this applies to your portfolio
Upload your Zerodha or Groww reports and get personalized recommendations in under 2 minutes.
Analyze My Portfolio FreeFrequently Asked Questions
What is India's wash sale rule?
India's wash sale rule prohibits harvesting a loss on a stock and then repurchasing the same stock within 30 days. If you violate this rule, the loss is disallowed for tax purposes. The rule exists to prevent using tax harvesting as a free way to reset cost basis.
Can an index fund trigger a wash sale if I sold a stock?
Potentially, yes. If you harvest a loss on Stock A and then your index fund (which holds Stock A) automatically buys it back during rebalancing within 30 days, you may have triggered an unintended wash sale. This is a hidden trap many investors miss.
What is the 'wash sale paradox'?
The paradox occurs when harvesting one loss prevents you from harvesting another due to wash sale interactions. For example, if both stocks are in an index fund you hold, harvesting both might create wash sale issues, forcing you to choose one and miss the other's tax savings.
How do I avoid wash sale traps?
Track which stocks you harvest and when. Avoid repurchasing the same stock for 30 days. If you hold index funds containing the stock, consider temporarily reducing index fund exposure or substituting a different fund. For complex portfolios, use a tool that evaluates wash sale interactions automatically.
Can I substitute a similar stock to avoid a wash sale?
Yes, but be careful. You can sell Stock A at a loss and buy a similar (but not substantially identical) stock. However, tax authorities scrutinize 'similar' closely. A safer approach is to wait 30 days or temporarily hold cash/different fund exposure.
How much do wash sale mistakes typically cost?
A single wash sale mistake can cost ₹2,000-₹8,000 in lost tax savings. If you repeatedly hit wash sale traps across multiple harvests (which is common with manual tracking), you could miss ₹10,000+ annually.