General

What is Tax-Loss Harvesting?

Reviewed by Karthikeyan Anbarasan (Founder, TradeLyser) · Updated 19 Oct 2026 · Editorial policy

DefinitionTax-loss harvesting is selling an investment that is below its purchase price before the financial year ends, so the realised loss reduces the tax on gains booked in the same year. In an illustrative case, booking a ₹60,000 short-term loss against ₹1,50,000 of short-term gains on listed shares cuts taxable STCG to ₹90,000 and the tax at 20% from ₹30,000 to ₹18,000.
Formula
Tax saved ≈ Loss harvested × Tax rate on the gain it offsets (before cess, surcharge and charges)
Example
₹60,000 short-term loss set off against STCG taxed at 20%: ₹60,000 × 20% = ₹12,000 (₹30,000 − ₹18,000)
Which capital loss can reduce which gain · listed shares, IndiaShort-term gain (STCG)taxed at 20%Long-term gain (LTCG)12.5% above ₹1.25L a yearShort-term loss (STCL)held up to 12 monthsLong-term loss (LTCL)held over 12 months✓ Allowedloss reduces this gain✓ Allowedloss reduces this gain✕ Not allowedgain stays fully taxable✓ Allowedloss reduces this gainLoss left over after set-offCarries forward 8 years under the same rules, if that year’s return is filed by the due date
Figure 1. Set-off rules for capital losses on listed Indian shares. A short-term loss can reduce both short-term and long-term gains; a long-term loss can reduce only long-term gains. Loss left over carries forward for 8 years under the same rules, if the return for the year of the loss is filed by the due date. Confirm your own case with a CA.

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.

STCG rate, listed shares
20%
LTCG rate above the exemption
12.5%
LTCG exempt each year
₹1.25L
Capital loss carry forward
8 years

Worked example: two harvesting cases

Illustrative, one financial yearCase A: short-term gainsCase B: long-term gains
Gains already bookedSTCG ₹1,50,000LTCG ₹2,00,000
Tax without harvesting₹1,50,000 × 20% = ₹30,000(₹2,00,000 − ₹1,25,000) × 12.5% = ₹9,375
Loss harvestedSTCL ₹60,000STCL ₹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

  1. 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.
  2. 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.
  3. Match losses to gains using the rules in Figure 1. A long-term loss does nothing against short-term gains this year.
  4. Sell well before 31 March so the trade clearly falls in the financial year.
  5. Decide whether to buy the position back, switch to something similar or stay out. Many CAs suggest not buying back on the same day.
  6. 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

Booking a genuine loss to reduce tax on gains. India has no statutory wash-sale rule for listed shares at the time of writing, but a sale made only to create a loss can be questioned.
Normal set-off and carry-forward rules apply

Wash sale rule (US)

Disallows a loss if substantially identical shares are bought within 30 days before or after the sale; the loss is added to the cost of the new shares.
Applies to US taxpayers
F&O and intraday results are different
Profit or loss from futures and options is non-speculative business income, and intraday equity trading is speculative business income. Both are taxed at slab rates and have their own set-off and carry-forward rules, separate from capital gains, so harvesting as described here applies to delivery holdings and mutual funds. Confirm with a CA before acting on any of it.

Reference guide

ContextValueReading
Harvested loss used against gains in the same yearReal savingThe saving is the loss times the rate on the gain it offsets, less charges
Selling and buying back the same shares on the same dayRiskyThe 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 existNo benefit this yearA 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.

Related terms