Start here
Tap a question to open it. Most have Kim's recorded answer.
Can I do a 1031 exchange on farmland, and what can I buy?Article
Please read first. Talk this over with your own attorney and/or accountant before you act. This is information only, not legal or tax advice.
Our thoughts
Generally speaking, if you sell property you hold for business, investment or to produce income, and it is real estate, you can consider a 1031 exchange. Dividing 40 or 80 acres off a working farm and selling it is definitely something you can do a 1031 on.
It helps your position if the sale was unsolicited, meaning the buyer came to you and you were not out trying to sell lots. That supports that you held the land as an investment, not as a land dealer.
As for what you can buy: the law says you replace real estate with real estate, and it does not judge grade or quality. You can trade vacant farmland for a commercial building, for a rental house, for oil and gas rights, for anything else that is real estate, or for an interest in a tenant-in-common or DST property that pays you a monthly check for as long as you own it.
There are no easy one-size answers here. Every farm and every family is different.
The law behind this
- IRC §1031(a)(1) real property held for business or investment
- Treas. Reg. §1.1031(a)-1(b) "grade or quality" does not matter
- Treas. Reg. §1.1031(a)-3 what counts as real property
- Rev. Proc. 2002-22 tenant-in-common interests
- Rev. Rul. 2004-86 DST interests
Answered by Kim T. Schooley, CPA, CES®, Former IRS Agent
The farmhouse I live in is part of the sale. Does that mess up the exchange?Article
Please read first. Talk this over with your own attorney and/or accountant before you act. This is information only, not legal or tax advice.
Our thoughts
This is a very common question, and it has a good answer. It is a combination Section 121 and Section 1031 transaction.
The house, and the land that goes with the house, is treated as your home. That part of the sale price falls under Section 121, the home sale exclusion. The rest of the farm, the part you held for investment, goes into the 1031 pot, and the exchange works from there.
The IRS has spelled out how the two work together in Revenue Procedure 2005-14.
| The house and yard (Section 121) | The farm (Section 1031) | |
|---|---|---|
| What it covers | Your home and the land kept with it | The fields, barns, bins and everything held for the farm |
| How the gain is handled | Up to $250,000 excluded, $500,000 for a married couple, if you lived there 2 of the last 5 years | Deferred into the replacement property |
| Intermediary | Not needed. You can take this money | Required. The money goes to the intermediary |
| How to split the price | By appraisal is best. The county tax records are often used too. Get the split written into the sales agreement. | |
We have a longer article on this: Combining the Home Sale Exclusion With a 1031 Exchange.
The law behind this
- IRC §121 home sale exclusion
- Rev. Proc. 2005-14 using §121 and §1031 on the same sale
- Treas. Reg. §1.121-1 splitting the home from the rest of the property
- IRC §1031
Answered by Kim T. Schooley, CPA, CES®, Former IRS Agent
One price for the ground, barns, grain bins and equipment. What goes into the exchange?Article
Please read first. Talk this over with your own attorney and/or accountant before you act. This is information only, not legal or tax advice.
Our thoughts
We have to put everything into two pots.
The ground is real estate. The barns are real estate. The grain bins are real estate too. The regulations name "grain storage bins and silos" as real property, as long as they are permanently attached. All of that can go into the exchange.
The old equipment sitting in the shed is not real estate. It cannot be part of the exchange, and its share of the price is taxed in the year you sell.
One caveat: there may be depreciation recapture on the grain bins and the barns, depending on how and when they were depreciated. That is a discussion to have with your accountant or tax attorney.
The law behind this
- IRC §1031(a)(1) real property only
- Treas. Reg. §1.1031(a)-3(a)(2)(ii)(C) grain storage bins and silos, if permanently affixed
- Treas. Reg. §1.1031(j)-1 sales with more than one kind of property
- IRC §1245(b)(4) recapture in an exchange
- IRC §1250(d)(4) recapture on buildings in an exchange
Answered by Kim T. Schooley, CPA, CES®, Former IRS Agent
Can oil, gas, mineral or water rights go into a 1031?Article
Please read first. Talk this over with your own attorney and/or accountant before you act. This is information only, not legal or tax advice.
Our thoughts
Yes. Rights can be severed from the real estate, meaning split off and owned separately: gas and oil rights, mineral rights, water rights. All of those are 1031-qualified property, whether you are selling them or buying them.
If you sell your gas and oil rights, we are all good. If you lease them, that becomes a question. To count as real estate, a lease has to be either a perpetual lease or have at least 30 years to run. That is federal law. A 10-year lease is not qualified 1031 property.
One more thing landowners trip on: the signing bonus and delay rentals on a gas lease are ordinary income, not a sale of land, so they cannot go into an exchange.
The law behind this
- Treas. Reg. §1.1031(a)-3(a)(3) minerals, wells and natural deposits in the ground are real property
- Treas. Reg. §1.1031(a)-3(a)(5) leaseholds, easements, water rights
- Treas. Reg. §1.1031(a)-3(a)(6) state law
- Treas. Reg. §1.1031(a)-1(c) a lease with 30 years or more to run
- Rev. Rul. 68-331 oil lease that runs until the gas is gone; IRS does not post it free online
Answered by Kim T. Schooley, CPA, CES®, Former IRS Agent
Two of us own the farm in an LLC. One wants to exchange, one wants cash.Article
Please read first. Talk this over with your own attorney and/or accountant before you act. This is information only, not legal or tax advice.
Our thoughts
There are two ways to handle this. One is called a drop and swap, and the other is a swap and drop.
Drop and swap: before the sale, the land is moved ("dropped") out of the LLC and into the owners' own names as tenants in common. Now you each own your share directly. When the property sells, you each go your own way. One brother can take his cash, and the other can do an exchange. Easy peasy.
This does not work if your company is taxed as an S corporation. Moving the land out of a corporation is itself a taxable event.
Swap and drop: the LLC itself sells the farm, does the exchange, and buys a property for each brother. At a later date, the LLC deeds each property to that brother.
The law behind this
- IRC §1031(a)(1) only real property qualifies
- Treas. Reg. §1.1031(a)-3(a)(5) a partnership or LLC interest is not real property
- Treas. Reg. §301.7701-3 how an LLC is taxed
- Bolker v. Commissioner, 81 T.C. 782 (1983) property taken out of a company and then exchanged
- IRC §311(b) a corporation is taxed when it hands out property that has gone up in value
Answered by Kim T. Schooley, CPA, CES®, Former IRS Agent
More answers for you
Each one opens on its own page.
- Can I buy from, or sell to, a family member?
…
- The buyer wants me to carry back a note. Can I still do a 1031?
…
- Can I buy a lake cabin or vacation home with my exchange money?
…
- How do the 45-day and 180-day deadlines work?
…
- The regular exchange: sell first, then buy (step by step)
…
- I don't want to be a landlord anymore. What about a DST?
…
See all 47 answers · Estimate your tax · Law library · Glossary
Talk with Kim
No cost and no obligation. Call any time, day or night.
Ready to go? The short online form takes about five minutes. Questions first? Call Kim at (888) 828-1031.
1031 Accommodators, LLC · 1881 Montour Boulevard, Danville, PA
For accountants and attorneys
Every answer lists the law behind it, and the law library links each one to the official text.
Kim works directly with your client's advisors and shares his research. He has never done an exchange for anyone who is or has been his own tax or accounting client.