Skyscrapers seen from below

Property types · Farmland

1031 Exchange for Farmland

Cropland, barns and grain bins are like-kind to any U.S. real estate; the farmhouse takes §121, equipment is taxed, and new §1062 spreads tax over 4 years.

By Breakwater Exchange · Reviewed by our 1031 advisory team · Last reviewed

The short answer

Farmland qualifies for a 1031 exchange and is like-kind to any U.S. real property held for business or investment, so cropland can become apartments, a net-leased building or DST interests as easily as another farm. The land, its permanent improvements and unharvested crops go through the exchange; the farmhouse is handled under §121, and machinery, livestock and stored grain are taxed as separate sales. New §1062 offers a different route for a sale to a working farmer: pay the tax in four annual installments instead of deferring it.

At a glance

Like-kind scopeCity real estate for a farm, or improved for unimproved, is like-kind (Reg. §1.1031(a)-1)
Real property includesLand, barns, fences, grain storage bins, silos, in-ground irrigation, unsevered crops
Outside the exchangeMachinery, vehicles, livestock, harvested grain: taxed as separate sales after 2017
Farmhouse§121 exclusion of $250,000/$500,000 if used as your main home 2 of the last 5 years
§1252 recaptureSoil and water deductions become ordinary income on land held under 10 years
§1062 electionTax on a sale to a qualified farmer payable in 4 equal annual installments
§1062 covenantLand must stay in farm use 10 years after the sale; 10-year farm-use look-back before
FormsForm 8824 (exchange), Form 4797 (business property), Form 8594 (allocation), Form 1062

Cropland is like-kind to apartments, warehouses, net leases and DSTs, not just other farms

The regulations name the exchange of city real estate for a ranch or farm as a qualifying like-kind exchange, and the IRS treats all U.S. real property held for business or investment as like-kind regardless of use or improvement. A retiring farmer can therefore sell 640 acres and buy a medical office, an industrial warehouse, a single-tenant net lease or fractional interests in a Delaware Statutory Trust that Rev. Rul. 2004-86 treats as direct real estate ownership.

What does not change is the holding requirement on the other side: the replacement must be held for business or investment, not as a retirement home or a lot for a child's house. Foreign farmland is never like-kind to U.S. land under §1031(h).

A $6.5 million farm sale is five separate sales, and only two of them go through the intermediary

Publication 225 treats a lump-sum farm sale as a sale of each asset, allocated by relative value, and requires the §1060 residual method with Form 8594 when the assets make up a going business. The exchange can hold only the amounts allocated to real property; everything else is reported on Form 4797 or Schedule F in the year of sale.

Publication 225's own example allocates a $382,000 farm sale between a $158,000 home and $224,000 of business property, and states plainly that the home-sale exclusion does not apply to property used in the farming business. Write the allocation into the purchase contract with an appraisal behind it; a buyer wants a high equipment allocation for faster write-offs, so the numbers are negotiated, not assumed.

  • Hypothetical farmhouse and 3-acre yard, $450,000: §121 exclusion if you lived there 2 of the last 5 years; not farm business property.
  • 640 acres of cropland, $5,300,000: real property, fully exchangeable through the qualified intermediary.
  • Machine shed, grain bins, wells and buried tile, $400,000: real property, exchangeable, with building depreciation recapture deferred.
  • Tractors, combine and trucks, $300,000: §1245 property, ordinary income up to the depreciation taken, taxable now.
  • Stored grain and market livestock, $50,000: inventory, ordinary income on Schedule F.
  • Result: $5,700,000 is routed to the intermediary and $800,000 is taxed or excluded outside the exchange.

Unharvested crops go with the land; harvested grain, breeding stock and machinery stay outside

Unsevered crops are real property under Reg. §1.1031(a)-3 until they are cut, and §1231(b)(4) treats an unharvested crop as business property when the crop and the land are sold together, to the same buyer, on land held more than a year. Section 268 then disallows the crop's production costs as deductions; Publication 225 says to add them to the land's basis instead.

Breeding cattle and horses held 24 months (12 months for other livestock) get §1231 capital treatment, but they are personal property and cannot be exchanged after the 2017 law change. Publication 225's exchange example makes the point: a farmer who trades land and receives a pickup truck worth $11,000 plus $4,000 cash must recognize gain on the $15,000 because only the real property qualifies.

The 15% incidental rule in Reg. §1.1031(k)-1(c)(5) only spares you from identifying furniture-type items separately; personal property received with a replacement is still boot.

Two recapture layers wait in the land and buildings, and a full exchange defers both

Farm buildings depreciated straight-line generate unrecaptured §1250 gain taxed at a maximum 25% federal rate, and land on which you deducted soil and water conservation costs under §175 carries §1252 recapture if sold within ten years: 100% of the deductions become ordinary income if the land was held five years or less, then 80%, 60%, 40% and 20% for years six through nine. A fully deferred exchange with no boot postpones both layers, whereas an installment sale under §453 cannot defer recapture, which Publication 537 requires in the year of sale even if no payment arrives.

Add the 3.8% net investment income tax on gains above $200,000 ($250,000 joint) and a taxable sale of long-held cropland with $3,000,000 of gain can send more than $700,000 to the Treasury before state tax. Section 1252(b) applies rules similar to §1245, whose like-kind rule limits recapture to gain actually recognized; have your CPA confirm how it applies to your acres.

New §1062 pays the tax over four years, but only on a sale to a working farmer who keeps farming

For tax years beginning after July 4, 2025, Public Law 119-21 added §1062: elect on Form 1062 to pay the net income tax attributable to gain on 'qualified farmland property' sold to a 'qualified farmer' in four equal annual installments, the first by the original due date of the return for the year of sale. The land must have been farmed by you, or leased by you to a qualified farmer, for substantially all of the ten years before the sale, and it must carry a covenant barring non-farm use for ten years after.

A qualified farmer is an individual actively engaged in farming under 7 U.S.C. 1308-1, so a developer, a REIT or an investor LLC does not qualify the sale. Late payment, the seller's death, or the liquidation of a corporate, trust or estate seller accelerates all unpaid installments, and each qualifying sale needs its own Schedule A attached to Form 1062.

  • §1062 changes when you pay, not how much: the gain is recognized and the buyer takes a cost basis as in any sale.
  • §1031 changes whether you recognize gain at all, but requires reinvesting in real property within 180 days.
  • §1062 needs no replacement property and leaves the cash in your hands, minus the first 25% of the tax.
  • An investor buyer leaves only §1031 on the table; a farmer buyer opens both doors.

Retired farmers usually trade dirt for rent they do not have to manage

Cash-renting the land to a neighbor keeps it business or investment property and is reported as rent on Schedule E, so it never has to be sold at all; many owners hold until death for the §1014 step-up that hands heirs a basis equal to date-of-death value. Those who do sell often split the proceeds: part into DSTs paying monthly distributions, part into a net-leased building near home, part into cash they accept tax on.

Rent from DSTs and net leases is passive income subject to the 3.8% surtax above the thresholds, and it is no longer farm income. Cash-out DSTs and zero-cash-flow structures exist for owners who must replace a large mortgage paid off at closing; the asset-class overview shows what the trusts actually hold.

Multi-heir farms: tenants in common can each choose, an LLC decides once

Partnership and LLC interests are excluded from §1031 by §1031(a)(2)(D), so siblings holding the farm through an entity must exchange at the entity level or restructure well before a sale, while heirs holding undivided tenant-in-common interests can each decide to exchange or take cash. Rev. Proc. 2002-22 lists the conditions the IRS uses to treat co-ownership as real estate rather than a partnership: no more than 35 co-owners, no partnership return or common business name, and unanimous approval of any sale, lease or manager.

Land in a trust exchanges under the trust's own tax identity, and the same taxpayer that sells must buy. Last-minute drop-and-swap distributions have no IRS safe harbor and are examined on their facts, so the ownership map should be settled before the auction flyer prints.

Related questions

Can I exchange 80 acres and keep the rest of the farm?

Yes. Publication 225 treats a partial sale as its own transaction with basis allocated to the acres sold, and the exchange covers only that tract; the retained acres are untouched.

Does the exchange have to close before harvest?

No, but timing decides the crop's treatment: a standing crop sold with the land is real property and §1231 property, while grain harvested before closing is inventory sold separately. The 45- and 180-day clocks run from the land closing, whatever the season.

Can I use §1062 and a 1031 on the same sale?

They address different gain: §1062 spreads tax on gain you recognize, §1031 stops recognition. The IRS has not published guidance on electing §1062 for boot recognized in a partial exchange to a qualified farmer, so treat that combination as unsettled.

What about CRP contracts or a conservation easement on the land?

An easement lowers the value you have to replace but does not disqualify the exchange, and CRP payments end with your ownership; water rights, easements and grazing permits are covered on the ranch page in this series.

Do heirs who just inherited the farm need a 1031?

Usually not right away: §1014 sets their basis at date-of-death value, so only appreciation since death is taxable, and an exchange defers only that slice.

Sources

Checked against these publications on September 19, 2026. Rules and figures change; confirm the current version with your CPA or attorney before you act. This page is general information, not tax or legal advice.

  1. Treas. Reg. §1.1031(a)-1 (like-kind examples)
  2. Treas. Reg. §1.1031(a)-3 (definition of real property)
  3. 26 U.S.C. §1231 (livestock and unharvested crops)
  4. 26 U.S.C. §268 (unharvested crop expenses)
  5. 26 U.S.C. §1252 (soil and water conservation recapture)
  6. Instructions for Form 1062 (12/2025)
  7. IRS Publication 225 (2025), Farmer's Tax Guide
  8. IRS Publication 544 (2025), Sales and Other Dispositions of Assets
  9. IRS Publication 537 (2025), Installment Sales
  10. Rev. Proc. 2002-22 (tenancy-in-common conditions)

Selling cropland and want the proceeds to keep paying?

Send the acreage, the buyer type (farmer or investor) and your target income through our form. We work with vetted national DST sponsors and can outline replacement options across multifamily, industrial and net-lease property before your 45-day clock starts.

Free 1031 proposal

Access Investment Offerings Other Brokers Can’t Provide

Breakwater Exchange’s expert guidance helps you maximize returns while minimizing tax exposure, so you can invest with clarity and confidence.

years of experience
20+
in DST transactions
$1B+
states licensed
50
vetted national sponsors
8

Tell us about your exchange

Share the basics and an advisor will reach out with next steps.

No obligation. A Breakwater Exchange advisor reviews every request personally.