Move appreciated real estate out of S corp to partnership without triggering section 1239 gain

Trying to figure out if there's a clean way to move appreciated real estate out of S corp to partnership without triggering section 1239 gain. The property has been in the S corp about 11 years, low basis, significant appreciation. The plan was to contribute it to a partnership where the same shareholders would hold interests, then do a 1031 exchange at the partnership level eventually. Attorney flagged section 1239 but wasn't specific about how bad the exposure is. I know 1239 recharacterizes gain as ordinary income when depreciable property is sold between related parties, but does a contribution to a partnership actually count as a sale or exchange triggering it? Or is this a section 721 nonrecognition situation? Have tried reading the regs but they're dense. Would really appreciate any clarity on what the exposure actually looks like here.

36 comments

Does your attorney think section 721 applies on the contribution side, or is the concern that the IRS would recast the whole thing as a disguised sale under section 707(a)(2)(B)?

Luis S.

Author

He mentioned disguised sale as a separate risk but was most focused on 1239. Honestly I think he flagged both without fully separating them. That's part of why I'm here trying to understand which issue is actually live.

I ran into almost this exact structure last year. The 1239 question and the disguised sale question are really two separate problems and they stack on each other. I uploaded the transaction docs and contribution agreement to taxr.ai and it walked through each provision against the relevant code sections, flagged where our related-party percentages put us inside 1239 and also where the distribution timing might trip 707. Saved a lot of billable hours just getting the issues sorted before going back to counsel.

Luis S.

Author

That's useful to know they're genuinely separate problems. Did the analysis change what structure your attorney ultimately recommended?

Yes, we ended up doing a drop-and-swap differently than originally planned. The 1239 exposure was real because of the ownership percentages. Worth mapping that out before anything is signed.

Section 1239 turns on whether the transferee is a "related person" under section 1239(b) and whether the property is depreciable in the hands of the transferee. The partnership being related to the contributing S corp is almost certain if the same shareholders control both. What percentage do the S corp shareholders own in the partnership?

Luis S.

Author

If the same group forms the partnership, they'd own 100 percent. So yes, almost certainly related under 1239(b).

Right. And commercial real estate is depreciable in the partnership's hands. So the ingredients are there. The question then is whether a section 721 contribution is a "sale or exchange" for 1239 purposes, and the regs and case history on that point are genuinely unsettled in a way that creates real risk.

Section 721 says no gain or loss is recognized on a contribution to a partnership in exchange for a partnership interest. But 1239 recharacterizes gain, it doesn't create gain where none is recognized. So if 721 applies cleanly and no gain is recognized, there's nothing for 1239 to recharacterize. The trap is when gain IS recognized, usually because of the disguised sale rules or because liabilities shift in a way that triggers gain under section 752.

Luis S.

Author

That framing actually helps a lot. So the first question is whether gain gets recognized at all, and 1239 is only a problem if the answer is yes.

Exactly. Keep those two questions in separate columns. Recognition first, character second. Many people conflate them and it muddies the planning.

Has anyone actually done the section 752 math here? If the S corp holds a mortgage on the property, that liability shifts to the partnership on contribution. Depending on how the partnership allocates it, the contributing partner could have deemed cash proceeds under section 752(b) that exceed basis, triggering gain even under 721. And THAT gain would then be ordinary under 1239.

The disguised sale regs under 1.707-3 are what keep me up at night on these. If the partnership makes a distribution to the contributing partner within two years, the IRS can treat the contribution and distribution as a sale. The two-year window is the presumption, but even outside two years the IRS can argue a disguised sale if the facts show it. What's the plan for distributions from the new partnership after contribution?

Luis S.

Author

Section 1239(b)(1), read with 1239(c)(1)(B), covers a taxpayer and a partnership in which the taxpayer owns directly or indirectly more than 50 percent of the capital or profits interest (1239(b)(2) is the trust rule). So yes, the partnership is covered directly, not just through 267.

Good that nothing is signed. Make sure any partnership agreement has clean language about distribution restrictions for at least two years if you want the strongest position on 707.

Had a client-side version of this come up when I was helping my parents sort out their estate plan. Property was in an S corp and the question was whether to drop it into a family limited partnership. I used Taxr to go through the Schedule K and the basis calculations line by line before we handed anything to the estate attorney. It flagged that the accumulated adjustments account interacted with the contribution in a way we hadn't thought about. Ended up being important context for the attorney.

Luis S.

Author

The AAA interaction is something I hadn't thought about at all. Does that create a separate gain trigger on the S corp side?

It doesn't create gain on its own but it affects the character of what flows through on the final S corp return for that property. Worth having your CPA map it before contribution, not after.

Section 1239(c) defines related persons to include an individual and a corporation of which the individual owns more than 50 percent. But does that extend to a partnership the individual controls? The statute specifically lists the relationships covered. Worth checking whether a partnership you create afterward falls under 1239(b)(2) or whether you need the constructive ownership rules of 267 to get there.

Section 1239(b)(2) covers a taxpayer and a partnership in which the taxpayer owns directly or indirectly more than 50 percent of the capital or profits interest. So yes, the partnership is covered directly, not just through 267.

Why is the real estate in the S corp in the first place? That's usually the first question because holding appreciated real estate in an S corp creates problems beyond 1239: no step-up in the S corp's inside basis in the property at death (the shares get a step-up, but there's no 754-type adjustment), no section 1231 treatment flowing through cleanly in some situations. If this is long-held property, the original structure may have made sense at the time but partnerships are almost always better for real estate going forward.

Luis S.

Author

Inherited the structure. Prior owner set it up years ago and nobody restructured it. That's exactly why we're trying to fix it now.

That's the most common story. The fix is worth doing but the path out has to be careful. Converting the S corp to a partnership is treated as a taxable liquidation under sections 331 and 336, and neither a section 336(e) election nor an F reorganization gets you there tax-free, so changing the entity type first doesn't avoid the gain analysis.

Converting the S corp to an LLC taxed as a partnership is worth asking your tax attorney about, but know going in that it's treated as a taxable liquidation under sections 331 and 336, and an F reorg or 336(e) election doesn't change that, so it doesn't sidestep the gain question. I had Taxr read through a draft conversion memo my attorney sent and it cross-checked each step against the form instructions for the final S corp return and the initial partnership return, so I could ask informed questions at the next meeting instead of just nodding along.

Luis S.

Author

Good to know the conversion route is itself a taxable liquidation, not a way around this. I'll ask the attorney about it specifically. What forms are involved on the S corp side when you do that?

Final Form 1120-S for the S corp, then the partnership files Form 1065 going forward. There are also entity classification election considerations under Form 8832 depending on how the conversion is structured. Your attorney will need to walk the state law steps too since they vary.

If gain is recognized and 1239 applies, what does that actually cost versus long-term capital gain rates? The difference is the spread between ordinary income rates and long-term capital rates on the gain amount. For a heavily appreciated property that could be very significant. Worth quantifying that exposure in dollars before deciding how much to spend on restructuring to avoid it.

Luis S.

Author

That's the number I've been trying to pin down. The attorney said it's material but didn't put a dollar figure to it. I think I need to get the CPA to run that before the next meeting.

Are there any installment sale mechanics that could spread recognition if some gain does get triggered? Section 453 can apply to sales between related parties, though there are rules under 453(g) that restrict installment reporting for sales of depreciable property between related persons. So 1239 and 453(g) can interact to make an already bad situation worse.

Section 453(g) disallows installment method for sales of depreciable property between related persons, treating the sale as if all payments were received in the year of sale. So if you end up in a recognized-gain scenario with 1239 recharacterizing it as ordinary, you can't spread that via installment either. That's the double hit.

Exactly, and that's why the planning has to focus on avoiding recognition in the first place rather than trying to manage it after the fact.

Luis S.

Author

Between 1239 recharacterizing as ordinary and 453(g) killing installment treatment, the downside scenario is pretty severe. That makes keeping the contribution itself free of recognized gain worth serious attention, since a conversion would be a taxable liquidation anyway.

Has anyone dealt with the state-level version of this? Several states don't conform to the federal 721 nonrecognition rule, which means even a clean federal contribution could trigger state gain. If the property is in a state with its own recognition rules, that's a separate analysis on top of everything discussed here.

Luis S.

Author

Property is in a state that generally conforms to federal treatment but I should verify that specifically. Good flag, hadn't thought about it.

Where does this land for you practically? It sounds like the conversion path isn't an escape since it's a taxable liquidation, the disguised sale issue argues for no near-term distributions, and you need the CPA to run the actual dollar exposure under a recognized-gain scenario before deciding how much restructuring cost is justified.

Luis S.

Author

That's basically my to-do list coming out of this thread. Talk to the attorney about keeping the 721 contribution clean, get the CPA to quantify the 1239 exposure in dollars, and make sure any partnership agreement has the two-year distribution restriction. Appreciate everyone's input here.