Can a Corporation Do a 1031 Exchange? C-Corp vs. S-Corp Rules

Yes, a corporation can do a 1031 exchange. Section 1031 lets any taxpayer defer capital gains on a swap of like-kind real estate held for business or investment, and corporations qualify as taxpayers the same way individuals, partnerships, and LLCs do.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment The harder question is whether the deferral is worth doing, and that depends almost entirely on whether the corporation is a C-Corp or an S-Corp. Pick the wrong structure and the exchange just postpones a bigger bill.

C-Corp vs. S-Corp Changes the Math

A C-Corp can defer gain through a 1031 exchange, but the economics are often punishing because of the two layers of tax built into the structure. The exchange postpones the corporate-level tax on the sale. The gain stays embedded in the replacement property through a lower carryover basis. That part works.

The problem shows up at the exit. When the C-Corp eventually sells the replacement property in a taxable transaction or liquidates, it pays tax at the 21% corporate rate on the recognized gain.2Office of the Law Revision Counsel. 26 USC 11 – Tax Imposed The after-tax proceeds then move to shareholders as a dividend or liquidating distribution, and shareholders owe a second layer at long-term capital gains rates on the difference between what they receive and their stock basis. For higher-income shareholders, the 3.8% Net Investment Income Tax may stack on top of that.3Internal Revenue Service. Net Investment Income Tax Together, the two layers can consume well over a third of the gain. The 1031 defers the first layer and does nothing about the second.

For a C-Corp that plans to hold real estate indefinitely and keep exchanging into new properties, the deferral still has real value because every dollar not paid today keeps earning. For a C-Corp approaching sale or liquidation, the exchange is often just delaying the inevitable at both levels.

S-Corporations fit 1031 exchanges much better. An S-Corp is a pass-through, so the corporation itself generally pays no tax on real estate gain. When the S-Corp runs a successful 1031, the deferred gain never hits the shareholders’ returns in the exchange year. No corporate layer, no shareholder layer. Clean deferral.

The catch is shareholder basis. Because the gain was never recognized, shareholders’ basis in their S-Corp stock does not step up by the deferred amount. That artificially low basis can bite later. A cash distribution that exceeds a shareholder’s stock basis is taxed as capital gain. A sale of the stock produces a larger gain than the owner might expect. The deferral is real; the recordkeeping is on you.

Built-In Gains Tax for Converted S-Corps

One scenario catches many S-Corp owners off guard. If the corporation was previously a C-Corp and elected S status, it faces the built-in gains tax under IRC Section 1374. Any asset held on the conversion date carries built-in gain equal to the difference between fair market value and basis on that date, and a sale within five years of the S election triggers tax at the 21% corporate rate.4Office of the Law Revision Counsel. 26 USC 1374 – Tax Imposed on Certain Built-In Gains

A 1031 can defer the built-in gains tax, but the exposure attaches to the replacement property. Sell the replacement inside the remaining recognition period without doing another exchange and the tax comes due. The five-year clock runs from the first day of the first S-Corp year, not from the exchange date.4Office of the Law Revision Counsel. 26 USC 1374 – Tax Imposed on Certain Built-In Gains Running out the clock through a series of exchanges is a legitimate strategy, but it has to be planned.

What Property Qualifies

Both the relinquished property and the replacement property must be real estate held for productive use in a trade or business or for investment.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment A corporate headquarters, a rental portfolio, a warehouse used in operations, an office building swapped for farmland — these all work. Since January 1, 2018, like-kind treatment applies only to real property, so machinery, equipment, vehicles, artwork, and intellectual property no longer qualify.5Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips A corporation cannot swap a fleet of trucks and defer the gain.

What also does not qualify: dealer property. Real estate held primarily for sale to customers in the ordinary course of business is excluded.5Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips A corporation that buys houses, renovates, and flips them is holding inventory. A development company that subdivides land and sells lots is doing the same. The IRS looks at the full picture: how long the property was held, how many properties the corporation sells in a year, marketing and sales efforts, and whether there is a pattern of buying and reselling.

No statutory bright-line holding period exists, but holding for at least a year or two with rental or business use provides much stronger footing for investment intent. Corporations that operate on both sides often separate development inventory and investment property into different entities so the dealer taint does not contaminate 1031-eligible assets.

The 45-Day and 180-Day Deadlines

Most corporate exchanges are deferred exchanges, not simultaneous swaps. Two deadlines run from the date the relinquished property transfers, and missing either one kills the exchange.

The corporation has 45 days to identify potential replacement properties in writing. It then has 180 days from that same transfer date to close on at least one identified property, or until the due date of its tax return (including extensions) for the year of transfer, whichever comes first.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment No extensions. Weekends and holidays do not move the dates.

The identification must be specific, in writing, and delivered to the qualified intermediary or another party in the exchange before midnight on day 45. The corporation can identify up to three properties of any value, or more than three if their combined value stays within 200% of the relinquished property’s sale price. For an exchange that starts late in the tax year, a corporation that has not filed an extension can see its 180-day window cut short by the return due date. File the extension.

The Qualified Intermediary Requirement

The corporation cannot sell the property, hold the cash, and then buy the replacement. Actual or constructive receipt of the proceeds at any point during the exchange collapses the deferral and the gain becomes immediately taxable.

A qualified intermediary is an independent party who holds the exchange funds between the sale and the purchase. Under Treasury Regulations, the intermediary signs a written agreement with the taxpayer, takes the relinquished property, transfers it to the buyer, then acquires the replacement property and transfers it to the taxpayer.6eCFR. 26 CFR 1.1031(b)-2 – Safe Harbor for Qualified Intermediaries The corporation has to restrict its own right to receive, pledge, or borrow against the funds while the intermediary holds them.

The intermediary cannot be anyone who has served as the corporation’s agent within the prior two years. The company’s attorney, accountant, real estate broker, or employee is generally disqualified. Qualified intermediaries are not federally regulated, so verify bonding, insurance, and fund segregation before transferring what may be millions of dollars.

Boot: Cash and Debt Relief

A clean 1031 trades real property for real property of equal or greater value with nothing left over. In practice, something is usually left over. Cash received, non-real-property received, or net debt relief is “boot,” and boot triggers partial gain recognition.

Gain is recognized up to the amount of boot received, capped at the total realized gain on the relinquished property.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment If a corporation sells a property for $2 million with a $500,000 basis and buys a replacement for $1.8 million, the $200,000 difference is boot. That $200,000 is taxable even though the rest of the exchange defers.

Debt relief trips corporations up more often than leftover cash. A relinquished property carrying a $1 million mortgage swapped for a replacement with a $700,000 mortgage produces $300,000 of mortgage boot. The corporation can offset mortgage boot by adding cash to the exchange, but only if the planning happens before closing.

Exchanges With Related Parties

When a corporation exchanges with a related party, special rules apply. A related party includes any person or entity connected through more than 50% common ownership and other relationships listed in IRC Section 267(b), including members of a controlled corporate group and trusts with shared grantors.7Office of the Law Revision Counsel. 26 USC 267 – Losses, Expenses, and Interest With Respect to Transactions Between Related Taxpayers

The core restriction is a two-year holding period. If either side disposes of the property received within two years of the exchange, the deferred gain from the original exchange snaps back and becomes immediately taxable as of the disposition date.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment The statute carries a blanket anti-abuse provision as well: any exchange structured to circumvent the related party rules is disqualified entirely, however long the parties hold.

Reporting With Form 8824

Every corporation that completes a like-kind exchange files IRS Form 8824 with its tax return for the year of the exchange. The form captures details on both properties, the transfer and receipt dates, the relationship between the parties, and the gain computation.8Internal Revenue Service. Form 8824 – Like-Kind Exchanges If a related party was involved, Part II requires that party’s name, identifying number, and relationship.

The form also tracks the deferred gain and the carryover basis of the replacement property, which matters for every year that follows. Corporations running serial exchanges, rolling deferred gain from one property into another over many years, have to keep meticulous records. Each successive exchange carries forward the full accumulated deferred gain, and a single failed exchange in the chain recognizes the whole stack.

State Taxes Do Not Always Follow

Federal deferral under Section 1031 does not guarantee state-level deferral. Most states conform, but some impose additional requirements or do not fully conform, and others may have different sourcing rules for gain on real property. A corporation operating across multiple states should confirm conformity in every state where it files before assuming a clean deferral top to bottom.