Tax
How to Save Capital Gains Tax in India: Section 54, 54EC, and 54F Explained
Last reviewed: July 6, 2026
Tax
Last reviewed: July 6, 2026
If you're looking up how to save capital gain tax after selling property, shares, or another asset, the honest answer is that you can't avoid it outright once you've sold at a profit, but the law does offer specific, legitimate ways to reduce or defer it, mainly by reinvesting the proceeds in particular ways. Which one applies depends on what you sold and what you do with the money next.
Before looking at exemptions, it's worth knowing the baseline. For most asset classes sold after 23 July 2024, long-term capital gains are taxed at a flat 12.5%, without indexation. Listed equity shares and equity mutual funds additionally get a ₹1.25 lakh exemption per financial year before that rate applies (ClearTax, LTCG Tax). Property bought on or before 22 July 2024 is an exception: sellers can choose between 20% with indexation or 12.5% without, whichever works out cheaper, but property bought after that date only gets the 12.5% no-indexation option (Bajaj Finserv, LTCG on Property).
If your gains come specifically from mutual funds, How Mutual Fund Capital Gains Are Taxed in India: LTCG, STCG, and the ₹1.25 Lakh Exemption covers that computation in detail. This article focuses on the exemption sections that apply once you've sold property or other capital assets and want to reduce the tax on the gain through reinvestment.
If you sell a residential house held for more than 24 months and reinvest the capital gain (not the full sale price, just the gain) into another residential house, that portion of the gain is exempt from tax.
Conditions worth knowing: the new house must generally be purchased within 1 year before or 2 years after the sale, or constructed within 3 years after the sale. Since April 2023, the maximum exemption under Section 54 is capped at ₹10 crore, so extremely large gains beyond that cap are taxed regardless of how much you reinvest (Patron Accounting, Capital Gains Exemption).
Section 54F covers the opposite direction: you sell a long-term capital asset that isn't a residential house (listed shares, gold, land, an unlisted business interest) and reinvest in a residential house. The key difference from Section 54 is what you need to reinvest. Section 54F requires you to invest the entire net sale consideration, not just the gain, to get full exemption. Reinvest only part of the sale proceeds, and only a proportionate part of the gain is exempt.
Section 54F also carries a condition that you shouldn't own more than one other residential house (apart from the new one) at the time of the sale. It carries the same ₹10 crore cap on the maximum exemption as Section 54.
If you don't want to buy another property at all, Section 54EC offers a different route, specifically for gains from selling land or a building. You invest the capital gain into specified bonds issued by NHAI, REC, PFC, or IRFC, within 6 months of the sale, and that amount is exempt from tax.
The catches: the investment is capped at ₹50 lakh per financial year, and the bonds come with a mandatory 5-year lock-in during which they can't be sold or used as collateral (DisyTax, Section 54EC). If your sale straddles two financial years (say, you sell in late September and the 6-month window extends into the next financial year), you may be able to split the ₹50 lakh investment across both years for a combined ₹1 crore exemption, though this needs careful timing.
To recap the decision: selling a house and buying another house points to Section 54. Selling anything else and buying a house points to Section 54F. Not wanting to buy property at all, but still wanting to shelter a gain from land or a building, points to Section 54EC bonds. Picking the wrong one, or missing the reinvestment window, is the most common reason people end up paying tax they could have legitimately avoided.
A common misunderstanding is treating these sections as a way to avoid tax on the entire sale. They're not. Each section exempts only the portion of the gain (or, for Section 54F, the proportion tied to the sale consideration you actually reinvest) that's channelled into the specified reinvestment, within the specified time limit. Sell a property, pocket the money, and reinvest nothing, and the full gain is taxed normally.
It's also worth remembering these exemptions need to be claimed correctly in your ITR for the relevant year, including proof of reinvestment, since claiming an exemption without matching documentation is a common trigger for scrutiny. If you're filing after a property sale, Common ITR Filing Mistakes That Delay Refunds or Trigger Notices is worth a look before you submit.
We use and recommend Quicko for filing ITR in India. It handles capital gains reporting, including Section 54/54EC/54F exemp
The main routes are Section 54 (reinvesting gains from a residential house sale into another residential house) and Section 54EC (investing gains into specified capital gains bonds). Which applies depends on what asset you sold and what you plan to do with the money. Section 54 applies when you sell a residential house and reinvest the gain in another residential house. Section 54F applies when you sell any other long-term capital asset (shares, land, gold) and invest the entire net sale consideration, not just the gain, in a residential house. Section 54EC lets you invest long-term capital gains from land or building into specified bonds (NHAI, REC, PFC, IRFC) within 6 months of the sale, up to ₹50 lakh per financial year, to claim exemption from that portion of the gain. The bonds carry a 5-year lock-in. Yes. Since April 2023, the maximum exemption available under both Section 54 and Section 54F is capped at ₹10 crore of the reinvested amount, regardless of how much larger the actual gain or reinvestment is.Frequently asked questions
How can I save tax on capital gains from selling property in India?
What is the difference between Section 54 and Section 54F?
What is Section 54EC and how much can I invest?
Is there a cap on how much capital gains tax I can save under Section 54 or 54F?