How is SEP IRA contribution calculated for S corp owners?

Trying to figure out how is sep ira contribution calculated for s corp and I keep getting different answers depending on where I look. I'm a 100% S corp shareholder, pay myself W-2 wages through the corp, and the company makes the SEP contribution on my behalf. My preparer last year used my W-2 box 1 wages as the starting point but I want to understand the actual mechanics before I just accept that. I looked at the Form 1120-S instructions and didn't find a clear walkthrough. Is the limit based on my W-2 compensation from the S corp, the net income of the corporation, or something else? And does the contribution show up on the 1120-S as a deduction or on my personal return?

34 comments

I went through this same confusion last filing season. For an S corp owner the SEP contribution the company makes for you is based on your W-2 compensation from the S corp, not the corporation's net income. That's the key difference from a sole proprietor or partner, who have to do the self-employment earnings calculation. Your W-2 wages are the "compensation" the plan uses.

Matt N.

Author

That tracks with what my preparer did. So the net profit of the corp is basically irrelevant to the limit calculation?

Yes, irrelevant for the limit. The corp's profitability affects whether it can afford to fund the contribution, but the ceiling is calculated off your W-2 wages from the corp. The IRS SEP plan page and Publication 560 walk through the exact percentage and dollar ceiling — I'd check those since the limit adjusts each year.

My S corp set up a SEP a couple years ago and I uploaded my W-2 and the draft 1120-S to taxr.ai and had it list exactly which lines were affected and in what order. It confirmed the contribution goes on Form 1120-S as a deduction on the line for pension and profit-sharing plans (line 17 on the current form), and does NOT flow through to my personal return as a deduction — the corp takes it. That was the piece I had backwards.

Matt N.

Author

This is exactly the part I was unclear on. So I don't get a deduction on my 1040 at all, the corp deducts it on 1120-S line 17?

Yes, that's right. The corporation deducts it, which reduces the corp's ordinary income, and that lower income flows through to your K-1. You don't take a separate above-the-line deduction on Schedule 1 the way a self-employed person would.

Worth noting the contribution limit isn't a fixed number I can drop here — it's a percentage of your W-2 compensation up to an annual ceiling that the IRS adjusts. Check IRS Publication 560 for the current year's figures. The percentage cap and the dollar cap can both bite you depending on how high your salary is.

I've seen people mess this up by using the S corp's net income as the base instead of W-2 wages, which is the sole proprietor method. If you're running payroll through the corp and getting a W-2, that W-2 box 5 (Medicare wages) is generally the compensation figure the plan document and the IRS both point to. Worth confirming with your plan document too since some SEP documents define compensation slightly differently.

Matt N.

Author

Good call on the plan document. I haven't actually read ours in a while.

Yes, do that before the contribution date. The plan document controls and if it defines compensation as W-2 box 1 vs box 5 it can change the number slightly, especially if you have pre-tax benefits running through payroll.

I had Taxr read through my W-2 and my K-1 side by side when I was trying to figure out whether my SEP contribution was sized correctly. It flagged that I had no entry on 1120-S line 17 even though the contribution had been funded — turned out my bookkeeper recorded it as an owner draw instead of a plan contribution. Caught it before filing.

Matt N.

Author

That's a painful mistake to almost make. Owner draw vs deductible plan contribution is a big difference on the corp return.

Does the SEP contribution reduce what flows to Box 1 of my W-2? Asking because I always assumed it was pre-tax like a 401k but I think SEPs work differently at the employer level.

No, it doesn't reduce your W-2. A SEP contribution made by the employer (the S corp) is not taken out of your paycheck — the corp funds it separately. So your W-2 stays the same and the deduction sits on the 1120-S, not in your payroll.

Yes, that makes sense now. It's not a salary deferral, it's an employer contribution.

I'll add that the SEP contribution deadline for an S corp is tied to the corporate return due date including extensions. Form 1120-S is due March 15 for a calendar year corp, and a Form 7004 gives you a 6-month extension. The contribution generally needs to be funded by the return due date including extensions, so getting that extension filed matters if you're short on cash in March.

Matt N.

Author

I didn't realize the extension could also extend the contribution window. That's helpful.

Ran into an issue where our S corp had a loss year and we still wanted to fund the SEP. The loss doesn't block the contribution since it's based on your W-2 wages, not profitability. The corp just needs cash to fund it. We did a small contribution that year and it still deducted on line 17.

One thing that tripped up our accountant initially: the owner can't also take the SEP contribution as a self-employed retirement deduction on Schedule 1 of their 1040. I've seen returns where someone double-dipped by mistake. If the corp is deducting it on 1120-S, that's the end of it for federal purposes.

Yes, that's a real error. The corp takes the deduction. Owner gets no additional deduction on their personal return for the same contribution.

Switched from a sole prop SEP to an S corp SEP a few years back. The calculation got simpler honestly — I no longer have to do the circular self-employment earnings worksheet. W-2 wages times the SEP percentage, check it against the annual dollar ceiling, done.

Matt N.

Author

That does sound cleaner. The SE worksheet for a sole prop always felt like it was eating its own tail.

Exactly. The net earnings reduce by half SE tax, then you calculate retirement off that reduced number, it's circular. W-2 comp for an S corp owner is a straight line.

My situation was a little different — I have two shareholders in our S corp and we set up the SEP to cover both of us. The contribution percentage has to be the same for all eligible employees, including us as W-2 shareholder-employees. Can't give yourself a bigger percentage than other staff. The plan document spells this out but it's easy to forget when you're the only ones on payroll.

If the S corp also has non-owner W-2 employees you have to contribute for them too under the SEP rules, same percentage as you're using for the owners. Lots of small S corps don't realize this until they're already mid-plan. That can make SEPs expensive if you have staff, which is why some owners switch to a solo 401k structure — though that has its own eligibility rules.

Yes, this was our situation. Once we hired a part-time employee we had to include her if she met the eligibility requirements. Worth knowing before you set up the plan.

I looked at this closely last year with a CPA because we weren't sure if our officer compensation was set right relative to what we wanted to fund for retirement. The reasonable compensation requirement for S corp shareholders and the SEP contribution limit are two separate analyses but they interact — your W-2 has to be reasonable for your services, and that same W-2 is then the base for the SEP calc. So underpaying yourself to game the SE tax also shrinks your SEP room.

Matt N.

Author

Hadn't thought about the interaction there. Keeping wages artificially low cuts both ways.

Right, and the IRS scrutinizes low officer comp on S corps, so there's risk on both ends of getting that number wrong.

Has anyone had the SEP contribution hit the wrong line on the 1120-S? Our CPA put ours under "other deductions" one year instead of line 17. The total tax came out the same but I wondered if it matters for the IRS.

It matters for accuracy and can flag on a review. Line 17 is specifically for pension, profit-sharing and similar plans. Dropping it in other deductions without a description can raise questions. Worth having it corrected on future returns.

I work with a lot of small S corps and the most common mistake I see is people calculating the SEP limit using Schedule K-1 ordinary income instead of W-2 wages. The K-1 is not compensation for plan purposes for an S corp owner. It's the W-2 that counts, full stop. If your preparer is using K-1 income as the base, that's wrong and can cause an excess contribution.

Matt N.

Author

This is probably the clearest warning in the thread. I'll double-check what number my preparer actually used as the base.

Yes, ask them to show you the calculation. It should be W-2 box 5 or box 1 wages times the SEP percentage, compared to the annual dollar limit. If they can't show that worksheet, that's a flag.