Can I buy a business with a 1031 exchange?

So I'm closing on the sale of a commercial rental building next month and my CPA mentioned a 1031 exchange to defer the capital gains. I've been reading about it and I'm wondering — can I buy a business with a 1031 exchange? Like if I wanted to roll the proceeds into a laundromat or a car wash that includes real property, would that qualify? I've already identified a qualified intermediary and I know the 45-day identification window is tight. I just don't want to blow the exchange by picking the wrong type of replacement property. My building has been held for investment so it qualifies on the relinquished side, but I'm fuzzy on whether a going-concern business counts on the replacement side.

35 comments

I went through something close to this last year. The short answer is: real property held for investment or productive use in a trade or business can be your replacement property, but the business itself — the goodwill, the customer list, the equipment, the inventory — does not qualify. Only the real estate component can go into the 1031. So a car wash where you're buying the land and building? That part can potentially be your replacement property. The operating business assets cannot.

Victor K.

Author

So I'd basically have to allocate the purchase price between the real property and the business assets, and only the real property piece counts toward satisfying my exchange amount?

Exactly. And your qualified intermediary will need that allocation in writing. The IRS looks at whether the real estate was actually held for productive use, not just bundled in with a business sale to make the numbers work.

The key thing people miss is that a 1031 exchange under Section 1031 of the code requires "like-kind" property, and that means real property for real property. Personal property exchanges lost their 1031 treatment after 2017. Equipment, vehicles, franchise rights — none of that qualifies anymore. If you're buying a laundromat, the washers and dryers are out. Only the real estate underneath can be part of your exchange.

Victor K.

Author

Does the land under a leasehold matter here, or does the seller have to own fee simple real estate?

A leasehold with 30 or more years remaining (including renewal options) has historically been treated as like-kind to fee simple real estate. But get your QI and a tax attorney to confirm the lease terms before you identify it — this is not an area to guess on.

I had almost this exact question when I was looking at buying a self-storage facility that came with a management company attached. I uploaded my draft purchase agreement and my existing depreciation schedules to Taxr at taxr.ai and it pulled out every asset category in the allocation table and flagged which ones would and wouldn't survive a 1031. Saved me a lot of back-and-forth with my attorney. The real property portion was clean; the management contracts were a problem. Worth doing before you finalize any purchase price allocation.

Victor K.

Author

How detailed did it get on the allocation? I have a situation where the seller is lumping land, building, and equipment all into one number.

It broke each line item out separately and noted which recovery periods applied to each asset class. For the business-side assets it flagged them as non-qualifying and estimated what portion of my exchange proceeds would be left unmatched — which would be taxable boot.

Boot is the word you want to understand here. If any of your exchange proceeds end up paying for non-like-kind property — business assets, furniture, inventory — that portion is taxable. It doesn't disqualify the whole exchange, but you'll owe capital gains and potentially depreciation recapture on the boot amount. Form 8824 is where all of this gets reported, and the IRS compares your realized gain, your boot received, and your basis in the replacement property line by line.

Victor K.

Author

Is depreciation recapture on the boot calculated the same way as a regular sale?

Yes — the recapture comes first. Any gain attributable to prior depreciation deductions is recaptured at the Section 1250 rate before long-term capital gain rates apply to the rest. Your accountant should run a recapture schedule before you close so you know the worst-case number.

Bought a triple-net property through a 1031 a couple years ago. The seller was also running a small property management operation out of the same building and wanted to include the business in the sale. We had to carve it out entirely. The exchange only covered the real estate. The business was a separate cash transaction with its own closing statement. Ended up being more paperwork but the exchange worked fine.

Victor K.

Author

Did the IRS ever question the allocation between the real property and the business?

No inquiry so far. We had a certified appraisal on the real estate and a separate business valuation document. The attorney said having independent support for each number is what keeps it clean if you do get questions later.

I'd push back a little on the leasehold comment above. Technically you're right that long leaseholds have been treated as like-kind, but the IRS hasn't issued crystal-clear guidance post-2017 on every edge case. If the replacement property involves anything other than a straightforward fee-simple purchase, please talk to a tax attorney or CPA who specializes in 1031s before you identify. The 45-day clock doesn't stop while you're figuring it out.

Went through a messy exchange last spring where part of the replacement property was a mixed-use building with retail tenants on the ground floor and a business the seller owned operating out of there. I gave Taxr the closing disclosure, the purchase agreement, and my Form 8824 draft and had it compare the asset allocations line by line. It flagged that two line items in the closing disclosure that my preparer had treated as real property were actually listed as equipment in the purchase agreement — potential boot I didn't know I had. Caught it before filing.

Victor K.

Author

That's exactly the kind of reconciliation error I'm worried about. Did you have to amend anything or was it caught in time?

Caught in time. The fix was adjusting the allocation in the purchase agreement before closing, which the seller agreed to since it didn't change the total price. The Form 8824 then matched clean.

Even when the real property portion qualifies, don't forget that the replacement property has to be held for investment or productive use in a trade or business — not for immediate resale. If you're planning to buy the car wash real estate and flip it in six months, the IRS could argue you held it for sale, not for investment, and disallow the exchange retroactively. There's no bright-line holding period in the code, but most practitioners say at least a year or two is safer.

Victor K.

Author

I was planning to hold it long-term anyway, but good to know that intent matters from day one.

The Form 8824 instructions are worth reading even if your accountant is handling the return. It walks through how to calculate your realized gain, your recognized gain (the taxable portion), and your basis in the replacement property. The basis calculation is where people get surprised later — your replacement property basis is reduced by the deferred gain, so depreciation going forward is on a lower number than what you paid.

Does that mean the depreciation schedule restarts from zero on the replacement property's adjusted basis?

Not from zero — from the carryover basis adjusted for the exchange. The recovery period for the building portion of residential rental property is 27.5 years under MACRS GDS, same for commercial it's a different period, and your depreciation begins when the replacement property is placed in service. Your accountant should build a new Form 4562 starting from that adjusted basis.

Your qualified intermediary has to hold the exchange funds the entire time — you can't touch them between the sale of your relinquished property and the purchase of the replacement. If you receive the proceeds even briefly, the exchange fails and the full gain is recognized in the year of sale. The 180-day deadline to close on the replacement property runs from the sale date of your relinquished property, not from when you identify.

Victor K.

Author

My QI is already set up and they have the proceeds. The 45-day identification deadline is what's making me nervous — I haven't formally identified the car wash yet.

The IRS page on Form 8824 at irs.gov/forms-pubs/about-form-8824 has a good overview of the like-kind exchange rules and links to the instructions. Worth bookmarking alongside Publication 527 if any of your properties are residential rental — the pub covers depreciation, basis, and rental expense rules that carry over into the replacement property analysis.

I'll add that if you're buying a car wash or laundromat, lenders often require a business valuation separate from the real estate appraisal anyway. That document becomes useful for your tax allocation too. Having the lender's appraisal and your own CPA's allocation in agreement is a lot easier to defend than a number you picked yourself.

Victor K.

Author

The lender already ordered an appraisal. I'll ask them to make sure the real estate and equipment are broken out separately on the report.

Had a situation where I tried to include a franchise agreement in a 1031. My attorney caught it fast — franchise rights are intangible personal property and have been off the table for 1031 purposes since the 2017 tax law change. Only real property now. Any intangibles bundled into a business acquisition have to be handled outside the exchange.

Worth mentioning: even if the exchange itself is structured correctly, your state may not conform to federal 1031 rules. Some states have their own like-kind exchange rules or don't recognize the deferral at all, which means you could owe state tax on the gain in the year of sale even when the federal gain is deferred. Check with a CPA or tax attorney licensed in your state before closing.

Victor K.

Author

I hadn't thought about state conformity. The relinquished property and the replacement are in different states, which probably makes this even more complicated.

Different states means two different conformity questions and potentially two states with an interest in taxing the gain. A multi-state CPA or tax attorney is worth it here — this is not a situation where guessing saves you money.

To pull it all together from what I've seen in my own exchange: you can absolutely use a 1031 to buy real property that happens to be part of a business — a car wash, laundromat, storage facility. But the exchange covers only the real estate. You need a written allocation, independent appraisal support, a clean Form 8824, and a QI who doesn't let the proceeds touch your hands. The business assets are a separate cash deal or they become taxable boot.

Victor K.

Author

Between all of these answers I finally have a clear plan. Going to bring the purchase agreement to my CPA this week and make sure the allocation is carved out before I submit my formal identification to the QI.