How Buying a House Before Selling Land Can Save Capital Gains Tax: Section 54F Exemption Explained
Section 54F allows a taxpayer to save capital gains tax on sale of land if a residential house was bought within one year before the sale, provided the ownership, investment and holding conditions are satisfied.

Section 54F of Income Tax Act gives capital gains tax exemption when you sell a land or another long-term asset and invest in one residential house in India. A house bought within one year before selling land also qualifies if met the conditions.
What Section 54F Says
Section 54F applies when an individual or HUF sells a long-term capital asset other than a residential house. This includes assets such as land, gold, unlisted shares, commercial shops, and other non-residential capital assets.
The benefit is available when the taxpayer invests the net sale consideration in one residential house property in India. This point matters for taxpayers selling land. A plot of land is not a residential house. So, a long-term capital gain from sale of land falls under Section 54F, subject to the conditions in the section.
The Key Point: House Bought Before Sale Also Counts
Taxpayers link Section 54F with reinvestment after sale. That is an incomplete view. Section 54F permits exemption even where the taxpayer bought the residential house within one year before the sale of the original asset.
For example, a taxpayer buys a flat in January for personal use. The purchase is funded through savings or a housing loan. In August, the taxpayer sells a plot of land and earns long-term capital gains. During return filing, the taxpayer says that the land sale proceeds were used for household needs. That answer does not close the Section 54F issue.
The correct question is whether the taxpayer bought a residential house within the permitted time. Since the flat was bought within one year before the sale, the taxpayer gets a valid Section 54F claim, subject to the other conditions.
The Source of Money is Not the Main Test
Section 54F does not require that the same sale proceeds must fund the house purchase. The provision focuses on the timing of the investment and the conditions attached to ownership and reinvestment.
So, the house purchase does not fail because the taxpayer used:
- old savings
- housing loan
- funds from another asset
- household funds
The department will examine documents, dates, ownership, and investment value. The exemption claim rests on these facts.
Conditions to Claim Section 54F Exemption
The taxpayer must satisfy these conditions:
- The asset sold must be a long-term capital asset.
- The asset sold must not be a residential house.
- The taxpayer must invest in one residential house property in India.
- The house must be bought within one year before the sale or within two years after the sale.
- If the taxpayer constructs a house, construction must finish within three years after the sale.
- On the date of sale, the taxpayer must not own more than one residential house, apart from the new house.
- The taxpayer must not sell the new house within three years.
- The taxpayer must not buy another residential house within two years or construct another one within three years.
These conditions should be checked before claiming the exemption in the income tax return.
What Happens If the Whole Sale Amount Is Not Invested
Section 54F gives full exemption when the entire net sale consideration is invested in the new residential house. When the taxpayer invests part of the net sale consideration, the exemption is proportionate.
The formula is:
Exemption = Long-Term Capital Gain × Amount Invested ÷ Net Sale Consideration
This formula is important because Section 54F works with the net sale consideration, not just the capital gain.
Example: Flat Bought Before Selling Land
Assume a taxpayer sells a plot of land.
- The sale value is Rs. 80 lakh.
- The indexed cost is Rs. 20 lakh.
- The long-term capital gain is Rs. 60 lakh.
The taxpayer bought a flat for Rs. 55 lakh, eight months before selling the land.
Since the flat was bought within one year before the sale, it qualifies for Section 54F, subject to the other conditions.
The exemption will be:
Rs. 60 lakh × Rs. 55 lakh ÷ Rs. 80 lakh = Rs. 41.25 lakh
The taxable long-term capital gain will be:
Rs. 60 lakh minus Rs. 41.25 lakh = Rs. 18.75 lakh
This reduces the taxable capital gain from Rs. 60 lakh to Rs. 18.75 lakh. The taxpayer did not buy the flat as a tax plan. Still, the timing gives a valid exemption benefit.
Why This Exemption Gets Missed
This benefit gets missed because the question during return filing is framed in a narrow way.
The taxpayer is asked, “Did you invest the sale proceeds in a house?”
A better question is, “Did you buy or construct any residential house within the Section 54F time limit?”
That question captures the real position.
A taxpayer who bought a flat before selling land does not connect both events. The purchase was made for personal reasons. The sale came later. Since the two events feel unrelated, the exemption is ignored.
That is where tax review becomes important.
What Taxpayers Should Tell Their CA
Before filing the income tax return, the taxpayer should disclose:
- recent purchase of any flat or house
- construction of any house
- home loan taken during the year
- sale of land, gold, shares, or commercial property
- existing residential houses owned on the date of sale
- planned purchase or construction after the sale
This information helps the advisor check Section 54F in the correct way.
What Professionals Should Check
A professional should not review the sale transaction in isolation.
The full property timeline matters.
The following records should be checked:
- sale deed of land
- purchase deed of the new house
- home loan documents
- bank statements
- Form 26AS
- AIS
- ownership details of existing houses
The aim is to connect the sale, the house purchase, and the statutory time limit.
Compliance Risk After Claiming Section 54F
The taxpayer must hold the new residential house for at least three years.
If the taxpayer sells the new house within three years, the earlier exemption gets withdrawn. The exempt capital gain becomes taxable in the year of sale of the new house. There is another restriction.
After claiming Section 54F, the taxpayer must not buy another residential house within two years or construct another residential house within three years, apart from the house used for exemption. This rule prevents misuse of the exemption.
Conclusion
A house bought before selling land also saves capital gains tax if the purchase falls within one year before the sale and the taxpayer satisfies the other legal conditions. The sale proceeds need not be the same money used for buying the house. The law looks at the asset sold, the house purchased, the timeline, the ownership condition and the holding condition. Tell your CA about every recent house purchase, home loan, and property transaction before filing the return.
Support our journalism by subscribing to Taxscan premium. Follow us on Telegram for quick updates


