Can a corporation or S corp do a 1031 exchange?

Category:
1031 exchange rules

Short answer: Yes. A C corporation or S corporation can do a 1031 exchange on real estate held for business or investment. The corporation must be the buyer of the replacement property, and shareholders can't take the proceeds or exchange their stock. For an S corp, the deferred gain doesn't pass through to shareholders.

Reviewed by Jon Hilley. Last updated September 29, 2026.

Yes. A C corporation or an S corporation is a taxpayer in its own right, and it can defer gain on investment or business real estate with a 1031 exchange just like an individual can. The key limit on who can do a 1031 exchange is the same-taxpayer rule: the corporation that sells the property must be the one that buys the replacement, and the exchange happens entirely at the corporate level.

That means shareholders can't take their share of the sale proceeds and buy property in their own names, and they can't exchange their stock. If you want the real estate out of the corporation, that is a separate planning problem with its own tax cost.

Key rules

  • Corporations qualify: a corporation can exchange real property held for productive use in a trade or business or for investment for like-kind real property held the same way (IRC §1031(a)(1)).
  • Same taxpayer: the corporation that transfers the relinquished property must acquire the replacement property, using the same tax ID (IRC §1031(a)(1)).
  • Stock is not real property: shares in a C corp or S corp can't be exchanged under 1031; only real property qualifies (Treas. Reg. §1.1031(a)-3).
  • No access to the proceeds: the corporation must use a qualified intermediary and can't actually or constructively receive the sale funds (Treas. Reg. §1.1031(k)-1(g)(4)).
  • Related-party limits: an exchange with a shareholder who owns more than 50% of the corporation, or with a commonly controlled entity, triggers a 2-year holding requirement (IRC §1031(f); IRC §267(b)).

How a 1031 exchange works for a C corporation

For a C corporation, the benefit is often larger than for an individual. Gain on a corporate property sale is taxed at the corporate rate, and any after-tax cash later paid out as dividends is taxed again at the shareholder level. Deferring the corporate-level gain keeps the full equity working inside the company.

The corporation signs the exchange agreement with the qualified intermediary, the sale contract is assigned to the QI, and the replacement deed is taken in the corporation's name. The corporation reports the exchange on its own return with Form 8824.

Can an S corp do a 1031 exchange?

An S corporation is a pass-through entity, so its gains normally flow through to shareholders on their K-1s. When the S corp completes a valid 1031 exchange, the deferred gain doesn't pass through at all. Only recognized gain from boot, such as cash kept out of the exchange, shows up on shareholders' K-1s.

The same-taxpayer rule still applies. The S corp, not its shareholders, must acquire the replacement property. If the shareholders want to go their separate ways, a 1031 exchange by the corporation won't solve that on its own.

Can shareholders exchange individually?

Not directly. Distributing appreciated real estate out of a corporation to its shareholders is generally a taxable event at the corporate level (IRC §311(b)), which is very different from the drop and swap structure partnerships sometimes use. If shareholders want separate exits, model the options with your CPA or tax attorney before signing a sale contract.

What if one shareholder wants to cash out?

There are a few routes, and each has its own tax cost. The corporation can redeem the departing shareholder's stock before the sale, using money other than the exchange proceeds, so the remaining owners can reinvest everything. Or, some time after the exchange closes, the corporation can refinance the replacement property and use the loan proceeds for a redemption. Some advisers also look at a tax-free corporate division, which has strict requirements and is a job for tax counsel.

Example: C corporation exchanges a warehouse

  • Sale price of warehouse: $2,000,000
  • Corporation's adjusted basis: $800,000
  • Realized gain: $1,200,000
  • Replacement property (bought by the corporation): $2,200,000
  • Cash taken out of the exchange: $0
  • Recognized gain: $0
  • Federal corporate tax deferred at 21%: $252,000

Because the corporation reinvests all of the proceeds in a more expensive property and takes no cash out, the full $1,200,000 gain is deferred. At the 21% federal corporate rate, that keeps $252,000 in the business. This ignores selling costs, debt and state tax for simplicity. The replacement property's basis is $1,000,000 ($2,200,000 price minus the $1,200,000 deferred gain).

Other questions investors ask

Who cannot do a 1031 exchange?

Almost any taxpayer can, including individuals, C and S corporations, partnerships, LLCs and trusts. What fails is usually the property or the structure: a primary residence, property held primarily for sale (such as flips or dealer lots), and interests in an entity, such as stock or LLC interests, don't qualify. See what property qualifies for a 1031 exchange.

What is the 5-year rule for an S corp?

In a real estate sale it usually means the built-in gains tax. If a C corporation converted to an S corporation, it can owe corporate-level tax on appreciation that existed at conversion when it sells those assets within 5 years (IRC §1374). A 1031 exchange defers that gain too, but the replacement property generally takes on the old property's built-in gain status for the rest of the period, so have your CPA check the dates.

Does 1031 still exist?

Yes. Section 1031 is still in the tax code, but since 2018 it covers only real property held for business or investment. Equipment, vehicles and other personal property no longer qualify, which matters when a corporation sells business assets along with its building.

Common mistakes

  • Buying in the wrong name. We see shareholders sign a purchase contract personally, or in a new LLC they own, when the corporation sold the old property. The buyer must be the corporation (or an entity disregarded into it).
  • Treating corporate proceeds as the owner's money. Closely held companies sometimes want to route sale funds through the owner's account. Once the corporation has access to the cash, the exchange is over.
  • Planning to split up after the sale. Shareholders who disagree about what to buy often assume they can each exchange their share. That doesn't work for a corporation, so resolve it before the sale.
  • Swapping with a related company. A direct swap with a sister company that has more than 50% common ownership, or buying the replacement from one, brings in the related-party rules. We see this catch closely held businesses off guard.

Related questions

See If You Qualify for a 1031 Exchange

If you own a property as an investment or a property used to operate a business, you likely qualify for a 1031 exchange. To ensure your eligibility, click below and answer our short questionnaire.

Does My Property Qualify?

See If You Qualify for a 1031 Exchange

If you own a property as an investment or a property used to operate a business, you likely qualify for a 1031 exchange. To ensure your eligibility, click below and answer our short questionnaire.

Does My Property Qualify?

Start Your 1031 Exchange Today

We are the 1031 Specialists trusted by sophisticated investors and family offices to facilitate fast, transparent, and error-free 1031 exchange transactions.

Book a Free Consultation Now

Start Your 1031 Exchange Today

We are the 1031 Specialists trusted by sophisticated investors and family offices to facilitate fast, transparent, and error-free 1031 exchange transactions.

Start Your Exchange

Get The 1031 Bible In Your Inbox

Download our whitepaper to learn how sophisticated investors, family offices, and even former US Presidents have created immense wealth through the power of 1031 compounding.

Download Whitepaper

Articles You Might Find Useful

╳
╳