Whether an HSA is subject to FICA depends entirely on how the money gets into the account. Contributions made through your employer’s Section 125 cafeteria plan are excluded from wages for Social Security and Medicare tax, so you skip the full 7.65% payroll tax on every dollar contributed. Contributions you send in yourself from a personal bank account do not get that break, because FICA was already withheld from the paycheck that funded them. That single distinction drives most of the real-world tax value of an HSA.
Payroll Contributions Through a Cafeteria Plan Avoid FICA
When your employer runs HSA contributions through a Section 125 cafeteria plan, those dollars come out of your pay before Social Security and Medicare tax are calculated. Federal law specifically excludes cafeteria-plan payments from the definition of “wages” for FICA purposes, so neither you nor your employer owes the 6.2% Social Security tax or the 1.45% Medicare tax on the contribution.1Office of the Law Revision Counsel. 26 U.S. Code 3121 – Definitions That is a 7.65% savings stacked on top of the federal income tax deduction.
This treatment is what makes the HSA more tax-efficient than a traditional 401(k). A 401(k) deferral reduces your federal income tax, but Social Security and Medicare tax still comes out of the deferred amount at the time of the paycheck.2Internal Revenue Service. Retirement Plan FAQs Regarding Contributions – Are Retirement Plan Contributions Subject to Withholding for FICA, Medicare or Federal Income Tax? An HSA funded through payroll dodges both income tax and FICA.
Your W-2 shows this treatment plainly. Employer contributions and your own payroll-deducted contributions appear together in Box 12 under Code W, and both amounts are excluded from the wages reported in Boxes 1, 3, and 5.3Internal Revenue Service. 2026 General Instructions for Forms W-2 and W-3 If Box 3 (Social Security wages) and Box 5 (Medicare wages) are each lower than Box 1 by the amount of your HSA contributions, the payroll process worked correctly.
Employer Contributions Are Also FICA-Free
Money your employer deposits directly into your HSA is treated as employer-provided health coverage under Internal Revenue Code Section 106(d), and it never counts as taxable wages.4Office of the Law Revision Counsel. 26 U.S. Code 106 – Contributions by Employer to Accident and Health Plans No FICA is owed by either side. The employer also skips its matching 7.65% share, which is one reason many companies are willing to fund HSA contributions as part of a benefits package.
Employer contributions share the same annual cap as your own payroll deductions. For 2026, the combined total from all sources cannot exceed $4,400 for self-only HDHP coverage or $8,750 for family coverage.5Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans If your employer puts in $1,500 toward self-only coverage, your own payroll deductions for the year are capped at $2,900.
Personal Contributions Do Not Escape FICA
If you deposit money into your HSA directly from a checking or savings account, the tax picture is thinner. You can still deduct those contributions from your adjusted gross income on Form 8889, which lowers your federal income tax.5Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans FICA, however, was already taken out of the paycheck that money came from. No mechanism exists to reclaim payroll taxes after the fact, so the 7.65% savings that a payroll contribution would have given you is gone.
This affects two groups most. The first is people whose employer does not offer a Section 125 plan, or who bank at an outside HSA provider and send contributions in manually instead of using the workplace payroll channel. The second is the self-employed. In both situations, the income tax deduction is real and worth taking, but the total tax benefit is smaller than what a payroll arrangement produces.
A practical point: if your employer does offer payroll HSA contributions, run everything through payroll. Contributing to the same account through your bank on the side gets you the income tax deduction on those specific dollars but throws away the FICA savings on them.
Self-Employed Workers and Self-Employment Tax
Self-employed workers pay both halves of FICA through the self-employment tax, which comes to 15.3% on net earnings (12.4% Social Security plus 2.9% Medicare). An HSA contribution made by a self-employed person reduces adjusted gross income for income tax purposes, but it does not reduce the earnings subject to self-employment tax.5Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The deduction shows up on Schedule 1 of Form 1040 as an above-the-line item.
The cost is real. A self-employed filer contributing $4,400 to an HSA in 2026 still pays roughly $673 in self-employment tax on that amount, while an employee whose contribution flows through a Section 125 plan pays zero payroll tax on the same dollars. For partners in a partnership, treatment depends on whether the contribution is characterized as a distribution or a guaranteed payment; guaranteed payments increase net earnings from self-employment.
The Trade-Off: Lower Reported Wages, Lower Future Social Security
The FICA break on payroll HSA contributions is not entirely free. Social Security benefits are calculated from your highest 35 years of FICA-taxed earnings. When your W-2 reports lower Social Security wages because HSA contributions were excluded, those lower figures feed into the benefit formula. Across a full career, the effect can trim your eventual monthly benefit.
For most workers, the math still favors the HSA. The immediate 7.65% tax savings is guaranteed and compounds inside a tax-free account, while the reduction in a future Social Security check is marginal. The impact shrinks as overall earnings rise, and it disappears entirely once wages exceed the Social Security taxable maximum, which is $184,500 in 2026.6Social Security Administration. Contribution and Benefit Base Workers early in a career at lower earnings levels are the ones most likely to feel the trade-off, and they should at least know it exists.
A Note on State Payroll and Income Taxes
The FICA exemption is a federal payroll tax rule and applies the same way everywhere. State income tax is a separate matter. A few states do not conform to the federal income tax treatment of HSAs. California and New Jersey, for example, do not allow a state income tax deduction for HSA contributions and may tax the account’s investment earnings at the state level. If you live in one of those states, your total tax benefit is smaller than the federal rules alone would suggest, though the FICA treatment itself is unaffected.