HSA contributions are pre-tax when you enroll through your employer

Yes — if your employer offers a Health Savings Account (HSA) and you contribute through payroll deduction, that money comes out of your gross pay before federal income tax is calculated. The contribution reduces your taxable income for the year, which means you owe less in income tax.

The mechanics are straightforward: your employer withholds the HSA contribution directly from your paycheck before taxes are applied. You never see that money as income on your W-2 form. This is called a pre-tax contribution, and it works the same way as contributions to a traditional 401(k) or health insurance premiums.

If you contribute to an HSA on your own — without going through an employer plan — you can still get the tax benefit, but you have to claim it yourself on your tax return using Form 8889. That is a post-contribution deduction rather than a pre-tax deduction, but the tax result is the same.

Key Takeaways

  • Employer-based HSA contributions are deducted from your paycheck before income tax is calculated, lowering your taxable income for the year.
  • If you contribute on your own outside of payroll, you claim the deduction on Form 8889 when you file your tax return.
  • The contribution limit for 2024 is $4,150 for individual coverage and $8,300 for family coverage, set by the IRS each year.
  • Money in an HSA grows tax-free and withdrawals for may have access to medical expenses are not taxed, making it a triple tax advantage.
  • You must be enrolled in a high-deductible health plan (HDHP) to open or contribute to an HSA.

How the pre-tax deduction works on your paycheck

When you enroll in an HSA through your employer, you tell payroll how much to set aside each pay period. That amount is subtracted from your gross pay before the employer calculates federal income tax withholding, Social Security tax, and Medicare tax.

Your W-2 form at the end of the year will show a lower Box 1 (wages, tips, other compensation) because the HSA contribution was never counted as income. This means your taxable income is lower, and you pay less federal income tax overall. The reduction applies to your federal tax bracket — if you are in the 22% bracket, a $2,000 HSA contribution saves you roughly $440 in federal tax.

Some states do not tax HSA contributions the same way. California, New Jersey, and Tennessee tax HSA contributions as income even though they are pre-tax federally. Check your state's rules if you live in one of these states, because you may owe state income tax on the contribution even though it reduced your federal tax.

Contributing on your own and claiming the deduction

If you do not have access to an employer HSA plan, or if you want to contribute more than your employer allows, you can open an HSA with a bank or financial institution and contribute on your own. These contributions are not pre-tax in the payroll sense, but you can deduct them on your tax return.

To claim the deduction, you file Form 8889 (Contributions to an HSA) with your tax return. You list the total amount you contributed during the year, and the IRS allows you to subtract it from your income. The tax benefit is identical to a pre-tax payroll contribution — your taxable income goes down by the same amount.

You must file Form 8889 even if you only made one contribution. The form also tracks any HSA withdrawals you made during the year and flags any that were not for may have access to medical expenses, which would be taxable and subject to a 20% penalty.

The annual contribution limits set by the IRS

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 — the IRS announces the new amounts in the fall for the following year.

If you contribute more than the limit, the excess is not deductible and you may owe a 6% excise tax on the overage. If your employer withholds too much, you can request a refund from the HSA custodian, or you can report the overage on Form 8889 and let the IRS know you are not claiming the excess as a deduction.

The limit applies to all your HSA accounts combined. If you have an HSA through your employer and also opened one on your own, your total contributions across both accounts cannot exceed the annual limit.

The three-part tax advantage of an HSA

The pre-tax contribution is only the first tax benefit. Money inside an HSA grows tax-free — any interest, dividends, or investment gains are not taxed. And when you withdraw money to pay for may have access to medical expenses, that withdrawal is also tax-free.

This triple tax advantage (deductible contribution, tax-free growth, tax-free withdrawal) is why an HSA is sometimes called the most tax-efficient savings account available. A traditional savings account earns interest that is taxed. A regular investment account is taxed on gains. An HSA is taxed on none of these.

may have access to medical expenses include doctor visits, prescriptions, dental work, vision care, medical equipment, and many other health-related costs. You can find the full list on the IRS website. Non-medical withdrawals are taxed as income and subject to a 20% penalty if you are under age 65.

Who can contribute to an HSA

To contribute to an HSA, you must be enrolled in a high-deductible health plan (HDHP) — a health insurance plan with a higher deductible and lower premiums than a standard plan. For 2024, an HDHP for individual coverage must have a deductible of at least $1,600, and for family coverage at least $3,200.

You cannot have other health coverage at the same time, with limited exceptions for accident, disability, dental, vision, and long-term care insurance. If you are covered by Medicare or claimed as a dependent on someone else's tax return, you are not allowed to contribute.

Your employer does not have to offer an HSA even if they offer an HDHP. Some employers offer the HDHP but do not set up an HSA plan, in which case you can open one on your own and claim the contribution on your tax return.

How HSA contributions affect other tax situations

Because HSA contributions lower your taxable income, they can affect other tax calculations that depend on your income level. A lower taxable income might make you may be able to access for tax credits you would not otherwise may have access to for, or it might reduce the amount of a credit you already receive.

HSA contributions also reduce your self-employment income if you are self-employed, which lowers both your income tax and your self-employment tax (Social Security and Medicare tax for self-employed people). This is one reason self-employed people often benefit significantly from HSAs.

If you are married and file jointly, both spouses can have separate HSAs if you both have HDHP coverage. Each person's contributions are deducted from their own income, and you report both on the same Form 8889.

Frequently Asked Questions

Do I have to contribute the maximum amount to get the tax benefit?

No. You can contribute any amount up to the annual limit, and you get the tax deduction for whatever you contribute. Many people contribute smaller amounts each month based on their expected medical expenses or their budget.

What happens to my HSA if I change jobs?

Your HSA stays with you — it is your account, not your employer's. You can keep the account open and continue to use the money for medical expenses. You can also roll it over to a new HSA if your new employer offers one, or keep it where it is.

Can I use HSA money for my spouse's medical expenses?

Yes. HSA money can be used for may have access to medical expenses of you, your spouse, and any dependents you claim on your tax return, regardless of whose name is on the account.

What if I withdraw HSA money for something that is not a medical expense?

The withdrawal is taxed as income, and you owe a 20% penalty on top of the income tax. After age 65, the penalty goes away but the withdrawal is still taxed as income unless it is for a may have access to medical expense.

Do I need to keep receipts for HSA withdrawals?

You should keep receipts and documentation of medical expenses, but you do not submit them to the HSA custodian when you withdraw money. The IRS can ask for proof if you are audited, so keep records for at least three to seven years.