- Gain harvesting: using the allowance
- Loss harvesting: offsetting what you owe
- The practical annual routine
- Where it is not worth doing
- One caution
- Frequently asked questions
- What is tax harvesting?
- Does it actually save tax?
- What is loss harvesting?
- Do losses carry forward?
- When should I do it?
- Are there costs?
- In short
Long-term capital gains on listed equity and equity mutual funds are exempt up to an annual threshold. Most people with a growing portfolio never use it, because they are not selling anything — and the allowance does not carry forward. Each year it goes unused, it is gone.
Using it deliberately costs nothing but a little friction and permanently raises the cost base of your holdings, which reduces the tax you eventually pay. There is a second, related exercise — realising losses to offset gains — with different rules.
The exemption threshold, the holding periods and the applicable rates have all been revised in recent years. Confirm the current figures before computing anything, and take advice if the amounts are significant.
Gain harvesting: using the allowance

The mechanism is simple. Each year, sell enough of a long-term equity holding to realise gains up to the exemption threshold, and buy it back. The gain is exempt, you pay no tax, and your cost of acquisition in the holding is now higher by the amount of gain you realised — so the eventual taxable gain is smaller.
A worked illustration. Suppose you hold units bought for two lakh rupees now worth three lakh, and the annual exemption is above one lakh. Sell the units, realise a one lakh long-term gain which is exempt, and buy back the same amount. You now hold units with a cost base of three lakh instead of two.
Repeat annually as the portfolio grows, and the eventual tax when you finally sell for a goal is substantially lower, because you have been moving the cost base up all along at no cost.
Points to get right:
- Only long-term gains qualify for the exemption. Check the holding period of each lot — holdings are generally treated as sold oldest first, so a long-held lot can be sold while recent purchases stay untouched.
- Stay within the threshold. Gains above it are taxable, so compute carefully rather than selling a round number of units.
- Count the transaction costs on both legs — brokerage, securities transaction tax, stamp duty, exchange charges. On a small gain these can eat a meaningful share of the benefit.
- Mind the market gap. If you sell and buy back a day later, the price may have moved against you. Doing both on the same day reduces this, and in mutual funds a redemption and a fresh purchase settle on different days, which is a real exposure.
- Do not break a lock-in. Tax-saving equity funds cannot be sold within their lock-in period.
- Remember that the new units start a fresh holding period, so they are short-term for a while. Do not harvest with money you may need soon.
Loss harvesting: offsetting what you owe
The other direction. If you hold something at a loss, realising that loss offsets taxable gains elsewhere and reduces the tax payable.
The set-off rules matter and are frequently got wrong:
- A short-term capital loss can be set off against both short-term and long-term capital gains.
- A long-term capital loss can be set off only against long-term capital gains.
- Neither can be set off against salary or ordinary income.
- Unabsorbed losses carry forward for a number of subsequent years to be set against future capital gains — but only if the return for the loss year was filed by the due date.
That last condition is where real money is lost. A genuine loss in a year when the return was filed late is simply unavailable, and nothing can recover it. Which means filing on time is worth doing even in a year of heavy losses, because it preserves something of value.
And a note on judgement: realise a loss because you were going to exit that holding anyway, or because the tax benefit genuinely exceeds the cost of selling and rebuying. Selling a good long-term holding purely to book a loss, and then watching it recover without you, is a poor trade.
The practical annual routine

- In February, pull your holdings statement with purchase dates and costs. Most platforms provide a capital gains statement for the year.
- Separate long-term from short-term holdings.
- Compute the long-term gain you have already realised this year, if any, and how much of the exemption remains.
- Identify holdings with unrealised long-term gains and work out how many units to sell to use the remaining exemption without exceeding it.
- Check for holdings at a loss that you were going to exit anyway, and whether realising them offsets any taxable gains.
- Execute before the financial year ends, allowing several days for settlement, not on the last day.
- Buy back what you intended to keep, promptly.
- Record everything — the sale, the gain, the repurchase — so the return is straightforward and the new cost base is documented.
- File the return on time, always, and particularly in a loss year.
Where it is not worth doing
- Very small gains, where transaction costs consume the benefit.
- Holdings in a lock-in.
- Debt funds and other assets whose gains are taxed at slab rates with no equivalent exemption. The gain-harvesting logic does not apply there, though loss set-off still does.
- Where you would be forced to re-enter at a materially worse price.
- If it leads you to churn the portfolio. The point is to reset the cost base on holdings you are keeping, not to trade.
- Where the amounts are large enough to need advice, in which case get it rather than improvising.
One caution
This is a widely used and generally accepted practice, and it is worth being measured about it. Realising a gain and repurchasing a holding you intend to keep is ordinary portfolio activity with a tax consequence you have planned for. Constructing artificial round trips purely to manufacture a tax outcome is a different thing, and anti-avoidance provisions exist.
Keep it simple, keep it documented, keep it to holdings you genuinely intend to continue holding, and take professional advice where the sums are substantial.
Frequently asked questions
What is tax harvesting?
Realising long-term equity gains up to the annual exemption and buying the holding back, so the gain is tax-free and your cost base rises. The exemption does not carry forward, so an unused year is lost.
Does it actually save tax?
Yes, by permanently raising the cost base of holdings you keep, which reduces the taxable gain when you eventually sell for a goal.
What is loss harvesting?
Realising losses to offset taxable gains. Short-term losses offset both short and long-term gains; long-term losses offset only long-term gains; neither offsets salary.
Do losses carry forward?
Yes, for a number of years — but only if the return for the loss year was filed by the due date. A late return forfeits it entirely.
When should I do it?
Before the financial year ends, allowing several days for settlement. February is the sensible time to compute it.
Are there costs?
Brokerage, transaction taxes and charges on both legs, plus the risk that the price moves between selling and buying back. On small gains these can consume the benefit.
In short
The annual exemption on long-term equity gains is use-it-or-lose-it, and most people with a growing portfolio never touch it. Each February, work out how much of it remains, sell enough of a long-held equity position to realise gains up to that figure, and buy the holding back — the gain is exempt, and your cost base is permanently higher, which reduces the tax you eventually pay.
Separately, if you hold something at a loss that you were going to exit anyway, realising it offsets taxable gains — short-term losses against both kinds of gain, long-term losses only against long-term gains, and neither against salary. Carry-forward depends entirely on filing the return by the due date, which is why filing on time matters most in a bad year. Count the transaction costs on both legs, check each lot’s holding period, avoid breaking any lock-in, execute well before the year ends rather than on the last day, and keep it to holdings you genuinely intend to continue holding.
यह भी पढ़िए: How Mutual Funds Are Taxed in India · Rebalancing a Portfolio: The Discipline Nobody Follows · Filing Your ITR in India: Which Form, Which Regime, and the Notices That Follow



