What is Tax-Loss Harvesting?
Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy
How it works in India
Gains on listed shares and equity mutual funds are split by holding period. Held for 12 months or less, the gain is short term and taxed at 20%. Held longer, it is long term and taxed at 12.5% on the part above ₹1.25 lakh in the year. Losses booked during the year are set off against gains before the tax is worked out. Harvesting simply means choosing to book a loss you are already sitting on, in the year it can be used.
Worked example: two harvesting cases
| Illustrative, one financial year | Case A: short-term gains | Case B: long-term gains |
|---|---|---|
| Gains already booked | STCG ₹1,50,000 | LTCG ₹2,00,000 |
| Tax without harvesting | ₹1,50,000 × 20% = ₹30,000 | (₹2,00,000 − ₹1,25,000) × 12.5% = ₹9,375 |
| Loss harvested | STCL ₹60,000 | STCL ₹60,000 |
| Taxable after set-off | ₹90,000 | ₹1,40,000 − ₹1,25,000 = ₹15,000 |
| Tax after harvesting | ₹18,000 | ₹1,875 |
| Saving, before cess and charges | ₹12,000 | ₹7,500 |
In both cases the loss comes from an illustrative stock bought for ₹2,00,000 and worth ₹1,40,000 seven months later. Selling it in March books a ₹60,000 short-term loss. Charges are small next to the saving: STT on a ₹1,40,000 delivery sale is ₹140 at 0.1%, and the same again on a buy-back, plus brokerage and depository charges.
The saving is mostly a deferral. If you buy the shares back at ₹1,40,000, that becomes your new cost and the 12-month clock starts again. If the stock later recovers to ₹2,00,000 and you sell, the ₹60,000 gain is taxed then. What you gain is paying later, and possibly at the lower long-term rate if the new holding is kept beyond 12 months.
Doing it step by step
- In February or early March, list the gains already booked this financial year, split into short term and long term, from your broker’s tax P&L report.
- List holdings showing an unrealised loss, with purchase dates, so you know whether each sale would be a short-term or a long-term loss.
- Match losses to gains using the rules in Figure 1. A long-term loss does nothing against short-term gains this year.
- Sell well before 31 March so the trade clearly falls in the financial year.
- Decide whether to buy the position back, switch to something similar or stay out. Many CAs suggest not buying back on the same day.
- Tag the trades “tax-harvest” in your journal so they stay out of your trading statistics, and file the return on time so any unused loss carries forward.
Limits and common mistakes
- Selling a holding you still want only for the tax and never buying it back: a tax decision has become an investment decision.
- Harvesting a long-term loss when there are only short-term gains. It cannot be used this year.
- Booking a loss against long-term gains that were already inside the ₹1.25 lakh exemption. Losses are generally set off before the exemption is applied, so the loss can be used up without saving any tax. Confirm with a CA.
- Filing the return late. A capital loss can be carried forward only if the return for that year was filed by the due date.
- Ignoring the spread and charges on small, illiquid holdings, where they can eat a large part of the saving.
Tax-loss harvesting in India
Wash sale rule (US)
Reference guide
| Context | Value | Reading |
|---|---|---|
| Harvested loss used against gains in the same year | Real saving | The saving is the loss times the rate on the gain it offsets, less charges |
| Selling and buying back the same shares on the same day | Risky | The two legs can net off and be read as an intraday trade; many CAs suggest buying back on a later day |
| Booking a long-term loss when only short-term gains exist | No benefit this year | A long-term loss cannot reduce short-term gains; it can only be carried forward against future long-term gains |
Questions
Is tax-loss harvesting allowed in India?
Booking a genuine loss and setting it off against capital gains follows the normal set-off rules. India has no statutory wash-sale rule for listed shares at the time of writing, but a transaction made only to create a loss can be questioned, so confirm with a CA.
Can a short-term capital loss be set off against long-term gains?
Yes. A short-term capital loss can be set off against both short-term and long-term gains. A long-term capital loss can be set off only against long-term gains.
How many years can capital losses be carried forward in India?
Eight years after the year of the loss, provided the return for that year was filed by the due date. In later years the same rule applies: carried-forward long-term losses can reduce only long-term gains.
Can I sell shares and buy them back to book a loss?
There is no fixed waiting period in Indian law at the time of writing. Many CAs suggest buying back on a later trading day, because a same-day sell and buy of the same quantity can be treated as intraday, and the buy-back resets your cost and holding period. Confirm with a CA.
Can F&O losses be used for tax-loss harvesting?
F&O profit and loss is business income, not a capital gain, so it follows different set-off and carry-forward rules. Ask a CA how your F&O result and your capital gains interact in the same year.