1031 Exchange for Farmland and Ranch Land: What You Can Buy After You Sell

Corey Zant
Corey Zant · 6 min read
1031 Exchange for Farmland and Ranch Land: What You Can Buy After You Sell

A 1031 exchange for farmland lets you defer federal capital gains tax when you sell a farm, ranch, or tract of raw acreage and reinvest the proceeds in other real estate. Most landowners assume that means land for land. It doesn’t. The IRS cares how you hold the property, not what it looks like, so a dryland wheat farm can become irrigated ground, a ranch, a rental portfolio, or a passive share in a commercial building.

Texas has no personal income tax, so the tax you are deferring is federal: capital gains, depreciation recapture on improvements, and in some cases the 3.8% net investment income tax. Deferral is not forgiveness. The gain carries into your new property’s basis and comes due when you sell it, so bring your CPA in before you list.

What “Like-Kind” Means for Farm and Ranch Land

Like-kind describes the nature of the property, not its size, quality, or location. Since 2018, only real property qualifies. Farmland, pasture, raw acreage, and timber are like-kind to each other and to commercial buildings and rentals, improved or not. The IRS lays out the basics on its like-kind exchange page for real estate.

Both sides of the exchange must be held for business or investment. A working farm or ranch meets that test. Your primary residence does not, and if the ranch you are selling includes the house you live in, that portion is a separate tax question. Equipment, livestock, and other personal property no longer qualify.

What You Can Buy in a 1031 Exchange for Farmland

Other farmland and ranch land

Irrigated, dryland, native pasture, CRP, and raw acreage all qualify. Common moves include dryland into irrigated, a tract far from home into one you can manage yourself, or a large ranch into a smaller one with better grass and water. For current pricing and trends, see our Texas rural land market report.

Improved agricultural property

Wells, barns, pens, grain bins, fencing, and cold storage that are part of the real estate all count. Movable equipment does not, and neither does anything the contract treats as personal property. Have your CPA and qualified intermediary review how value is allocated before you sign.

Rental, commercial, and mixed-use property

Single-family rentals, duplexes, multifamily, self-storage, equipment barns, rural retail, and farm labor housing all qualify. So do short-term rentals held for income, but IRS safe-harbor rules limit your personal use, so get tax advice before you buy.

A farm with rent houses or a ranch with cabins can work too. Only the business or investment portion qualifies, so expect an allocation if you or your family use part of it.

DSTs and TICs

A Delaware Statutory Trust (DST) gives you a passive share of a larger property, usually multifamily, net-lease, or industrial. The IRS has treated properly structured DST interests as real property for exchange purposes since 2004. The trade-off is control: you don’t choose the hold period or the sale date, and sponsor fees apply. DSTs are securities, so they go through a licensed securities professional, not a land broker.

What You Cannot Buy in a 1031 Exchange

  • Your primary residence or a second home for personal use
  • Property held for resale, such as lots or flips
  • Livestock, equipment, vehicles, and other personal property
  • Stocks, bonds, REIT shares, and other securities
  • Foreign real estate, if the property you sold is in the U.S.

Any cash you take out, or debt you fail to replace, is “boot” and is taxable up to the amount of your gain.

South Plains and Panhandle Factors That Change the Math

Water drives value. On the Southern High Plains, irrigated production runs on the Ogallala Aquifer. Before you exchange into irrigated ground, get the well capacity, the saturated thickness, and the rules of the groundwater conservation district covering the tract. Two farms with the same acreage can be worth very different amounts. For more on what a declining aquifer means for land, read When the Water Runs Out.

Minerals and groundwater are real property. In Texas, both can be reserved, severed, or conveyed with the land. If you are selling with minerals or water reserved, or buying land where they are severed, tell your QI and CPA early. Treatment depends on how the interest is held.

Title must match. The taxpayer who sells must be the taxpayer who buys. If your farm sits in an LLC or partnership, the replacement property has to be titled the same way.

The 1031 Timeline: 45 Days and 180 Days

A qualified intermediary (QI) has to hold your sale proceeds. If the money touches your account, the exchange fails. Two deadlines start the day your sale closes:

  • 45 days to identify replacement property in writing to your QI
  • 180 days to close on it, or your tax return due date if that comes first

Weekends and holidays do not extend either one. If you close in the fall, your return due date can cut the 180 days short unless you file an extension.

You can identify up to three properties regardless of value, or any number if their combined value stays under 200% of what you sold. You only have to buy one. Good replacement tracts don’t always list on your schedule, so the search should start before you list.

How to Set Up a 1031 Exchange for Farmland Before You List

  1. Talk to your CPA first. Confirm the property qualifies and estimate the tax you are deferring. Ask what else is on the table, such as the Section 180 soil fertility deduction.
  2. Hire a QI before the sale closes. Ask for one with agricultural experience.
  3. Build a target list during the listing period. Include irrigated tracts, ranches, and at least one non-land backup.
  4. Put exchange language in the contract. The buyer agrees to cooperate with your exchange at no cost to them.
  5. Plan the debt. If you owe on the property, replace it with new debt or add cash, or the difference is boot.

Thinking about carrying the note for your buyer? A seller-financed note is not cash your QI can reinvest, and it can create taxable boot, so work out the structure with your CPA before you list. See our guide to seller financing land in Texas.

Example: Dryland to Irrigated (Hypothetical)

A farmer sells 320 acres of dryland and wants irrigated ground closer to home. During the listing period he builds a list of three replacement options: an irrigated quarter section, a smaller irrigated tract with a rent house, and a DST as a backup. The sale closes, his QI receives the proceeds, and he identifies all three in writing on day 30. He closes on the irrigated quarter section on day 120. If it costs at least as much as the sale price and all net proceeds go into it, the entire gain stays deferred.

Frequently Asked Questions

Can I exchange ranch land into a rental property?

Yes. Both properties only need to be held for business or investment.

Can I exchange into land I plan to live on?

Not the part you use as a home. A working ranch with a house on it is a question for your CPA.

What happens if I miss the 45-day deadline?

The exchange fails and the gain is taxable for that year. There is no grace period.

Does Texas tax a 1031 exchange?

Texas has no personal income tax, so the deferral is a federal matter. Check property taxes and ag valuation status on the replacement tract before you buy.

Thinking About Selling and Exchanging?

If you are selling farm or ranch land in Texas and want a 1031 exchange for farmland instead of a cash-out sale, start the plan before you list. Get a free land valuation and a 1031 timeline built around your closing date, or browse current farm and ranch listings to see what replacement options exist today.

This article is general information, not tax or legal advice. Talk to your CPA and qualified intermediary before you sell.

Share this article

Written by

Corey Zant

Broker/ Owner of Veritas Real Estate Co

I am a sixth-generation Texan with a legacy rooted in the soil of the South Plains. My family has spent over a century farming and ranching, giving me an understanding of what it means to make a living from the land. Experienced in farm and ranch sales; founder of Veritas Real Estate Co, representing clients in everything from small recreational…

View Profile