HSA for S Corp Owners: The 2% Shareholder Rules and How to Fund It

On this page
The most common HSA mistake an S corp owner makes is running their own contribution through the company's pre-tax payroll deduction, the same way the staff do. For an owner with more than 2% of the stock, that doesn't work. The IRS treats a 2% shareholder like a partner for fringe-benefit purposes, not an employee, so the cafeteria-plan exclusion is off the table.
The owner can still have a fully deductible HSA. It just runs differently: the company's contribution is added to the owner's W-2 Box 1 wages, it is generally not subject to Social Security and Medicare tax if the plan conditions are met, and the owner deducts it on their personal return.
The rules, from the source
Three IRS documents set the treatment:
- Publication 15-B says not to treat a 2% shareholder of an S corporation as an employee for cafeteria-plan purposes, and to treat a 2% shareholder as you would a partner for fringe benefits. A 2% shareholder is anyone who directly or indirectly owns more than 2% of the stock or voting power on any day of the year.
- Notice 2005-8 says an S corporation's HSA contributions for a 2% shareholder-employee are treated as guaranteed payments. They are deductible by the S corporation and included in the shareholder's gross income. If the exclusion requirements of section 3121(a)(2)(B) are met, they are not wages for FICA, though they are included in wages for income tax withholding on the W-2. The shareholder, if an eligible individual, deducts the contribution.
- Publication 969 confirms the guaranteed-payment treatment and the shareholder's deduction.
"Indirectly" matters more than owners expect. IRC §1372(b) applies the section 318 attribution rules, so a spouse, child, or parent of a more-than-2% owner who works in the company is treated as a 2% shareholder too, even with no shares in their own name. If your spouse is on payroll and funds an HSA through the cafeteria plan, that's the same problem as yours.
The section 3121(a)(2)(B) condition is the same one the IRS describes for owner health premiums: payments made under a plan or system covering all employees or a class of employees. In practice, the company's HSA contribution policy should be written down and cover a defined class, not just "whatever the owner wants this year."
The 2026 and 2027 numbers
Rev. Proc. 2025-19 sets the 2026 figures, and Rev. Proc. 2026-24 sets 2027:
| Item | 2026 self-only | 2026 family | 2027 self-only | 2027 family |
|---|---|---|---|---|
| HSA contribution limit | $4,400 | $8,750 | $4,500 | $9,000 |
| HDHP minimum annual deductible | $1,700 | $3,400 | $1,750 | $3,500 |
| HDHP out-of-pocket maximum | $8,500 | $17,000 | $8,700 | $17,400 |
Publication 969 adds a $1,000 catch-up for an account holder age 55 or older at the end of the tax year. That amount is set by statute and doesn't rise with inflation. You can make a contribution for 2026 until your 2026 return's due date in April 2027, but the deadline is the original due date, not an extended one.
What the One Big Beautiful Bill Act changed
The IRS summary of OBBBA provisions lists three HSA changes under Section 71307:
- Bronze and catastrophic plans are treated as HSA-compatible starting January 1, 2026, whether bought on an exchange or not.
- Direct primary care arrangements: people in certain DPC arrangements can contribute to an HSA and use HSA funds tax-free for the periodic fees, starting January 1, 2026.
- Telehealth received before meeting the deductible no longer disqualifies HDHP coverage, permanently, for plan years starting on or after January 1, 2025.
For an owner shopping for individual or small-group coverage for 2027, the bronze-plan change widens the options. Our guide to the 2027 health insurance renewal budget covers the employer-side cost planning.
Payroll software sets every HSA up as a cafeteria-plan deduction unless someone tells it otherwise. If you're not sure how yours is coded, a Leak Check that looks at owner pay and benefits can tell you whether the setup is costing you the deduction or creating a W-2 problem.
Two ways to fund it
| Company contributes for the owner | Owner contributes personally | |
|---|---|---|
| Where it shows up | W-2 Box 1 (income tax wages) | Nowhere on payroll |
| Social Security and Medicare | Generally none, if the 3121(a)(2)(B) plan condition is met | None on the contribution, but it was paid from salary already taxed or from distributions |
| Owner's deduction | Above the line on Form 8889 | Above the line on Form 8889 |
| Company deduction | Yes | No |
| Best for | Owners who want it handled through payroll, with a written plan | Owners who'd rather fund it from distributions, simply |
The net federal income tax result is similar either way: the contribution is deductible once. The difference is in the paperwork and the FICA base. Don't run it through the cafeteria plan, and don't leave it off the W-2 if the company pays it.
Illustrative math
Hypothetical figures. A 57-year-old S corp owner with family HDHP coverage, in the 35% federal bracket, funds the maximum.
2026 family limit $8,750
Catch-up (age 55+) $1,000
Total contribution $9,750
Federal income tax deduction at 35% about $3,412
That's the first of three tax advantages. Growth inside the account isn't taxed, and withdrawals for qualified medical expenses aren't either. Publication 969 says non-qualified withdrawals face an additional 20% tax, but not after you reach 65, become disabled, or die. After 65, the account behaves like a traditional retirement account for non-medical spending and stays tax-free for medical spending.
Bennett's view: for an owner who can pay current medical bills from cash flow, the HSA is often a better long-term account than a dollar of extra taxable savings, because of that triple treatment. It sits alongside the retirement accounts business owners often miss rather than replacing them.
Rules that trip owners up
- Medicare enrollment. Publication 969 says your contribution limit is zero beginning with the first month you're enrolled in Medicare, and that includes retroactive coverage. An owner who applies for Medicare late and gets a backdated start date has excess contributions for every month in the backdated period. Stop contributions before you apply, not after.
- The last-month rule. If you're eligible on the first day of the last month of the year, you can contribute the full annual amount, but you must remain eligible through a testing period ending 12 months later. Fail it, other than through death or disability, and the extra contributions come back into income with a 10% additional tax.
- Health premiums for the owner. Separate from the HSA, the IRS S corporation compensation page says premiums the company pays for a more-than-2% shareholder go in W-2 Box 1 but not Boxes 3 and 5, and the owner may take the self-employed health insurance deduction. If your premiums aren't on your W-2, the deduction is at risk.
- Reimbursing medical bills directly. Paying the owner's out-of-pocket medical costs from the company isn't an accountable-plan reimbursement. Medical costs aren't business expenses. Use the HSA.
HSA or more 401(k) first?
If cash allows only one, Bennett's default ordering for an owner with HSA-eligible coverage is: capture any 401(k) employer match or profit-sharing allocation the plan formula already provides, then fund the HSA, then add more elective deferrals.
The reasoning is the tax treatment on the way out. A 401(k) dollar is deductible now and taxed when withdrawn. An HSA dollar is deductible now and, if used for qualified medical expenses, never taxed. Most people will have medical costs in retirement, so that untaxed use is likely to exist.
The exception is an owner who needs the HSA to pay this year's medical bills. Then it works as a tax-advantaged spending account, which is still useful, but it isn't long-term savings. Plan the two roles separately.
Setting it up for next year
- Confirm the owner's coverage is HSA-eligible for 2027, including bronze or catastrophic options if you're switching.
- Decide the funding route: company contribution on the W-2, or personal contribution.
- If the company contributes, write the contribution policy and the employee class it covers, and tell the payroll provider to report it in Box 1 and keep it out of Boxes 3 and 5.
- Keep owner contributions out of the cafeteria plan.
- Set the contribution schedule in the cash forecast. A lump sum in April for the prior year is allowed but puts the cash need in tax season.
- Re-check your reasonable salary at the same time, since Box 1 wages change.
This is the type of owner-level detail that gets lost between the payroll provider, the benefits broker, and the year-end preparer. Our fractional CFO services put it in one owner-benefits plan, reviewed with the tax forecast.
Here's the check to run before open enrollment: pull your last W-2 and compare Box 1 with Box 5. Add back any 401(k) deferrals, since those lower Box 1 but not Box 5. If the company paid HSA contributions or health premiums for you, the adjusted Box 1 should be higher than Box 5 by roughly that amount. If the two match, the benefits either never reached your W-2 or were run through the cafeteria plan, and the payroll provider needs to fix it before the year closes. If the gap is there but you can't explain its size, bring that W-2 to a Leak Check and we'll trace which benefit is missing.
Frequently asked questions
Can my S corporation contribute to my HSA if my coverage is through my spouse's employer?
It can if you are an eligible individual under that coverage, which means no other disqualifying coverage, such as a general-purpose health FSA your spouse elects that covers you. The company's contribution is then reported and deducted the same way as for owner-purchased coverage.
Can I invest HSA money in index funds?
Many HSA custodians allow investment once a cash minimum is met. Investment options depend on the custodian, not on the tax rules.
Does a 1% shareholder follow the same HSA rules?
Usually not, but check attribution first. The partner-style treatment applies to anyone owning more than 2% directly or indirectly, and IRC §1372(b) counts stock held by a spouse, children, grandchildren, and parents. A 1% shareholder whose parent owns the rest is a 2% shareholder for this rule.
Do my children's medical bills qualify for tax-free HSA withdrawals?
Qualified medical expenses of your spouse and dependents generally qualify. Keep receipts in case you need to show what a withdrawal paid for.
Can I reimburse myself years later for a medical bill paid today?
Many owners keep receipts and reimburse later, which lets the account grow meanwhile. Keep records that the expense was incurred after the HSA was established.
Can I move a 401(k) into my HSA?
No. A 401(k) can't be rolled into an HSA. The one exception for retirement money is a once-in-a-lifetime qualified HSA funding distribution from a traditional or Roth IRA, which counts toward that year's contribution limit and comes with its own 12-month eligibility testing period.
Does an HSA contribution reduce my state income tax?
Most states follow the federal deduction, but some don't. Check your state's treatment of HSA contributions.
What if I exceed the 2026 limit by mistake?
Ask your HSA custodian to remove the excess and its earnings as soon as you spot it. Publication 969 explains the correction deadline and the tax that applies if the excess stays in the account.