1031 exchanges for land: rules, deadlines and what qualifies
A 1031 exchange can defer federal tax on the gain when you exchange real property held for investment or productive use in a trade or business solely for other real property of like kind held the same way. Vacant land may qualify when those holding-purpose rules are met. The IRS generally treats U.S. real properties as like-kind whether improved or unimproved, so raw land can be exchanged for improved real property if both sides qualify. This is general information, not individualized tax advice.
What is a 1031 exchange?
Section 1031 of the Internal Revenue Code says no gain or loss is recognized when you exchange real property held for productive use in a trade or business or for investment solely for real property of like kind held the same way. The tax is deferred, not forgiven: your old basis carries into the new property, and the deferred gain comes due when you later sell without another exchange.
Since 2018, section 1031 applies only to real property. Equipment, vehicles and other personal property no longer qualify, though IRS rules allow personal property incidental to the real estate if it is worth no more than 15% of the replacement real property, per the Form 8824 instructions. This is general information, not legal or tax advice.
What kinds of land qualify?
Investment land, farmland, timberland, pasture and other land used in a business may qualify when held for investment or for productive use in a trade or business, and not primarily for sale. The IRS generally treats U.S. real properties as like-kind whether improved or unimproved. Real property in the United States is not like-kind to real property outside the United States.
Land held primarily for sale does not qualify. If you bought lots to subdivide and sell, the IRS may treat you as a dealer, and those lots are inventory rather than investment property. Property used solely as your personal residence at the time of the exchange does not qualify under section 1031. Mixed home and business use is treated separately in the Form 8824 instructions. Section 121 may still matter for part of a property used as a main home; ask a tax adviser before relying on either rule.
What are the 45-day and 180-day deadlines?
Most land exchanges are deferred exchanges: you sell first and buy later. The Form 8824 instructions set two deadlines that run from the day you transfer the old property:
- 45 days to identify the replacement property in writing.
- 180 days, or the due date of your tax return including extensions for the year of the transfer if that is earlier, to receive the replacement property.
- The written identification must be signed and, within 45 days, sent to the person required to transfer the replacement property to you or to another person involved in the exchange who is not a disqualified person, per the Form 8824 instructions.
Do you need a qualified intermediary?
In a deferred exchange, receiving the sale proceeds yourself can destroy nonrecognition treatment. A qualified intermediary arrangement is one IRS safe harbor: the QI holds proceeds under a written agreement and helps complete the exchange. The Form 8824 instructions say related parties and agents of the taxpayer are not eligible to be QIs, and it calls them disqualified persons. A disqualified person is generally your agent at the time of the transaction or a person related to you. Pub. 544 and Regulations section 1.1031(k)-1(k), which the instructions cite, spell out who counts as an agent, including exceptions, so a short list of job titles is not the whole rule.
Ask any QI how proceeds are held while the exchange is open. Do not treat promotional language that calls an exchange tax-free as a substitute for the actual deferred-gain rules.
How do you do a 1031 exchange when you sell land?
The steps below follow the current Form 8824 instructions and section 1031. The order matters: arrange the structure before you transfer the land, and the identification and receipt clocks start on the transfer day.
If you would rather pay the tax and be done, see our guide to capital gains on a land sale.
- Decide before you close. Confirm the land was held for investment or business use, not mainly for resale, and that you will buy other real property held the same way.
- Arrange the exchange structure before closing. If you use a QI safe harbor, put the written agreement in place before the sale closes. Related parties and agents of the taxpayer are generally disqualified persons and are not eligible to be the QI. Pub. 544 and Regulations section 1.1031(k)-1(k) spell out who counts, including exceptions.
- Do not take the sale proceeds yourself. If you use a QI safe harbor, the sale proceeds go to the intermediary, not to you. Receiving the money yourself can end nonrecognition treatment.
- Identify replacement property within 45 days. Name the property in a signed, written notice to the intermediary or seller within 45 days of the sale.
- Receive the replacement by the earlier deadline. Complete receipt within 180 days after the transfer or by the transfer-year tax return due date including extensions, whichever is earlier.
- Report it on Form 8824. File Form 8824 with your tax return for the year you sold the land.
What is boot, and is it taxed?
Anything you receive that is not like-kind property is boot: money, other property, or a net reduction in debt when the replacement carries less mortgage than the land you sold. Boot is taxed up to the amount of your gain, per the Form 8824 instructions. To defer all of the gain, buy replacement property of equal or greater value and reinvest all of the net proceeds.
Are there other ways to defer tax on a farmland sale?
Yes. A 2025 federal law added Internal Revenue Code section 1062, which lets a seller elect to defer the net income tax on gain from selling qualified farmland property to a qualified farmer, for tax years beginning after July 4, 2025, per the Form 8824 instructions. An installment sale, where the buyer pays you over time, can also spread the gain across years; see IRS Topic 705 and our owner financing calculator guide.
State examples: how do Tennessee and Alabama treat a 1031 exchange?
Tennessee: The Hall income tax applied only to interest and dividends, and it was repealed for tax periods that begin on January 1, 2021, or later, per the Tennessee Department of Revenue. That repeal is not a guarantee about every land-sale tax. Ask a preparer how a deferred exchange is reported. Greenbelt land may still owe rollback taxes if the buyer changes its use; see our agricultural property tax exemption guide.
Alabama: Alabama has a graduated individual income tax, with rates from 2% to 5% depending on taxable income and filing status, per the Alabama Department of Revenue. Ask your tax preparer how Alabama will report a deferred exchange on your state return. Alabama current-use land can owe a three-year rollback if it converts to a non-qualifying use.
For the full picture of taxes at closing, see taxes when selling land and our capital gains on land guide.
Is a 1031 exchange worth it for land?
It depends on your gain, your plans and your timeline. An exchange makes most sense when the gain is large and you want to stay invested in real estate. It adds QI fees and deadline pressure, and if you plan to hold until death, heirs generally take a basis equal to the property's fair market value at the date of death, per IRS Publication 551, which can make deferral more valuable. If the land could be rezoned or entitled first, the land entitlements guide explains how approvals can change value before you sell. If your land has development potential, see selling land that is already entitled.
Common questions
Can I exchange land for a rental house?
Yes, if both are held for investment or business use. The IRS says real properties are like-kind whether improved or unimproved.
How long do I have to buy the replacement property?
You must identify it within 45 days and receive it within 180 days of the sale, or by your tax return due date with extensions if earlier.
Can I take some money out?
Yes, but money you receive is boot and is taxed up to the amount of your gain.
Can my real estate agent or attorney be my intermediary?
Generally no. The Form 8824 instructions say related parties and agents of the taxpayer are not eligible to be qualified intermediaries. A disqualified person is generally your agent at the time of the transaction or a person related to you. Pub. 544 and Regulations section 1.1031(k)-1(k) spell out who counts as an agent, including exceptions. Confirm those rules before you name a QI.
Can I exchange with a family member?
Special related-party rules apply. If either side disposes of the property within two years, the deferred gain can become taxable, and you must file Form 8824 for the two years after the exchange.
Does a 1031 exchange avoid state tax?
Not automatically. Tennessee repealed the Hall income tax for tax periods that begin on January 1, 2021, or later, and that tax applied only to interest and dividends. Alabama taxes individual income at graduated rates from 2% to 5%, depending on taxable income and filing status. Ask a tax preparer how your state return treats a deferred exchange. Rollback or current-use rules can still apply when land use changes.
Sources
- 26 U.S. Code 1031: Exchange of real property held for productive use or investment (Cornell LII)
- IRS: Instructions for Form 8824, Like-Kind Exchanges
- IRS: Like-kind exchanges, real estate tax tips
- Federal Register 2020-26313: Final regulations defining real property for section 1031
- IRS Publication 544: Sales and Other Dispositions of Assets
- IRS Topic 705: Installment sales
- IRS Publication 551: Basis of Assets
- Tennessee Department of Revenue: Hall income tax
- Alabama Department of Revenue: individual income tax
