Rows of green cultivated open land — Lords of the Lands
October 2, 2026Land

Section 54B: Saving Tax When You Sell Farmland

The short version
  • Section 54B of the Income-tax Act, 1961 lets you avoid tax on the capital gain from selling agricultural land if you reinvest that gain in new agricultural land within two years of the sale.
  • It is available only to an individual or a Hindu Undivided Family (HUF) — not to companies or firms.
  • The land sold must have been used for agricultural purposes for the two years immediately before the sale, by you or your parent (or by the HUF).
  • The exemption equals the lower of the capital gain or the cost of the new agricultural land; reinvest the whole gain and the whole gain is exempt.
  • If you cannot buy before your return is due, park the amount in a Capital Gains Account Scheme; and if you sell the new land within three years, the exemption is reversed.

Selling farmland and worried about the tax? If the plot is urban agricultural land, the gain is taxable — but Section 54B is the provision written precisely for farmers who sell one field and buy another. Here is exactly how it works, who qualifies, and a worked example.

Section 54B — Lords of the Lands
Agricultural land eligible for the Section 54B exemption on sale and reinvestment

What is Section 54B of the Income Tax Act?

Section 54B is a capital gains exemption that allows an individual or HUF to defer tax on the gain from selling agricultural land, provided the gain is reinvested in another agricultural land within two years of the transfer.

It exists because urban agricultural land is a capital asset, so selling it would otherwise trigger capital gains tax. Section 54B recognises that a farmer swapping one piece of land for another has not really cashed out, and shelters the gain to the extent it is rolled into the new land. It sits alongside Section 54 (residential house to house) and Section 54F (any long-term asset to a residential house) in the family of reinvestment exemptions, but Section 54B is the only one aimed specifically at agricultural land.

Who can claim the Section 54B exemption?

Only an individual or a Hindu Undivided Family can claim Section 54B. Companies, LLPs and partnership firms cannot use it, regardless of how the land was held or farmed.

Non-resident Indians who are individuals are not barred from the section as such, but a separate hurdle applies: under the Foreign Exchange Management Act (FEMA), an NRI generally cannot purchase agricultural land in India. Because Section 54B requires buying new agricultural land to claim the exemption, an NRI seller usually cannot complete the reinvestment leg and so, in practice, cannot avail it — a point worth confirming with an advisor who handles FEMA cases before relying on it.

What conditions must the land and reinvestment meet?

Three conditions matter: the old land must have been used for agriculture for the two years immediately before the sale, the new asset must again be agricultural land, and the purchase must happen within two years from the date of transfer.

The two-year agricultural-use test can be met by use by you or your parent, and by the HUF where the land is HUF property. The new land does not have to be in the same district or state; it simply has to be agricultural land. Miss the two-year reinvestment window and the exemption is lost, and the gain becomes taxable in the year of the original sale.

Condition Requirement under Section 54B
Who can claim Individual or HUF only
Prior use of old land Agricultural use in the 2 years immediately before sale
New asset Another agricultural land (rural or urban)
Time to reinvest Within 2 years from the date of transfer
Exemption amount Lower of capital gain or cost of new land
Lock-in on new land 3 years — selling sooner reverses the exemption

How much tax does Section 54B actually save?

The exemption is the lower of the capital gain or the amount you spend on the new agricultural land. Reinvest an amount equal to or greater than the gain and the entire gain is exempt; reinvest less, and only that lower amount is sheltered, with the balance taxed.

This is the single most misread part of the section. The test is the cost of the new land against the capital gain — not against the full sale price. So a seller does not need to plough the entire sale consideration back into land; they need to cover the gain. Anything spent above the gain gives no extra benefit under this section, and anything short of the gain leaves a taxable remainder.

What is the Capital Gains Account Scheme, and the three-year lock-in?

If you have not bought the new agricultural land by the due date for filing your income tax return, you must deposit the unused gain in a Capital Gains Account Scheme (CGAS) account to keep the exemption alive; you then withdraw from it to buy the land within the two-year window.

The CGAS bridges the gap between selling and buying across a filing deadline. Separately, a lock-in applies after you buy: if the new agricultural land is sold within three years of its purchase, the exemption claimed earlier is withdrawn and effectively added back when computing the gain on that later sale. The two mechanics work together — the CGAS protects the exemption before you reinvest, and the three-year lock-in protects the revenue after you do.

Not tax adviceSection 54B turns on specific facts — how the land was used, who cultivated it, the exact dates, and whether the land is a capital asset at all. This page is general information. Confirm your eligibility and computation with a qualified chartered accountant before you sell or file.

What does a worked Section 54B example look like?

Suppose an individual sells urban agricultural land — farmed for the previous two years — for ₹1,20,00,000, against an indexed cost of ₹40,00,000, giving a capital gain of ₹80,00,000. Within two years they buy new agricultural land for ₹60,00,000.

Step Amount
Sale consideration of old land ₹1,20,00,000
Less: indexed cost of acquisition ₹40,00,000
Capital gain ₹80,00,000
Cost of new agricultural land ₹60,00,000
Exemption (lower of gain or new cost) ₹60,00,000
Taxable capital gain ₹20,00,000

Because the new land (₹60,00,000) cost less than the gain (₹80,00,000), only ₹60,00,000 is exempt and the remaining ₹20,00,000 is taxed as a capital gain. Had they instead bought new land for ₹80,00,000 or more within the window, the whole ₹80,00,000 gain would have been exempt. If the new land is then sold within three years, the ₹60,00,000 exemption is reversed.

How is Section 54B different from rural land being exempt outright?

Rural agricultural land is not a capital asset at all under Section 2(14)(iii), so its sale generates no taxable gain and needs no exemption. Section 54B is for urban agricultural land, which is a capital asset — it does not make the gain disappear, it defers it into the new land.

The distinction decides which path applies. If your plot is rural agricultural land by the Section 2(14)(iii) distance-and-population test, you owe nothing and Section 54B is irrelevant. If it is urban agricultural land, the gain is real and Section 54B is the tool to shelter it — so the first question is always which category the land falls in, confirmed against the actual records rather than assumed.

FAQ

What is Section 54B of the Income Tax Act?

Section 54B is an exemption that lets an individual or HUF defer capital gains tax on the sale of agricultural land, provided the gain is reinvested in new agricultural land within two years of the transfer. The exemption is the lower of the capital gain or the cost of the new land.

Who is eligible to claim Section 54B?

Only an individual or a Hindu Undivided Family. Companies and firms cannot claim it. NRIs who are individuals are not barred by the section, but FEMA generally prevents them from buying agricultural land, which usually blocks the reinvestment the exemption requires.

How long must the land have been used for agriculture?

For the two years immediately preceding the sale, the land must have been used for agricultural purposes by the individual or a parent, or by the HUF where it is HUF property. Without this two-year use, the Section 54B exemption is not available.

How much is exempt under Section 54B?

The lower of the capital gain or the cost of the new agricultural land. If you reinvest an amount equal to or above the gain, the whole gain is exempt. Reinvest less, and only that amount is exempt, with the balance taxed as a capital gain.

What is the Capital Gains Account Scheme for Section 54B?

If you have not bought the new agricultural land by the due date for filing your return, you deposit the unused gain in a Capital Gains Account Scheme account to preserve the exemption, then withdraw from it to buy the land within the two-year window.

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

The Section 54B exemption you claimed earlier is reversed. The exempted amount is effectively brought back into the computation when working out the capital gain on that later sale, increasing your taxable gain in that year.

Selling or buying farmland in the corridor?

Section 54B can save a large tax bill, but only if the use history, dates and reinvestment are documented correctly. If you are selling agricultural land or buying a replacement plot in the Karjat–Khopoli–Alibaug belt, our team can help you line up the records.

Talk to our team →


Related reading

Tax and costs

Agricultural land and NA

Buying, selling and corridor

Citations and sources

Income-tax Act, 1961 — Section 54B (capital gain on transfer of land used for agricultural purposes), read with Section 2(14)(iii) (rural agricultural land excluded from capital asset), via the Income Tax Department. FEMA restriction on NRI purchase of agricultural land per the Foreign Exchange Management (Acquisition and Transfer of Immovable Property in India) regulations. Conditions, the lower-of test, the Capital Gains Account Scheme and the three-year lock-in cross-checked against ClearTax and Tax2win. This article is general information, not tax advice — consult a qualified chartered accountant or tax professional for your specific case.

author avatar
Girish Chhalwani Co-founder
Girish is the Co-Founder of Lords of the Lands, he combines market intelligence, infrastructure research, product thinking and development strategy to transform raw land into thoughtfully planned plotted communities. His ability to identify emerging growth corridors, assess long-term development potential and shape product direction ensures that every project begins with a strong strategic and design foundation.