Sale of Agricultural Land: Rural vs Urban Land, Capital Gains and Section 54B

By CA Ritik Swami · · 5 min read

In brief: Rural agricultural land is not a capital asset, so its sale is not taxed. Urban agricultural land is. See the distance tests, capital gains, Section 54B reinvestment and compulsory acquisition.

Illustrated cover for the article: Sale of Agricultural Land: Rural vs Urban Land, Capital Gains and Section 54B

Reviewed by CA Ritik Swami, Chartered Accountant. Last reviewed: 19 November 2026.

Whether tax applies on selling agricultural land depends mostly on where the land is. Rural agricultural land in India is excluded from the definition of a capital asset, so a profit on its sale is not a capital gain and is not taxed. Land that lies within a specified distance of a municipality or cantonment board, based on its population, is urban agricultural land and is a capital asset, so a sale after 24 months gives a long-term gain taxed at 12.5 per cent. A farmer who reinvests the gain in another agricultural land within two years can claim an exemption under Section 54B, and compensation on a compulsory acquisition of urban agricultural land by the government can be exempt. This guide explains the tests, the tax, the exemption and the proof you need.

The test of rural and urban land

Municipality or cantonment board populationLand is urban if it lies within
More than 10,000 but not more than 1,00,0002 km of the municipal limits
More than 1,00,000 but not more than 10,00,0006 km
More than 10,00,0008 km

Land outside these limits is rural agricultural land. The distance is measured aerially, in a straight line from the limit of the municipality, and not by road, as per the notifications. Check the population of the municipality as per the last census figures in force and the distance on the revenue map before you assume that your land is rural. Agricultural land that is not within these limits is not a capital asset, and the sale value is not income; see Agricultural income: is it really tax-free.

Tax on urban agricultural land

  • If you held the land for 24 months or less, the gain is short-term and is taxed at slab rates.
  • If you held it for more than 24 months, the gain is long-term, taxed at 12.5 per cent without indexation; an individual or HUF that bought before 23 July 2024 can compare the old 20 per cent with indexation, as explained in selling property: 12.5% or 20% with indexation.
  • If the sale price is below the stamp duty value, the stamp duty value is used as the sale price; see Section 50C.

Section 54B: reinvesting in agricultural land

  • Who. An individual or a HUF that, for two years before the sale, used the land for agriculture, either itself or through a parent or the HUF.
  • What. The long-term or short-term gain on the sale of urban agricultural land is exempt to the extent it is reinvested in another agricultural land.
  • When. The new land must be bought within two years from the date of the sale. If the money is not used before the due date of the return, deposit it in the Capital Gains Account Scheme.
  • Lock-in. The new land must not be sold within three years; if it is, the exemption is withdrawn for the part concerned.
  • See also the other reinvestment sections in Sections 54, 54F and 54EC.

Compulsory acquisition

Compensation received from the government on the compulsory acquisition of urban agricultural land by an individual or HUF who used it for agriculture is exempt from tax under Section 10(37) in the case of the original compensation. Enhanced compensation is taxed in the year it is received, as per the rules. Keep the acquisition order, the award and the proof of use as agricultural land.

Worked example

Mahesh sold urban agricultural land bought 5 years ago for Rs 20 lakh, at Rs 60 lakh, and invested Rs 45 lakh in new agricultural land within a year.

  1. Long-term gain is Rs 40 lakh (Rs 60 lakh less Rs 20 lakh).
  2. Section 54B exemption is the lower of the gain and the amount reinvested. Rs 45 lakh reinvested is above the gain, so the entire Rs 40 lakh is exempt.
  3. If he had reinvested only Rs 25 lakh, Rs 25 lakh would be exempt and Rs 15 lakh would be taxed at 12.5 per cent.
  4. He must hold the new land for three years.

Common mistakes

  • Treating all agricultural land as exempt without checking the distance from the municipality
  • Reinvesting in a house instead of agricultural land
  • Selling the new land within three years
  • Not depositing the gain in the Capital Gains Account Scheme before the due date
  • Ignoring the stamp duty value

Frequently asked questions

How do I know if my land is rural? Check the distance from the nearest municipality and the population band, using the tests above, and the revenue records.

Is the tax on sale of rural land nil? Yes, because rural agricultural land is not a capital asset, so there is no capital gain.

Can I use Section 54B if I did not farm the land? The land must have been used for agriculture by you, your parent or your HUF for the two years before the sale.

Is the amount received on acquisition by government taxable? Compensation on compulsory acquisition of urban agricultural land is exempt in the cases described above.

A note on the law

The distance tests and the reinvestment rules are technical, and the Income-tax Act, 2025 renumbers the sections from 1 April 2026. This article reflects published material and our understanding on the review date. Check the revenue records for your land and the current text, and ask a CA before you sell. Taxswami Consultants can help you plan the sale and the reinvestment.

This article is general information, not legal, tax or professional advice for your situation. Rules, forms, thresholds and due dates change, so please confirm the current position before acting on it.

Call us now Chat on WhatsApp Book Free Consultation