Is Social Security and Medicare Tax on HSA Contributions?

When it comes to Health Savings Accounts (HSAs), one common question that arises is whether Social Security (SS) and Medicare taxes apply to HSA contributions. Generally, HSA contributions are not subject to SS or Medicare taxes as they are considered pre-tax deductions.

Here are some key points to consider regarding SS and Medicare tax on HSA contributions:

  • HSAs are funded with pre-tax money, meaning contributions are deducted from your gross income before SS and Medicare taxes are applied.
  • Employer contributions to an employee's HSA are also excluded from SS and Medicare taxes.
  • Withdrawals for qualified medical expenses are tax-free, including any earnings on the HSA funds.
  • If HSA funds are used for non-qualified expenses, they may be subject to income tax and an additional 20% penalty tax.

It's important to note that SS and Medicare taxes may apply to HSA contributions made through payroll deductions in some states. However, the federal government does not impose these taxes on HSA contributions.


When navigating the world of Health Savings Accounts (HSAs), many people wonder if their contributions are affected by Social Security (SS) and Medicare taxes. The good news is that HSA contributions are typically shielded from these taxes because they are categorized as pre-tax deductions.

Download our FREE mobile app to get more of the following

Over 7,000+ HSA eligible items for sale.
Check on product HSA (Health Savings Account) eligibility
Get price update notifications
And more!

Did you find this page useful?

Subscribe to our Newsletter