Tax-Loss and Tax-Gain Harvesting on Shares and Mutual Funds: Set-Off Rules, the Rs 1.25 Lakh Exemption and the Costs

By CA Ritik Swami · · 5 min read

In brief: Harvesting is selling an investment to use a loss or an exemption, and often buying it back. See how short and long term losses are set off and carried forward, the annual Rs 1.25 lakh LTCG exemption, a worked example, t

Illustrated cover for the article: Tax-Loss and Tax-Gain Harvesting on Shares and Mutual Funds: Set-Off Rules, the Rs 1.25 Lakh Exemption and the Costs

Reviewed by CA Ritik Swami, Chartered Accountant. Last reviewed: 20 November 2026.

Investors often ask whether they should sell some shares or mutual fund units before 31 March to save tax. The idea is called harvesting. Used well, it can lower the tax on the gains of a year. Used carelessly, it only adds costs. This article explains the rules as we understand them for listed equity shares and equity oriented mutual funds. Rates and limits can change in the Budget, so check them for the year.

The rates in brief

  • Short term capital gain on listed equity shares and equity mutual fund units, where securities transaction tax is paid, is taxed at 20% (units or shares held for 12 months or less).
  • Long term capital gain on the same, which means holding for more than 12 months, is taxed at 12.5% on the gain above Rs 1.25 lakh in the year, as we understand the rates in force since 23 July 2024.
  • Other assets, such as debt mutual funds bought after 1 April 2023, unlisted shares, or property, follow their own rules. See mutual fund taxation and long term gains on listed securities.

Set-off and carry forward

LossCan be set off againstCarry forward
Short term capital lossShort term capital gain and long term capital gain8 assessment years
Long term capital lossLong term capital gain only8 assessment years

A capital loss cannot be set off against salary, business income or other heads. To carry a loss forward, the return must be filed on or before the due date, as we understand Section 80. Losses are set off first in the same year, and the balance goes to the next year.

Loss harvesting

Loss harvesting means selling an investment which is at a loss, to book the loss and use it against the gains of the year, and then buying the same or a similar investment again if you still like it.

  • The sale realises the loss. The new purchase starts a new holding period and a new cost.
  • A short term loss can be set off against both short term and long term gains. It is usually most valuable against short term gain, which is taxed at the higher rate of 20%. A long term loss is useful only against long term gain.
  • The tax authorities may look at the transactions where there is no real change in position and the only aim is tax. Keep a genuine reason for the trade, and take advice for large or repeated trades. There is no specific wash sale rule in the Act that we are aware of for such transactions, but the position can change.

Gain harvesting

The long term gain up to Rs 1.25 lakh a year is not taxed. If the investor has unrealised gains, selling units and buying them back before 31 March resets the cost price and uses the exemption of the year, which is lost if unused. The gain is not taxed up to that limit, and the new cost is higher, so the future gain is lower.

Worked example

Ramesh has the following in FY 2026-27. A long term gain of Rs 3,00,000 on sale of shares in June. An unrealised long term gain of Rs 1,00,000 on a mutual fund. An unrealised short term loss of Rs 80,000 on another stock.

  1. Without any action, tax is on the long term gain of Rs 3,00,000 less Rs 1,25,000, which is Rs 1,75,000, at 12.5%, so Rs 21,875 plus cess.
  2. If he sells the stock at a loss of Rs 80,000 before 31 March, the loss is set off against the long term gain. The net long term gain is Rs 2,20,000. Less the exemption, Rs 95,000 is taxed at 12.5%, so Rs 11,875 plus cess. The saving is Rs 10,000 plus cess.
  3. The exemption of Rs 1,25,000 is already used up, because the net gain of Rs 2,20,000 is above the limit. Selling the Rs 1,00,000 unrealised mutual fund gain would add to the tax this year, so he waits for a year in which his gains are low.
  4. The costs, such as brokerage, STT and taxes on the sale and the purchase, are deducted from the saving, and he considers whether he wishes to hold the stock.

The costs to check

  • Securities transaction tax, brokerage and the stamp duty on each trade
  • Exit load on mutual fund units, which can be more than the tax saved
  • The gap in price between the sale and the buy-back, because the market moves
  • Tax on the short term gain if the unit is sold before 12 months
  • Time and effort, and the risk of errors in reporting

Reporting

Report the gains and the losses in Schedule CG of the income tax return, with the dates and the purchase cost. The statement from the broker or the fund house helps. Check the statement against the Annual Information Statement. See Form 26AS and AIS.

Common mistakes

  • Selling to save a small tax and paying more in costs
  • Forgetting that a long term loss cannot be set off against a short term gain
  • Not filing the return in time and losing the carry forward
  • Selling units within 12 months and creating a short term gain
  • Buying a very similar security with a doubtful reason

Frequently asked questions

Can I harvest every year? The exemption applies for each year. Many investors do it near the end of the year, if the costs are low.

Does the rule apply to shares held for the grandfathering cut-off? The cost for gains on shares bought before 1 February 2018 follows the grandfathering rule. Check the cost carefully.

Is the loss of mutual funds also set off? Yes, equity mutual fund losses follow the same rules as shares.

A note on the law

This article is a general summary of the income tax provisions as we understand them for FY 2026-27, in which the Income-tax Act, 2025 applies; earlier section numbers are used for clarity. Rates and the limits can change, so check the current law. This is not investment advice, and a person should consult a qualified adviser. Taxswami Consultants can help with the tax working.

This article is general information, not legal, tax or professional advice for your situation. Rules, forms, thresholds and due dates change, so please confirm the current position before acting on it.

Call us now Chat on WhatsApp Book Free Consultation