Save Capital Gains Tax by Buying a House: Sections 54, 54F and 54EC
How to save tax on long-term capital gains by buying or building a house or investing in capital gains bonds: time limits, the ₹10 crore cap and the deposit scheme.
On this page
Key points
- Sold a house at a long-term gain? Buy another house within 1 year before or 2 years after the sale, or build one within 3 years, and the gain reinvested is tax-free.
- Sold shares, gold or land instead? You get the same relief only by reinvesting the whole sale amount in a house, not just the gain.
- Capital gains bonds are a third route: invest up to ₹50 lakh within 6 months of selling land or a building, and keep them for 5 years.
- If you have not bought the new house by the return due date, park the money in the Capital Gains Account Scheme at a bank to keep the exemption.
Selling a house or land often brings a large long-term capital gain, and with it a large tax bill. The law lets you save that tax if you put the money into another home or into specified bonds within fixed time limits.
These reliefs were sections 54, 54F and 54EC of the Income-tax Act, 1961. Under the Income-tax Act, 2025, which applies to sales from 1 April 2026, the first two are sections 82 and 86; the rules below are the same.
The three routes
| Route | What you sold | What you must do | How much is tax-free |
|---|---|---|---|
| Section 54 (now 82) | A residential house, held long term | Buy a house 1 year before or 2 years after, or build within 3 years | The gain invested in the new house |
| Section 54F (now 86) | Any other long-term asset (shares, gold, land, funds) | Same time limits; you must not own more than one other house | In proportion to the sale amount invested |
| Section 54EC | Land or a building, held long term | Buy capital gains bonds within 6 months | The amount invested, up to ₹50 lakh |
A house or land is long term after 24 months; listed shares and equity funds after 12 months.
The time limits
- 1 year beforeBuying a house before the sale also counts
- 6 monthsLast date for capital gains bonds
- Return due dateDeposit unused money in the Capital Gains Account Scheme
- 2 yearsLast date to buy the new house
- 3 yearsLast date to finish building it
The limits to know
- ₹10 crore cap. Any cost of the new house above ₹10 crore is ignored for the exemption.
- Two houses, once. If the gain from selling a house is up to ₹2 crore, you may buy two houses instead of one, but only once in your life.
- Bonds ₹50 lakh. Capital gains bonds (from issuers such as REC and PFC) are capped at ₹50 lakh across the two years in which the sale falls, and locked in for 5 years.
- Lock-in on the new house. Sell it within 3 years and the exemption is reversed.
A worked example
You sell a flat held for six years. The long-term gain is ₹40 lakh. You buy a new flat for ₹30 lakh within a year, and invest ₹10 lakh in capital gains bonds within six months.
| Item | ₹ |
|---|---|
| Long-term gain | 40,00,000 |
| Invested in the new flat | 30,00,000 |
| Invested in bonds | 10,00,000 |
| Taxable gain | 0 |
Without these steps, tax at 12.5% (plus surcharge and cess) would apply on ₹40 lakh.
The Capital Gains Account Scheme
If your return is due before you have bought or built the new house, deposit the unused amount in a Capital Gains Account Scheme account at an authorised bank before the return due date. Claim the exemption on the deposit. If the money is not used for the house within the time limit, the unused part becomes taxable.
Should you get help?
These exemptions are checked closely, and a missed date costs the whole relief. Our capital gains guide explains how the gain itself is worked out, and a tax expert can plan the timing before you sell.
Frequently asked questions
Can I buy two houses and claim the exemption?
Only once in your lifetime, and only when the gain from selling a house is up to ₹2 crore. Otherwise the exemption is for one house.
Does the new house have to be in India?
Yes. The new residential house must be in India.
What if I sell the new house soon after?
If you sell it within 3 years, the exemption you claimed is taken back and taxed in the year you sell.
Can I use a home loan to buy the new house?
Yes. What matters is that you buy or build the house within the time allowed; the source of the money is not checked for this purpose.
Official sources
Capital Gains and Crypto ITR
Shares, F&O, mutual funds, property and crypto, computed correctly and reported in the right schedules.
Starts at ₹2,499
What happens next
- An expert calls you backUsually the same working day, Monday to Saturday.
- You agree the fee firstYou get the exact fee for your case before any work starts.
- We do the workYou approve everything before it is filed, and get updates on WhatsApp and email.
Please note: This guide is general information based on the law as on the date it was last updated. It is not advice for your specific case, and rules change often. Talk to a tax professional before you act on it.
Tax and compliance professionals
The VeoTax team handles income tax, GST and business compliance for individuals and businesses across India. Every guide is checked by a tax professional before it is published.