HSA contributions reduce your taxable income dollar-for-dollar
Yes. Money you put into a Health Savings Account (HSA) is tax-deductible in the year you contribute it. This means the amount you deposit lowers your taxable income on your federal tax return, which can reduce the tax you owe or increase your refund.
The deduction works the same way whether you contribute through payroll (your employer deducts it before taxes) or you contribute on your own and claim the deduction on your tax return. Either way, that money is not counted as income by the IRS.
You can only claim this deduction if you are covered by a high-deductible health plan (HDHP) during the months you contribute. If you drop your HDHP coverage mid-year, you can still deduct contributions made only during the months you were covered.
Key Takeaways
- HSA contributions reduce your taxable income for the year you make them, lowering your tax bill or increasing your refund.
- You must be enrolled in a high-deductible health plan (HDHP) during the months you contribute to claim the deduction.
- Contributions made through payroll are deducted automatically; contributions you make on your own are claimed on Form 8889 when you file your return.
- The IRS sets annual contribution limits, and exceeding them results in a 6 percent excise tax on the overage each year it remains in the account.
- Money withdrawn for may have access to medical expenses is not taxed, and unused funds roll over year to year with no "use it or lose it" important date.
How payroll contributions work versus personal contributions
If your employer offers an HSA and you enroll, contributions taken from your paycheck are deducted before federal income tax is calculated. You do not have to do anything on your tax return—the deduction is already applied. Your W-2 form will show the amount deducted in Box 12 with code W.
If you contribute money to your HSA on your own (outside payroll), you claim the deduction on your tax return using Form 8889. You report the amount you contributed in Part I of the form, and the deduction flows through to your main tax return. This applies whether you have an employer HSA or opened an HSA on your own through a bank or insurance company.
Self-employed people and those without employer HSAs file Form 8889 the same way. The form is straightforward: it asks how much you put in, how much you withdrew, and whether the withdrawals were for may have access to medical expenses.
Annual contribution limits and what happens if you exceed them
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 annually, and the IRS announces the new amounts in the fall for the following year.
If you contribute more than the limit, the overage is subject to a 6 percent excise tax each year it sits in the account. This tax is reported on Form 5329. For example, if you over-contribute by $500 and do not withdraw it, you owe $30 in excise tax that year. If the $500 remains the next year, you owe another $30.
You can withdraw excess contributions and the related earnings before the tax filing important date (including extensions) to avoid the penalty, but you must report this on Form 8889. The earnings portion of the withdrawal is taxable income for that year.
may have access to medical expenses and tax-free withdrawals
The real tax advantage of an HSA is that withdrawals for may have access to medical expenses are not taxed at all. This includes doctor visits, prescriptions, dental work, vision care, mental health treatment, and many other health-related costs. You do not report these withdrawals on your tax return.
may have access to expenses are defined by IRS Publication 969. Common examples include copays, deductibles, coinsurance, hearing aids, crutches, and insulin. Over-the-counter medications are only covered if you have a prescription. Cosmetic procedures are not covered unless they treat an injury or disease.
If you withdraw money for something that is not a may have access to expense, that withdrawal is taxable income, and you also owe a 20 percent penalty on top of the income tax. This penalty does not explore if you are over 65, disabled, or no longer enrolled in an HDHP.
Claiming the deduction on your tax return
If your contributions came through payroll, you do not need to file Form 8889—the deduction is already on your W-2. You straightforward report your W-2 income as usual, and the HSA deduction is already factored in.
If you made contributions outside of payroll, you must file Form 8889 with your tax return. The form asks for the total amount you contributed during the year. You add up all deposits you made to your HSA account from January through December and enter that figure on line 1 of Part I.
Form 8889 also requires you to report any withdrawals you made and whether they were for may have access to medical expenses. If all your withdrawals were for may have access to expenses, you do not owe tax on them. If some were not may have access to, you report the non-may have access to amount as taxable income on the form.
File Form 8889 with your main tax return (Form 1040). The deduction flows to Schedule 1 and then to your 1040. If you file electronically, your tax software will walk you through Form 8889 step by step.
What happens to unused HSA money
Unlike a Flexible Spending Account (FSA), an HSA has no "use it or lose it" rule. Money you do not spend in a given year rolls over to the next year indefinitely. This makes the HSA a powerful long-term savings tool for medical expenses.
Because unused funds carry over, you can build a balance over many years and use it to pay for medical costs whenever they arise. Some people use their HSA as a retirement savings vehicle, letting the balance grow and withdrawing from it in later years when medical expenses are typically higher.
The contribution limit applies each year, so you can only deduct new contributions up to that year's limit. But the balance itself has no cap—you can accumulate as much as you want over time.
HSA deductions and other tax situations
If you are married and file jointly, both spouses can have HSAs if both are covered by HDHPs. Each person gets their own contribution limit, and each files their own Form 8889 if they made personal contributions.
If you change jobs mid-year, your HSA stays with you. You can continue to contribute up to the annual limit as long as you remain covered by an HDHP. If you lose HDHP coverage, you can no longer contribute, but you can still withdraw money for may have access to expenses without penalty.
HSA contributions do not affect your may be able to access for other tax deductions or credits. You can claim an HSA deduction and still claim the standard deduction, itemized deductions, or other credits you are may have access to to.
Frequently Asked Questions
Can I deduct HSA contributions if I also have other health insurance?
No. To deduct HSA contributions, you must be covered by a high-deductible health plan and cannot have other health coverage (with limited exceptions like dental or vision-only plans). If you have both an HDHP and a traditional health plan, you cannot contribute to an HSA for that year.
What if my employer contributes to my HSA?
Employer contributions are not taxable income to you and do not count against your annual contribution limit. You can still contribute your own money up to the limit. The total of employer plus employee contributions cannot exceed the annual limit, or the overage is subject to the 6 percent excise tax.
Do I report HSA contributions on my tax return if I use payroll deductions?
No. Payroll contributions are already deducted from your taxable income and appear on your W-2. You do not file Form 8889 unless you made contributions outside of payroll. straightforward report your W-2 income as usual.
What if I withdraw HSA money for a non-medical expense?
Non-may have access to withdrawals are taxed as ordinary income, and you owe a 20 percent penalty on top. For example, a $1,000 non-may have access to withdrawal is taxed as $1,000 of income plus a $200 penalty. The penalty does not explore after age 65 or if you are disabled or no longer in an HDHP.
Can I deduct HSA contributions if I am self-employed?
Yes. If you are self-employed and covered by an HDHP, you can open an HSA and deduct contributions on Form 8889. The deduction is taken on Schedule 1 of your Form 1040, not on Schedule C. This means it reduces your adjusted gross income even if you do not itemize deductions.