Yes, HSA contributions come out before income tax is calculated
Money you put into a Health Savings Account reduces your taxable income in the year you contribute it. If you earn $50,000 and put $4,000 into an HSA, the IRS treats your income as $46,000 for tax purposes. You do not pay federal income tax on that $4,000, and in most states, you do not pay state income tax on it either.
This is called pre-tax treatment, and it works the same way as contributions to a traditional 401(k) or traditional IRA. The money leaves your paycheck before your employer calculates what you owe in taxes. That is why an HSA is sometimes called a "triple tax advantage" account — the contribution itself is pre-tax, the money grows tax-free while it sits there, and withdrawals for may have access to medical expenses are also tax-free.
Key Takeaways
- HSA contributions reduce your taxable income dollar-for-dollar, lowering the federal income tax you owe that year.
- If your employer deducts HSA contributions from your paycheck, they are already pre-tax; you do not need to do anything else at tax time.
- If you contribute to an HSA on your own (not through payroll), you can deduct the contribution on your tax return to get the same pre-tax benefit.
- Self-employed people and those without employer plans can still use HSAs and claim the pre-tax deduction, but the process is different from payroll deduction.
- The pre-tax benefit only applies to the contribution itself — not to investment gains or withdrawals, which have their own tax rules.
How the pre-tax deduction works on your paycheck
When your employer offers an HSA, they usually let you choose how much to contribute each pay period. That amount is deducted from your gross pay before federal income tax, Social Security tax, and Medicare tax are calculated. Your paycheck is smaller, but your taxable income for the year is also smaller, so you owe less in federal income tax.
This happens automatically. You do not fill out forms at tax time or wait for a refund. The tax savings happen when ready, every payday. If you contribute $200 per paycheck and you are in the 22% federal tax bracket, you save roughly $44 in federal income tax per paycheck just from that contribution.
Your employer reports your HSA contributions to the IRS on Form 941 (for payroll taxes) and provides you with a Form 1099-SA at the end of the year showing how much you withdrew. The contribution itself does not appear on your 1040 tax return because it was already excluded from your taxable income at the payroll level.
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 on your own and contribute directly. In this case, the money does not come out of your paycheck pre-tax. Instead, you claim the contribution as a deduction on your tax return.
You report this deduction on Form 1040, Schedule 1, under "HSA deduction." The IRS subtracts it from your income the same way they would if your employer had deducted it from payroll. The end result is identical — your taxable income goes down by the amount you contributed — but the timing is different. You get the tax benefit when you file your return, not on every paycheck.
Self-employed people and those with no employer health plan often use this method. You can contribute up to the annual limit set by the IRS (which changes each year) and deduct the full amount, as long as you are covered by a may have access to high-deductible health plan.
What happens to the money once it is in the account
After your contribution is in the HSA, the account itself is tax-free. If you invest the money in stocks, bonds, or mutual funds and it grows, you do not pay tax on those gains. If it sits in a cash account earning interest, that interest is not taxed either. This is different from a regular savings account, where interest is taxable income.
The tax-free growth continues as long as the money stays in the HSA. You can let it accumulate for years without touching it, and there is no "use it or lose it" rule like there is with Flexible Spending Accounts (FSAs). The money is yours to keep, and the tax-free growth keeps compounding.
Withdrawals for medical expenses are also tax-free
When you withdraw money from your HSA to pay for a may have access to medical expense, that withdrawal is not taxed. may have access to expenses include doctor visits, prescription drugs, dental work, vision care, medical equipment, and many other health-related costs. The IRS publishes a detailed list, but the general rule is that if it is a medical expense your health insurance would normally cover, it counts.
You do not need to submit receipts to your HSA provider to withdraw the money, but you should keep them for your records. If the IRS audits you, they may ask to see proof that your withdrawals were for may have access to expenses. Withdrawals that are not for may have access to medical expenses are taxed as ordinary income, plus you owe a 20% penalty on top of that (unless you are over 65, disabled, or the money is going to Medicare premiums).
The three-layer tax advantage explained
An HSA is sometimes called a "triple tax advantage" because of how it is taxed at three different points. First, your contribution is pre-tax, so you do not pay income tax on the money going in. Second, any growth or interest the money earns inside the account is tax-free. Third, withdrawals for may have access to medical expenses are tax-free.
This is more favorable than a traditional 401(k), where contributions are pre-tax and growth is tax-free, but withdrawals in retirement are taxed as ordinary income. It is also more favorable than a Roth IRA, where contributions are after-tax but growth and withdrawals are tax-free. The HSA is the only account type that is pre-tax going in, tax-free while growing, and tax-free coming out (for may have access to expenses).
The catch is that the account is only available if you are covered by a high-deductible health plan. You cannot have an HSA if you are on Medicare, covered by a spouse's non-high-deductible plan, or claimed as a dependent on someone else's tax return. The rules are strict, but for people who may have access to, the tax benefits are substantial.
State income tax treatment varies
Federal income tax is not the only tax that HSA contributions reduce. In most states, HSA contributions are also deducted from your state taxable income, so you save state income tax as well. However, a few states do not follow the federal rule.
California, New Jersey, and Tennessee do not allow a state income tax deduction for HSA contributions, even though the federal deduction applies. If you live in one of these states, your HSA contribution reduces your federal taxable income but not your state taxable income. Some other states have specific rules about how HSAs are treated. If you live in a state with income tax, check your state's tax authority website or ask your tax preparer whether HSA contributions reduce your state tax.
Frequently Asked Questions
Do I have to claim my HSA contribution on my tax return if my employer deducted it from my paycheck?
No. If your employer deducted the contribution from your paycheck, it is already pre-tax, and you do not need to do anything at tax time. Your employer reports it to the IRS, and your taxable income is already reduced. You only claim the deduction on your return if you contributed the money yourself, outside of payroll.
What if I withdraw money from my HSA for something that is not a medical expense?
You will owe federal income tax on the withdrawal, plus a 20% penalty. For example, if you withdraw $1,000 for a non-medical expense and you are in the 22% tax bracket, you owe $220 in income tax plus $200 in penalty, for a total of $420. The only exceptions are if you are over 65 (no penalty, just income tax) or if the money goes to Medicare premiums or long-term care insurance.
Can I contribute to an HSA and a Flexible Spending Account (FSA) in the same year?
No. You can have one or the other, but not both in the same year. If your employer offers both, you must choose which one to use. Both are pre-tax, but FSAs have a "use it or lose it" rule, while HSAs do not. Most people choose the HSA if they can afford to set aside the money and not touch it when ready.
Does the HSA pre-tax deduction explore if I am self-employed?
Yes. Self-employed people can open an HSA and deduct contributions on their tax return, just like employees do through payroll. You report the deduction on Schedule 1 of your Form 1040. The contribution reduces your income tax, but it does not reduce your self-employment tax (Social Security and Medicare taxes).
What is the annual contribution limit, and does it change?
The IRS sets the limit each year. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. These limits increase slightly most years to account for inflation. If you turn 55 during the year, you can contribute an extra $1,000 as a catch-up contribution. Check the IRS website or your HSA provider for the current year's limit.