Opens in a new tab

1031 Exchange for Farmland and Agricultural Property

Last Updated: November 20, 2026

A 1031 exchange for farmland may allow an owner to defer recognizing eligible gain when selling a farm, ranch, orchard, or agricultural parcel held for business or investment and acquiring qualifying replacement real estate. The replacement does not have to be another farm. However, a working agricultural property can include land, buildings, equipment, livestock, crops, and water interests with different tax treatment. Reviewing those assets before signing closing documents is critical.

When Does Agricultural Land Qualify for a 1031 Exchange?

Section 1031 generally applies to qualifying real property held for productive use in a trade or business or for investment. Farmland operated by its owner, an income-producing orchard, or ranch acreage leased to a farmer may meet that standard, depending on the facts. Land held for long-term investment may also qualify even when it produces little current income.

What matters is the purpose for which the taxpayer holds the property, not whether the parcel is labeled agricultural. A personal-use residence, land held primarily for resale to customers, or property purchased principally for personal enjoyment may fall outside Section 1031. A farm that combines business acreage and a primary residence requires an allocation and analysis of the different uses.

For qualifying exchanges, the same taxpayer generally must sell the relinquished property and acquire the replacement property. For example, a partnership that owns a farm is not the same taxpayer as an individual partner who wants to buy replacement property personally. A partner’s partnership interest also is not eligible replacement real property under Section 1031. Ownership structure should be reviewed before the sale contract is finalized.

Which Farm Assets Can Be Included?

The federal real property definition is broader than bare dirt but does not encompass everything that transfers in a farm sale. The IRS Farmer’s Tax Guide, Publication 225, discusses agricultural real estate, land improvements, and assets that require separate treatment.

Asset sold 1031 consideration Planning question
Farmland and pasture Generally potential qualifying real property Was the land held for business or investment?
Barns, fences, and permanent improvements Often real property, subject to classification What is the adjusted basis and depreciation history?
Water rights and irrigation interests Facts and applicable property law matter Do the rights qualify as real property under federal exchange rules?
Tractors, movable equipment, and livestock Generally not qualifying real property How will sale price and tax basis be allocated?
Harvested crops and inventory Generally not eligible for Section 1031 treatment What portion of the purchase price is attributable to these assets?
Personal residence on the farm Personal-use portion generally does not qualify Is separate Section 121 treatment potentially relevant?

Unharvested natural products, certain permanent improvements, and some interests recognized as real property may have different treatment from movable personal property. Water-related interests are particularly dependent on their legal form and the governing rules. A land appraisal and a well-supported allocation of the sales price can help the seller’s CPA determine which gains may be eligible for exchange treatment.

Can Farmland Be Exchanged for a Rental Property or Commercial Building?

Yes. When both properties meet the business-or-investment requirements, the like-kind standard for domestic real property is generally broad. A farmer might exchange qualifying farmland for apartment buildings, warehouse space, a leased retail building, another ranch, or qualifying undeveloped investment land. The owner is not required to continue operating a farm.

This flexibility can be useful when an owner is retiring from daily agricultural operations. The replacement property options should still be evaluated for price, financing, property condition, tenant risk, and the amount of active management required.

Alternatives for owners seeking less day-to-day management

A professionally managed rental property may reduce an owner’s daily workload but still involves expenses, tenant turnover, and operating risk. A triple-net leased property may place some expenses on a commercial tenant under the lease, but it can still involve vacancy, credit, repair, re-leasing, and residual owner obligations.

Some sellers also consider a tenant-in-common interest or certain Delaware statutory trust structures. A properly structured DST beneficial interest may qualify as replacement real property under applicable IRS guidance, but a DST is an investment with its own fees, financing, liquidity restrictions, sponsor risks, and potential loss of principal. The DST investment overview can help with an initial comparison. Tax qualification and investment suitability are separate decisions.

1031 Exchange Deadlines for Farms and Ranches

A delayed farmland exchange generally follows the same federal deadlines as other delayed real estate exchanges. The deadlines begin when the relinquished real property is transferred, rather than when the seller first lists it or accepts an offer.

45 calendar days: Identify eligible replacement property in writing using the applicable identification requirements.

180 calendar days: Receive the replacement property by the earlier of 180 days after the transfer or the due date (including valid extensions) of the applicable tax return for that year.

The identification rules and replacement closing requirements can be unforgiving. Sellers who need time to evaluate acreage, title, financing, leases, or agricultural water rights should start searching before their relinquished property closes. Review the site’s 1031 exchange rules and requirements for the broader exchange framework.

A qualified intermediary normally holds the exchange proceeds under a properly structured arrangement so the seller does not take actual or constructive receipt of the funds. The intermediary administers exchange documentation and fund transfers, but the seller’s tax and legal professionals remain responsible for tax and legal analysis. Engaging a qualified intermediary before the relinquished sale closes is an essential planning step.

A Hypothetical Farmland Exchange Example

Assume a landowner has held a working agricultural parcel for investment or business use, and all of the property in this simplified example is eligible real estate. There is no mortgage, no personal residence, and no equipment or livestock included in the real property sale.

Item Amount
Farm sale price $1,300,000
Qualifying selling expenses assumed $60,000
Net sale proceeds $1,240,000
Farm adjusted tax basis $500,000
Illustrative realized gain $740,000
Replacement investment property purchased $1,240,000

In this hypothetical situation, the simplified realized gain is the net amount realized ($1,240,000) less adjusted basis ($500,000), or $740,000. If the exchange is properly completed and the owner reinvests all eligible proceeds in qualifying replacement property without receiving cash or other non-like-kind property, the owner may defer recognition of that gain. This is deferral, not forgiveness. The replacement property’s tax basis generally reflects the deferred gain, and later dispositions can trigger tax.

Real agricultural transactions are frequently more complicated. Depreciation deductions, debt repayment and replacement, equipment and crop allocations, property taxes, transaction expenses, and the treatment of improvements can change the results. A CPA should review actual numbers rather than applying a flat tax percentage to the sales price.

Important Farm-Specific Tax and Transaction Issues

Equipment, crops, and livestock can create current taxes

Farm sales are often negotiated as one transaction, but the tax consequences of each asset may be different. A sale contract that bundles land with tractors, vehicles, harvested crops, or livestock should have appropriate documentation and defensible price allocations. The real property exchange does not automatically defer gain on nonqualifying personal property or inventory.

Depreciation and improvements require basis records

Retain purchase records, capital improvement schedules, prior depreciation calculations, cost-segregation documents if any, and documentation for land-related deductions. Farm buildings, fencing, drainage work, irrigation systems, and soil or water improvements can have different classifications and tax histories. The nature of a relinquished asset and what is received in the exchange can affect recognized gain and depreciation-related reporting.

Water rights, conservation restrictions, and title require review

Water rights may be indispensable to a farm’s value, yet their real property classification and transfer rules may depend on state law and the form of the right. Conservation easements, access arrangements, mineral reservations, agricultural leases, and boundary or title exceptions may also affect what is transferred. These issues should be reviewed with real estate counsel and a tax professional before the exchange is structured.

State taxes may differ from federal treatment

States differ in income tax treatment, withholding, reporting, and potential later recognition of deferred gain. Some states also impose transfer-related obligations even where a federal exchange qualifies. The relevant states for both the farmland being sold and replacement property should be considered before closing.

How Section 1062 Differs From a Farmland 1031 Exchange

There is also a separate federal provision that some farm sellers should discuss with their tax professionals. For tax years beginning after July 4, 2025, Section 1062 allows eligible taxpayers selling qualifying farmland to a qualified farmer to elect to pay the federal net income tax attributable to the recognized gain in four equal annual installments, provided specific requirements are satisfied. Among the requirements are a qualifying farming-use history and a legally enforceable covenant restricting the property to farming for a specified period.

This is not the same as Section 1031. Section 1062 addresses the timing of tax payment on recognized gain, while a successful Section 1031 exchange generally postpones recognition of eligible gain. IRS Form 1062 instructions explain the election, its conditions, and filing requirements. A tax adviser should evaluate which provisions may be relevant; eligibility for one should not be assumed from eligibility for the other.

Checklist Before Selling Agricultural Real Estate

  1. Confirm the owner and purpose. Identify the taxpayer selling the property and whether each parcel is business, investment, inventory, or personal use.
  2. Inventory the sale assets. Separate land, permanent improvements, residence, equipment, crops, livestock, water interests, and other transferred rights.
  3. Review basis and financing. Gather acquisition and improvement records, depreciation schedules, debt balances, and expected selling expenses.
  4. Identify realistic replacements. Evaluate price, financing, management responsibility, investment risks, and deadline feasibility before closing.
  5. Coordinate the closing. Arrange the qualified intermediary and work with the closing agent, accountant, and attorney on exchange documentation and any nonqualifying assets.
  6. Plan the reporting. Have the tax professional review Form 8824, any recognized gain, applicable state obligations, and whether a separate Section 1062 election warrants analysis.

Planning to sell a farm, ranch, or orchard? Before the sale closes, it helps to separate eligible real estate from other farm assets and identify realistic replacement-property options. Share your stage of the transaction through our 1031 exchange getting-started process so the team can help coordinate the exchange steps and connect you with appropriate resources while your tax and legal advisers evaluate qualification.

Frequently Asked Questions

Can I use a 1031 exchange when selling farmland?

Yes, farmland held for investment or productive use in a trade or business may qualify for a 1031 exchange. Property held primarily for sale or personal use generally does not qualify. The transaction must also satisfy the applicable exchange requirements.

Can farmland be exchanged for commercial or residential rental property?

Yes. Qualifying farmland can generally be exchanged for other qualifying U.S. investment or business real estate, including rental homes, apartment buildings, offices, or commercial property. The replacement property does not need to be agricultural.

Can farm equipment and livestock be included in a 1031 exchange?

Farm equipment, machinery, and livestock generally do not qualify because Section 1031 is limited to real property. A sale that includes these assets may require separate purchase-price allocations and tax treatment.

Can a farm with a house qualify for a 1031 exchange?

Potentially. The business or investment portion may qualify, while a personal residence generally does not. The property uses and values must be analyzed separately. Section 121 may also be relevant to the residential portion.

Is Section 1062 the same as a farmland 1031 exchange?

No. Section 1031 can defer recognition of eligible real property gain. Section 1062 allows certain qualifying farmland sellers to elect payment of federal tax attributable to recognized gain in four annual installments, subject to specific requirements.

Authored By:

1031 Exchange Advisor

Nicholas Dutson has advised real estate investors on 1031 exchanges and tax-deferral strategies since 2007. At 1031 Exchange Place, he helps real estate investors and business owners understand their exchange options, coordinate qualified intermediary services, and work alongside their tax and legal professionals. An accomplished Inc. 500 and Inc. 5000 entrepreneur, he is also a devoted father of two who spends weekends mountain biking with his sons.

Reviewed for accuracy by: Liz Anderson, CPA (November 2026)