What Is a Cafeteria Plan for HSA? The Two Programs That Work Together But Aren't the Same Thing
A cafeteria plan is the Section 125 payroll mechanism that makes your HSA contributions pre-tax. The HSA itself is a separate account under a different section of the tax code. They work together, but they are not the same program, and confusing the two causes setup errors that can disqualify deductions or leave employees paying unnecessary tax.
The cafeteria plan is the legal framework that lets you choose between taxable wages and pre-tax benefits. The HSA is one of the benefits you can elect through that framework. You need both for pre-tax HSA payroll contributions, but the cafeteria plan does not create the HSA, fund it directly, or determine who is eligible to contribute.
We will walk through what a Section 125 cafeteria plan actually does, what an HSA is and how it operates under its own rules, how the two programs connect when you set up payroll deductions, and what goes wrong when employers treat them as a single program instead of two coordinated ones.
What a Section 125 Cafeteria Plan Does
A Section 125 cafeteria plan is a written plan document that gives employees a choice between receiving their full salary as taxable income or redirecting part of it to pay for certain qualified benefits before tax is calculated. It is named after Section 125 of the Internal Revenue Code, which is the only section that allows this pre-tax treatment without violating the constructive receipt rules.
The cafeteria plan itself does not provide benefits. It is the mechanism that makes the payroll reduction legal and tax-preferred. Without a Section 125 plan in place, any employee election to redirect wages toward benefits would still be treated as taxable income first, even if the benefit itself is tax-advantaged.
The plan document lists which benefits are offered through the cafeteria framework. Common options include health insurance premiums, FSA contributions, and HSA contributions. The plan specifies the election periods, the change-in-status rules, and the administrative procedures. The document is required, even when the only benefit offered is health insurance premiums. That simplest version is called a premium-only plan, or POP.
If you are running payroll and your employees are making pre-tax elections for any benefit, including HSA contributions, you need a Section 125 plan document on file. The IRS does not require you to submit it, but they can ask for it during an audit, and without it, all of those pre-tax deductions are at risk of reclassification. We cover the plan document requirement in detail at /learn/section-125-plan-document.
What an HSA Is and How It Works
A Health Savings Account is a tax-advantaged savings account under Section 223 of the tax code. It is available only to individuals who are covered by a high-deductible health plan that meets the IRS definition, cannot be claimed as a dependent on someone else's return, and have no other disqualifying health coverage.
The account itself is owned by the individual, not the employer. Contributions can come from the employee, the employer, or both, and the total annual contribution is capped by the IRS. For 2026, that cap is higher than it was in prior years, but the key point is that the cap applies to all contributions regardless of source.
Money in an HSA can be used to pay for qualified medical expenses tax-free, and unused funds roll over year to year with no expiration. There is no use-it-or-lose-it rule. The account stays with the employee even if they leave the employer, and after a certain age, withdrawals for non-medical purposes are permitted without penalty, though they are taxed as income.
The HSA is fundamentally different from an FSA. An FSA is part of the cafeteria plan structure and is owned by the employer. An HSA is a standalone account that happens to be fundable through a cafeteria plan if the employer chooses to set that up. The distinction matters because the two accounts have different eligibility rules, different rollover rules, and different tax treatment after employment ends.
If you are trying to understand the difference between the two, the comparison at /learn/hsa-vs-fsa walks through the five factors that actually matter when choosing between them.
How the Cafeteria Plan and HSA Connect
When an employer offers HSA contributions as a payroll deduction, the cafeteria plan is the structure that makes those contributions pre-tax. The employee elects an HSA contribution amount during the plan's open enrollment or qualifying event period. That election is processed through the Section 125 framework, which means the contribution is deducted from the employee's gross pay before federal income tax and payroll tax are calculated.
The cafeteria plan does not create the HSA. The employee must open the HSA separately, typically through an HSA custodian or administrator. The employer then sends the elected payroll deduction to that custodian on the employee's behalf. The cafeteria plan simply makes the payroll deduction pre-tax instead of after-tax.
Employees can also contribute to an HSA outside of payroll, either through direct deposit or by making contributions when they file their tax return. Those contributions are deductible on the return, but they are not excluded from payroll tax because they did not flow through a Section 125 plan. That is the difference between an above-the-line deduction and a payroll exclusion. Both reduce income tax, but only the cafeteria-plan-routed contribution avoids payroll tax.
Employer contributions to an HSA can also be run through the cafeteria plan or contributed outside of it. When the employer contributes directly without running the contribution through Section 125, it is still excluded from the employee's income, but it does not require a cafeteria plan to achieve that exclusion. That exclusion comes from Section 106. Running employer HSA contributions through the cafeteria plan is optional and depends on how the plan is structured.
Why the Two Programs Are Legally Distinct
The cafeteria plan and the HSA operate under different sections of the tax code and have different governing rules. The cafeteria plan is Section 125. The HSA is Section 223. Each has its own eligibility requirements, its own contribution limits, its own testing and compliance obligations, and its own penalties for violations.
A cafeteria plan must pass nondiscrimination testing annually to ensure that the plan does not disproportionately benefit highly compensated employees or key employees. The HSA has no such testing requirement. The nondiscrimination test applies to the cafeteria plan as a whole, which means it can include HSA elections alongside health premiums and FSA elections, but the test measures participation and benefits across the plan, not the accounts funded through it.
The cafeteria plan has an irrevocability rule. Once an employee makes an election, they generally cannot change it mid-year unless they experience a qualifying event such as marriage, birth, or a change in employment status. The HSA does not have an irrevocability rule. An individual can change their HSA contribution amount at any time, subject to the annual cap. When HSA contributions are routed through a cafeteria plan, the irrevocability rule applies to the payroll election, even though the underlying HSA account itself has no such restriction.
The HSA has eligibility requirements that have nothing to do with the cafeteria plan. An employee must be covered by a high-deductible health plan and must not have disqualifying coverage. The cafeteria plan does not enforce those requirements. It is the employer's responsibility, or the employee's, to ensure HSA eligibility before making contributions. If an ineligible employee contributes to an HSA through the cafeteria plan, the contribution is still processed as pre-tax by payroll, but the IRS treats it as an excess contribution subject to a penalty and taxable income inclusion. The cafeteria plan does not catch that error.
What Goes Wrong When You Treat Them as One Program
The most common error is assuming that having a cafeteria plan automatically makes someone HSA-eligible. It does not. The cafeteria plan allows pre-tax payroll deductions for an HSA, but it does not create HSA eligibility. An employee who is not covered by a qualifying high-deductible health plan cannot contribute to an HSA, even if the cafeteria plan includes HSA elections. If that employee makes a payroll election and the employer processes it, the contribution goes into the HSA, but it is an excess contribution. The employee owes a penalty on the excess for every year it remains in the account, and they must include the contribution as taxable income.
Another error is assuming that the cafeteria plan document governs the HSA. It does not. The HSA is governed by Section 223 and by the account agreement between the employee and the HSA custodian. The cafeteria plan document should reference HSA elections as a qualified benefit, but it does not set the HSA contribution limit, determine what expenses are HSA-qualified, or control what happens to the account after employment ends. Employers sometimes write cafeteria plan language that tries to impose restrictions on the HSA that conflict with the tax code, and those restrictions are unenforceable.
A third error is failing to coordinate the cafeteria plan's election-change rules with the HSA's flexibility. The cafeteria plan may allow mid-year election changes only for qualifying events, but the IRS allows individuals to change HSA contribution levels at any time. Employers sometimes deny mid-year HSA election changes because the cafeteria plan does not list a qualifying event, even though the HSA rules permit the change. The better approach is to build HSA-specific election-change language into the cafeteria plan document that acknowledges the difference.
Some employers offer HSA contributions outside the cafeteria plan entirely and assume they still get the payroll tax exclusion. They do not. Employer HSA contributions are excluded from the employee's income under Section 106 whether or not they flow through a cafeteria plan, but employee payroll deductions are only excluded from payroll tax if they are made through a Section 125 plan. An employee who contributes to an HSA through after-tax payroll deduction can claim the income tax deduction on their return, but they cannot recover the payroll tax.
When You Need a Limited Purpose FSA
If your cafeteria plan offers both an HSA and a general-purpose FSA, employees cannot participate in both simultaneously. The IRS treats the FSA as disqualifying coverage for HSA purposes. The workaround is to offer a limited-purpose FSA instead, which restricts reimbursements to dental and vision expenses only. That type of FSA does not disqualify the employee from HSA contributions.
The limited-purpose FSA is still part of the cafeteria plan. It is not part of the HSA. The two accounts are separate, and expenses cannot be paid from both. The limited-purpose FSA is funded through payroll deduction, subject to the use-it-or-lose-it rule or a limited carryover, and does not roll over like an HSA. We explain how limited-purpose FSAs work and when they make sense at /learn/what-is-a-limited-purpose-fsa.
The cafeteria plan document must explicitly state whether the FSA being offered is limited-purpose or general-purpose. If the document does not specify, the default assumption is general-purpose, and employees who participate in both the FSA and the HSA are technically making excess HSA contributions.
What the Setup Actually Requires
To offer pre-tax HSA contributions through payroll, you need a Section 125 cafeteria plan document that lists HSA contributions as a qualified benefit. You need a payroll system that can process pre-tax deductions and send those funds to the HSA custodian. You need employees who are HSA-eligible under the Section 223 rules. And you need a process to verify eligibility and prevent ineligible employees from making contributions that will later be penalized.
The cafeteria plan and the HSA are two distinct programs that work together when set up correctly. The cafeteria plan is the pre-tax mechanism. The HSA is the account. Treating them as a single program, or assuming one governs the other, leads to compliance errors that surface later during an audit or when an employee receives an unexpected tax bill.
FAQ
Can I contribute to an HSA without a cafeteria plan?
Yes. You can contribute to an HSA outside of payroll and claim the deduction on your tax return. You can also make after-tax payroll contributions and deduct them when you file. The cafeteria plan is only required if you want the payroll contribution to be excluded from payroll tax as well as income tax. Without the cafeteria plan, you get the income tax benefit but not the payroll tax exclusion.
Does my employer's cafeteria plan determine my HSA contribution limit?
No. Your HSA contribution limit is set by Section 223 of the tax code and depends on whether you have self-only or family coverage under a high-deductible health plan. The cafeteria plan may impose its own administrative limit on how much you can elect through payroll, but that limit cannot exceed the IRS cap, and the IRS cap applies to all HSA contributions regardless of source. If your employer contributes to your HSA, that amount counts toward your annual limit.
What happens if I contribute to an HSA through my cafeteria plan but I'm not actually HSA-eligible?
The contribution is processed as pre-tax by payroll, but the IRS treats it as an excess contribution. You owe a penalty on the excess for each year it remains in the account, and you must report the contribution as taxable income. The cafeteria plan does not verify HSA eligibility. That responsibility falls on you and your employer. If you discover the error, you can withdraw the excess contribution and any earnings before the tax filing deadline to avoid the ongoing penalty.
Can I change my HSA contribution amount mid-year if my cafeteria plan does not allow mid-year changes?
The HSA rules allow you to change your contribution amount at any time, but if you are contributing through a cafeteria plan, the cafeteria plan's election rules may limit when you can change your payroll deduction. Some cafeteria plans build in HSA-specific flexibility to allow mid-year changes even when other benefit elections are locked. If your plan does not, you can still contribute to your HSA outside of payroll and claim the deduction on your return, or you can wait until the next open enrollment period to adjust your payroll election.
Running the Plan, Not Just Using It?
The setup guide at /services/section-125-setup walks through the plan document, payroll coordination, HSA eligibility verification, and the two traps that catch almost everyone when setting up pre-tax benefits — in plain English.
Running the plan, not just using it?
The setup guide walks through the plan document, payroll setup, and the two traps that catch almost everyone — in plain English.
See how Section 125 setup works