Yes, HSA contributions reduce your taxable income
Money you put into a health savings account comes out of your paycheck before federal income tax is calculated. This means if you earn $50,000 a year and contribute $3,000 to your HSA, you only pay income tax on $47,000. You still pay Social Security and Medicare taxes on the full $50,000, but the federal income tax calculation skips over the HSA portion.
This tax advantage is the main reason HSAs exist. The government lets you set aside money for medical expenses without paying income tax on it, as long as you follow the rules about what counts as a medical expense and which health plan you're enrolled in.
The pre-tax treatment happens automatically if your employer offers an HSA through payroll. If you open an HSA on your own and contribute money directly, you get the tax break when you file your tax return by deducting the contribution on your Form 1040.
Key Takeaways
- HSA contributions are deducted from your gross income before federal income tax is calculated, lowering the total income you pay tax on.
- The pre-tax benefit applies whether your employer takes contributions from your paycheck or you contribute the money yourself and deduct it on your tax return.
- You still pay Social Security and Medicare taxes on the full amount of your income, even though HSA contributions reduce your federal income tax.
- The amount you can contribute each year has a limit set by the IRS, which changes annually and depends on whether you have individual or family coverage.
How the payroll deduction works
If your employer offers an HSA, the simplest way to contribute is through payroll deduction. You tell your employer or benefits administrator how much you want to set aside each pay period, and that amount comes out of your paycheck before taxes are calculated. Your employer then deposits that money into your HSA account.
Because the money never appears on your W-2 as wages, you don't owe federal income tax on it. Your paycheck is smaller, but your tax bill at the end of the year is also smaller. The net effect is that you're paying for medical expenses with pre-tax dollars instead of after-tax dollars.
Your employer cannot force you to contribute to an HSA. You choose the amount, and you can change it during open enrollment or if you have a may have access to life event like a change in health coverage.
Contributing on your own and claiming the deduction
If you don't have access to an HSA through payroll, or if you want to contribute more than your employer's plan allows, you can open an HSA at a bank or financial institution and contribute money directly. You then deduct those contributions on your federal tax return using Form 1040, Schedule 1.
When you file your taxes, you report the amount you contributed, and the IRS reduces your taxable income by that amount. The result is the same as a payroll deduction — you pay less federal income tax — but the timing is different. You pay the full amount out of your pocket first, then get the tax benefit when you file.
Keep records of any contributions you make outside of payroll. You'll need to report the total on your tax return, and the HSA provider will send you a Form 5498-SA showing what you contributed through their account.
Annual contribution limits and how they work
The IRS sets a maximum amount you can contribute to an HSA each year. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. These limits change each year, and the IRS announces the new amounts in the fall for the following year.
The limit applies to all your HSA accounts combined. If you have an HSA through your employer and also open one on your own, your total contributions across both accounts cannot exceed the annual limit. If you exceed the limit, you owe taxes on the excess amount plus a 6% penalty.
If you enroll in an HSA-may be able to access health plan partway through the year, you can still contribute the full annual amount, but some people choose to contribute less to match the months they're covered. There's no requirement to do this — the IRS allows the full contribution regardless of when you enroll.
The difference between pre-tax and after-tax contributions
A pre-tax contribution means the money comes out before income tax is calculated. An after-tax contribution means you pay income tax on the money first, then put it into the account. Most people use pre-tax contributions because they reduce your tax bill.
Some employers allow both options. If yours does, pre-tax is almost always better because you're using fewer dollars to set aside the same amount for medical expenses. The only reason to use after-tax contributions is if you've already hit the annual limit through payroll and want to contribute more, though that extra money wouldn't get the tax benefit.
Money already in your HSA grows tax-free and can be withdrawn tax-free for medical expenses, regardless of whether you contributed it pre-tax or after-tax. The tax advantage of the pre-tax contribution is just about getting the money into the account in the first place.
What happens to unused contributions
Unlike a flexible spending account (FSA), which requires you to spend the money or lose it each year, an HSA lets you keep unused contributions indefinitely. Money you don't spend stays in the account and continues to grow tax-free. This means the pre-tax contribution you make this year can sit in the account for decades if you don't need it for medical expenses right away.
Because of this, an HSA is sometimes called a retirement savings tool. Once you turn 65, you can withdraw money from your HSA for any reason without penalty, though you'll owe income tax on non-medical withdrawals. Before age 65, withdrawals for non-medical expenses are taxed and penalized.
Frequently Asked Questions
Do I pay Social Security and Medicare taxes on HSA contributions?
Yes. HSA contributions reduce your federal income tax but not your Social Security or Medicare taxes. You pay those on your full gross income. This is different from some other pre-tax benefits like traditional 401(k) contributions, which also reduce Social Security and Medicare taxes.
Can my employer force me to contribute to an HSA?
No. Your employer can offer an HSA and may even contribute money to your account, but you decide whether to participate and how much to contribute. You can decline the HSA entirely and choose a different health plan if one is available.
What if I contribute too much to my HSA?
If you exceed the annual limit, you owe income tax on the excess amount plus a 6% penalty for each year the excess stays in the account. You can withdraw the excess and any earnings on it to correct the mistake, but you'll still owe the penalty. Report the error on Form 8889 when you file your taxes.
Do I have to contribute the same amount every month?
No. If your employer offers payroll deduction, you can change your contribution amount during open enrollment or after a may have access to life event. You can also contribute different amounts in different months as long as your total for the year doesn't exceed the limit.
Can I deduct HSA contributions on my state taxes?
Most states treat HSA contributions the same way the federal government does and allow you to deduct them on your state tax return. A few states don't recognize the deduction. Check your state's tax rules or ask a tax preparer about your specific situation.