S-Corp 1031 Exchange: The Related-Party Rule Trap

S-Corp 1031 Exchange: The Related-Party Rule Trap





Contact Us

Yes, an S-corp 1031 exchange is allowed — but only the corporation can do it, and the rules around it almost never match the simple version owners have in mind. If your S-corp holds investment real estate and you’re thinking about trading up, down, or out of it, the exchange mechanics themselves are routine. What trips people up is everything around the exchange: who’s legally allowed to be the one doing it, what happens when one shareholder wants cash and the others want to keep going, and what counts as a related party when the other side of the deal is a company you also control.

The Short Answer: the Corporation Has to Be the One Doing It

An S election doesn’t create a separate taxpayer for exchange purposes — it just changes how the existing corporation is taxed. Under IRC §1031, the taxpayer that transfers the relinquished property has to be the same taxpayer that takes title to the replacement property. If your corporation owns the building, the corporation has to sell it and the corporation has to buy the replacement — not you personally, and not an LLC you own on the side to hold the new property. (A single-member LLC wholly owned by the corporation is different: it’s disregarded as an entity separate from its owner for tax purposes, so the corporation can take title through one without breaking the same-taxpayer requirement.) A shareholder who takes title to the replacement property individually, intending to let the exchange carry the corporation’s deferral, has created two different taxpayers in the transaction, and the IRS will see a distribution followed by a sale, not a 1031 exchange.

Only Real Property Qualifies Now

Section 1031 used to cover a wider range of business property, including vehicles and equipment traded in for similar assets. That changed with the 2017 tax law: for exchanges completed after December 31, 2017, §1031(a)(1) limits nonrecognition to “real property held for productive use in a trade or business or for investment,” exchanged for other real property of like kind. If your S-corp trades in a work truck or a piece of equipment today, that’s a sale, full stop — any gain is recognized the same year. The real property version survives with its usual mechanics: the replacement property has to be identified within 45 days of transferring the relinquished property, and the exchange has to close within 180 days or by the extended due date of the corporation’s return for the year of the transfer, whichever comes first.

Why “Drop and Swap” Doesn’t Work for an S-Corp

Partnerships and LLCs taxed as partnerships have a well-known workaround when one owner wants to cash out of jointly held real estate while the others want to keep rolling it forward: the entity distributes the property to the partners as tenants in common before the sale, then each former partner goes their own way — one sells and pays tax, the others exchange and defer. That works at the partnership level because a partnership generally recognizes no gain or loss when it distributes property to a partner under IRC §731(b).

An S-corp doesn’t get that exception, and that’s the single biggest reason a multi-shareholder S-corp 1031 exchange goes sideways. Distributing appreciated real estate out of a corporation — S or C — triggers gain at the corporate level under IRC §311(b), computed as if the corporation had sold the property to the shareholder at fair market value. Subchapter C applies to S corporations except where the Code says otherwise, so §311(b) applies here too. That gain doesn’t stay with the one shareholder who wanted out — it passes through to every shareholder in proportion to their stock, the same way any other item of income does. The shareholders who wanted to keep the real estate inside the company end up with a tax bill from a transaction they didn’t ask for. This is one of the clearer cases where holding real estate through an LLC taxed as a partnership instead of an S-corp keeps your options open later; once the property is inside the corporation, getting one owner out cleanly is much harder.

The Related-Party Rule Can Undo the Deferral

A second trap shows up when the other side of the exchange isn’t a stranger. Section 1031(f) applies special rules when the exchange is with a related person — defined by reference to §267(b) or §707(b)(1), which for a corporation and an individual means the individual owns, directly or indirectly, more than 50% in value of the corporation’s stock. Family attribution rules under §267(c)(4) fold in stock held by a spouse, brothers and sisters, ancestors (parents and grandparents), and lineal descendants (children and grandchildren), so this catches more situations than it sounds like it would for a typical owner-operated S-corp. If your S-corp exchanges property with you individually, with your spouse, or with another entity you or your family majority-own, that’s a related-party exchange.

The penalty for a related-party exchange isn’t a flat bar — it’s a two-year trap door. If either side disposes of the property they received in the exchange within two years of the last transfer, the deferral is retroactively undone and the original gain gets recognized as of the date of that later disposition. There are exceptions — death of either party, an involuntary conversion, or proof to the IRS’s satisfaction that tax avoidance wasn’t a principal purpose of either transaction — but absent one of those, a related-party exchange like this one means living with the two-year clock before either side can safely sell what they received.

Reporting It on the Corporation’s Return

The exchange is computed and reported at the entity level, on the corporation’s own Form 8824, before any resulting gain flows through to shareholders on their K-1s. A related-party exchange means completing Part II of that form, and the corporation keeps filing it for the two years following the exchange to confirm neither party has disposed of the property in a way that triggers the deferred gain. Skipping that follow-up filing doesn’t make the two-year rule go away — it just means the IRS finds out later instead of on time.

Where an S-Corp 1031 Exchange Actually Gets Complicated

A clean S-corp 1031 exchange works when every shareholder agrees on the goal: the corporation keeps holding real estate, nobody needs to be bought out, and the other side of the trade isn’t someone related to the ownership group. The moment any of those isn’t true — one owner wants liquidity, the replacement property is coming from an entity the family controls, or the exchange is really the first step in splitting the business apart — the exchange itself is the easy part and the structure around it is where a transaction gets built wrong. That’s worth working through with someone who can look at your cap table, your real estate, and your timeline together, before you’re 45 days into an identification period and out of room to fix it. Contact us before you sign anything.

Categories: tax