HSA contributions come out of your paycheck before income tax is calculated

Yes. When you contribute to a Health Savings Account through your employer's payroll, that money is pre-tax. Your employer deducts the contribution from your gross pay before calculating federal income tax, Social Security tax, and Medicare tax. This means the contribution amount does not appear on your taxable income for the year.

If you contribute on your own (not through payroll), you can deduct the contribution on your tax return when you file, which has the same effect: reducing your taxable income. Either way, you pay less in income tax because the HSA contribution is subtracted before tax is owed.

The only exception is if you contribute to an HSA after the tax year ends. Money you put in during the tax-filing period (usually January through April 15) can be deducted on that year's return, but it does not reduce your paycheck taxes for that year.

Key Takeaways

  • Payroll HSA contributions reduce your taxable income immediately because they come out before taxes are calculated.
  • If you contribute outside of payroll, you deduct the amount on your tax return to lower your taxable income for that year.
  • You must have a may have access to high-deductible health plan to contribute to an HSA at all.
  • HSA withdrawals used for may have access to medical expenses are not taxed, which is a second tax advantage beyond the contribution deduction.

How payroll deduction works in practice

Your employer withholds the HSA contribution from each paycheck before calculating income tax withholding. If you earn $3,000 per paycheck and contribute $200 to your HSA, your taxable pay for that check is $2,800. Your employer then calculates federal, state, and local income tax on $2,800, not $3,000.

This happens automatically if you enroll in an HSA through your employer's benefits plan. You choose the annual contribution amount during open enrollment, and payroll deducts it in equal installments across your paychecks. You see the reduction on your pay stub each time.

Self-employed people and those who do not have access to payroll HSA contributions can contribute on their own and deduct the amount when they file taxes. The tax benefit is the same, but it happens at tax time rather than on each paycheck.

The income tax savings from an HSA contribution

The amount you save in taxes depends on your tax bracket. If you contribute $4,000 to an HSA in a year and your federal income tax rate is 22 percent, you save $880 in federal income tax. You also save on Social Security tax (6.2 percent) and Medicare tax (1.45 percent) if the contribution comes through payroll, which adds another $309 in savings for that $4,000 contribution.

State and local income tax savings vary by where you live. Some states do not tax income at all, so residents get no state tax savings. Others tax income at rates between 3 and 13 percent, which means the total tax savings can be substantial.

The higher your tax bracket, the more you save. Someone in the 32 percent federal bracket saves $1,280 in federal tax alone on a $4,000 HSA contribution, compared to $880 for someone in the 22 percent bracket.

HSA contribution limits and who can contribute

For 2024, the annual contribution limit is $4,150 for individual coverage and $8,300 for family coverage under a may have access to high-deductible health plan. These limits change each year. If you are age 55 or older, you can contribute an additional $1,000 per year (called a catch-up contribution).

You must be enrolled in a high-deductible health plan to contribute to an HSA. You cannot have other health coverage that is not a high-deductible plan, and you cannot be claimed as a dependent on someone else's tax return. Medicare beneficiaries generally cannot contribute, though there are limited exceptions.

Your employer may contribute to your HSA on your behalf, and that money also counts toward the annual limit. If your employer contributes $2,000 and you contribute $2,000, you have reached the $4,000 individual limit and cannot contribute more that year.

The difference between pre-tax and after-tax contributions

Pre-tax contributions reduce your taxable income. After-tax contributions do not. If you contribute through payroll, the money is always pre-tax. If you contribute on your own, you deduct it on your tax return, which makes it pre-tax for income tax purposes.

Some people mistakenly believe they can make after-tax HSA contributions and then withdraw the money tax-free. That is not how HSAs work. All contributions to an HSA are treated as pre-tax, whether they come through payroll or you deduct them on your return. You cannot contribute after-tax money to an HSA.

What happens when you withdraw HSA money

Withdrawals from an HSA are tax-free if you use the money for may have access to medical expenses. These include deductibles, copays, coinsurance, prescription drugs, dental work, vision care, and many other health-related costs. The IRS publishes a list of what counts as a may have access to expense.

If you withdraw HSA money for something that is not a may have access to medical expense, you owe income tax on the withdrawal plus a 20 percent penalty (unless you are age 65 or older, in which case you owe only income tax, not the penalty). This is why it matters to keep records of what you spent the money on.

The combination of a pre-tax contribution and tax-free withdrawal for medical expenses is what makes an HSA powerful for tax purposes. You reduce your taxable income when you contribute, and you pay no tax when you spend the money on health care.

Frequently Asked Questions

Do I have to contribute to an HSA through payroll, or can I do it myself?

You can do either. Payroll contributions are simpler because your employer handles the withholding and you see the tax savings on each paycheck. Self-contributions work too — you just deduct the amount on your tax return. The tax result is the same either way.

Can I contribute to an HSA and a Flexible Spending Account in the same year?

No. You cannot have both an HSA and a health-related Flexible Spending Account (FSA) at the same time. You must choose one or the other. A dependent care FSA is allowed alongside an HSA, but not a health FSA.

What if I contribute more than the annual limit?

Excess contributions are subject to a 6 percent penalty tax each year they remain in the account. You can withdraw the excess and the earnings on it before your tax return deadline to avoid the penalty. Report excess contributions on Form 8889 when you file taxes.

Does my employer's HSA contribution count toward my limit?

Yes. The annual limit applies to all contributions combined — yours and your employer's. If your employer contributes $3,000, you can only contribute $1,150 more (for 2024 individual coverage) without exceeding the limit.

Can I deduct HSA contributions on my taxes if I use the standard deduction?

If your contributions come through payroll, they are already pre-tax and you do not deduct them again. If you contribute on your own, you deduct them on Schedule 1 of your tax return regardless of whether you take the standard deduction or itemize.