The Investor's Situation
Meet Priya, a salaried professional who has been actively investing in Indian equities for the past three years. During the current financial year, Priya sold some of her winning positions and realized short-term capital gains (STCG) of Rs 1,00,000. These were stocks she had held for less than 12 months before selling.
At the same time, Priya holds another stock in her portfolio that is currently trading at a loss. She bought this stock eight months ago at Rs 2,40,000, and it is now worth Rs 1,60,000 -- an unrealized short-term capital loss of Rs 80,000. The company's fundamentals remain sound, and Priya believes the stock will recover over the next 12 to 18 months.
Here is the snapshot of her situation at year-end:
- Realized STCG: Rs 1,00,000
- Unrealized STCL: Rs 80,000 in another stock
- No long-term gains or losses
- Tax liability without any action: Rs 20,000 (at 20% STCG rate)
What Most Investors Think
Priya's first instinct is one shared by the majority of retail investors: "I should hold on to my losing position because it will probably recover. Selling it now would mean locking in a loss, and that feels like admitting defeat."
This emotional response is deeply rooted in what behavioural finance researchers call "loss aversion." Investors feel the pain of a loss roughly twice as intensely as the pleasure of an equivalent gain. So even when there is a clear financial advantage to selling, the emotional discomfort of realizing a loss prevents action.
Priya also worries that if she sells the stock, she will miss the eventual recovery. She pictures a scenario where the stock bounces back sharply the very next week. This fear of missing out compounds her reluctance to act.
The result? She does nothing. She files her taxes, pays Rs 20,000 on her Rs 1,00,000 STCG, and carries her losing stock into the next financial year. She never considers that selling the stock and immediately buying it back is a perfectly legal and widely used strategy in India.
What TaxHarvestLab Identifies
When Priya uploads her portfolio to TaxHarvestLab, the tool instantly identifies an opportunity. It sees two key data points:
- Rs 1,00,000 in realized STCG that will be taxed at 20%
- Rs 80,000 in unrealized STCL available for harvesting
The tool recognizes that short-term capital losses can be set off against short-term capital gains under Section 70 of the Income Tax Act. By booking the Rs 80,000 loss before March 31, Priya can reduce her taxable STCG from Rs 1,00,000 to just Rs 20,000.
Critically, TaxHarvestLab also flags that India has no wash sale rule. Unlike the United States, where you must wait 30 days before rebuying a sold security, Indian tax law imposes no such restriction. Priya can sell the losing stock today and buy it back the very next minute at essentially the same price. Her portfolio exposure remains identical; only her tax liability changes.
The Recommended Action
TaxHarvestLab recommends the following steps for Priya:
- Step 1: Sell the entire holding in the losing stock at the current market price, realizing an STCL of Rs 80,000.
- Step 2: Immediately repurchase the same stock at the prevailing market price. Because there is no wash sale rule in India, this is perfectly legal.
- Step 3: File the Rs 80,000 STCL in your ITR. It will automatically offset against your Rs 1,00,000 STCG.
The repurchase ensures that Priya's portfolio remains exactly the same. She still owns the same number of shares in the same company. If the stock recovers as she expects, she participates fully in that upside. The only change is that her cost basis resets to the lower purchase price, which is the current market price.
This means if the stock later recovers to Rs 2,40,000 (her original purchase price), she will have a fresh taxable gain at that point. But she has already saved Rs 16,000 in taxes today -- money she can reinvest and compound. The time value of money makes today's savings more valuable than a potential future tax liability.
Step-by-Step Tax Calculation
| Item | Without Harvesting | With Harvesting |
|---|---|---|
| Realized STCG | Rs 1,00,000 | Rs 1,00,000 |
| STCL Booked | Rs 0 | Rs 80,000 |
| Net Taxable STCG | Rs 1,00,000 | Rs 20,000 |
| STCG Tax Rate | 20% | 20% |
| Tax Payable | Rs 20,000 | Rs 4,000 |
| Tax Saved | Rs 16,000 | |
The Outcome: Rs 16,000 Saved
By following TaxHarvestLab's recommendation, Priya's tax liability drops from Rs 20,000 to just Rs 4,000. That is a saving of Rs 16,000 -- an 80% reduction in her capital gains tax bill for the year.
Let us put this in perspective. Rs 16,000 reinvested at a 12% annual return compounds to approximately Rs 49,700 over 10 years. The cost of inaction is not just the Rs 16,000 today; it is the future value of that money compounding over her investing lifetime.
Priya's portfolio exposure did not change at all. She still holds the same stock, in the same quantity, with the same upside potential. The only difference is that the government gets Rs 16,000 less, and she gets Rs 16,000 more.
The entire operation took Priya about 15 minutes: 5 minutes to review TaxHarvestLab's recommendation, 5 minutes to place the sell order, and 5 minutes to place the buy order. That works out to over Rs 64,000 per hour of effort -- a return on time that very few financial activities can match.
Key Takeaway
The principle illustrated by Priya's case is simple but powerful: unrealized losses sitting in your portfolio are a wasted tax asset. Every rupee of unrealized loss that you hold past March 31 without a corresponding strategy is a rupee you could have used to offset gains and reduce your tax bill.
This does not mean you should sell every losing position blindly. The decision depends on whether you have realized gains to offset. In Priya's case, she had Rs 1,00,000 in STCG, making the Rs 80,000 STCL immediately valuable. If she had no realized gains, the calculus would be different.
The absence of a wash sale rule in India makes this strategy especially clean. You are not forced to stay out of the stock for any period. You sell, you buy back, and you continue your investment journey -- just with a lower tax bill.
TaxHarvestLab automates this analysis across your entire portfolio, identifying every harvesting opportunity and quantifying the exact rupee savings. You do not need to be a tax expert; you just need to upload your holdings and follow the recommendations.
Frequently Asked Questions
Investors commonly ask whether this strategy is legal, whether it works for delivery trades, and how it affects future taxes. We address the most common questions below. The key point to remember is that tax loss harvesting is a well-established, legal strategy used by investors worldwide, and India's lack of a wash sale rule makes it even more straightforward for domestic equity investors.
If you have additional questions about how STCL offsets work or want to explore whether your portfolio has similar opportunities, TaxHarvestLab's free analysis tool can provide personalized recommendations in under a minute.
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
Is it legal to sell a stock at a loss and buy it back immediately in India?
Yes, it is completely legal. India does not have a wash sale rule. You can sell a stock to realize a loss and repurchase it immediately. The Income Tax Act does not prohibit this. However, the transactions should be genuine delivery-based trades on a recognized stock exchange, not sham transactions designed solely to create artificial losses.
What happens to my cost basis after I sell and repurchase the stock?
Your cost basis resets to the new purchase price. In this case, Priya's original cost was Rs 2,40,000. After selling at Rs 1,60,000 and rebuying at Rs 1,60,000, her new cost basis is Rs 1,60,000. If the stock later rises to Rs 2,40,000, she will have a taxable gain of Rs 80,000 on the new lot. However, she has already saved Rs 16,000 in taxes today, which she can reinvest.
Can I offset STCL against gains from mutual funds or other asset classes?
Short-term capital losses from equity shares can be offset against short-term capital gains from any capital asset, including equity mutual funds, debt mutual funds, and property. They can also be offset against long-term capital gains. If losses remain after set-off, they can be carried forward for up to 8 assessment years, provided you file your ITR on time.
What if my stock falls further after I repurchase it?
If the stock falls further after repurchase, you will have an even larger unrealized loss, which can be harvested in a future year if you have gains to offset. The key point is that your economic position is identical whether or not you harvest -- you still own the same stock. Harvesting simply converts an unrealized tax benefit into a realized one.