S corp distribution ordering rules — how do they actually work?

Trying to understand the s corp distribution ordering rules before I file. We have an S corp that made money its first two years, then had a loss year, and now we're taking a distribution. The accountant who set it up retired and I've been trying to piece this together myself. From what I can tell, distributions reduce stock basis first, but I'm not sure what happens if the distribution exceeds basis, and I keep seeing references to AAA and E&P but our corp never was a C corp so I don't know if E&P even matters for us. I pulled up Form 7203 but the ordering on Part I is confusing me. Is there a straight line through the ordering rules I can follow, or does it depend on our specific history?

36 comments

The basic order for a pure S corp (never had C corp history, no accumulated E&P) is straightforward: distributions reduce your stock basis first. If the distribution stays within your basis, it's tax-free. If it exceeds your stock basis, the excess is treated as gain from the sale of stock — usually long-term capital gain if you've held the shares long enough. The AAA account tracks the S corp's accumulated adjustments, but for shareholders the practical question is always their own stock basis. Form 7203 Part I is where you work through it. Line by line: beginning basis, plus income items, then minus the distribution, then minus nondeductible expenses and losses.

Grace F.

Author

So AAA matters at the entity level but my tax question is really about my own stock basis on 7203? That's clarifying, thank you. I was getting confused mixing the two levels.

Where it gets complicated is if you ever had debt basis in play. If you loaned money to the corp, that creates debt basis, but distributions don't come out of debt basis — only losses do. So a distribution that exceeds your stock basis is capital gain even if you still have debt basis sitting there. People mix those two up constantly.

Exactly right. Debt basis is a shield for loss deductions only, not a shelter for distributions. That's one of the more counterintuitive parts of 7203.

Grace F.

Author

We do have a shareholder loan on the books. So the distribution hits stock basis only, and if stock basis is zero I have gain, even though there's still debt basis. Got it.

Before my last filing I uploaded our 7203 and the K-1 side by side to taxr.ai and it walked through how the basis accounts connected, flagged that my beginning stock basis didn't match where the prior year 7203 had ended, and built out the ordering so I could see exactly which line the distribution landed on. Saved me from carrying a wrong number forward. Definitely worth doing that check before you finalize anything.

Grace F.

Author

That's the kind of check I need. I'm not confident my beginning basis number is right either since the accountant's files weren't complete.

On the E&P question — you're right that it mostly doesn't apply if the corp has always been an S corp. Accumulated E&P only exists if the company was once a C corp (or acquired a C corp). Without that history, distributions just go against AAA at the entity level and basis at the shareholder level, and there's no dividend treatment lurking. You can confirm by checking whether Schedule B on the corp's Form 1120-S reports any accumulated E&P. If it says no, you're clear.

Grace F.

Author

Schedule B on our 1120-S shows no accumulated E&P in any year. So no C corp baggage, good.

Worth double-checking the Articles of Incorporation and any merger history just to be safe. Sometimes a corp acquires another entity and E&P follows along without anyone flagging it.

The ordering within basis itself matters too. When you're building up to what basis is before the distribution hits, you add income allocations from the K-1 first (Box 1 ordinary income, separately stated income items), then distributions come out, and only after that do you subtract non-deductible expenses and depletion. So if the corp had income this year, that income bumps your basis before the distribution reduces it. That's why timing of distributions relative to year-end income can matter.

That increase-before-decrease ordering is explicitly in the 7203 instructions. You can see it in the line order of Part I.

Had a loss year sandwiched in like you describe. The loss year used up part of my basis, and when I later took a distribution I had to make sure I was starting from the right post-loss basis. The 7203 from the loss year becomes your starting point for the next year's Part I Line 1. If you don't have that filed version, you have to reconstruct it from every K-1 going back to your first year.

Grace F.

Author

This is exactly my situation. The loss year was two years ago and I'm not sure the 7203 was even filed that year. If it wasn't filed, do I need to amend?

You may not need to amend if no loss was actually claimed — 7203 is required when you claim a loss, receive a nondividend distribution, dispose of stock, or receive a loan repayment. If none of those triggered it, you might just reconstruct the basis schedule now and document it. But that's a judgment call worth running by a CPA.

One thing people miss: if basis hits zero from a distribution and there's excess, that excess is capital gain, not ordinary income. The character matters. It goes on Schedule D as a sale of your S corp stock. Holding period is from when you got the shares, so for most founders it's long-term.

Correct. And you'd use the fair market value of the distribution (usually cash, so face value) minus the zero basis as your proceeds minus basis on Schedule D.

The 7203 instructions at irs.gov/forms-pubs/about-form-7203 lay out the ordering very clearly in the line-by-line instructions for Part I. If you're doing this yourself, print those out and go line by line. It's tedious but there aren't shortcuts when you have multiple years to reconcile.

Does anyone know how this works when there are multiple shareholders at different ownership percentages? Do each of them track their own basis independently even though the distribution is pro-rata?

Yes, completely independently. Each shareholder has their own stock basis history, their own 7203, their own beginning basis from their own purchase price or contribution. The fact that distributions are pro-rata doesn't sync up the basis numbers at all.

Makes sense — so two shareholders could get the same dollar distribution and one has gain while the other doesn't, depending on their individual basis.

When I was sorting out a distribution that looked like it might exceed my basis, I ran the numbers through Taxr. I'd given it the K-1s from the last four years and it built a year-by-year basis table showing where each adjustment came from and what the balance was going into the distribution year. Made the 7203 straightforward to fill out after that.

Grace F.

Author

Four years of K-1s is basically what I have too. Good to know that's enough to reconstruct it properly.

Don't forget that if you have suspended losses — losses you couldn't deduct in prior years because basis was too low — those come back into play when basis is restored. They don't affect the distribution ordering directly, but if you're contributing capital or the corp earns income that restores basis, those suspended losses can be released. It's worth tracking them separately.

The suspended loss tracking is separate from the basis schedule but they interact. Suspended losses carry forward as if incurred in the next year, and when basis can't cover them all they're allowed proportionately among the loss items, not oldest first.

Grace F.

Author

We did have losses we couldn't use the year we had the loss. So those might still be sitting there waiting for basis. I hadn't thought about that angle.

Had a messy multi-year reconstruction to do last spring. I uploaded all the K-1s and the original stock subscription documents to Taxr and it identified which years the basis ordering would have created a taxable event versus which were fully covered by basis, and drafted a summary I could hand to my preparer. Cut the back-and-forth time significantly.

That kind of summary is exactly what a preparer needs to start from, rather than sorting through years of raw K-1s themselves.

To be clear on the actual statute: distributions from an S corp that don't come from accumulated E&P reduce basis under IRC 1368(b). The ordering rule (income items increase basis before distributions reduce it, within the same year) is in the regulations under 1368. The 7203 is built around that ordering.

Worth noting that 1368(c) kicks in if there IS accumulated E&P — then AAA, then E&P, then remaining basis, then gain. But as established earlier in this thread, that doesn't apply here.

Correct, 1368(c) is the multi-layered ordering for the C corp history scenario. Without E&P the 1368(b) path is clean: distribution reduces basis, excess is gain.

If you end up concluding that prior-year 7203s weren't filed when they should have been (loss claimed, distribution taken, etc.), a CPA or enrolled agent can help you decide whether amended returns are necessary. That's not a DIY decision when there are multiple years and a shareholder loan involved.

Grace F.

Author

Agreed. I think I need to get an EA or CPA to at least review the reconstruction before I file this year, especially with the loan complicating things.

One practical note: if the corp's books show the distribution as a loan to shareholder instead of an actual distribution, the ordering rules don't apply the same way — it would be reclassified on audit. Make sure the resolution and the books actually call it a distribution and that it was properly authorized.

Good catch. Shareholder loans that are really disguised distributions are a known audit issue for S corps. The docs need to match what you're reporting.

To pull the thread together for the original question: no C corp history means you use the clean 1368(b) path. Build your stock basis from inception using each year's K-1 items in the right order (income up, then distributions down, then nondeductible expenses and losses down). Form 7203 Part I is the place to show that. If basis goes to zero and there's still distribution left, that remainder is capital gain on Schedule D. Debt basis doesn't absorb distributions. And get a professional to review if the prior filings are uncertain.