Farmland qualifies as like-kind real property
Under the like-kind exchange rules, all U.S. real property is like-kind with all other U.S. real property — regardless of use, type, or quality. Farmland held for investment or productive use in a trade or business can be exchanged for:
Apartment buildings, commercial real estate, vacant land, industrial property, or another farm.
The receiving party in an exchange can similarly trade a commercial building for a farm.
The rules require that both properties be held for investment or productive use in a trade or business — not for personal use. A farm actively operated for profit qualifies; a small hobby farm that has never shown a profit may face challenges on the 'held for investment' test.
What doesn't qualify: farm equipment and personal property
The 1031 exchange rules changed with the Tax Cuts and Jobs Act (effective 2018): like-kind exchanges are now limited to real property. Equipment and personal property no longer qualify.
Farm equipment (tractors, combines, irrigation equipment that is not permanently affixed to the land), livestock, and grain inventories are not real property and cannot be exchanged under Section 1031. Only the land and structures permanently affixed to it (barns, silos permanently attached to foundations, irrigation infrastructure embedded in the land) are real property.
Drainage tiles: permanent subsurface tile systems embedded in the land are generally treated as real property and part of the land sale. Portable, above-ground systems are equipment.
Water rights: in most western states, appurtenant water rights attached to farmland are treated as real property for exchange purposes. Non-appurtenant water rights (held separately) may have different treatment depending on state law.
Practical considerations for farm exchanges
When exchanging a farm, allocating the purchase price between land, depreciable structures, and personal property matters. If the sale includes farm equipment, the equipment is outside the 1031 exchange and its gain (including Section 1245 recapture) is taxable in the year of sale even if the land portion is deferred.
Farmers and landowners exchanging into non-agricultural property should ensure the replacement property is identified with sufficient specificity in the 45-day identification letter. If exchanging into a Delaware Statutory Trust or other fractional ownership arrangement, confirm the structure qualifies under the same rules as other TIC exchanges.
A worked example: exchanging a farm for an apartment building
A farmer sells 160 acres of cropland held for years, netting $1,200,000 after paying off a $300,000 land loan, with $900,000 of equity going to a qualified intermediary. To fully defer, the replacement — say an apartment building — must cost at least $1,200,000 and carry at least $300,000 of new debt (or additional cash to replace it). Because farmland is often held with a very low basis, the deferred gain can be enormous, which is what makes the exchange so valuable.
If the same sale also includes $150,000 of grain in storage and $200,000 of equipment, those items are outside the exchange. The grain is ordinary income when sold, and the equipment gain — largely Section 1245 recapture from prior depreciation and Section 179 or bonus deductions — is taxable in the year of sale. Only the real property (land and permanently affixed structures) rides into the 1031 exchange.
Allocating the purchase price on a farm sale
Farm transactions bundle very different asset classes under one contract: raw land, tile drainage, fences, grain bins, barns, a farmhouse, equipment, and stored crops. Because only real property qualifies for Section 1031, the purchase agreement should allocate the price among these categories. A clear allocation supports which portion is deferred (real property) and which is currently taxable (equipment, inventory), and it drives depreciation on the buyer's side.
Grain bins are a classic gray area: a bin used to store the farmer's own grain is often treated as Section 1245 personal property (agricultural equipment), while a permanent structure may be real property. Because the classification affects both recapture and 1031 eligibility, have the allocation reviewed rather than assuming everything attached to the land is real property.
The primary-residence farmhouse problem
Many farms include a farmhouse the owner lives in. The personal-residence portion does not qualify for Section 1031 (personal-use property is excluded), but it may qualify for the Section 121 home-sale exclusion — up to $250,000 of gain ($500,000 for a married couple filing jointly) if you meet the two-of-five-year ownership and use tests.
The land and outbuildings used in the farming business go into the 1031 exchange; the residence and its immediate curtilage are carved out and handled under Section 121. The two provisions can be used together in a single transaction, but the allocation between residence and business property must be reasonable and documented.
Conservation easements, CRP contracts, and leased ground
Farmland enrolled in a Conservation Reserve Program (CRP) contract or subject to a conservation easement is still real property and generally exchangeable, though the character of CRP payments and any easement proceeds is a separate question. Leased farmland — cash rent or crop-share — held for investment or business use qualifies as like-kind real property, the same as any other investment real estate.
A landowner who rents ground to an operator is holding it for productive use in a trade or business or for investment, squarely within Section 1031. A hobby operation that has never sought a profit, however, may struggle to show the property was 'held for investment or productive use,' which is the threshold requirement for any 1031 exchange.
Common mistakes and planning tips
Assuming equipment rolls into the exchange. Since 2018, personal property is excluded; equipment gain is taxable now. Ignoring the low basis. Long-held farmland often has minimal basis, so a taxable sale can trigger a very large capital gain plus the 3.8% NIIT — the exact situation a 1031 exchange is designed to defer. Overlooking the residence. Failing to carve out the farmhouse for Section 121 wastes an exclusion.
Plan the allocation and the vesting before listing, line up a qualified intermediary before closing, and identify replacement property within the 45-day window. Farmers exchanging into passive real estate such as a Delaware Statutory Trust should confirm the structure qualifies and understand they are trading active farm income for passive rental income, which changes their tax profile going forward.
Depreciation carryover and the new property's basis
After a farm exchange, your basis carries over from the relinquished land into the replacement property, adjusted for any additional cash invested and any gain recognized on boot. If you exchange low-basis farmland for a depreciable apartment building, that carried-over basis is generally split between land (non-depreciable) and improvements, and the improvement portion continues to be depreciated — with the carried-over amount staying on the relinquished property's remaining schedule and any additional investment starting a fresh depreciation life.
This matters because trading raw farmland (little or no depreciation) for an income building introduces depreciation deductions going forward, but on a smaller depreciable base than an outright purchase of the same building would produce. Farmers moving from active land into passive rental real estate should also revisit their broader tax picture: self-employment tax on farm income disappears, the passive activity rules now apply to the rental, and the depreciation schedule shifts. Model the after-tax cash flow of the replacement property, not just the deferred gain, before committing.
Frequently asked questions
Can farmland be exchanged for an apartment building in a 1031 exchange?
Yes. All real property is like-kind with all other real property. A farm exchanged for apartments, office buildings, or vacant land all qualifies.
Does farm equipment qualify for a 1031 exchange?
No. Since 2018, Section 1031 applies only to real property. Farm equipment, machinery, and livestock are excluded and any gain on their sale is fully taxable.
Are water rights eligible for a 1031 exchange?
Appurtenant water rights that run with farmland are generally treated as part of the real property and qualify. Non-appurtenant water rights held separately may have different treatment depending on state law.
Do grain bins and farm structures qualify for a 1031 exchange?
Permanent structures affixed to the land — barns, silos on foundations, embedded drainage tile — are real property and qualify. Grain bins used to store the farmer's own grain are frequently treated as Section 1245 personal property and do not qualify. Have the classification reviewed, because it affects both recapture and exchange eligibility.
Can I use both Section 121 and Section 1031 when I sell my farm?
Yes. If a farmhouse is your primary residence, the gain on the residence portion may qualify for the Section 121 exclusion (up to $250,000, or $500,000 married filing jointly), while the farmland and business structures are deferred under Section 1031. The purchase price must be reasonably allocated between the two.
Is leased or CRP farmland eligible for a 1031 exchange?
Yes. Farmland held for investment or productive use in a trade or business — including cash-rented ground, crop-share arrangements, and land enrolled in CRP — qualifies as like-kind real property. Only personal-use property is excluded.
Do I pay self-employment tax after exchanging farmland for a rental?
Rental real estate income is generally not subject to self-employment tax, whereas active farm income often is. Exchanging active farmland for a passive rental typically removes the self-employment tax on that income but subjects it to the passive activity loss rules going forward.
How is depreciation handled on the replacement property after a farm exchange?
Basis carries over from the relinquished farmland, split between non-depreciable land and depreciable improvements. The carried-over portion continues on the relinquished property's remaining schedule, and any additional cash invested starts a new depreciation life on the excess basis.
Can a hobby farm qualify for a 1031 exchange?
Only if the property was held for investment or for productive use in a trade or business. A hobby operation that has never sought a profit may fail the 'held for investment' requirement, which is the threshold test for any like-kind exchange, so the classification of the activity matters.
Sources
Educational information and estimates only. Not tax advice. Tax rules change and vary by situation; consult a qualified tax professional before acting.
