People assume a 1031 exchange is a thing you do with buildings. Rent rolls, tenants, roofs. So the owner sitting on eighty acres of undeveloped ground, or a family that has farmed the same section for three generations, often never asks the question: can I defer the gain on land? The answer is yes, comfortably, and land turns out to be one of the most flexible assets in the entire like-kind universe. What decides eligibility is not the absence of a building. It is why you were holding the dirt in the first place.
Raw land qualifies, as long as you held it right
Section 1031 asks that the property be held for productive use in a trade or business, or for investment. Vacant land bought and held for appreciation fits that description cleanly. So does farmland or a ranch operated as a business, or leased to someone who farms it. There is no requirement that the property produce rent, carry a structure, or do anything at all except be held with investment intent. A parcel you have owned for a decade waiting for the path of development to reach it is exactly the kind of asset the statute contemplates.
The best-kept secret: land is like-kind to almost any real estate
Here is what surprises people most, and it is genuinely powerful. "Like-kind" refers to the nature or character of real property, not its grade, quality, or use. All real property held for investment is like-kind to other real property held for investment. That means raw land is like-kind not just to other raw land, but to an apartment building, a retail strip, a warehouse, or a triple-net leased store.
The strategic possibilities are real. A farmer can exchange a field into an apartment building and trade dawn equipment checks for professional management. A land speculator can convert appreciated dirt into an income-producing building without paying tax on the way. An investor can go the other direction, trading a management-heavy building into raw land to hold quietly for the next generation. We covered the broader principle in what "like-kind" really means; land is where it pays off most, because it lets you transform the entire character of your holding while deferring every dollar of gain.
The one thing that disqualifies land: holding it as inventory
If land almost always qualifies, why do some land exchanges fail? Because of a distinction that has nothing to do with the land and everything to do with the owner. Property held primarily for resale, as inventory in a business, is specifically excluded from 1031 treatment. The classic example is a developer who buys a large parcel, subdivides it into lots, and sells them off. To that developer, the lots are inventory, like cans on a grocery shelf, not investment property, and the gain is ordinary dealer income that a 1031 cannot defer.
The same acre can be investment property to one owner and inventory to another. An investor who buys and holds is fine. A dealer who buys to subdivide and flip is not. If your activity looks like a land-development business, this is a real trap, and it overlaps with the reasons we sometimes tell clients not to force an exchange. Your intent and your pattern of activity, documented, are what carry the day, and your CPA should weigh in before you assume raw land held for resale will qualify.
Two wrinkles worth knowing
- The house on the farm. If you live in a residence on your farmland, that portion is your personal home, not investment property, and it is not part of the like-kind exchange. The home may instead fall under the primary-residence exclusion, and the acreage under 1031, but the two are handled separately. Your advisors will allocate value between them.
- Foreign ground. United States real property is not like-kind to real property outside the United States. Domestic land exchanges into domestic replacement; you cannot roll a US farm into a vineyard in another country and defer the gain.
The bottom line
Raw land, farmland, and ranch acreage are fully eligible for a 1031 exchange when held for investment or business use, and land's like-kind flexibility, the freedom to trade dirt for a building or a building for dirt, makes it one of the most useful pieces on the board. The failure cases are narrow: land held as a dealer's inventory, a personal residence sitting on the parcel, and foreign property. Everything else is a planning conversation, which is exactly where our exchange process begins.
Frequently asked questions about 1031 exchanges on land
Does vacant land qualify for a 1031 exchange?
Yes, if it is held for investment or for productive use in a trade or business. Undeveloped land held for appreciation qualifies. There is no requirement that it produce income or carry a building.
Can I exchange raw land for a rental building?
Yes. Like-kind refers to the character of real property, not its type, so investment land is like-kind to an apartment building, commercial property, or almost any other US real estate held for investment.
Does farmland or a ranch qualify?
Yes. Farmland and ranch acreage held for business or investment qualify, and can be exchanged into other agricultural land or into entirely different real estate such as commercial or multifamily property.
Why would land not qualify?
The main reason is holding it as inventory. A developer who buys land to subdivide and resell holds it primarily for resale, which is excluded from 1031 treatment and taxed as ordinary dealer income rather than deferrable gain.
What about the house on my farm?
A residence you live in is personal-use property, not investment property, and is excluded from the like-kind exchange. It may qualify separately for the home-sale exclusion, while the farmland is handled under Section 1031.
