Tax-loss harvesting is one of the most powerful legal tax optimization strategies available to Indian equity traders and investors. The concept is simple: sell stocks or mutual funds that are trading at a loss before March 31 to realize the loss on paper, then use that loss to offset your capital gains for the year. The result is lower tax liability, sometimes significantly lower. I do this exercise every March without fail, and it has saved me lakhs in taxes over the years.
In this guide, I will walk you through the complete tax-loss harvesting process with specific Indian examples, the rules around repurchasing sold stocks, the exact tax math, and common mistakes that can invalidate your entire harvesting effort.
How Tax-Loss Harvesting Works in India
The Indian tax code allows you to offset capital losses against capital gains in the same financial year. If you have realized gains from selling profitable stocks and also realize losses from selling unprofitable stocks, the two cancel out, reducing your taxable capital gains.
Here is a concrete example with real numbers:
| Transaction | Stock | Buy Price | Sell Price | Gain/Loss |
|---|---|---|---|---|
| Sold in October | Reliance | Rs 2,200 | Rs 2,800 | +Rs 60,000 (100 shares) |
| Sold in January | HDFC Bank | Rs 1,400 | Rs 1,700 | +Rs 45,000 (150 shares) |
| Holding (unrealized) | Paytm | Rs 800 | Rs 500 | -Rs 30,000 (100 shares) |
| Holding (unrealized) | Zomato | Rs 180 | Rs 130 | -Rs 25,000 (500 shares) |
Without tax-loss harvesting: Taxable STCG = Rs 1,05,000. Tax at 20% = Rs 21,000 + cess = Rs 21,840.
With tax-loss harvesting: Sell Paytm and Zomato before March 31 to realize Rs 55,000 in losses. Taxable STCG = Rs 1,05,000 - Rs 55,000 = Rs 50,000. Tax at 20% = Rs 10,000 + cess = Rs 10,400. Tax saved: Rs 11,440.
The beauty is that you can buy back Paytm and Zomato immediately after selling (or after waiting to be safe). Your portfolio exposure remains the same, but your tax bill is Rs 11,440 lower. This is legal, documented, and routinely practiced by institutional investors.
The Buyback Rule — India vs US
In the US, there is a strict 30-day "wash sale" rule: if you sell a stock at a loss and repurchase the same stock within 30 days, the loss is disallowed for tax purposes. Many Indian traders assume the same rule applies in India. It does not.
India currently does not have a formal wash sale rule. You can legally sell a stock at a loss on March 28 and buy it back on March 29. The loss is still valid for tax purposes. However, there are important caveats:
Delivery requirement: The sale must be a delivery-based transaction (not intraday) to qualify as capital gains/losses. Ensure the shares are debited from your demat account. On T+1 settlement, this means you need to sell by March 30 at the latest to ensure settlement before March 31.
Anti-avoidance scrutiny: While there is no formal wash sale rule, the General Anti-Avoidance Rule (GAAR) theoretically allows the IT department to challenge transactions whose primary purpose is tax avoidance. In practice, GAAR has not been applied to simple tax-loss harvesting. But to be safe, I recommend a gap of at least 1-2 trading days between selling and repurchasing.
Different exchange trick: Some advisors suggest selling on NSE and buying back on BSE to create different trade records. This is unnecessary — the lack of a formal wash sale rule means same-exchange repurchase is fine. Do not overcomplicate the process.
Step-by-Step Process for March Harvesting
Step 1 — Review your portfolio (March 15-20): Log into your broker account and export your holdings. Identify all stocks currently showing an unrealized loss. Sort by loss amount — focus on the largest losses first for maximum tax impact.
Step 2 — Calculate your realized gains for the year: Check your annual P&L statement. Add up all STCG and LTCG realized between April 1 and today. This is the amount you want to offset with harvested losses.
Step 3 — Match losses to gains by type: STCL can offset both STCG and LTCG. LTCL can only offset LTCG. Prioritize harvesting STCL (stocks held less than 12 months) because of their greater flexibility. Only harvest LTCL if you have LTCG to offset.
Step 4 — Execute the sales (March 25-28): Sell the loss-making stocks via delivery orders. Do not wait until the last trading day — settlement delays could push the transaction into the next financial year. I always aim to complete sales by March 28.
Step 5 — Repurchase if desired (March 29-April 3): If you still believe in the stocks you sold, buy them back. Your new cost basis will be the repurchase price. I typically wait until April 1 (new financial year) to repurchase, creating a clean separation between the loss realization and the new purchase.
LTCG Harvesting — The Overlooked Opportunity
Most discussions of tax-loss harvesting focus on losses. But there is an equally valuable opportunity with long-term capital gains: harvesting LTCG up to the Rs 1.25 lakh tax-free limit.
Under current rules, LTCG up to Rs 1.25 lakh per year on equity is tax-free. If you have stocks with unrealized LTCG, you can sell them to realize up to Rs 1.25 lakh in gains tax-free, then immediately repurchase. This resets your cost basis higher, reducing future LTCG when you eventually sell for good.
Example: You bought Infosys at Rs 1,200 three years ago. It is now Rs 1,800. Unrealized LTCG on 200 shares = Rs 1,20,000. Sell all 200 shares, realize Rs 1,20,000 LTCG (within the Rs 1.25 lakh exemption = zero tax). Buy back at Rs 1,800. Your new cost basis is Rs 1,800 instead of Rs 1,200. If Infosys later reaches Rs 2,500, your LTCG will be calculated from Rs 1,800 (Rs 1,40,000) instead of from Rs 1,200 (Rs 2,60,000) — saving you Rs 15,000 in tax at the 12.5% rate.
I do LTCG harvesting every year in January-February (before the March rush) to ensure I fully utilize the Rs 1.25 lakh exemption. If your long-term portfolio has gains above this threshold, you are leaving money on the table by not harvesting annually.
Complete Tax-Loss Harvesting Calculation Example
Let me walk through a full example for FY2025-26:
Priya's trading summary before harvesting:
- Equity delivery STCG realized: Rs 2,50,000
- Equity delivery LTCG realized: Rs 1,80,000
- Unrealized losses in portfolio: Rs 80,000 STCL + Rs 40,000 LTCL
Tax without harvesting:
- STCG tax: Rs 2,50,000 x 20% = Rs 50,000
- LTCG tax: (Rs 1,80,000 - Rs 1,25,000 exemption) x 12.5% = Rs 6,875
- Total tax: Rs 56,875 + 4% cess = Rs 59,150
Tax with harvesting (sells all loss-making stocks):
- Realize Rs 80,000 STCL: offset against STCG first. STCG reduced to Rs 1,70,000
- Realize Rs 40,000 LTCL: offset against LTCG. LTCG reduced to Rs 1,40,000
- STCG tax: Rs 1,70,000 x 20% = Rs 34,000
- LTCG tax: (Rs 1,40,000 - Rs 1,25,000) x 12.5% = Rs 1,875
- Total tax: Rs 35,875 + 4% cess = Rs 37,310
- Tax saved: Rs 21,840
Rs 21,840 saved by spending 30 minutes selling and repurchasing stocks. The return on time invested is extraordinary. This is why tax-loss harvesting should be an annual March ritual for every Indian trader and investor.
Mistakes That Invalidate Your Harvesting
Selling after March 28 with T+1 settlement: If you sell on March 31, settlement happens on April 1 (next financial year). The capital loss may be recorded in the new financial year, not the current one. Sell by March 28 to be safe.
Selling intraday instead of delivery: Intraday trades create speculative business income, not capital gains/losses. To harvest capital losses, you must do delivery-based selling. Ensure your sell order is CNC (Cash and Carry), not MIS (Margin Intraday).
Not accounting for STT: When you sell delivery shares, STT of 0.1% is charged. On Rs 5,00,000 of sales, that is Rs 500 in STT. Plus brokerage and other charges. Ensure the tax savings exceed these transaction costs — harvesting a Rs 500 loss to save Rs 100 in tax while paying Rs 200 in fees is counterproductive.
Harvesting LTCL with no LTCG to offset: If you have no LTCG this year and harvest LTCL, the loss can only be carried forward against future LTCG. It cannot offset STCG. If you expect significant STCG but no LTCG, focus your harvesting on STCL positions instead.
Tax-loss harvesting is the simplest, most risk-free way to reduce your tax bill as an Indian trader. Do it every March, do it systematically, and do it correctly. The cumulative savings over a decade of active trading can amount to several lakhs — money that stays in your trading account instead of going to the government.
Certified Financial Analyst & Asian Market Specialist
Affiliate disclosure: trading-zenith earns commissions when readers open accounts or use tools through links here. Indian residents must comply with FEMA + LRS regulations independently. Tracking is rel=sponsored.