1031 Exchange for an Office Building
Sell the office you would not buy again today
An office building held for investment or used in your own practice qualifies for a 1031 exchange into any like-kind U.S. real property. Many office owners use an exchange to move into industrial, retail or residential property without paying tax on the gain first. The traps sit in the leases, in tenant improvement and leasing costs still owed, and in fixtures that are not real property.
The office lease audit: 5 items. The first is free on this page.
Updated November 14, 2026 by Private Exchange Group. 2 minute read. Not tax or legal advice.

The short version
- Office buildings are named in the Treasury regulations, so an office trades like-kind into any other U.S. investment real estate.
- Doctors, lawyers and other owner-users can exchange the building their practice occupies, because business use qualifies.
- Unpaid tenant improvement allowances and leasing commissions show up as credits at closing and change your exchange numbers.
- Modular partitions designed to be moved are not real property, according to an example in the regulations.
When an office stops pulling its weight
Office owners call when the numbers or the workload stop making sense. A large tenant is up for renewal, the building needs systems work, or vacancy has climbed. Owner-users reach the same point when the practice moves, merges or winds down. Selling outright means paying tax on years of appreciation and depreciation before you buy anything else.
Section 1031 covers office property held for investment or used in a business, traded for like-kind real property held the same way. The regulations list office buildings by name, and walls, wiring, plumbing and floors are structural components that count with the building. Your next property does not have to be office at all.
Where office owners take the equity
These moves are all like-kind, because each trades U.S. real property for U.S. real property. The choice comes down to how much leasing work you want next and how much capital the next building will ask of you.
- Office into industrial
- Owners who want tenants with simpler space needs trade into warehouse or flex property, with less interior build-out between tenants.
- Office into net lease
- A multi-tenant office traded for one or more single-tenant net lease stores replaces many short leases with a few long ones.
- Practice building into rentals
- A retiring professional sells the practice building and buys rental property, turning a business asset into investment income.
- Older office into newer
- Some owners stay in office but trade an aging building for a newer one with fewer capital needs in the next few years.
Before closing or not at all
Three ways a property fails the test
You live in it
A home you live in is not held for investment, and Section 1031 does not cover it.
You bought it to resell
Property held mainly for sale, such as a flip or a builder's lots, is excluded.
It crosses the border or is not real estate
Real property in the United States and real property abroad are not like-kind. Stock, partnership interests and REIT shares are not real property.
General rules, not tax or legal advice.
Lease and leasing cost traps in an office sale
Office leases carry obligations that travel with the building. A tenant may still be owed part of an improvement allowance, a broker may be owed a commission on a recent renewal, and rent may be abated for months. Buyers ask for credits at closing for all of these, and each credit reduces the cash moving into your exchange.
On the buying side, the same items work against you. Read every lease for renewal options, termination rights, expansion rights and allowances still owed. Tenant estoppels confirm what the leases say, and collecting them from a full building takes time out of a 180-day window.
Interior build-out gets sorted item by item. In an example in the regulations, conventional drywall partitions built to stay are real property, while modular partitions designed to be moved and reused are not. Furniture and movable systems left for the buyer are personal property and fall outside the exchange.
Financing and the next step for office owners
The loan you pay off at the sale has to be replaced with new debt or added cash to avoid boot. If you are trading into office, start the replacement financing before your sale closes, since office underwriting can take a while to finish inside 180 days.
PEG starts with your rent roll, your loan and your plan for the next property, then works with your CPA on the leasing credits and depreciation. If you are an owner-user moving the practice and need the new space first, ask about a reverse exchange. The step that matters most is to open an exchange before the closing.
Questions people ask
Can I 1031 my medical office building into rental houses?
Yes. A medical office used in your practice or leased to others is business or investment real property, and rental houses are like-kind to it. The practice equipment, furniture and goodwill are not real property and are handled outside the exchange, so plan how the price is split with your CPA.
Does my office building have to be fully leased to qualify for a tax free exchange?
No. A vacant or partly leased office still qualifies if you hold it for investment or business use, since the regulations treat even unproductive real estate held for future use as investment property. Vacancy affects price and financing, not eligibility. The exchange defers tax rather than forgiving it.
Can I exchange an office condo?
Yes. An office condominium unit is held in fee ownership, which is an interest in real property, so it trades like any office building. Association rules on use, signage and leasing can narrow the pool of buyers and tenants, so read them before you sell one or put one on your identification list.
Is an office building I lease to my own company eligible?
Yes. Leasing your building to a company you own is a business or investment use, so the building can be sold in an exchange. If that related company buys the building from you or sells you the replacement, the 2-year related party rule in Section 1031(f) needs careful review with your tax advisor first.


Know where you stand before you close
Tell us when the sale closes and what you own. You will hear where you stand and what has to happen first.
- Whether the property qualifies
- Your 2 deadlines on a calendar
- What your closing agent needs
Asking commits you to nothing. It keeps the option open.
Keep reading
Sources
- 26 CFR 1.1031(a)-3, Definition of real property (Cornell LII)
- 26 CFR 1.1031(a)-1, Property held for productive use in trade or business or for investment (Cornell LII)
- 26 U.S.C. 1031, Exchange of real property held for productive use or investment (Cornell LII)
- IRS: Like-kind exchanges, real estate tax tips
