Can you max hsa roth ira and solo 401k contributions with low self-employed income?

Trying to figure out if I can max hsa roth ira and solo 401k contributions this year but my net self-employment income is on the lower side — probably around the mid-five figures after deductions. I know the solo 401k employee contribution can't exceed earned income and the Roth IRA has its own earned income requirement, but I'm not clear on how they interact when income is tight. Do the contributions reduce my net SE income for calculating what I can put into the solo 401k? And does the HSA even play into the SE income calculation at all? Already read the IRS self-employed tax center page and I'm more confused than when I started. Would really appreciate a clear walkthrough of which limits bite first when income is low.

33 comments

Which of these accounts do you actually have set up already? That changes the answer a bit — specifically whether your solo 401k is a one-participant plan you opened as a sole proprietor, because the contribution limit calculation runs off Schedule C net profit minus half your SE tax, not just gross revenue.

Tyler N.

Author

All three are set up — HSA through a qualifying HDHP I pay for myself, solo 401k as a sole proprietor one-participant plan, Roth IRA at a brokerage. So yes, the solo 401k is exactly the kind you're describing.

The ordering that tripped me up: your HSA contribution is deducted above the line on Form 1040 but it does NOT reduce your net earnings from self-employment for SE tax or for the solo 401k contribution calculation. The solo 401k math starts with Schedule C net profit, subtracts half of SE tax (Schedule SE line 13, which is line 12 divided by 2), and that's your "compensation" for 401k purposes. I uploaded my Schedule C and Schedule SE to taxr.ai and it walked through each line to show me exactly what number feeds the 401k limit — saved me from overcalculating by several hundred dollars.

Tyler N.

Author

That's the clarification I needed — HSA doesn't shrink the 401k base. So the sequence is: compute SE tax first, take the half-SE-tax deduction, and that adjusted number is the ceiling for solo 401k employee contributions?

Exactly right. And just to confirm: the half-SE-tax deduction you take on Schedule 1 (Form 1040) line 15 is for income tax purposes, but it's also the number you subtract when figuring max 401k contributions. The deduction worksheet for self-employed in IRS Publication 560 walks through it step by step.

Does your net profit end up above or below the annual HSA contribution limit after all this? Because the HSA has no earned income floor — you can contribute as long as you're enrolled in a qualifying HDHP on the first day of the month. It doesn't interact with SE income at all. The limit is set by the IRS each year based on your HDHP coverage type (self-only vs. family), so check the current-year limit in the Form 8889 instructions.

Tyler N.

Author

Good to know. I'm on a self-only HDHP so I'll look up the current limit in the 8889 instructions. At least that one doesn't eat into my 401k calculation.

Watch the Roth IRA earned income requirement. Your Roth IRA contribution is capped at the lesser of the annual limit or your taxable compensation for the year. For a sole proprietor that's basically your Schedule C net profit minus the deductible part of SE tax and minus your solo 401k contributions (so not the same number you use for the 401k base). If your income is tight, that ceiling could come in below the flat annual Roth IRA limit — especially after a big solo 401k employee contribution pulls down your compensation.

Wait, does the solo 401k contribution itself reduce your compensation for Roth IRA purposes? I thought Roth IRA just needed earned income to exist, not that the 401k reduces it.

The 401k employee deferral does reduce your self-employment earned income for Roth IRA eligibility — your compensation for Roth IRA purposes is the Schedule C profit minus half SE tax minus your solo 401k contributions. The 401k deduction also affects your AGI, which matters if you're near the Roth IRA income phase-out range. At mid-five-figure SE income you're probably well below the phase-out, but worth confirming with the current-year Form 1040 instructions.

Have you run the IRS worksheet for maximum solo 401k deduction? It's in IRS Publication 560 (Retirement Plans for Small Business), which the Form 1040 instructions for self-employed retirement plans point to. The circular calculation — where the 401k deduction reduces net earnings used to compute it — is handled by a specific worksheet, and skipping it usually leads to overclaiming.

Tyler N.

Author

I hadn't found that specific worksheet yet, thank you. I was just using the flat annual employee contribution limit without accounting for the circular math. Pulling Pub 560 now.

Something people miss at lower income levels: the employer (profit-sharing) side of the solo 401k is capped at 20% of your net earnings (net profit minus half SE tax — the 25% rate applies only after the contribution itself is also subtracted), not just the full annual addition limit. So if your compensation after that calculation is, say, relatively modest, the employer contribution ceiling could be quite a bit lower than you expected. The employee elective deferral side can eat up almost all of your compensation before the employer side has any room.

Are you planning to deduct the solo 401k employer contribution on Schedule C or on Schedule 1? Because it doesn't go on Schedule C — employer contributions to a self-employed retirement plan are deducted on Schedule 1 (Form 1040), line 16. The employee elective deferral is also on Schedule 1, same line. Neither reduces your Schedule C net profit. I ran my numbers through Taxr last year when I had a similar income situation and it flagged that I had the deduction on the wrong line entirely — the form line check caught it before I filed.

Tyler N.

Author

I had it on Schedule C, which is exactly wrong. Moving it to Schedule 1 line 16. That would have caused a problem on my SE tax calculation too since Schedule C net profit feeds Schedule SE.

Right — if you'd left it on Schedule C it would have reduced your SE tax base, which would have reduced your allowed 401k contribution, which would have made the deduction itself wrong. It unravels in both directions.

Can I ask a related question — if someone has a full-time W-2 job in addition to self-employment income, does the solo 401k employee elective deferral limit apply across both plans combined? Because I've seen people assume they get a fresh $23,000 (or whatever the current limit is) for the solo 401k on top of their workplace 401k.

The employee elective deferral limit is per person, not per plan. All 401k-type deferrals you make across all plans in a year count toward one combined annual limit. The employer (profit-sharing) contribution side is per plan, so that part isn't affected. The IRS cost-of-living adjustment page and the plan contribution limit guidance update the number each year.

That's what I suspected. So someone with a W-2 that already maxes a workplace 401k gets zero employee deferral room in the solo 401k, though they can still make employer profit-sharing contributions on the SE side up to that 20%-of-net-earnings ceiling.

The HSA and Roth IRA and 401k are all independent in terms of contribution eligibility rules, but they interact through AGI on the tax return. Maxing the HSA and solo 401k above-the-line deductions reduces your AGI, which is good for the Roth IRA income phase-out check (though at mid-five-figure income you're almost certainly below the phase-out). I had Taxr read through my prior-year Schedule 1 and it listed each deduction line and showed me how they stacked against the phase-out threshold — helped me see there was no problem but I wouldn't have known without checking.

Tyler N.

Author

That layered AGI picture is exactly what I was missing. So the HSA and 401k deductions actually help preserve Roth IRA eligibility if you're ever near the phase-out, and at my income level it's not a concern anyway.

Does your HDHP meet the minimum deductible and out-of-pocket maximum requirements for the year? The HSA contribution is only allowed for months you were enrolled in a qualifying HDHP. If you switched plans mid-year the contribution limit is prorated by month using the last-month rule or the month-by-month method — Form 8889 Part I walks through the proration. The instructions have the thresholds for qualifying HDHP amounts.

Tyler N.

Author

Year-round coverage on a qualifying plan, so I don't have a proration issue. But good flag for anyone who changed plans during the year.

The self-employed health insurance deduction is another above-the-line item that reduces AGI but doesn't reduce SE earned income. If you're paying your own premiums you can deduct them on Schedule 1 line 17 — but again this doesn't shrink the net profit figure that feeds Schedule SE or the solo 401k base. It does reduce your income tax. The Form 1040 instructions for Schedule 1 line 17 have the limits (can't exceed net SE income from the business, and you can't deduct months you were eligible for employer-subsidized coverage).

To make sure I have the full picture for a low-income year: net Schedule C profit → subtract half SE tax (from Schedule SE) → that's your compensation base → employee elective deferral up to that base (capped at annual limit) → employer profit-sharing up to 20% of same base → total addition capped at the annual addition limit → excess of employee deferral reduces what's left for employer side. Is that the right sequence?

Mostly right, but the employer side is 20% of that base, not 25%, and technically the employee deferral and employer contribution together can't exceed the lesser of your compensation or the annual addition limit — they're not sequential in the strict sense. The IRS worksheet in the self-employed retirement plan instructions handles the interaction correctly; working it by hand with the worksheet avoids mistakes.

Got it, so the worksheet handles the circularity rather than a simple step-by-step arithmetic sequence. That explains why I kept getting different answers when I tried to do it manually in different orders.

Low income year raises a specific issue: if your net SE profit is very low, the solo 401k employee deferral could theoretically absorb all of it, leaving nothing for the employer contribution and also meaning your Roth IRA eligible compensation equals your profit minus half SE tax minus the 401k contribution, which could be close to zero. In that scenario the Roth IRA contribution limit effectively becomes zero too even though the account is open.

Tyler N.

Author

That's the scenario I was most worried about. So if I overload the 401k employee side I could inadvertently knock out my Roth IRA eligibility based on remaining compensation. Need to run the actual numbers before committing to any of these.

Just ran into this same issue this year. My net SE income was low enough that I had to choose between maxing the solo 401k or keeping enough earned income to contribute anything to the Roth IRA. Neither is strictly better — it depends on whether you expect higher or lower tax rates in the future, which is a planning question rather than a compliance one. Worth a conversation with an enrolled agent or CPA who works with self-employed clients if the numbers are close.

Agreed on the EA or CPA point. The compliance part (which form, which line, what limit) is knowable from the instructions, but the optimal split between pre-tax 401k versus after-tax Roth given your projected income trajectory is genuinely a planning judgment call.

Has anyone confirmed whether making a large solo 401k contribution in a low-income year triggers any issue with the IRS looking at it as an excess contribution? As long as the contribution doesn't exceed your compensation (net profit minus half SE tax), there's no excess — the annual addition limit only bites if your compensation is high enough to bump against it. At low income levels it's the compensation ceiling, not the annual addition limit, that you're hitting.

Correct. An excess contribution to a solo 401k happens when you contribute more than the lesser of the annual addition limit or 100% of compensation. At low SE income the compensation ceiling is typically the binding constraint. The plan document will have specific procedures for returning excess contributions if you do overcalculate, which is another reason to work through the IRS worksheet carefully rather than estimating.