HSA contributions lower your federal income tax when you make them through payroll deduction
If your employer deducts HSA contributions directly from your paycheck, those contributions do not count as taxable income. The money comes out before federal income tax is calculated. This is the most common way people contribute to an HSA, and it gives you an immediate tax reduction.
If you contribute money yourself — outside of payroll — you can deduct those contributions on your federal tax return when you file. You report the deduction on Form 1040 using Schedule 1. The result is the same: the contribution reduces your taxable income for that year.
State income tax treatment varies. Most states follow federal rules and allow the deduction. A few states do not recognize HSAs for tax purposes at all. Check your state's tax agency website or ask your tax preparer whether your state allows the deduction.
Key Takeaways
- Payroll deductions bypass federal income tax automatically, so you see the tax savings immediately in your paycheck.
- Self-directed contributions reduce your taxable income when you file your tax return, using Schedule 1 on Form 1040.
- The contribution limit for 2024 is $4,150 for individual coverage and $8,300 for family coverage; contributions above the limit are not deductible.
- State income tax treatment varies, and a handful of states do not allow the deduction even though the federal government does.
- Withdrawals for may have access to medical expenses are not taxed, but non-may have access to withdrawals are taxed as income plus a 20 percent penalty.
How payroll deduction works
When your employer offers an HSA, you typically enroll during open enrollment and choose a contribution amount. Your employer deducts that amount from each paycheck before calculating federal income tax withholding. The money goes directly into your HSA account.
Because the deduction happens before tax calculation, you do not pay federal income tax, Social Security tax, or Medicare tax on the contribution. If you contribute $200 per paycheck, your taxable income for that paycheck is $200 lower. Over a year, this adds up to real money back in your pocket through lower tax withholding.
You will see this reflected in your pay stub. The HSA contribution line appears separately from your gross pay, and your taxable wages are reduced by that amount.
Self-directed contributions and tax filing
If you contribute money to your HSA outside of payroll — for example, by transferring money from your bank account — you handle the tax deduction yourself when you file your return.
On your 2024 tax return, you report self-directed HSA contributions on Schedule 1 (Form 1040), line 21. The IRS calls this the "HSA deduction." You subtract this amount from your income, which lowers your taxable income just as a payroll deduction does. You must file a tax return to claim this deduction; you cannot claim it if you take the standard deduction without filing.
Keep records of all self-directed contributions: bank statements, transfer confirmations, or deposit receipts. The HSA custodian (your bank or investment firm) will send you a Form 5498-SA each January showing contributions made in the prior year, but you are responsible for reporting the deduction correctly.
Contribution limits and what you cannot deduct
The IRS sets annual contribution limits. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. If you are age 55 or older, you can contribute an additional $1,000 per year (called a catch-up contribution). These limits change each year.
You can only deduct contributions up to the annual limit. If you contribute more than the limit in a single year, the excess is not deductible and is subject to a 6 percent excise tax. If you contribute to both an HSA and an Archer MSA (a much older account type), your combined contributions cannot exceed the HSA limit.
If you enroll in an HSA mid-year, you can still contribute the full annual amount for that year, even though you were not covered for the entire year. However, if you drop HSA coverage before the end of the year, you can only deduct contributions made while you were covered.
Withdrawals and whether they are taxed
Withdrawals for may have access to medical expenses are not taxed and do not reduce your deduction. may have access to expenses include doctor visits, prescription drugs, dental work, vision care, and many other medical costs. You do not report these withdrawals on your tax return.
Withdrawals for non-medical purposes are taxed as ordinary income plus a 20 percent penalty. For example, if you withdraw $500 for a non-medical expense and you are in the 22 percent tax bracket, you owe 22 percent income tax plus 20 percent penalty — a total of 42 percent. After age 65, the penalty goes away, but the income tax remains.
Keep receipts for all medical expenses you pay from your HSA. The IRS does not require you to submit them with your tax return, but you must be able to prove the expense was may have access to if the IRS audits you.
State tax treatment
Most states allow HSA contributions as a deduction on state income tax returns, following federal rules. However, a few states treat HSAs differently. New Hampshire and Tennessee do not tax medical expenses or HSA withdrawals, so the deduction is irrelevant there. California does not allow the deduction at all, even though contributions are deductible federally.
If you live in a state with income tax, check your state's tax agency website or ask a tax preparer whether HSA contributions are deductible in your state. The rules can change, and some states have specific forms or schedules for reporting the deduction.
Employer matching and catch-up contributions
Some employers contribute money to your HSA as part of compensation. Employer contributions are not taxable to you and do not count against your personal contribution limit. They reduce your out-of-pocket cost but do not create an additional tax deduction — the deduction belongs to your employer, not to you.
If you are age 55 or older, you can make an additional catch-up contribution of $1,000 per year beyond the standard limit. This catch-up contribution is deductible just like any other contribution. If both you and your employer contribute, the combined total (including catch-up) cannot exceed the annual limit.
Frequently Asked Questions
Can I deduct HSA contributions if I do not itemize deductions?
Yes. HSA contributions are deducted "above the line," meaning they reduce your taxable income whether you take the standard deduction or itemize. You do not need to itemize to benefit from the deduction. If your employer deducts contributions from payroll, you get the benefit automatically. If you contribute yourself, you report it on Schedule 1.
What happens if I contribute more than the annual limit?
The excess contribution is not deductible, and you owe a 6 percent excise tax on the overage each year it remains in the account. You can withdraw the excess and the related earnings without penalty, but you must do so by the tax filing deadline (usually April 15) to avoid the excise tax. Report the withdrawal on Form 8889.
Do I get a tax deduction if my employer contributes to my HSA?
No. Employer contributions are not taxable to you, but you do not claim a deduction for them. The employer gets the deduction. Only your own contributions (whether through payroll or self-directed) are deductible by you.
Can I deduct HSA contributions if I am covered by Medicare?
No. Once you enroll in Medicare, you are no longer may be able to access to contribute to an HSA. Any contributions made after Medicare enrollment are not deductible and are subject to a 20 percent penalty. If you contributed before Medicare enrollment, you can still withdraw money for may have access to medical expenses without penalty.
Do I need to report my HSA on my tax return if I only made payroll deductions?
You do not need to report payroll deductions separately; your employer handles that. However, you will receive a Form 5498-SA from your HSA custodian showing contributions made during the year. Keep this form with your tax records. If you made self-directed contributions, you must report them on Schedule 1.