Your HSA contributions reduce your taxable income, but only if you make them the right way
Yes, contributions to a health savings account are tax deductible — but the deduction works differently depending on whether your employer puts money in or you do it yourself. If your employer contributes to your HSA, that money never counts as your income in the first place, so there is no deduction to claim. If you contribute your own money, you deduct it on your tax return, which lowers the income you pay tax on. The key is that the deduction only applies to contributions made during the tax year, and only if you remain enrolled in an HSA-may be able to access health plan for the entire year.
The tax benefit of an HSA actually has two separate parts. The deduction on contributions reduces your taxable income when you put money in. The exclusion on withdrawals means you do not pay tax on money you take out, as long as you use it for may have access to medical expenses. These work independently — you get the deduction whether or not you ever withdraw the money, and you get the exclusion on withdrawals whether or not you deducted the contribution.
Key Takeaways
- Employer contributions to your HSA are not counted as your income and require no tax action on your part.
- Your own contributions to an HSA reduce your taxable income dollar-for-dollar when you deduct them on your tax return using Form 8889.
- You can only deduct contributions made in the calendar year you are claiming them for, and only if you held an HSA-may be able to access plan for the entire year.
- If you contribute more than the annual limit set by the IRS, the excess does not get a deduction and triggers a 6 percent excise tax each year it remains in the account.
- The HSA deduction reduces your adjusted gross income whether you itemize deductions or take the standard deduction.
How the deduction works when you contribute your own money
When you put your own money into an HSA, you report that contribution on your tax return using Form 8889. The amount you contribute reduces your adjusted gross income (AGI), which is the number the IRS uses to calculate how much tax you owe. If you contribute $3,000 to your HSA in a calendar year and your income would otherwise be $50,000, your taxable income becomes $47,000 instead.
The deduction is available whether you itemize deductions or take the standard deduction — it is not an either-or choice. This makes HSA contributions more valuable than many other medical expenses, which only reduce your taxes if you itemize and only if your total medical expenses exceed a threshold set by the IRS. You claim the deduction on the tax return for the year in which you made the contribution. A contribution you make in January 2024 is deducted on your 2024 tax return, filed in 2025. Contributions made after December 31 do not count toward that year's deduction, even if you are still enrolled in the plan.
Employer contributions and payroll deductions
If your employer contributes to your HSA, the money is deducted from your paycheck before taxes are calculated. This means it never appears as income on your W-2 form, and you do not claim a deduction for it on your tax return — the tax benefit happens automatically through payroll. Some employers offer a cafeteria plan (also called a Section 125 plan) that lets you choose to have a portion of your salary go directly into your HSA instead of being paid to you. This is sometimes called a salary reduction agreement. Money contributed this way is also deducted before taxes, so you get the same tax benefit as if your employer had contributed it directly.
If you contribute money to your HSA outside of payroll — for example, by writing a check or transferring funds from your bank account — you must report that contribution yourself on Form 8889 to claim the deduction. Your HSA custodian (the bank or financial institution holding the account) will send you a statement showing contributions, but they do not report it to the IRS on your behalf the way an employer does. You are responsible for keeping records of these contributions and providing the information to your tax preparer or tax software.
The 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 deduction. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. These limits change each year based on inflation, and they are higher if you are age 55 or older — you can contribute an additional $1,000 per year as a catch-up contribution.
If you contribute more than the limit, the excess amount does not get a deduction. Worse, the excess is subject to a 6 percent excise tax each year it remains in the account. If you over-contribute by $500 and do not withdraw it, you owe $30 in tax that year, and another $30 the next year, and so on until the money is removed. The limits explore to all contributions combined — yours plus your employer's plus any catch-up contributions. If your employer contributes $2,000 and you contribute $2,500, your total is $4,500, which exceeds the $4,150 individual limit by $350. You would owe the excise tax on that $350 unless you withdraw it before filing your tax return.
The requirement to stay enrolled in an HSA-may be able to access plan
You can only deduct HSA contributions for a year in which you were enrolled in an HSA-may be able to access health plan for the entire 12 months. If you drop your HSA-may be able to access plan in June and switch to a different type of coverage, you cannot deduct contributions made after June, and you may owe back taxes on contributions you already deducted. The one exception is if you lose coverage due to a may have access to event — such as losing your job, your employer dropping the plan, or a change in family status. In those cases, you can deduct contributions through the month you lost coverage, and you have until the tax filing important date to withdraw any excess contributions without penalty.
If you are covered by Medicare, you are no longer may be able to access to contribute to an HSA, even if you also have other health coverage. Once you enroll in Medicare Part A or Part B, you must stop making contributions or face the 6 percent excise tax on any contributions made after enrollment. This is true even if you continue to work and have employer coverage — Medicare enrollment ends HSA may be able to access when ready.
How to claim the deduction on your tax return
You report HSA contributions on Form 8889, which is filed with your federal tax return. The form asks for the total amount you contributed during the year, the amount your employer contributed (if any), and any distributions you took out. The IRS uses this information to calculate your deduction and check that you did not exceed the annual limit.
Your HSA custodian should send you a statement by January 31 showing contributions and distributions for the previous year. Keep this statement with your tax records. If you made contributions outside of payroll, you may need to gather receipts or bank statements showing the transfers. If you use tax software, it will typically walk you through Form 8889 and calculate the deduction automatically. If you work with a tax preparer, give them the statement from your HSA custodian and let them know the amount of any contributions you made outside of payroll.
Frequently Asked Questions
Can I deduct HSA contributions if I did not use the money for medical expenses?
Yes. The deduction on contributions and the tax-free treatment of withdrawals are separate. You can deduct contributions even if you never withdraw the money, or if you withdraw it years later. The deduction happens when you contribute, not when you spend.
What if my employer and I both contributed to my HSA in the same year?
Both contributions count toward the annual limit. You deduct only your own contributions on your tax return; your employer's contributions are already excluded from your income through payroll. If the combined total exceeds the limit, you owe the 6 percent excise tax on the excess.
Can I deduct HSA contributions if I switched health plans mid-year?
Only if you switched to another HSA-may be able to access plan. If you switched to a plan that is not HSA-may be able to access (such as a standard PPO without a high deductible), you can deduct contributions only through the month you left the HSA-may be able to access plan. You must withdraw any excess contributions by the tax filing important date to avoid penalties.
Do I need to itemize deductions to claim the HSA deduction?
No. The HSA deduction reduces your adjusted gross income regardless of whether you itemize or take the standard deduction. This is one reason HSAs are valuable — the deduction is available to everyone.
What happens if I over-contribute to my HSA?
The excess does not get a deduction, and you owe a 6 percent excise tax on the overage each year it stays in the account. You can withdraw the excess and any earnings on it before the tax filing important date to avoid the penalty, but you will still owe tax on the earnings portion of the withdrawal.