Table of Contents

Section 54B: Save Capital Gains Tax on Agricultural Land

When you sell agricultural land near a town and make a large gain, Section 54B of the Income-tax Act 1961 can wipe out most of your capital gains tax if you reinvest the money into fresh farm land within two years. The catch is that this relief only applies to urban agricultural land, because rural farm land is not even taxed. Knowing which category your field falls into is the single most important decision before you sign the sale deed.

Quick answer: Section 54B exempts capital gains on the sale of urban agricultural land used for farming for at least two years, provided you buy new agricultural land within two years of the sale. The exemption equals the lower of the capital gain or the cost of the new land. Rural agricultural land is not a capital asset, so its sale attracts no capital gains tax at all.

What Section 54B is

Section 54B is a reinvestment relief in the Income-tax Act 1961. If an individual or HUF sells urban agricultural land that was used for farming for two years before the sale, and buys new agricultural land within two years, the capital gain is exempt up to the cost of the new land. It applies for AY2026-27.

Two sections work together here, and you must read them in order.

Section 2(14)(iii), is your land even a capital asset? Rural agricultural land is excluded from the definition of a capital asset. Land qualifies as rural if it lies in an area with a population below 10000, or beyond the prescribed aerial distance from a municipality: more than 2 km from a town of 10000 to 1 lakh people, more than 6 km from a town of 1 lakh to 10 lakh, and more than 8 km from a city above 10 lakh. The distance is measured in a straight line, not by road. If your land is rural, its sale produces no capital gain and no tax, so Section 54B is simply not needed.

Section 54B, relief for urban farm land. When the land fails the rural test it becomes urban agricultural land and a capital asset, so the gain is taxable. Section 54B then lets you claim an exemption if all of these are true:

The exemption is the lower of the capital gain or the cost of the new agricultural land. If the new land costs less than the gain, the balance gain is taxed.

A three-year lock-in protects the relief. If you sell the new land within three years of buying it, the exemption is reversed by reducing the cost of acquisition of the new land by the exempted amount, which inflates the gain on that later sale.

This article is general guidance, not tax advice. Confirm your position with a chartered accountant before filing.

Step-by-step: how to claim Section 54B

  1. Check Section 2(14)(iii) first. Measure the aerial distance from the nearest municipality and find its population from the latest published figures. If the land is rural, stop, there is no capital gains tax.
  2. Confirm two years of agricultural use by you, a parent, or the HUF immediately before the sale, and keep proof.
  3. Compute the capital gain. Long-term gains use indexed cost of acquisition; short-term gains do not.
  4. Buy new agricultural land within two years of the sale date.
  5. If you cannot buy before the income tax return due date, deposit the unutilised gain in a Capital Gains Account Scheme account with a notified bank before that due date.
  6. Claim the Section 54B exemption in your ITR under the capital gains schedule, showing the new land cost or the CGAS deposit.
  7. Hold the new land for at least three full years to keep the exemption intact.

Documents you will need

Common mistakes that cost the exemption

Real-life example: Dr. Shrawan Kumar Pathak, Sitapur district, Uttar Pradesh. In April 2025 Dr. Shrawan Kumar Pathak sold 1.5 acres of agricultural land lying 1.2 km from the Sitapur municipal limit, a town of about 1.8 lakh people. Because it sat well within the 6 km aerial band, it was urban agricultural land and a capital asset, so the gain was taxable. Sale consideration was Rs 85,00,000 and indexed cost of acquisition was Rs 23,00,000, giving a long-term capital gain of Rs 62,00,000. In January 2026 he bought new agricultural land for Rs 50,00,000. The Section 54B exemption is the lower of the gain of Rs 62,00,000 or the new land cost of Rs 50,00,000, so Rs 50,00,000 is exempt. The remaining Rs 12,00,000 stays taxable as long-term capital gain. He plans to hold the new land past January 2029 to keep the exemption safe. He had used the old land for paddy for the two years before the sale, with 7/12 entries to prove it.

Frequently asked questions

Does Section 54B apply to rural agricultural land?

No. Rural agricultural land is not a capital asset under Section 2(14)(iii), so its sale is not taxed and Section 54B is not needed. The relief is only for urban agricultural land.

How much exemption can I claim under Section 54B?

The exemption equals the lower of your capital gain or the cost of the new agricultural land. If the new land costs less than the gain, the difference is taxed.

Can a company or firm claim Section 54B?

No. Only an individual or a Hindu Undivided Family can claim the exemption.

What is the deadline to buy the new land?

You must purchase the new agricultural land within two years from the date of transfer of the old land.

What if I cannot buy land before filing my return?

Deposit the unutilised gain in a Capital Gains Account Scheme account with a notified bank before the ITR due date, then use it to buy land within the two-year window.

What happens if I sell the new land within three years?

The exemption is reversed. The earlier exempted amount is deducted from the cost of acquisition of the new land, which increases the taxable gain on that later sale.

Does the land need to have been farmed before the sale?

Yes. It must have been used for agricultural purposes by you, a parent, or the HUF for at least two years immediately before the transfer.

Is aerial distance or road distance used to classify the land?

Aerial straight-line distance from the nearest municipality is used, not the road distance shown on map apps.

Tools and further reading

Sources