CA Helper
Income Tax

Section 54 and 54F: How to Save Tax by Reinvesting in a House

Reinvest in a house after selling a capital asset, and Section 54 or 54F can wipe out the tax on your gain, provided you meet the conditions. Here's how each works.

CA Helper Editorial Team6 min read
A homeowner reviewing property sale papers and a new house purchase agreement with a tax advisor across a desk.

Key takeaways

  • Section 54 requires reinvesting only the capital gain from selling a house; Section 54F requires reinvesting the entire net sale consideration from selling any other long-term asset.
  • Both sections use the same reinvestment window: buy within one year before or two years after the sale, or construct within three years of it.
  • Section 54F is denied entirely if you own more than one other residential house on the date of sale, and clawed back if you buy or build another one within the following two or three years.
  • Depositing unutilised sale proceeds in a Capital Gains Account Scheme account before your ITR filing due date preserves the exemption while you complete the purchase or construction.
  • A ₹10 crore cap on the new house's cost applies to both exemptions since the Finance Act 2023.

You sell a flat, or perhaps a chunk of shares, and the tax on the gain looks steep enough that buying another house feels like the obvious way out. It often is, but only if you get the mechanics right. Section 54 and Section 54F both let you wipe out capital gains tax by reinvesting in a residential house, yet people confuse the two constantly, apply the wrong one's conditions, or discover too late that owning a second house at the wrong moment has cancelled the exemption altogether. The two sections look similar on the surface and differ in ways that matter a great deal to your final tax bill.

Section 54: Selling a House, Buying Another

Section 54 applies when the asset you sold was itself a residential house, held for more than 24 months so the gain qualifies as long-term. The exemption is available only to individuals and Hindu Undivided Families, and what you're required to reinvest is the capital gain itself, not the entire sale price. If your gain is fully covered by the cost of the new house, the whole gain is exempt. If the new house costs less than the gain, only that portion is exempt and the rest is taxed as long-term capital gains in the usual way. Since the Finance Act 2023, the cost of the new house considered for this exemption is capped at ₹10 crore, so reinvesting more than that in one property doesn't buy a larger exemption. There's also a modest concession for reinvesting in two houses instead of one: if your capital gain doesn't exceed ₹2 crore, you can split the reinvestment across two residential properties and still claim the exemption, though this option can only be used once in your lifetime.

Section 54F: Selling Anything Else, Buying a House

Section 54F covers the opposite situation: you sold a long-term capital asset that wasn't a residential house, shares, mutual fund units, gold, a plot of land, or a commercial property, and you're using the proceeds to buy or build a residential house. The reinvestment requirement is stricter here, because the entire net sale consideration, not just the gain, needs to go into the new house for the exemption to be full. Invest less than the full sale value and the exemption shrinks proportionately: it's worked out as your capital gain multiplied by the cost of the new house, divided by the net sale consideration. Sell an asset for ₹80 lakh with a gain of ₹50 lakh, for instance, and put only ₹40 lakh into the new house, and you'd be exempt on roughly half the gain, not all of it. The same ₹10 crore cap on the cost of the new house applies here too.

The Reinvestment Timeline Is the Same for Both

Both sections run on identical timelines. You can purchase the new residential house within one year before the sale or two years after it, or construct one within three years of the sale. An under-construction flat booked with a builder is generally treated as construction rather than purchase for this purpose, which matters because it gives you the longer three-year window instead of the tighter two-year one, provided construction genuinely finishes within that period. The new house has to be located in India, and it has to be residential. Commercial property, or a plot alone without a house built on it within the window, doesn't qualify for either exemption.

Section 54Section 54F
Asset soldA residential house (long-term)Any long-term capital asset other than a residential house
Amount to reinvestOnly the capital gainThe entire net sale consideration
Existing house ownershipNo restrictionMust not own more than one other residential house on the date of sale
Buying or building another house afterwardNot restricted by this sectionDisqualifies the exemption if done within 2 years (purchase) or 3 years (construction)
Cap on exemption₹10 crore (cost of new house considered)₹10 crore (cost of new house considered)

The Capital Gains Account Scheme: Your Safety Net

Property deals rarely close on the same clock as a tax return. If you haven't purchased or completed construction of the new house by the time you file your return, you don't automatically lose the exemption, provided you deposit the unutilised amount in a Capital Gains Account Scheme account with a specified bank before the due date for filing your return under Section 139(1). This deposit lets you claim the exemption for that year while you finish the purchase or construction within the usual window. Money in the CGAS account can only be withdrawn for the specific purpose of buying or building the house. If it's still sitting unused once the three-year construction window, or two-year purchase window, runs out, the unutilised balance is treated as a long-term capital gain in the year that window closes, and taxed then, rather than by reopening your original return.

Where People Actually Lose the Exemption

  • Buying a second house under Section 54F. If you already owned more than one other residential house on the date of sale, or you buy another one within two years, or build one within three years, after the sale, the 54F exemption is denied or clawed back, even though the house bought with the sale proceeds was genuine.
  • Missing the CGAS deposit deadline. Depositing the unutilised amount after your return's due date, rather than before it, puts the exemption at real risk of being disallowed for whatever wasn't already spent.
  • Selling the new house too soon. Sell it within three years of buying or completing it, and the exemption claimed gets added back: the cost of the new house for calculating gain on this second sale is reduced by the exemption claimed earlier, which usually pushes up the taxable gain substantially.
  • Assuming Section 54F allows any number of existing houses. It doesn't. Own two or more residential houses besides the new one on the date of sale, and the exemption isn't available at all, not even partially.
  • Treating a plot purchase alone as sufficient. Buying land without constructing a house on it within the three-year window satisfies neither section.

Both sections reward the same basic behaviour, turning a sale into a home, but they check different boxes to get there. Before assuming either exemption applies to your situation, confirm which asset you actually sold, how much you're genuinely able to reinvest and by when, and whether any house you already own could work against you under Section 54F. A CGAS deposit made a few days before your filing deadline is a small, deliberate step that keeps the exemption alive while the property side of the transaction catches up.

Frequently asked questions

Can I claim Section 54 exemption if I buy a house before I sell my old one?

Yes. Section 54 allows the new house to be purchased up to one year before the date of sale, not only after it. The purchase still has to fall within that one-year-before window for the exemption to apply.

I own one flat already. Can I still claim Section 54F on selling shares to buy a second one?

Yes, owning one other residential house on the date of sale doesn't disqualify you from Section 54F. The exemption is denied only if you own more than one other house at that point, or if you go on to buy or build another one within the restricted window afterward.

What happens if I deposit money in a Capital Gains Account Scheme but never end up buying a house?

The deposited amount is treated as a long-term capital gain in the year the purchase or construction window expires, generally three years from the original sale, and taxed in that later year. You don't need to revise your original return for this.

Does an under-construction flat count as purchase or construction for the timeline?

It's generally treated as construction, which gives you three years from the date of sale to complete it, rather than the shorter two-year window that applies to buying a ready-built house. The construction still needs to be genuinely completed within that period.

Is there a limit on how much exemption I can claim under Section 54 or 54F?

Yes. Since the Finance Act 2023, the cost of the new residential house considered for either exemption is capped at ₹10 crore. Reinvesting a larger amount doesn't increase the exemption beyond what ₹10 crore of investment would produce.

Can I claim Section 54 or 54F for a house I buy outside India?

No. The new residential house has to be located in India for either Section 54 or Section 54F to apply, regardless of where the original asset was sold from.

This article is for general informational purposes only and does not constitute professional tax, legal, or financial advice. Rules and rates change, so consult a qualified Chartered Accountant for advice specific to your situation.

Related reading