Can You Do a 1031 Exchange on the Sale of a Business?

You can use a 1031 exchange when you sell a business, but only on the real estate the business owns. The IRS does not treat an operating business as a single exchangeable asset, so a 1031 exchange on the sale of a business always ends up being a partial exchange: the land and buildings run through the like-kind exchange and defer tax, while equipment, inventory, goodwill, receivables, and every other non-real-property asset close as a standard taxable sale. Getting the deferral at all depends on how the deal is structured months before closing.

The Deal Has to Be an Asset Sale

The legal form of the transfer decides whether any part of the sale can qualify. Section 1031 explicitly excludes stocks, bonds, notes, and other securities from like-kind treatment.1Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment Selling the stock of a C-corporation or S-corporation is a securities transfer, not a real property exchange, no matter what real estate sits inside the company.

Partnership interests are treated the same way. The IRS views a partnership interest as intangible personal property outside the scope of Section 1031.2Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031 A multi-member LLC taxed as a partnership runs into the same wall: selling membership interests is a partnership interest transfer, not a transfer of the underlying real estate.

Only an asset sale leaves the door open. In an asset sale, each piece of the business transfers as a separate line item. That structure lets you isolate the real property and route it through a qualified intermediary while closing on everything else for cash. Buyers often prefer to buy the entity because it preserves contracts, licenses, and continuity, so this has to be negotiated early. If the buyer insists on an equity purchase, the exchange option is gone.

The Single-Member LLC Exception

A single-member LLC is treated as a disregarded entity for federal income tax purposes.3Internal Revenue Service. Single Member Limited Liability Companies When it sells its assets, the IRS treats the sale as if the sole owner sold them directly, so the real property owned by the LLC is eligible for a 1031 exchange without restructuring the entity first.

What Qualifies and What Doesn’t

Since the Tax Cuts and Jobs Act took effect in 2018, only real property qualifies for Section 1031 treatment.4Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips Everything else in the business is taxable at closing.

Real Property You Can Exchange

The eligible assets are real property held for productive use in a trade or business or for investment.1Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment In a business sale that usually means the land, the building the business operates from, structural components like wiring, plumbing, and HVAC, and improvements such as paved parking and permanently installed fixtures.

Property held primarily for sale does not qualify. A developer selling finished lots as inventory cannot run those lots through a 1031 exchange even though they are real estate.

Equipment, Vehicles, and Other Personal Property

Before 2018 business owners could exchange personal property for like-kind personal property. That option is gone. Machinery, equipment, vehicles, office furniture, computers, and tools included in the sale are now fully taxable dispositions.4Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips

The tax hit here is often worse than owners expect because of depreciation recapture. Under Section 1245, the portion of gain attributable to previously claimed depreciation on personal property is taxed as ordinary income rather than at the capital gains rate.5eCFR. 26 CFR 1.1245-1 – General Rule for Treatment of Gain From Dispositions of Certain Depreciable Property For a seller in a high bracket, that recapture can be taxed at rates up to 37%. A business that depreciated its equipment aggressively over the years will see a sizable ordinary income bill.

Goodwill, Trade Names, and Other Intangibles

None of the intangibles qualify. Goodwill, trade names, proprietary technology, customer lists, and similar assets all produce immediate capital gain. A covenant not to compete produces ordinary income. Accounts receivable and inventory are taxable as ordinary income as well.

In many deals these intangible and ordinary-income assets make up the bulk of the purchase price. A seller who assumes the entire gain on the business can be deferred will be disappointed; the exchange typically covers a minority slice.

Depreciation Recapture on the Real Property

The real property portion carries its own recapture layer. When a building has been depreciated and is sold without an exchange for more than its depreciated basis, the gain tied to that depreciation is unrecaptured Section 1250 gain and faces a maximum federal rate of 25%.6Internal Revenue Service. Topic No. 409, Capital Gains and Losses A 1031 exchange defers this, but the depreciation history carries forward to the replacement property. The bill transfers; it does not disappear.

How the Partial Exchange Works

Allocating the Purchase Price

The purchase agreement has to assign a specific dollar value to every asset changing hands: land, building, equipment, furniture, inventory, goodwill, covenant not to compete, and anything else. That allocation decides how much of the deal qualifies for deferral and how much is taxable. Both the buyer and seller report the same allocation to the IRS on Form 8594.7Internal Revenue Service. Instructions for Form 8594

Buyer and seller have opposite incentives. The seller wants more value on the real property, where gain can be deferred, and less on items like covenants not to compete that produce ordinary income. The buyer typically wants more allocated to depreciable assets for larger deductions. These numbers need to be settled before signing, because the IRS compares the two Form 8594 filings and inconsistencies invite audits.

The Qualified Intermediary

You cannot touch the real property proceeds. A qualified intermediary is a mandatory third party who holds the money allocated to the real estate so you never have actual or constructive receipt of it. The non-qualifying proceeds, by contrast, go directly to you at closing and are immediately taxable.

Treasury regulations provide a safe harbor confirming that a qualified intermediary is not treated as the taxpayer’s agent for Section 1031 purposes.8eCFR. 26 CFR 1.1031(b)-2 – Safe Harbor for Qualified Intermediaries The intermediary must be genuinely independent. Your attorney, accountant, real estate agent, or anyone who has acted as your employee or agent within the prior two years generally cannot serve. Administrative fees for a standard exchange typically run $600 to $1,200.

The 45-Day and 180-Day Deadlines

Two deadlines govern the exchange, and missing either one ends the deferral.

  • 45-day identification period. You must identify potential replacement properties in writing within 45 calendar days of closing on the relinquished real property. The identification has to be signed and delivered to the qualified intermediary or another person involved in the exchange.2Internal Revenue Service. Like-Kind Exchanges Under IRC Section 1031
  • 180-day exchange period. The replacement property must be acquired by the earlier of 180 calendar days after closing or the due date, with extensions, for your tax return for the year the relinquished property was sold.1Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment

That second clause catches people. Close on your sale in October and your tax return is due the following April 15, less than 180 days away. Filing an extension is standard practice for any exchange that closes in the back half of the year.

Identification Rules

Treasury regulations limit what you can list during that 45-day window. The two common approaches:

  • Three-property rule. Identify up to three replacement properties regardless of their combined value.
  • 200-percent rule. Identify any number of properties as long as their combined fair market value does not exceed 200% of the value of the relinquished property.9eCFR. 26 CFR 1.1031(k)-1 – Treatment of Deferred Exchanges

Identify more than either rule allows and the IRS treats the identification as if nothing had been identified at all, which kills the exchange. A narrow exception applies if you actually acquire at least 95% of the aggregate value of all identified properties before the exchange period ends.9eCFR. 26 CFR 1.1031(k)-1 – Treatment of Deferred Exchanges

What the Replacement Property Has to Do

For full deferral on the real property portion, the net purchase price of the replacement must equal or exceed the net sale price of the relinquished real property, and all the net equity from the relinquished property has to be reinvested. The replacement must be real property held for business use or investment, but it does not have to be the same type of real estate. A factory can be exchanged for an apartment building.

Falling short on either financial test produces boot, which triggers partial taxation.

Boot: What Still Gets Taxed

In a business sale a seller will recognize taxable gain on several fronts. “Boot” is the tax term for anything received in the exchange that is not like-kind replacement property.

Cash From the Non-Qualifying Assets

The most obvious boot is the cash you receive for everything other than the real estate: inventory, equipment, goodwill, receivables, and covenants not to compete. Each is taxed according to the character of the underlying asset: ordinary income for inventory, Section 1245 recapture, and covenants not to compete; capital gain for goodwill and other capital assets.

Non-cash consideration also counts. If the buyer gives you a promissory note, a vehicle, or anything else that isn’t real property, its fair market value is taxable boot.

Mortgage Boot

Debt relief is easy to miss. If the relinquished real property carries a $500,000 mortgage and the replacement property has only a $300,000 mortgage, the $200,000 of debt relief is treated as cash boot. The IRS views the reduction in debt as economically equivalent to receiving cash.

To avoid mortgage boot, take on replacement debt equal to or greater than the debt relieved on the relinquished property, or add outside cash to the replacement purchase to offset the shortfall. Discover a debt gap after the exchange closes and the resulting tax is irreversible.

The Related-Party Trap

Business sales often involve family members, commonly controlled entities, or longtime partners. Section 1031(f) imposes a two-year holding requirement on exchanges between related persons that can retroactively disqualify the deferral.1Office of the Law Revision Counsel. 26 U.S. Code 1031 – Exchange of Real Property Held for Productive Use or Investment If you exchange real property with a related person and, within two years, either the related person sells the relinquished property or you sell the replacement property, the deferred gain snaps back into recognition in the year of that early disposition.

The IRS also has an anti-avoidance rule for arrangements that use a qualified intermediary to route around the restriction. A pre-arranged plan that ultimately involves a related party within two years can be recharacterized as fully taxable.10Internal Revenue Service. Revenue Ruling 2002-83 For these rules, “related person” includes family members, entities where you own more than 50%, and other relationships defined under Sections 267(b) and 707(b)(1) of the Code.

Reporting at Tax Time

A partial 1031 exchange in a business sale generates several IRS filings that have to line up:

  • Form 8594. Buyer and seller each file this form reporting the agreed allocation across asset categories. It is required whenever goodwill or going concern value attaches to the transferred assets.11Internal Revenue Service. About Form 8594, Asset Acquisition Statement Under Section 1060
  • Form 8824. The like-kind exchange is reported here, with the dates of transfer and receipt, descriptions of the properties exchanged, and the calculation of deferred gain.12Internal Revenue Service. About Form 8824, Like-Kind Exchanges
  • Form 4797. The sale of depreciable business property, including personal property subject to Section 1245 recapture and real property subject to Section 1250 recapture, is reported on this form.13Internal Revenue Service. Instructions for Form 4797
  • Schedule D. Capital gains from the sale of assets like goodwill that are not subject to depreciation recapture are reported here.

Internal consistency matters. The values on Form 8594 should match the allocation in the purchase agreement, and the amounts flowing to Forms 4797, 8824, and Schedule D should reconcile with those values. Inconsistencies between the buyer’s and seller’s filings are among the most reliable audit triggers in business sale transactions.