Back to Blog
Taxes

Section 54 Capital Gains Exemption: Sell Your Flat, Buy Another, Pay ZERO Tax

The ultimate guide to legally wiping out your Long Term Capital Gains (LTCG) tax when selling a residential property in India. Learn the 2024 Budget rules, the ₹10 Crore cap, and the crucial timeline traps.

25 February 2026
26 min read
Verified: 24 Feb 2026

Key Definitions

Capital GainThe profit you make when you sell an asset (like a house) for more than you paid for it. If held for over 24 months, it is a Long-Term Capital Gain (LTCG).
Section 54A provision in the Income Tax Act that exempts you from paying LTCG tax if you sell a residential property and reinvest the profits into another residential property.
IndexationAn old tax benefit that allowed you to inflate the purchase price of your property based on inflation, reducing your taxable profit. Removed for properties bought after July 2024.
CGAS (Capital Gains Account Scheme)A special bank account where you deposit your capital gains if you haven't bought a new house yet, temporarily shielding the money from tax until you are ready to buy.

Key Takeaways

  • If you sell a residential house and use the Capital Gains to buy another residential house, your entire tax liability can drop to zero under Section 54.
  • The Budget 2024 eliminated the indexation benefit for properties bought after July 23, 2024, changing the LTCG rate to a flat 12.5%.
  • You do NOT have to reinvest the entire sale amount. You only need to reinvest the CAPITAL GAINS amount to get 100% exemption.
  • Strict Timelines: You must purchase the new house 1 year before or 2 years after the sale, or construct within 3 years.
  • The ₹10 Crore Rule: From AY 2024-25, the maximum exemption you can claim is capped at ₹10 Crore, ending the ultra-luxury tax loophole.
  • If you cannot find a house before filing your tax return, you MUST park the money in a Capital Gains Account Scheme (CGAS) to save the tax.
Section 54 Capital Gains Exemption: Sell Your Flat, Buy Another, Pay ZERO Tax

The Ultimate Real Estate Loophole

You bought a flat in Bangalore in 2012 for ₹50 Lakhs. Today, it is worth ₹1.5 Crores. You find a buyer, sign the agreement, and the money hits your bank account.

You feel incredibly wealthy. But there is a silent partner waiting in the shadows: The Income Tax Department.

You made a profit (Long Term Capital Gain) of ₹1 Crore. Under normal circumstances, the government demands a massive cut of that profit. Writing a check for ₹12.5 Lakhs (plus cess) to the tax department feels like physical pain. It destroys the compounding effect of real estate.

But what if you didn't have to pay it? What if there was a completely legal, government-approved mechanism to wipe that tax liability down to ZERO rupees?

Welcome to Section 54 of the Income Tax Act.

It is the single most powerful tax exemption code for real estate in India. It allows you to roll over your wealth from one property to another without the government taking a slice.

However, the rules are incredibly strict, the timelines are unforgiving, and the recent Budgets (2023 and 2024) have rewritten the mathematical reality of this exemption. Make one mistake on a date, and the tax demand notice will arrive via email.

Let's dissect Section 54 from first principles, step-by-step.


Part 1: The Core Philosophy (Why does this exist?)

Why would the government willingly give up millions in tax revenue?

The government’s logic is simple: If you sell a house just to buy a bigger/better house for your family to live in, you haven't actually "cashed out" your profit. Your wealth is still locked in bricks and mortar. Taxing you purely because you moved from a 2BHK to a 3BHK would be unfair and would freeze the real estate market.

So, they created Section 54 to encourage housing mobility.

The Golden Rule of Section 54:

Residential to Residential. You must sell a residential property. And you must buy a residential property. If you sell commercial property, empty land, or gold, Section 54 does NOT apply to you. (You would need to look at Section 54F, which has vastly inferior mathematical rules).


Part 2: The New Math (Budget 2024 Changes)

Before we calculate the exemption, we need to calculate the actual tax you owe. The Union Budget of July 2024 introduced a seismic shift in how real estate is taxed.

The Death of Indexation

For decades, real estate investors loved "Indexation." If you bought a house for ₹50 L in 2010, the government allowed you to artificially inflate that purchase price using inflation data (the Cost Inflation Index). So on paper, your purchase price might become ₹1.2 Crores. If you sold it for ₹1.5 Crores, your taxable profit was only ₹30 Lakhs, taxed at 20%.

That era is over.

For properties bought AFTER July 23, 2024, indexation no longer exists. The new rule is straightforward:

  • Long-Term Status: Achieved after holding the property for 24 months.
  • Tax Rate: A flat 12.5% on the unadjusted profit.

(Note: If you bought the property BEFORE July 23, 2024, the government gave you a grandfathering choice: You can either pay 12.5% without indexation, OR 20% with indexation. Your CA will calculate both and choose whichever results in lower tax).

Example Calculation (The New Regime)

  • Purchase Price (2025): ₹50 Lakhs
  • Sale Price (2030): ₹1.5 Crores
  • Profit (Capital Gain): ₹1 Crore
  • Tax Owed (12.5%): ₹12.5 Lakhs (plus cess)

The goal of Section 54 is to make that ₹12.5 Lakh liability disappear entirely.


Part 3: The Mechanics of Section 54 (How to claim it)

To claim the exemption and pay zero tax, you must meet five non-negotiable conditions.

Condition 1: Who can claim it?

Only Individuals and HUFs (Hindu Undivided Families). If a company, LLP, or partnership firm sells a residential house, they cannot use Section 54. They have to pay the tax.

Condition 2: What must you reinvest?

This is the most misunderstood part of the law. You DO NOT have to reinvest the entire sale amount (₹1.5 Crores). You only need to reinvest the CAPITAL GAIN (₹1 Crore).

  • If you buy a new house worth ₹1.2 Crores, your entire ₹1 Crore gain is exempted. Tax = Zero. (You can spend the remaining ₹30 lakhs on a car without any tax).
  • If you buy a new house worth ₹80 Lakhs, only ₹80 Lakhs of your gain is exempted. The remaining ₹20 Lakhs of profit is taxed at 12.5%.

(Compare this to Section 54F for selling commercial land, where you must invest the entire ₹1.5 Crore sale value to get full exemption. Section 54 for residential property is far superior).

Condition 3: The Geography

The new residential house must be in India. You cannot sell a flat in Mumbai and use the profits to buy a studio in Dubai or a condo in London and expect the Indian government to subsidize it with a tax break.

Condition 4: The 3-Year Lock-In

The government gives you a tax break because they assume you are buying a house to use it. If you buy the new house to claim the exemption and immediately sell it the next month, the government will penalize you.

  • The Rule: You cannot sell the newly purchased house for a period of 3 Years from the date of its purchase/construction.
  • The Penalty: If you sell it within 3 years, the previously exempted capital gains will be deducted from the cost of the new house, drastically increasing your short-term capital gains tax on the new sale.

Condition 5: The Unforgiving Timelines

This is where 90% of taxpayers mess up and lose their exemption. The Income Tax Act gives you three specific, rigid windows to buy the new house relative to the date of selling the old house.

  1. Option A (Reverse Purchase): You can purchase the new house 1 Year BEFORE you sell the old house. (Yes, the government allows you to buy first and sell later).
  2. Option B (Standard Purchase): You can purchase a ready-to-move-in house within 2 Years AFTER the date of sale.
  3. Option C (Construction): If you are constructing a house yourself, or buying an under-construction builder flat, you have 3 Years AFTER the date of sale to complete the construction.

If you miss these deadlines by even one day, the exemption is revoked.


Part 4: The CGAS Trap (What if you haven't bought yet?)

Let's look at a very common, highly dangerous scenario.

You sell your old house in May 2026. You have 2 years (until May 2028) to buy a new house. However, it is now July 2027, and it is time to file your Income Tax Return (ITR) for the financial year. You haven't found a suitable new house yet.

When you file your ITR, the portal sees that you made ₹1 Crore in profit in May 2026. The portal says: "Give me ₹12.5 Lakhs in tax. You haven't bought a house yet."

You cannot tell the Income Tax portal: "Please trust me bro, I'm looking for a house, I still have one year left on my 2-year timeline." The portal does not run on trust.

The Solution: Capital Gains Account Scheme (CGAS)

If you have not utilized the capital gains to buy a new house before the due date of filing your ITR (usually July 31st), you MUST deposit the unutilized money into a Capital Gains Account Scheme (CGAS) at a designated public sector bank (like SBI, PNB).

When you put the money in CGAS, the government treats it exactly as if you purchased a house. You get the 100% tax exemption in your ITR. You can then withdraw money from this CGAS account later when you finally find the new house (within your remaining timeline).

The Warning: If you fail to buy/construct the house within the 2/3 year timeline, the money sitting in the CGAS account becomes fully taxable as long-term capital gains in the year the timeline expires.


Part 5: Advanced Rules (The Edge Cases)

1. The "Two House" Exception

Historically, Section 54 allowed you to buy only ONE new residential house. If you sold a massive bungalow and bought two smaller flats, you only got the exemption for one flat. You paid tax on the rest.

The government introduced a one-time relief: If your long-term capital gain is less than or equal to ₹2 Crores, you can use the gains to purchase TWO residential houses in India to claim the exemption.

  • The Catch: You can use this "Two House" rule only once in your entire lifetime. If you use it now, you can never use it again.

2. The Budget 2023 Wealth Cap (The ₹10 Crore Rule)

For years, billionaires used Section 54 to dodge massive taxes. A tech founder would sell a mansion for ₹100 Crores, make ₹80 Crores in profit, and buy another ultra-luxury penthouse in Worli for ₹85 Crores to pay zero tax.

The government shut this down in the 2023 Budget. Starting Assessment Year 2024-25, the maximum exemption limit under Section 54 is capped at ₹10 Crores.

If your capital gains are ₹15 Crores, and you buy a new house for ₹15 Crores, the government will cap your exemption at ₹10 Crores. You MUST pay LTGC tax on the remaining ₹5 Crores of profit. This affects the ultra-rich, but it fundamentally changed the math for luxury real estate.

3. Paying Off a Home Loan

Can I use the capital gains from the sale of my old house to pay off the home loan of a newly purchased house? Yes. As long as the new house was purchased within the 1-year before / 2-year after timeline, utilizing the capital gains to repay the housing loan of that specific new property qualifies for the Section 54 exemption.

4. Buying in Joint Names

It is highly recommended that the new house is registered in the name of the person who sold the old house and received the capital gains. While several high courts have ruled in favor of exemptions when the new property is bought in the joint name of a spouse, it often leads to unnecessary litigation and scrutiny from assessing officers. To keep things clean, keep the primary seller as the primary owner of the new property.


Part 6: The Total Financial Flowchart

To ensure you never pay a rupee more than you have to, follow this operational flowchart when selling residential real estate:

Phase 1: The Transaction

  • Sell your residential property that you have held for more than 24 months.
  • Calculate your Capital Gain (Sale Value - Purchase Cost).

Phase 2: The Decision

  • Do I want to buy another residential house in India?
  • Yes. (Move to Phase 3).
  • No. I want to buy stocks/mutual funds. (Pay the 12.5% tax. Move on with your life).

Phase 3: The Execution

  • If you find the new house before July 31st (ITR deadline), buy it. Reinvest an amount equal to your Capital Gains. Claim Section 54 in your ITR. Pay zero tax.
  • If you CANNOT find the new house before July 31st, open a CGAS account at SBI. Deposit an amount equal to your Capital Gains into CGAS. Claim Section 54 in your ITR based on the CGAS deposit.

Phase 4: The Follow-Through

  • Withdraw from CGAS and buy the new house within 2 years (or construct within 3 years).
  • Do not sell this new house for exactly 36 months to avoid the clawback penalty.

The Verdict

Real estate in India is a game of magnificent returns and terrifying taxes.

Tolerating a 12.5% tax wipeout purely out of ignorance is a tragedy. Section 54 is not a sketchy grey-area loophole; it is a meticulously documented mechanism implemented by the Central Board of Direct Taxes to prioritize housing.

Plan your timelines, understand the difference between Sale Value and Capital Gain, utilize the CGAS account ruthlessly when deadlines approach, and never let the government take wealth that the law explicitly allows you to keep.

Frequently Asked Questions

Tags

Section 54Capital GainsLTCGReal EstateTax ExemptionBudget 2024Property Tax
AS

Written by Amodh Shetty

Amodh is a personal finance educator and the founder of KnowYourFinance. With a deep understanding of Indian taxation and investment products, he simplifies complex financial concepts to help young Indians build wealth safely.

Editorial Disclosure: The author holds investments in broad-market index funds and SGBs. This article is strictly for educational purposes and does not constitute professional investment advice. KnowYourFinance maintains complete editorial independence.

Ready to Put This Knowledge into Action?

Download KnowYourFinance app and access 25+ calculators, enhanced planners, and personalized insights to implement what you've learned.

Download Free App