Section 54F: Capital Gain on Sale of Any Asset Invested in a House, Conditions and Pitfalls

By CA Ritik Swami · · 4 min read

In brief: Selling shares, land, gold or a business interest can give a large capital gain. Section 54F lets an individual or a HUF save the tax if the net sale value goes into one residential house. See the conditions, the time li

Illustrated cover for the article: Section 54F: Capital Gain on Sale of Any Asset Invested in a House, Conditions and Pitfalls

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

Section 54 gives relief when a house is sold and another house is bought. Section 54F is wider. It covers the long-term gain on the sale of any asset other than a residential house, such as listed shares, unlisted shares, a plot of land, gold, a commercial shop or a mutual fund. The relief depends on the net sale value, and not the gain alone, being put into a house. The conditions are strict, and a small slip can cancel the exemption.

Who can claim and for what asset

  • An individual or a HUF only. Companies and firms cannot use Section 54F.
  • The asset sold must be a long-term capital asset and must not be a residential house.
  • The gain must be long-term. For most assets this means a holding of more than 24 months, and for listed shares more than 12 months.
  • The new asset must be a residential house in India. A house abroad does not qualify.

The ownership condition

On the date of the transfer, the taxpayer must not own more than one residential house other than the new house. This is the test that surprises many families. A taxpayer who already owns two houses cannot claim the exemption on the third. The test looks at the owner's name, and a house held by a spouse is not counted for this test, but a house inherited by the taxpayer is.

Time limits

StepTime allowed
Buy a houseOne year before the date of transfer, or two years after it
Construct a houseWithin three years after the date of transfer
Deposit in the Capital Gains Account SchemeBefore the due date of filing the return for that year, if the money is not used earlier

The money not used by the return date should be deposited in the capital gains account scheme with a bank. Otherwise, the exemption may be denied for the unused part.

How much is exempt

The exemption is a proportion. If the whole net consideration is invested, the whole long-term capital gain is exempt. If a part is invested, the exemption is the capital gain multiplied by the amount invested and divided by the net consideration.

A cap applies. The cost of the new house taken into account is limited to Rs 10 crore. If the cost of the new house is higher, the exemption is calculated on Rs 10 crore only.

The three-year lock-in and the two-year rule

  • If the new house is sold within three years of its purchase or construction, the exemption is withdrawn and the earlier gain is taxed in the year of the later sale.
  • The taxpayer must not buy another residential house, other than the new house, within two years after the transfer, and must not construct one within three years. If this is done, the exempt gain is taxed in the year of the purchase.

Worked example

An individual sells unlisted shares in January for a net sale value of Rs 80,00,000. The long-term capital gain is Rs 50,00,000. The individual owns one residential house.

  1. The individual buys a new flat for Rs 60,00,000 within the next 18 months.
  2. Exempt gain = Rs 50,00,000 × Rs 60,00,000 / Rs 80,00,000 = Rs 37,50,000.
  3. The balance of Rs 12,50,000 is taxed as a long-term capital gain at the applicable rate.
  4. If the flat had cost Rs 80,00,000 or more, the whole gain would be exempt.
  5. If the individual sells the flat within three years, the exempt amount is taxed in the year of that sale.

Common mistakes

  • Reading Section 54F as a gain-based rule when it is a net-consideration rule
  • Forgetting that owning two houses on the date of transfer cancels the claim
  • Buying a second house within two years after the transfer
  • Not depositing the unused money in the Capital Gains Account Scheme before the return date
  • Buying a house outside India or a house on a pure agreement to sell without proof of payment

Frequently asked questions

Can the house be in the spouse's name? The case law is mixed. The safe approach is to buy it in the name of the person who sells the asset, or to take advice before using another name.

Is a loan repayment counted as investment? Repayment of the loan taken to buy the house generally counts as part of the cost when the loan is for the new house. Keep the loan papers.

Can I use the sale proceeds to repay an old loan on the house? That does not count as buying a new house. See the overview of Sections 54, 54F and 54EC for the comparison.

A note on the law

This article is a general summary as we understand the law on the review date. The Income-tax Act, 2025 applies from 1 April 2026, and the section numbers differ from the Income-tax Act, 1961. We have used the older numbers for clarity. Please check the current text, the time limits and the facts of your case, and take professional advice before you act. Taxswami Consultants does not accept liability for decisions taken only on this general note.

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