Capital Gains Exemptions under Income Tax: Sections 54, 54B, 54D, 54EC, 54F, 54G and 54GA Explained

Selling a house, agricultural land, or a business asset can trigger capital gains tax in India. However, the Income Tax Act offers several exemptions under Sections 54, 54B, 54D, 54EC, 54F, 54G, and 54GA that let you reinvest those gains and legally save tax. This article explains each exemption clearly, who qualifies, what to invest in, and how long you must hold the new asset.

Home » Tax » Income Tax » Capital Gains Exemptions under Income Tax: Sections 54, 54B, 54D, 54EC, 54F, 54G and 54GA Explained

Quick Analysis: Understand All Capital Gain Exemptions in 2 Minutes


Think of it like a relay race.

In a relay race, the baton must keep moving. If you drop it, you lose. In capital gains exemptions, your money is the baton. You sold an asset, the gain is in your hand. The government says: reinvest it quickly in the right place, and we will not tax it. Drop it, sit idle with it, or invest too late, and you lose the exemption.

Here is how each section maps to real life:

Sold your house? (Section 54) Buy another house within 2 years or build one within 3. Do that and your capital gain is tax-free, up to Rs. 10 crore. If your gain is within Rs. 2 crore, you can even buy two houses, once in a lifetime.

Farmer selling urban farmland? (Section 54B) Buy more agricultural land within 2 years. Simple. But the new land must also be used for farming for at least 2 years.

Government acquired your factory land? (Section 54D) Use the compensation to set up or shift your industrial unit elsewhere within 3 years. The law gives you a way out of a forced situation.

Sold a plot but do not want another property? (Section 54EC) Park your gain in NHAI or RECL bonds within 6 months. Maximum Rs. 50 lakhs. Lock in for 5 years and the tax vanishes. But touch the bonds before 5 years, and the full gain comes back as taxable.

Sold gold, shares, or any other asset? Want a house? (Section 54F) Buy a residential house and claim exemption in proportion to how much of the sale proceeds you invest. However, you must not own more than one other house at the time of sale.

Shifting your factory from city to village? (Section 54G) Move everything: land, building, machines. The cost of the entire shift counts. Do it within 3 years and save the tax.

Shifting to an SEZ instead? (Section 54GA) Same rules as 54G, but the destination is an SEZ. Useful for businesses moving into export-oriented zones.

The CGAS lifeline: Did not invest yet but want to file the return? Deposit the gain in a CGAS bank account before filing. It holds your money safely while you complete the investment. Miss the final deadline and that money becomes taxable.

The one rule that connects all sections:

“Sell, reinvest in the right asset, within the right time, and the government steps aside. Sell and sit on the money, and the tax arrives.”


The relay baton never stops. Keep it moving and you keep the exemption.

Why Do These Exemptions Exist?


When you sell a capital asset, the profit is called capital gain. Normally, you pay income tax on it. However, the law recognises a genuine purpose: sometimes people sell one asset simply to invest in another productive one. Taxing them fully in such cases would discourage reinvestment. Therefore, Sections 54 to 54GA offer conditional exemptions. Reinvest the gain in the right asset, within the right time, and the tax liability reduces or disappears entirely.

One important rule applies across all sections: Even if the actual investment happens after the sale, simply making the payment before the return filing date is enough to claim the exemption. Additionally, if the investment is not made before the return filing date, the assessee must deposit the unused capital gain in the Capital Gain Account Scheme (CGAS) before filing the return. The deposited amount then counts as the cost of the new asset.

Each Section at a Glance


Section 54: Sell a House, Buy a House
ParameterDetails
Who can claim?Individual or HUF only
What was sold?Residential house property (LTCG)
Where to reinvest?1 residential house in India. Option of 2 houses if capital gain is within Rs. 2 crore (once in a lifetime)
By when?Buy: within 1 year before or 2 years after transfer. Construct: within 3 years after transfer
How much is exempt?Lower of: capital gain, amount invested, or Rs. 10 crore
Sell new asset too soon?Sell within 3 years: exempt amount is deducted from cost of acquisition of the new asset

Example: Ramesh sells his Delhi flat for a capital gain of Rs. 80 lakhs. He buys a new flat in Noida for Rs. 90 lakhs within 18 months. Since his investment (Rs. 90 lakhs) exceeds his capital gain (Rs. 80 lakhs), the entire Rs. 80 lakhs is exempt from tax.

Section 54B: Sell Farm Land, Buy Farm Land
ParameterDetails
Who can claim?Individual or HUF only
What was sold?Urban agricultural land (STCG or LTCG). Must have been used for agriculture for 2 years before transfer by assessee, parent, or HUF
Where to reinvest?Any agricultural land (to be used for agriculture)
By when?Within 2 years after the date of transfer
How much is exempt?Lower of: capital gain or amount invested
Sell new asset too soon?Sell within 3 years: exempt amount deducted from cost of acquisition of the new asset
Additional conditionThe new agricultural land must also be used for agriculture for at least 2 years after purchase
Section 54D: Government Took Your Industrial Land? Reinvest the Compensation
ParameterDetails
Who can claim?Any person (individual, company, firm, etc.)
What was sold?Land or building of an industrial undertaking, compulsorily acquired under any law (STCG or LTCG). Must have been used for the business of that undertaking for 2 years before transfer
Where to reinvest?Land, building, or rights therein for shifting or re-establishing the industrial unit, or for setting up a new industrial unit
By when?Within 3 years after the date of transfer
How much is exempt?Lower of: capital gain or amount invested
Sell new asset too soon?Sell within 3 years: exempt amount deducted from cost of acquisition of the new asset
Section 54EC: Sold a Plot? Park the Gain in Bonds
ParameterDetails
Who can claim?Any person
What was sold?Land or building (LTCG only)
Where to reinvest?Specified bonds of NHAI or RECL, redeemable after 5 years
By when?Within 6 months from the date of transfer
How much is exempt?Lower of: capital gain, amount invested, or Rs. 50 lakhs per financial year. Total investment across year of transfer and the next year also capped at Rs. 50 lakhs
Sell new asset too soon?Transfer or convert bonds within 5 years (or take a loan against them): entire exempt gain becomes taxable as LTCG in that year
Extra noteNo deduction under Section 80C allowed on these bond investments. CGAS does not apply here.
Section 54F: Sold Gold, Shares, or Any Other Asset? Buy a House
ParameterDetails
Who can claim?Individual or HUF only
What was sold?Any long-term capital asset except a residential house property (LTCG only)
Where to reinvest?1 residential house in India
By when?Buy: within 1 year before or 2 years after transfer. Construct: within 3 years after transfer
How much is exempt?Proportionate: (Amount invested / Net Sale Consideration) x Capital Gain. New asset cost capped at Rs. 10 crore
Key restrictionAssessee must not own more than 1 other residential house on the date of transfer. Must not buy another house within 1 year or construct one within 3 years of transfer
Sell new asset too soon?Sell within 3 years: exempt amount becomes taxable as LTCG in the year of such sale

Example: Priya sells gold jewellery for Rs. 50 lakhs. Her LTCG is Rs. 20 lakhs. She buys a flat for Rs. 40 lakhs. Exemption = (40/50) x 20 = Rs. 16 lakhs. The remaining Rs. 4 lakhs is taxable.

Section 54G: Shifting Your Factory from City to Village
ParameterDetails
Who can claim?Any person
What was sold?Machinery, plant, building, or land of an urban industrial undertaking (STCG or LTCG), sold in the course of shifting
Where to reinvest?New plant and machinery, land and building in the new (non-urban) area. Also covers shifting expenses and other specified expenses under the Central Government scheme
By when?Within 1 year before or 3 years after the date of transfer
How much is exempt?Lower of: capital gain or total cost and expenses incurred for the shift
Sell new asset too soon?Sell within 3 years: exempt amount deducted from cost of acquisition of the new asset
Section 54GA: Shifting Your Factory to a Special Economic Zone
ParameterDetails
Who can claim?Any person
What was sold?Machinery, plant, building, or land of an urban industrial undertaking (STCG or LTCG), sold in the course of shifting to an SEZ
Where to reinvest?New plant and machinery, land and building in the SEZ. Also covers shifting expenses and other specified expenses
By when?Within 1 year before or 3 years after the date of transfer
How much is exempt?Lower of: capital gain or total cost and expenses incurred for the shift
Sell new asset too soon?Sell within 3 years: exempt amount deducted from cost of acquisition of the new asset
Key difference from 54GDestination is an SEZ (which can be in an urban or non-urban area). Section 54G requires shifting to a non-urban area only

Capital Gain Account Scheme (CGAS): The Safety Net


What if you sell an asset but cannot complete your reinvestment before you file your income tax return? The CGAS is the answer.

How it works:

  • Deposit the unused capital gain amount in a CGAS account with a designated bank, on or before the due date of filing your return.
  • Attach proof of deposit with the return.
  • The deposited amount counts as the cost of the new asset for exemption purposes.
  • Use the deposited amount for the reinvestment within the prescribed time limit.
  • If you do not use the deposited amount within the time limit, the unused portion becomes taxable as capital gain in the year the time limit expires.

CGAS applies to Sections 54, 54B, 54D, 54F, 54G, and 54GA. It does not apply to Section 54EC, since that investment simply needs to happen within 6 months.

Points Common Across Multiple Sections


  • An assessee can claim exemption under more than one section for a single transfer, provided all conditions of each section are independently satisfied.
  • For Sections 54, 54B, 54F, 54G, and 54GA, investment in the name of another person also qualifies for exemption.
  • Under Sections 54 and 54F, two adjacent flats bought together count as one residential house for exemption purposes.
  • Under Section 54, construction cost includes both land and building costs.
CA Divyansh Kumar
CA Divyansh Kumar

Divyansh Kumar is a Chartered Accountant qualified from the Institute of Chartered Accountants of India (May 2026) and holds a B.Com (Hons) degree from the University of Delhi. His areas of expertise include Income Tax, GST, DTAA, corporate insolvency, capital markets, and macroeconomic analysis. Through FiscalZenith, he covers Indian tax law, regulatory developments, and corporate case studies with a focus on accuracy and primary source verification.