HSA contributions reduce the income you report to the IRS, which is why they're called tax-deductible
Yes, money you put into a health savings account is tax-deductible. That means the amount you contribute does not count as taxable income in the year you contribute it. If you earn $50,000 and put $3,000 into an HSA, the IRS treats your taxable income as $47,000 instead.
This works whether you contribute through payroll deduction (the most common way) or by depositing money yourself. The tax break applies to the contribution itself, not to what you earn once the money is in the account. That's a separate benefit—earnings inside the HSA grow tax-free and stay tax-free when you withdraw them for may have access to medical expenses.
The deduction is available to anyone with an HSA-may be able to access health plan, regardless of income level. There is no income limit that phases out the deduction, unlike some other tax benefits. You do have to stay within annual contribution limits set by the IRS, which change each year.
Key Takeaways
- HSA contributions reduce your taxable income dollar-for-dollar in the year you make them, lowering the income you report to the IRS.
- The deduction applies whether you contribute through payroll or deposit money yourself, and there is no income limit that disqualifies you.
- You must have an HSA-may be able to access health plan to claim the deduction, and your total contributions cannot exceed the IRS annual limit for your coverage type.
- If you contribute through payroll, your employer withholds the money before taxes are calculated, so you see the tax benefit when ready in your paychecks.
- Withdrawals for may have access to medical expenses are also tax-free, which means the HSA offers a tax break both going in and coming out.
How the deduction works on your paycheck versus your tax return
If your employer offers payroll deduction for HSA contributions, the money comes out of your gross pay before federal income tax, Social Security tax, and Medicare tax are calculated. This means you see the tax savings right away in your paychecks—they are smaller because the HSA contribution is removed first. You do not have to wait until tax time to benefit from the deduction.
If you contribute money yourself after you have been paid, you claim the deduction on your tax return using IRS Form 8889 (Health Savings Accounts). You report the amount you contributed, and it reduces your taxable income when you file. This route takes longer to realize the tax benefit, but the result is the same: lower taxable income.
Some people use both methods in the same year. For example, you might contribute $2,000 through payroll and then deposit $1,500 yourself before the tax important date. The payroll portion reduces your paychecks, and the self-deposit portion reduces your taxable income on your return. The total deduction cannot exceed the annual limit.
Annual contribution limits and what happens if you exceed them
The IRS sets a maximum amount you can contribute to an HSA each year and still claim the full deduction. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. These limits change most years, so check the current year's limit before you contribute.
If you contribute more than the limit, the excess amount is not deductible. You also owe a 6 percent excise tax on the overage each year it remains in the account. For example, if you contribute $5,000 when the limit is $4,150, you cannot deduct the extra $850, and you owe a 6 percent tax on it. You can withdraw the overage and the tax penalty by the tax important date to avoid the penalty, but the deduction is still lost.
The limit is prorated if you enroll in an HSA-may be able to access plan partway through the year. If you become may be able to access on July 1, you can contribute half the annual limit. There is an exception called the "last-month rule" that allows you to contribute the full amount if you are may be able to access on December 1, but you must maintain the coverage through the following March 31 or you owe back taxes and penalties.
What counts as a may have access to medical expense for tax-free withdrawals
The deduction on contributions is one tax benefit. The second benefit 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. The IRS publishes a detailed list, and you can also find it on the HSA provider's website.
If you withdraw money for something that is not a may have access to expense—say, a gym membership or cosmetic surgery—that withdrawal is taxable income plus a 20 percent penalty. The penalty applies only to the non-may have access to portion, not the entire withdrawal. For example, if you withdraw $1,000 and $200 of it is for a non-may have access to expense, you owe income tax plus a 20 percent penalty on just the $200.
After age 65, you can withdraw money for any reason without the 20 percent penalty, though non-medical withdrawals are still taxable income. This makes the HSA function like a traditional retirement account after a certain age, with the added advantage that medical withdrawals remain tax-free forever.
How HSA tax deductions compare to other health-related tax breaks
An HSA deduction is more valuable than the medical expense deduction you might claim on Schedule A of your tax return. The medical deduction only applies if your total medical expenses exceed 7.5 percent of your adjusted gross income, and you must itemize deductions instead of taking the standard deduction. Most people do not benefit from it.
An HSA deduction, by contrast, reduces your income dollar-for-dollar with no threshold. You get the benefit whether you itemize or take the standard deduction. This is why financial advisors often recommend maximizing HSA contributions before saving in other accounts—the tax benefit is when ready and may provide.
Flexible spending accounts (FSAs) and dependent care FSAs also offer pre-tax contributions, but they have stricter rules. FSA money must be spent in the same year or it is forfeited (with a small carryover exception). HSA money rolls over year to year and can be invested, making it more flexible for long-term health savings.
Claiming the deduction on your tax return if you contribute yourself
If you contribute to your HSA outside of payroll, you report the deduction on IRS Form 8889. This form asks for the total amount you contributed during the year, your HSA account number, and the name of your HSA provider. You attach it to your Form 1040 when you file.
You will need a statement from your HSA provider showing how much you contributed. Most providers send this automatically, or you can read it from your account. Keep records of your contributions in case the IRS asks for proof.
If your employer made contributions on your behalf (for example, as part of a wellness program), those contributions also count toward the limit and reduce your taxable income. Your employer reports this on your W-2 in box 12 with code W. You include this amount on Form 8889 along with your own contributions.
What disqualifies you from claiming the HSA deduction
You must have an HSA-may be able to access health plan to claim the deduction. This means a high-deductible health plan (HDHP) that meets IRS requirements. If you switch to a different type of health plan mid-year, you can only deduct contributions for the months you were enrolled in an HDHP.
You also cannot claim the deduction if you are covered by Medicare, Medicaid, TRICARE, or the Veterans Administration health plan. These programs disqualify you from HSA may be able to access entirely. If you turn 65 and enroll in Medicare, you can no longer contribute to an HSA, though you can continue to withdraw money tax-free for medical expenses.
If someone else claims you as a dependent on their tax return, you cannot claim your own HSA deduction. This affects some adult children and other dependents. Check with the person claiming you before you file.
Frequently Asked Questions
Can I deduct HSA contributions if I do not itemize deductions?
Yes. HSA contributions reduce your taxable income whether you itemize or take the standard deduction. This is one reason HSAs are more valuable than the medical expense deduction, which only helps if you itemize and exceed the 7.5 percent threshold.
What if my employer contributes to my HSA—do I still get the deduction?
Employer contributions are not deductible by you because your employer already deducted them as a business expense. However, they do not count as taxable income to you, so you get the benefit without claiming it on your return. They do count toward your annual contribution limit.
Can I deduct HSA contributions if I am self-employed?
Yes, if you have an HSA-may be able to access health plan. You report the deduction on Form 8889 and attach it to your Form 1040. Self-employed people can also deduct the HSA contribution as a business expense on Schedule C, though you should check with a tax professional to avoid double-deducting.
Do I lose the deduction if I withdraw money for non-medical expenses?
No. The deduction applies to the contribution itself, not to how you spend the money. If you withdraw for a non-medical expense, you owe income tax and a 20 percent penalty on that withdrawal, but you do not lose the deduction you claimed when you contributed.
What happens to the deduction if I change jobs and move my HSA?
The deduction does not change. You claimed it based on the contribution, not based on which provider holds the account. When you move the HSA to a new provider, the contribution history moves with it, and the deduction remains valid on your tax return.