How HSA Contributions Lower Your Taxable Income
HSA contributions reduce your federal income taxes, and in most states, your state income taxes too
Money you put into a Health Savings Account is tax-deductible in the year you contribute it. That means the amount you deposit lowers your taxable income on your federal tax return. If your state has income tax, HSA contributions typically lower that as well — with a few exceptions.
The tax deduction works whether you contribute through payroll deduction (the most common route) or by depositing money yourself. The IRS treats HSA contributions the same way it treats traditional 401(k) contributions: the money goes in before taxes are calculated, which reduces what you owe.
This tax benefit is one of the main reasons HSAs are considered more tax-efficient than other savings accounts. You get the deduction upfront, the money grows tax-free while it sits in the account, and withdrawals for may have access to medical expenses are also tax-free. That three-layer tax advantage does not exist with regular savings accounts or flexible spending accounts.
Key Takeaways
- HSA contributions lower your federal taxable income dollar-for-dollar, reducing what you owe in federal income tax.
- Most states treat HSA contributions the same way and allow the deduction on state tax returns, though California, New Jersey, and Tennessee do not.
- Payroll deductions bypass income tax automatically, while self-contributions require you to claim the deduction on your tax return.
- The annual contribution limit for 2024 is $4,150 for individual coverage and $8,300 for family coverage, and only contributions within that limit are deductible.
- You must be enrolled in a high-deductible health plan to contribute to an HSA and claim the deduction.
How the tax deduction works on your paycheck
If you contribute to an HSA through your employer's payroll system, the deduction happens automatically. Your employer withholds the HSA contribution from your gross pay before calculating federal income tax, Social Security tax, and Medicare tax. This means the money never appears as taxable income on your W-2 form.
Payroll deduction is the simplest route because you do not have to do anything at tax time. The deduction is already built into your withholding. If you contribute $300 per month through payroll, your employer reduces your taxable wages by $3,600 that year, and you pay federal income tax on a lower amount.
Your employer sends the withheld money directly to your HSA provider — usually a bank or investment company — so the funds are in your account within days. You receive a statement showing the contributions, and your employer reports them on your W-2 in Box 12 with code W.
Claiming the deduction when you contribute on your own
If you deposit money into your HSA yourself rather than through payroll, you claim the deduction on your federal tax return using Form 8889. This form goes with your 1040 when you file. You report the total amount you contributed during the year, and the IRS reduces your taxable income by that amount.
Self-contributions are common if you are self-employed, if your employer does not offer an HSA, or if you want to contribute more than your payroll plan allows. You can contribute at any time during the year, but you have until the tax filing deadline (usually April 15) to make contributions that count toward the previous year's deduction.
Keep records of all deposits you make. Your HSA provider will send you a statement at year-end showing contributions, but the IRS may ask you to prove the amount. A bank statement or cancelled check is sufficient proof.
State income tax treatment varies by location
Most states follow the federal rule and allow HSA contributions as a deduction on state tax returns. However, three states do not: California, New Jersey, and Tennessee. If you live in one of these states, your HSA contribution lowers your federal taxes but not your state taxes.
California treats HSA contributions as taxable income on the state return even though they are deductible federally. New Jersey and Tennessee do not have income taxes on wages, so the question does not apply in the same way, but residents who file in other states should verify the rules.
If you live in a state with an income tax and it is not one of the three exceptions, you can deduct HSA contributions on your state return the same way you do federally. Some states require a separate form; others allow you to use the same Form 8889. Check your state tax authority's website or ask a tax preparer if you are unsure.
Contribution limits and what counts toward the deduction
The IRS sets an annual limit on how much you can contribute to an HSA and claim as a deduction. 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 as a catch-up contribution.
Only contributions within these limits are deductible. If you contribute more than the limit, the excess is not deductible and may be subject to a 6 percent excise tax. The limit resets each January 1.
The contribution limit applies to all HSA accounts you own combined. If you have two HSAs (which is unusual but possible), your total contributions across both accounts cannot exceed the annual limit.
When you lose the deduction
You can only deduct HSA contributions if you are enrolled in a high-deductible health plan (HDHP) on the first day of the month in which you contribute. If you drop your HDHP coverage or switch to a different type of health plan, you cannot make new deductible contributions to your HSA, though you can still withdraw money for may have access to medical expenses.
If you contribute to an HSA while not covered by an HDHP, the contribution is not deductible and the excess amount is subject to a 6 percent excise tax. You can withdraw the excess contribution and the tax may be waived, but you must act before filing your tax return.
Contributions made before you turn 65 are deductible only if you meet the HDHP requirement. After age 65, you can still withdraw money from your HSA tax-free for medical expenses, but new contributions are treated like traditional IRA contributions — they are deductible but withdrawals for non-medical expenses are taxable.
How HSA tax savings compare to other accounts
An HSA offers three layers of tax benefit: contributions are deductible, growth is tax-free, and withdrawals for may have access to medical expenses are tax-free. A flexible spending account (FSA) offers the first two but not the third — FSA withdrawals for medical expenses are tax-free, but you cannot carry money over year to year, and you forfeit unused funds.
A regular savings account offers none of these benefits. Interest earned is taxable, and contributions come from after-tax money. A Roth IRA offers tax-free growth and withdrawals, but contributions are not deductible.
The HSA deduction is most valuable if you are in a higher tax bracket. Someone in the 24 percent federal tax bracket saves $24 in federal taxes for every $100 contributed. Someone in the 12 percent bracket saves $12. State taxes add to this benefit in most states.
Frequently Asked Questions
Can I deduct HSA contributions if I have not met my deductible yet?
Yes. The deduction is not tied to whether you have used your health plan or met your deductible. You can contribute and deduct the full amount regardless of how much medical care you have had. The deduction depends only on being enrolled in an HDHP and staying within the annual contribution limit.
What if my employer contributes to my HSA?
Employer contributions are not deductible by you — your employer deducts them as a business expense. But employer contributions do not count against your personal contribution limit, and they are not taxable income to you. You can contribute additional money up to the annual limit and deduct your own contributions.
Do I have to file Form 8889 if I only contribute through payroll?
No. If all your contributions go through payroll, your employer reports them on your W-2 and you do not need to file Form 8889 unless you also made self-contributions or took distributions from your HSA. Check your W-2 to confirm the amount is correct.
Can I deduct contributions I made after I turned 65?
No. Once you turn 65, you can no longer make deductible HSA contributions. You can still withdraw money for may have access to medical expenses tax-free, but new contributions are treated as traditional IRA contributions. Withdrawals for non-medical expenses after age 65 are taxable but not subject to the 20 percent penalty that applies before age 65.
What happens if I contribute more than the limit?
The excess contribution is not deductible, and you owe a 6 percent excise tax on the excess amount for each year it remains in the account. You can withdraw the excess and any earnings on it before filing your tax return to avoid the tax. If you discover the overage after filing, you can file an amended return and request a refund of the excise tax.