Can an S Corp Do a 1031 Exchange? Rules, Deadlines, and Boot

Yes, an S corporation can do a 1031 exchange. Section 1031 doesn’t restrict eligibility by entity type, so an S Corp that holds real property for business or investment can defer capital gains by exchanging it for like-kind replacement property, provided it follows the identification and timing rules every other taxpayer follows.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment The harder questions are the ones specific to S Corps: what happens to former C Corp built-in gains, what happens when shareholders disagree, and what happens to accumulated deferred gain when a shareholder dies.

The Same-Taxpayer Rule

An S Corp is a domestic corporation that has elected pass-through treatment under Subchapter S. It holds title in its own name and files its own return, so it qualifies as a taxpayer that can own, transfer, and receive property.2Office of the Law Revision Counsel. 26 USC 1361 – S Corporation Defined

The rule that matters most: the same entity has to sit on both sides of the exchange. If the corporation sells the relinquished property, the corporation has to buy the replacement. A shareholder cannot personally take title to the replacement property. That breaks the same-taxpayer requirement and collapses the deferral, forcing the full gain to be recognized right away.

What Property Qualifies

Only real property held for business use or investment qualifies. Since the Tax Cuts and Jobs Act took effect in 2018, personal property such as equipment, vehicles, and furniture no longer qualifies for 1031 treatment.3Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips

Like-kind is broader than most people expect. It refers to the nature of the investment, not the specific property type. An office building can be exchanged for vacant land, a warehouse for an apartment complex, or a strip mall for a single-tenant industrial building. Both sides just need to be real estate held for business or investment.3Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips

Two disqualifiers apply. Property held primarily for resale doesn’t qualify, so an S Corp flipping houses as inventory can’t exchange those.1Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment And U.S. real estate is not like-kind to foreign real estate, so a property in Texas cannot be exchanged for one in Canada.3Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips

The 45-Day and 180-Day Deadlines

Two deadlines govern every deferred exchange, and neither has any built-in flexibility.

  • Within 45 calendar days after transferring the relinquished property, the S Corp must deliver a written identification of replacement properties to the qualified intermediary.
  • Within 180 calendar days after that transfer, or by the due date of the corporation’s tax return (including extensions) for the year of the transfer, whichever comes first, the corporation must close on the replacement property.4Internal Revenue Service. 2025 Instructions for Form 8824 – Like-Kind Exchanges

Calendar days, not business days. Weekends and holidays count. Miss either deadline by a single day and the entire gain becomes taxable. Watch the return-due-date wrinkle: a late-year transfer with no extension can shorten the 180 days considerably.

How Many Replacement Properties Can Be Identified

Treasury regulations offer three alternative limits, and the S Corp only needs to satisfy one:5GovInfo. 26 CFR 1.1031(k)-1 – Treatment of Deferred Exchanges up to three properties regardless of value; any number of properties whose combined fair market value doesn’t exceed 200 percent of the relinquished property’s value; or any number of properties at any value if the S Corp actually acquires at least 95 percent of the total identified value.

The 95-percent option sounds generous but is unforgiving in practice: fall short and the IRS treats you as having identified nothing. Most exchanges use the three-property rule because it’s the least likely to accidentally destroy the deferral. Each identification must be in writing, delivered to the qualified intermediary, and describe the property clearly enough that it can’t be confused with any other, whether by legal description or street address.4Internal Revenue Service. 2025 Instructions for Form 8824 – Like-Kind Exchanges

The Qualified Intermediary

Unless deeds swap simultaneously, the S Corp needs a qualified intermediary to hold the sale proceeds. Federal regulations treat a properly structured intermediary arrangement as an exchange rather than a sale followed by a repurchase, which is what preserves the deferral.6eCFR. 26 CFR 1.1031(b)-2 – Safe Harbor for Qualified Intermediaries Without one, the corporation is treated as having received cash and then bought a new property, which is a taxable sale.

The intermediary must be independent. The S Corp’s attorney, accountant, or broker, or anyone who has served in those roles within the previous two years, is disqualified. A written exchange agreement has to be executed before the first closing, and it must bar the corporation from accessing, pledging, or borrowing against the proceeds during the exchange period. Funds sit in a restricted escrow account until the replacement property closes.

Boot and Full Deferral

Boot is the informal term for anything the S Corp receives in the exchange that isn’t like-kind real property. Cash left over after closing, personal property included in the deal, and net debt relief all count as boot, and the corporation recognizes gain up to the amount of boot received.3Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips

Mortgage boot trips up the most exchanges. Sell a property with a $500,000 mortgage, buy one with only $300,000 in new debt, and the $200,000 reduction is treated as boot. The fix is straightforward: add cash to the replacement side to offset the debt reduction. As long as new debt plus additional cash on the replacement equals or exceeds the debt paid off on the relinquished property, no mortgage boot is recognized.

Three rules keep the exchange fully tax-deferred. Buy replacement property of equal or greater value. Reinvest all the net equity. Replace the debt dollar for dollar with new debt or additional cash. Fall short on any of these and the S Corp recognizes gain to the extent of the shortfall.

What the Deferral Means for Shareholders

Because an S Corp is a pass-through entity, its tax items ordinarily flow through to shareholders. A 1031 exchange interrupts that flow for the deferred gain. Since the gain isn’t recognized at the corporate level, nothing passes through, and the gain doesn’t increase shareholders’ stock basis.2Office of the Law Revision Counsel. 26 USC 1361 – S Corporation Defined

The S Corp’s basis in the relinquished property carries over to the replacement property. If the corporation originally paid $400,000 for a property now worth $1,000,000, the replacement starts with the same $400,000 basis. The $600,000 gain stays embedded in the new asset, waiting to be recognized whenever the corporation sells without exchanging.3Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips

Depreciation follows the same logic. Unrecaptured depreciation from the relinquished property carries over rather than being recognized at the exchange. The S Corp doesn’t restart depreciation on the full purchase price of the replacement. The carryover basis continues on the existing schedule, and only any additional investment above the carryover starts a new one.

If the exchange generates boot, the recognized portion does flow through to shareholders as taxable income on their individual returns for the year of the exchange.3Internal Revenue Service. Like-Kind Exchanges – Real Estate Tax Tips

Former C Corporations and the Built-In Gains Tax

This is where a lot of S Corp owners get blindsided. If the corporation was previously a C Corp and converted to S status, Section 1374 imposes a separate corporate-level tax on built-in gains recognized during a five-year recognition period after conversion.7Office of the Law Revision Counsel. 26 USC 1374 – Tax Imposed on Certain Built-In Gains The built-in gain is the difference between a property’s fair market value on the conversion date and its adjusted basis at that time.

A 1031 exchange doesn’t eliminate this exposure. It defers the regular capital gains tax, but the built-in gain and the remaining recognition period carry over to the replacement property. Section 1374 addresses this directly: when replacement property takes its basis by reference to another asset, the replacement is treated as if the corporation held it since the start of the recognition period, and the built-in gain is measured against the original property’s conversion-date value.7Office of the Law Revision Counsel. 26 USC 1374 – Tax Imposed on Certain Built-In Gains

Practically, a 1031 exchange can help a former C Corp avoid triggering the built-in gains tax during the recognition period by deferring the gain into the replacement property. But the tax doesn’t vanish. If the corporation sells the replacement within what remains of the five-year window without another exchange, the built-in gains tax applies at the corporate level on top of the flow-through gain. Chaining exchanges can run out the clock for corporations early in their recognition period.

When Shareholders Disagree

Here’s the structural disadvantage S Corps carry compared with partnerships. Because the S Corp is a single legal entity, it either does the exchange or it doesn’t. Individual shareholders can’t opt out. If two shareholders want deferral and a third wants cash, the corporation cannot split the transaction to accommodate both groups.

Partnerships have a relatively clean fix: distribute the property to the partners, who then individually choose to exchange or sell their share. S Corps don’t have this option. Distributing appreciated property from the corporation triggers gain recognition at the corporate level, which flows through to all shareholders. The distribution itself becomes the taxable event the exchange was meant to avoid.

Some advisors suggest a “drop and swap” where the S Corp distributes the property to shareholders before the exchange. The IRS has historically challenged these under the step-transaction doctrine, arguing the distribution and exchange are one planned transaction that should be taxed as a corporate sale. If a court agrees, the deferral fails. Practitioners who attempt this generally allow significant time between the distribution and the exchange, but no bright-line safe harbor exists. This is where aggressive planning meets real IRS scrutiny, and the S Corp offers far less flexibility than a partnership or an LLC taxed as one.

The Basis Step-Up Problem at Death

When a shareholder dies, their S Corp stock receives a step-up in basis to fair market value under Section 1014. That helps the heirs if they sell the stock. But the real estate inside the corporation doesn’t get a corresponding step-up in its inside basis. The corporate entity sits as a wall between the stock basis adjustment and the asset-level basis. If the S Corp holds a property with a $400,000 carryover basis after years of exchanges but the property is now worth $2,000,000, the heirs inherit stock at the stepped-up value while the corporation still carries $400,000 on its books.

The deferred gain from years of 1031 exchanges survives the shareholder’s death. When the S Corp eventually sells, the $1,600,000 gain is recognized at the corporate level and flows through to whoever owns the stock at that point. Partnerships handle this differently: a Section 754 election allows the inside basis of assets to adjust to match the new partner’s outside basis, effectively unwinding the deferred gain for a deceased partner’s heirs.

For S Corp shareholders who have been chaining exchanges and accumulating deferred gains, this is a significant estate planning issue. Some advisors explore converting to a partnership or LLC before death to preserve the step-up, but the conversion itself can trigger gain recognition and needs careful analysis.

Related Party Exchanges

When an S Corp exchanges property with a related party, extra rules apply. Related party includes shareholders who own more than 50 percent, along with other entities and family members defined under Section 267(b). If either side disposes of the property received in the exchange within two years, the deferred gain snaps back and becomes taxable as of that disposition date.8Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment

The two-year rule exists to prevent related parties from using exchanges to shift basis between themselves. Three narrow exceptions apply: dispositions after the death of either party, involuntary conversions such as condemnation or casualty loss, and transactions where the taxpayer can prove to the IRS that tax avoidance wasn’t a principal purpose.8Office of the Law Revision Counsel. 26 USC 1031 – Exchange of Real Property Held for Productive Use or Investment

For S Corp owners, this comes up most often when the corporation wants to exchange with an entity the majority shareholder also controls. The exchange itself isn’t prohibited, but both sides must hold their received properties for at least two years or risk losing the deferral entirely.

Reporting the Exchange

The S Corp reports every 1031 exchange on IRS Form 8824, attached to its Form 1120-S for the year the relinquished property was transferred.4Internal Revenue Service. 2025 Instructions for Form 8824 – Like-Kind Exchanges The form requires four dates: when the relinquished property was originally acquired, when it was transferred, when the replacement was identified in writing, and when the replacement was received.9Internal Revenue Service. Form 8824 – Like-Kind Exchanges

The form also captures descriptions of both properties, the relationship between the parties (which matters for the related-party rules), the calculation of any recognized gain from boot, and the basis of the replacement. When a related party is involved, the S Corp continues reporting on Form 8824 for the two years after the exchange to confirm neither party disposed of the property early.4Internal Revenue Service. 2025 Instructions for Form 8824 – Like-Kind Exchanges

Getting the numbers right matters more than most S Corp owners realize. The basis figure on the replacement property drives future depreciation deductions and the gain on any eventual taxable sale. An error compounds forward through every year the corporation holds the replacement and through every subsequent exchange in the chain.