Skip to main content
1031Property.com — 1031 exchange & DST replacement property specialists
Strategy

Selling the Farm: Sorting One Sale Into Four Tax Outcomes

4 min read

By 1031Property Research TeamLast updated

Researched against current IRS guidance and reviewed before publication. Educational information only — not tax, legal, or investment advice. See our disclosures.

When a family sells a farm or ranch, the buyer often pays one price for everything: the land, the barns, the house, the machinery and whatever is in the grain bin. The contract may describe it as a single sale.

Tax law does not see one sale. It sees at least four categories, each with its own treatment, and only some of them can go into a 1031 exchange. How the price is allocated between them decides how much tax is deferred and how much is due in April.

What are the four categories?

Land and improvements. Farmland, pasture, barns, fencing, irrigation infrastructure and other real property. This portion can be exchanged under Section 1031.

The farmhouse. If it has been your principal residence, it may qualify for the home sale exclusion instead, which excludes gain permanently rather than deferring it.

Equipment and machinery. Tractors, combines, trucks, tools. Since 2018 personal property cannot be exchanged. Gain is recognised, and because farm equipment is usually heavily depreciated, much of it is recaptured at ordinary income rates.

Crops, livestock and supplies. Stored grain, feed, fertiliser and market livestock are generally inventory or ordinary income property. Breeding livestock has its own rules.

Why does the allocation matter so much?

Because it determines how much of the price is deferrable.

A 4 million dollar farm sale might be allocated 3.1 million to land and improvements, 400,000 to the house, 400,000 to equipment and 100,000 to stored grain. The 3.1 million can be exchanged, the house may be excluded, and the remaining 500,000 produces current tax, much of it at ordinary rates.

Shift 300,000 dollars from land to equipment and the tax bill rises sharply, because ordinary recapture on machinery is taxed far less favourably than deferred gain on land.

The allocation must be reasonable and supportable, and buyer and seller generally report consistently. Buyers often want more value in equipment for faster depreciation, so this becomes a real negotiation.

What about the farmhouse?

If you lived there as your principal residence for at least two of the five years before the sale, the home sale exclusion may apply to the gain allocated to the house and a reasonable amount of surrounding land.

That portion is excluded permanently. The rest of the land can still be exchanged. Splitting the two properly requires a defensible allocation, usually supported by an appraisal.

What are the common traps?

Growing crops. Unharvested crops sold with land can be treated as part of the land in some circumstances, which affects the analysis.

Breeding livestock. Treated differently from market livestock, with its own holding period rules.

Water and mineral rights. Often real property, sometimes valuable, and frequently overlooked in the allocation.

Conservation program payments. Ongoing contracts may transfer with the land and affect value.

The residence inside the exchange. Personal use property cannot be exchanged. Attempting to include the house in the exchange rather than treating it separately creates problems.

What do farm families usually exchange into?

Commonly, more land, or income producing property that requires less work. Many are exchanging precisely because the next generation does not want to farm.

Options include net leased commercial property, apartment buildings, or fractional interests such as Delaware Statutory Trusts, which are securities available to accredited investors only and carry illiquidity and costs. Each trades the familiarity of land for different income and management characteristics.

What about the timeline?

Standard rules apply: a Qualified Intermediary before closing, 45 days to identify and 180 days to complete, measured from the closing of the relinquished property. Farm sales often close at particular times of year, so check whether the 45 day deadline falls in a harvest or holiday period when advisers are hard to reach.

What happens when the family does not agree?

Farms are often owned by several family members, sometimes through a partnership or an LLC formed decades ago. One sibling wants cash, another wants to keep deferring, and a third inherited a share and has never farmed.

If the land is held in a partnership, the partnership is the taxpayer, and individual partners cannot separately exchange their shares. Restructuring into direct co ownership before a sale is possible but needs to happen well in advance to be defensible, and it carries its own risks.

The practical lesson is the same one that applies to any jointly owned property: have the exit conversation years before the sale, not when an offer arrives.

Can you exchange part and sell part?

Yes. A partial exchange is common on farm sales, because the equipment and inventory portions cannot be exchanged anyway. The land portion goes to the intermediary and is exchanged; the rest is received as cash and taxed. Knowing the split in advance lets you set aside the cash needed to pay the tax on the taxable portion.

What to do first

Ask your CPA to prepare a draft allocation before the property is marketed, using appraisals where possible. Identify what is real property, what is equipment, what is inventory and what is your residence. Then make the allocation part of the contract negotiation rather than an afterthought, and engage a Qualified Intermediary before you close.

Nothing here is tax, legal or investment advice. Farm taxation is specialised. Confirm your position with a CPA experienced with agricultural sales.

Ready to see real options?

Get illustrative DST, net-lease, and fund options matched to your situation — free, no obligation.

This article is educational and not tax, legal, or investment advice. 1031 exchanges are complex — consult your own CPA and attorney. DST and fund offerings are securities available to accredited investors only; all examples are illustrative.