Farmland held for productive use in a trade, business, or investment qualifies for a Section 1031 like-kind exchange, letting you sell one tract, reinvest in other domestic real property, and defer federal capital gains tax on the appreciation. The 1031 exchange farmland rules are strict on three points: the land has to be business or investment property (not a resale flip or personal-use ground), only real property qualifies after 2017, and two federal deadlines — 45 days to identify replacements and 180 days to close — govern the whole transaction. Miss any of them and the deferral fails.
Which Farmland Qualifies
Section 1031 requires that the property be “held for productive use in a trade or business or for investment.”1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Cropland, pasture, timber tracts, and leased agricultural ground all fit easily when there is a track record of profit-seeking activity. Your Schedule F or Form 4835 filings are the clearest evidence that the IRS will accept.2Internal Revenue Service. About Form 4835, Farm Rental Income and Expenses Lease agreements and crop-share contracts support the same conclusion.
Land held primarily for resale does not qualify. If you bought acreage intending to subdivide and flip it, the IRS treats it as dealer property and disqualifies the exchange.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment Ground used for personal enjoyment fails the same test. A short holding period invites scrutiny about intent; a long history of active farming provides the cleanest path.
Only Real Property After 2017
Before the Tax Cuts and Jobs Act took effect in 2018, farmers could roll tractors, combines, grain bins, and even livestock through a 1031 exchange. The TCJA ended that. Section 1031 now applies only to real property.3Federal Register. Statutory Limitations on Like-Kind Exchanges If your sale price bundles equipment, irrigation pivots, or stored grain with the land, that personal-property portion is taxed in the year of sale. Only the land and permanently attached improvements defer.
Allocate values clearly in the purchase agreement before closing. A contract that lumps everything into a single price invites an IRS challenge to how much was really real property.
What Counts as Like-Kind
The like-kind label is broader than it sounds. The IRS looks at the nature of the property, not its grade or quality, so farmland is like-kind to almost any other real estate held for business or investment. Irrigated cropland can be exchanged for an apartment building, a warehouse, raw land, or a retail strip center. A vacant field is like-kind to an improved property, and vice versa.
The one geographic limit: domestic real property must be exchanged for other domestic real property. Foreign land does not qualify.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment
Water and Mineral Rights
In western states, water rights can be worth as much as the dirt. Whether they qualify depends on state law and, critically, duration. Perpetual water rights generally qualify as real property; rights limited in duration often do not. One federal case ruled that water rights restricted to a 50-year term were not like-kind to fee-simple real property. An IRS private letter ruling, by contrast, treated water rights capped in annual volume but unlimited in duration as like-kind to farmland. The distinction is duration, not quantity. Shares in a mutual ditch or irrigation company can qualify under the Food, Conservation and Energy Act of 2008 if the company is a tax-exempt organization under Section 501(c)(12)(A) and state law treats the shares as real property.
Farmhouse on the Property
Most working farms include a residence, which creates a split-treatment sale. The farmhouse itself usually fails the 1031 test because it is a primary residence, not a business asset. It may still qualify for the Section 121 exclusion — up to $250,000 of gain for a single filer or $500,000 for a married couple filing jointly, provided you lived there for at least two of the five years before the sale.4Office of the Law Revision Counsel. 26 USC 121 – Exclusion of Gain From Sale of Principal Residence A farm couple selling a 500-acre operation with a farmhouse can exclude the gain on the home under Section 121 and defer the gain on the productive acreage under Section 1031 in the same transaction. The sale price has to be allocated between the two, and each piece follows its own rules.
The 45-Day and 180-Day Deadlines
Two federal deadlines control every deferred exchange. Both are statutory. Neither the IRS nor your intermediary can extend them outside a federally declared disaster.
- 45-day identification period. Starting the day you transfer the relinquished farmland, you have exactly 45 calendar days to identify potential replacement properties in writing. The identification must be signed and delivered to a party involved in the exchange, typically your qualified intermediary.5Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031
- 180-day exchange period. You must close on the replacement property by the earlier of 180 days after the transfer of the relinquished property or the due date (with extensions) of your federal income tax return for the year of sale. The “earlier of” language matters. If you sold in October, your April 15 return due date falls before the 180-day mark, so you would need to file an extension to preserve the full window.6Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment
How Many Replacements You Can Identify
Three identification options exist:
- Three-property rule. Identify up to three properties of any value. Close on one, two, or all three. This is the most common approach.
- 200% rule. Identify four or more properties, so long as their combined fair market value does not exceed 200% of what you sold the relinquished property for.
- 95% exception. Identify any number of properties regardless of value, but you must actually acquire at least 95% of the total identified value. Rarely used intentionally.
Each identified property needs a clear legal description, street address, or distinguishable name.5Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 Vague references will not hold up.
Disaster Extensions
Under Revenue Procedure 2018-58, a federally declared disaster can extend the deadlines by the greater of 120 days or the specific postponement date the IRS announces for that event. The extension applies when the relinquished or replacement property sits in the disaster area, or when a key party — intermediary, lender, title company — is located there. State or local emergency declarations without a federal counterpart do not trigger relief.
The Qualified Intermediary Requirement
Federal law requires a qualified intermediary to hold the sale proceeds during the exchange period. You cannot touch the money yourself. If the funds land in your account first, even briefly, you have constructive receipt and the deferral fails.
Certain people cannot serve as your intermediary: anyone who has been your employee, attorney, accountant, investment banker, real estate broker, or agent within the two years before the sale. Family members of disqualified persons and any entity in which you hold more than a 10% interest are also off-limits. Someone whose only connection to you is providing exchange facilitation, title, escrow, or routine financial services is not disqualified.
The written exchange agreement must be signed before the closing of your farmland sale. Not the same day. Before. At closing, the deed goes to the buyer and the proceeds go directly to the intermediary’s segregated account. Within 45 days, you deliver a signed identification notice. When you close on a replacement property, the intermediary wires the held funds to the closing agent, and the deed records in your name.
Reverse Exchanges
Sometimes the replacement property comes up before you have a buyer for the farm. A reverse exchange handles this through an Exchange Accommodation Titleholder, who parks the replacement property while you finish selling the relinquished tract. The same 45-day and 180-day deadlines apply. Reverse exchanges cost more because of the added legal and holding fees, but they keep the replacement property from slipping to another buyer.
Boot, Debt Relief, and Depreciation Recapture
Full deferral requires you to reinvest all of the net proceeds and replace all of the debt from the relinquished property. Anything you receive that is not like-kind real property is called boot, and it is taxable.
Cash boot is straightforward. If the intermediary sends you $40,000 left over after the replacement purchase, that $40,000 is taxable gain. Mortgage boot is less intuitive. If the mortgage on your replacement is smaller than the mortgage on the property you sold, the difference is treated as debt relief, and the IRS treats debt relief as boot. Selling a farm with $300,000 in remaining mortgage and buying replacement property with a $250,000 mortgage creates $50,000 of mortgage boot. Adding $50,000 of your own cash to the replacement purchase eliminates it.
Depreciation recapture adds another layer for farmers who have written down barns, fences, irrigation improvements, or other structures. Accumulated depreciation on real property improvements creates unrecaptured Section 1250 gain, taxed at a flat 25% rate. When you receive boot, the taxable portion is applied first to any excess depreciation recapture, then to Section 1250 gain at 25%, and finally to remaining capital gain at 15% or 20%. In a fully deferred exchange with no boot, the recapture defers along with everything else. For a farm family with substantial appreciation, the combined federal rate on a taxable sale can reach 23.8% once the 3.8% net investment income tax is included.7Internal Revenue Service. Topic No. 559, Net Investment Income Tax
Related-Party Exchanges
Exchanging farmland with a family member or related entity carries a two-year holding requirement. Under Section 1031(f), if either party disposes of the property received within two years of the exchange, the original deferral unwinds and the capital gains tax becomes due retroactively as of the disposition date.8Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment – Section F Related persons are defined by Section 267(b) family relationships and certain entity ownership rules under Section 707(b)(1).
Three exceptions exist: disposition after the death of either party, an involuntary conversion such as condemnation or a natural disaster (provided the exchange occurred before any threat of conversion), or proof to the IRS’s satisfaction that neither the exchange nor the disposition had tax avoidance as a principal purpose.8Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment – Section F Courts have generally interpreted that third exception to require that the related party pay more in taxes than the exchanger is deferring, which makes it hard to meet.
What Happens When You Die Holding the Property
The most valuable feature of Section 1031 for long-term farm families is what happens if the owner dies still holding the replacement property. Under Section 1014, heirs receive the property at its fair market value on the date of death. The deferred gain, including embedded depreciation recapture, is wiped out. A farmer who exchanges several times over a career, rolling gain from tract to tract, can pass those properties to the next generation with a fully reset basis. The heirs can sell immediately with little or no capital gains tax, or hold the property and begin depreciating the improvements again from the stepped-up value. Deferral becomes elimination if the property stays in the family until death.
Reporting the Exchange
Every 1031 exchange goes on IRS Form 8824, attached to your federal return for the year the exchange began.9Internal Revenue Service. Form 8824 – Like-Kind Exchanges The form asks for the dates the relinquished property was transferred and the replacement was identified and received, the fair market value of both properties, and a breakdown of liabilities assumed or relieved.10Internal Revenue Service. Instructions for Form 8824 You also report any boot received and the relationship between parties. For related-party exchanges, file Form 8824 for the year of the exchange and for the two years that follow, until the holding period is satisfied.
The replacement property’s adjusted basis carries the deferred gain forward. It is the old basis adjusted for any boot paid or received, not a fresh basis equal to the purchase price. That lower basis affects future depreciation deductions and determines gain on any eventual taxable sale. Keep detailed records of every exchange in the chain. Each one builds on the last, and reconstructing basis decades later without documentation is a problem worth avoiding.