Income Tax

Section 54F: Capital Gains Exemption on Sale of Any Asset by Buying a Residential House

Finin2min Tax Desk·June 2026·8 min readCAPITAL GAINS

Sold shares, gold, a plot of land, or any other long-term capital asset — but not a residential house? Section 54F lets you claim a capital gains exemption by investing in a residential house, even though the asset you sold wasn't a house. The catch: you must reinvest the entire net sale consideration (not just the gain), and you can't already own more than one other house. Here's how it works.

What Makes Section 54F Different

Section 54 applies when you sell a residential house and buy another. Section 54F applies when you sell any other long-term capital asset — shares, mutual funds, gold, jewellery, a commercial property, or a plot of land — and use the proceeds to buy or construct a residential house. The underlying logic is the same (encourage reinvestment into housing), but the eligibility conditions and the amount you must reinvest are different.

Eligibility Conditions

⚠ The 'one house' trap: If you already own two or more residential houses (other than the new one) on the date of transfer, you are NOT eligible for Section 54F at all — not even proportionately. This is stricter than Section 54, which has no such ownership-count restriction.

The Key Difference: Net Sale Consideration, Not Just the Gain

This is the most important distinction from Section 54. Under Section 54F, the exemption is computed based on how much of the net sale consideration (i.e., the full sale price, not just the profit) is reinvested — not just the capital gain.

The Proportionate Exemption Formula

Exemption = Capital Gain × (Amount Invested in New House ÷ Net Sale Consideration)

If you reinvest the entire net sale consideration, the entire capital gain is exempt. If you reinvest only part of it, only that proportion of the gain is exempt.

Example: Proportionate ExemptionMeera sells shares for a net sale consideration of ₹1 crore, realizing a long-term capital gain of ₹70 lakh. She invests ₹80 lakh of the proceeds in a new residential flat (and uses the remaining ₹20 lakh elsewhere). Her exemption = ₹70 lakh × (₹80 lakh ÷ ₹1 crore) = ₹56 lakh. The remaining ₹14 lakh of gain (70 – 56) is taxable as LTCG.

Why This Matters More for High-Value Asset Sales

Because Section 54F requires reinvesting the full sale consideration (not just the gain) to get full exemption, it requires a much larger reinvestment than Section 54 for the same amount of gain — especially for assets with a low cost base (e.g., old shares or inherited gold with significant appreciation). Taxpayers selling high-appreciation assets often need to top up with other funds to reinvest the full sale value and maximize the exemption.

3-Year Lock-In and Other Restrictions

🏢
Plan a major asset saleModel the tax impact of selling shares, gold or land and reinvesting in property.
Open Tax Calculator →

Section 54F vs Section 54 vs Section 54EC — Quick Decision Guide

If You Sold...And Want To...Use
A residential houseBuy another houseSection 54
Land, shares, gold, etc. (not a house)Buy a residential houseSection 54F
Land or buildingAvoid buying property entirelySection 54EC bonds

Frequently Asked Questions

I already own one house and want to buy a second one using sale proceeds from my shares — can I claim Section 54F?
Yes. Section 54F's restriction is on owning 'more than one' residential house (other than the new one) on the date of transfer of the original asset. If you currently own exactly one house and are buying a second using the share sale proceeds, you remain eligible. The restriction kicks in only if you already own two or more houses (excluding the new one being purchased) at the time of the transfer.
Do I have to reinvest the entire sale amount or just the profit to get full exemption under Section 54F?
To get the FULL exemption, you must reinvest the entire net sale consideration (the full sale price received, after deducting expenses on the transfer) — not just the capital gain/profit portion. If you reinvest less than the full net sale consideration, you get a proportionate exemption calculated as: Capital Gain × (Amount Invested ÷ Net Sale Consideration). This is a key difference from Section 54, where reinvesting an amount equal to the gain itself (not the full sale price) can give full exemption.
What if I buy a second house (other than the new one) within 2 years of claiming Section 54F exemption?
If you purchase any residential house (other than the new house in which you claimed the Section 54F exemption) within 2 years of the original transfer, or construct one within 3 years, the Section 54F exemption you claimed is withdrawn. The amount earlier exempted becomes taxable as long-term capital gains in the year you acquire that additional house — so it's important to avoid any other residential property purchases during this lock-in window if you want to retain the exemption.