HSA contributions lower your federal income tax when you deposit money into the account
Money you put into a Health Savings Account (HSA) is deducted from your taxable income on your federal tax return. If you contribute $3,000 to an HSA in a given year, you report $3,000 less in income to the IRS. This reduces the amount of federal income tax you owe.
The deduction applies whether your employer makes the contribution, you make it yourself, or both of you contribute. The key requirement is that you must be enrolled in a high-deductible health plan (HDHP) during the months you contribute. If you drop the HDHP mid-year, you can only deduct contributions made while you were enrolled.
HSA contributions are also exempt from Social Security and Medicare payroll taxes (the 15.3% self-employment tax or the combined employee-employer portion). This makes HSAs more tax-advantaged than many other savings accounts.
Key Takeaways
- HSA contributions reduce your federal taxable income dollar-for-dollar, lowering the income tax you owe that year.
- You must be enrolled in a high-deductible health plan to make tax-deductible HSA contributions.
- Contributions are also exempt from Social Security and Medicare payroll taxes, adding to the tax savings.
- Employer contributions count toward the annual limit and are deductible whether the employer or you make the deposit.
- Money withdrawn from an HSA for non-medical expenses is taxable income and subject to a 20% penalty.
Annual contribution limits and how they work with your tax return
The IRS sets an annual limit on how much you can contribute to an HSA and deduct. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. These limits change yearly, so check the current year's limit when you file.
If both you and your employer contribute, the total of all contributions cannot exceed the limit. For example, if your employer deposits $2,000 and you deposit $1,500, you have used $3,500 of your $4,150 limit. You can still contribute $650 more that year and deduct it.
You report your HSA deduction on your federal tax return using Form 1040 and Schedule 1. If you made contributions yourself (not through payroll deduction), you claim the deduction as an above-the-line deduction, which means you can take it even if you do not itemize deductions.
Employer contributions versus contributions you make yourself
When your employer deposits money into your HSA through payroll deduction, that amount never appears on your W-2 wages. The deduction is automatic—you do not need to claim it on your tax return. This is the simplest route and the most common way HSAs are funded.
If you contribute your own money to the HSA outside of payroll, you must claim the deduction on your tax return. You report it on Form 1040, Schedule 1, line 12 (for 2024). Keep records of your contributions and the dates you made them, because the IRS may ask for proof.
Some employers offer both: they contribute a set amount through payroll, and you can add more from your own funds. Both amounts count toward the annual limit, and both are deductible.
State income tax treatment of HSA contributions
Most states treat HSA contributions the same way the federal government does—as deductible from state taxable income. However, a few states do not recognize the HSA deduction for state tax purposes, even though it reduces your federal tax.
California, New Jersey, and Tennessee do not allow an HSA deduction on state income tax returns. If you live in one of these states, your HSA contribution still reduces your federal taxable income, but you will report it as income on your state return. Check your state's tax authority website or ask a tax preparer if you are unsure about your state's rules.
What happens to HSA money after you withdraw it for medical expenses
Withdrawals from an HSA for may have access to medical expenses are not taxable. You do not report them as income, and they do not reduce the deduction you claimed when you contributed. This is what makes HSAs powerful: the money goes in tax-free, grows tax-free, and comes out tax-free if spent on medical care.
may have access to expenses include deductibles, copays, coinsurance, prescription drugs, dental work, vision care, and many other medical services. The IRS publishes a full list of what counts. Keep receipts for all HSA withdrawals in case the IRS asks for documentation.
If you withdraw money for a non-medical expense before age 65, that amount is taxable income and subject to a 20% penalty on top of regular income tax. After age 65, withdrawals for non-medical expenses are taxable but no longer penalized—they are treated like traditional IRA withdrawals.
Employer contributions that exceed the annual limit
If your employer contributes more than the annual limit allows, the excess is taxable to you. It appears on your W-2 as wages, and you owe income tax on it. Your employer is responsible for withholding tax on the excess amount.
This is rare but can happen if you change jobs mid-year and both employers contribute to an HSA, or if an employer makes a mistake. If it happens, contact your employer's benefits department to correct the record. You may be able to withdraw the excess and avoid the tax, but you must act quickly—usually within a short window after the end of the year.
How HSA deductions interact with other tax situations
HSA deductions are separate from the standard deduction or itemized deductions. You can claim an HSA deduction and still take the standard deduction. This is why HSAs are valuable even for people who do not itemize.
If you are self-employed, you can deduct HSA contributions on Schedule C (your business tax form) or on Form 1040, Schedule 1. The rules are the same: contributions reduce your taxable income. Self-employed people also benefit from the payroll tax savings, since HSA contributions are not subject to self-employment tax.
HSA deductions do not affect your ability to claim other tax credits or deductions, such as the Earned Income Tax Credit or the Child Tax Credit. However, if you use HSA money to pay for expenses that also may have access to for the medical expense deduction, you cannot claim both—you must choose one.
Frequently Asked Questions
Can I deduct HSA contributions if I did not use the money for medical expenses?
Yes. The deduction applies when you contribute, not when you spend the money. You can deduct the contribution in the year you make it, even if you do not withdraw anything that year. The money can sit in the account for years and still be deductible.
What if I had an HDHP for only part of the year?
You can only deduct contributions made during months when you were enrolled in an HDHP. If you switched to a regular health plan in July, you can deduct contributions made January through June, but not July through December. Calculate your pro-rated limit based on the months you were covered.
Do I report the HSA deduction differently if my employer took it out of my paycheck?
No. If your employer deducted it from payroll, the amount does not appear on your W-2 wages, and you do not claim it on your tax return. The deduction is already applied. You only report it on your return if you made contributions outside of payroll.
Can I deduct HSA contributions if I am claimed as a dependent?
Yes, as long as you are enrolled in an HDHP and meet the other requirements. Being a dependent does not prevent you from claiming the HSA deduction. However, your parent or guardian cannot claim the deduction on your behalf—only you can.
What if I contributed too much to my HSA by mistake?
You can withdraw the excess and avoid the tax penalty if you do so by the tax filing important date (usually April 15 of the following year). Contact your HSA provider to request a corrective distribution. You will need to report the excess on your tax return and may owe tax on the earnings, but the 20% penalty is waived for corrective withdrawals made in time.