How HSA Contributions Reduce Your Taxable Income
HSA contributions are pre-tax when you make them through payroll deduction
When your employer deducts HSA contributions directly from your paycheck, that money never counts as taxable income. The contribution comes out before federal income tax, Social Security tax, and Medicare tax are calculated. This is the most common way people fund an HSA, and it's the reason HSAs offer a tax advantage that savings accounts do not.
If you contribute on your own instead of through payroll, you still get the tax benefit — but you have to claim it yourself when you file taxes. You deduct the contribution on your tax return using Form 1040 and Schedule 1, which reduces your taxable income for that year. Either way, the contribution itself is not taxed.
The key difference is timing. Payroll contributions lower your taxes immediately, in every paycheck. Self-contributions lower your taxes when you file your return, which could be months later. Both routes produce the same tax savings; payroll deduction is simply more convenient.
Key Takeaways
- Payroll deductions for HSA contributions are taken before income tax is calculated, so you see the tax savings in every paycheck.
- If you contribute on your own, you deduct the amount on your tax return using Form 1040 and Schedule 1 to reduce your taxable income.
- The annual contribution limit is set by the IRS and varies depending on whether you have individual or family coverage; for 2024 the limits are $4,150 for individual coverage and $8,300 for family coverage.
- Money you withdraw from an HSA to pay for may have access to medical expenses is also tax-free, which means HSA funds avoid tax three times: going in, while invested, and coming out.
How payroll deduction works in practice
When you enroll in an HSA through your employer's benefits plan, you tell your payroll department how much to contribute each pay period. That amount is subtracted from your gross pay before taxes are withheld. Your W-2 form at the end of the year will show a lower taxable wage because the HSA contribution was removed first.
This means your federal income tax, Social Security tax, and Medicare tax are all calculated on a smaller number. If you contribute $200 per paycheck and earn $3,000 per paycheck, your taxable income for that check is $2,800, not $3,000. Over a year, this adds up to real money saved on taxes.
Your employer also benefits: they pay less in payroll taxes because your taxable wages are lower. Some employers pass part of this savings back to employees through lower premium contributions or higher matching contributions to the HSA itself.
Self-contributions and the tax deduction
If you don't have access to payroll deduction — for example, if you're self-employed or your employer doesn't offer an HSA — you can still contribute and still get the tax benefit. You deposit money into your HSA account on your own, then deduct it on your tax return.
To claim the deduction, you use Form 1040 (the main individual income tax form) and Schedule 1 (Additional Income and Adjustments). On Schedule 1, line 12 is labeled "HSA deduction." You enter the total amount you contributed during the year. This reduces your adjusted gross income (AGI), which lowers your taxable income.
You must have an HSA-may be able to access health plan in place during the months you contribute. If you drop the coverage mid-year, you can only deduct contributions for the months you were covered. Keep records of your contributions and your coverage dates in case the IRS asks.
The contribution limits and who sets them
The IRS sets an annual cap on how much you can contribute to an HSA. The limit depends on the type of health plan coverage you have. For 2024, the limit is $4,150 if you have individual coverage, or $8,300 if you have family coverage. These limits change each year; the IRS announces the new limits in the fall for the following year.
If you're age 55 or older, you can contribute an additional $1,000 per year, called a catch-up contribution. This is separate from the main limit. So a 55-year-old with family coverage could contribute up to $9,300 in 2024.
If you contribute more than the limit in a single year, the excess is taxable and you may owe a penalty. Your HSA provider sends you a Form 5498-SA at the end of the year showing how much you contributed; keep this with your tax records.
Tax-free growth and withdrawals
The pre-tax nature of contributions is only the first tax advantage. Money in your HSA can be invested in mutual funds or other securities, and any gains are not taxed as long as the money stays in the account. This is different from a regular savings account or brokerage account, where investment gains are taxable each year.
When you withdraw money to pay for a may have access to medical expense — such as copays, deductibles, prescriptions, dental work, or vision care — that withdrawal is also tax-free. You don't report it as income, and you don't owe tax on any gains the money earned while invested.
This three-part tax advantage (contributions are pre-tax, growth is tax-free, and withdrawals for medical expenses are tax-free) is why HSAs are sometimes called "triple tax-advantaged" accounts. No other savings account offers all three benefits.
What happens if you use HSA money for non-medical expenses
If you withdraw money from your HSA for something that is not a may have access to medical expense, that withdrawal is taxable income. You owe income tax on the amount withdrawn. Additionally, if you're under age 65, you owe a 20 percent penalty on top of the income tax. After age 65, the penalty goes away, but the income tax remains.
The IRS publishes a detailed list of what counts as a may have access to medical expense. Common examples include doctor visits, hospital stays, prescription drugs, dental and vision care, and medical equipment. Less obvious items like certain over-the-counter medications, menstrual products, and sunscreen also may have access to. The IRS website has a full list, and your HSA provider can usually tell you whether a specific expense qualifies.
Keep receipts for all HSA withdrawals. You don't have to submit them when you withdraw the money, but the IRS can ask for them later to verify that withdrawals were for may have access to expenses.
HSA contributions versus other tax-advantaged accounts
An HSA is not the only account that offers pre-tax contributions. A 401(k) or traditional IRA also allows pre-tax contributions that reduce your taxable income. However, those accounts are designed for retirement savings, and withdrawals before age 59½ usually trigger a penalty.
An HSA has no age restriction on withdrawals for medical expenses, and no required withdrawal age. You can use the money immediately or let it grow for decades. After age 65, you can withdraw money for any reason without penalty (though non-medical withdrawals are still taxable). This flexibility makes HSAs useful both for current medical costs and long-term savings.
A Dependent Care FSA (Flexible Spending Account) also offers pre-tax contributions, but only for childcare or adult dependent care expenses. An HSA covers all medical expenses. The two accounts can be used together if you have both available through your employer.
Frequently Asked Questions
Do I have to contribute the full annual limit?
No. You can contribute any amount up to the limit, or nothing at all. Your HSA is optional; you can have an HSA-may be able to access health plan without funding an HSA. However, if you want to use an HSA at all, you must be enrolled in an HSA-may be able to access health plan during the months you contribute.
Can I change my contribution amount during the year?
Yes, if you use payroll deduction. You can increase or decrease your contribution at any time, though some employers only allow changes during open enrollment or after a may have access to life event. Contact your payroll or benefits department to make a change. Self-contributions can be made anytime before the tax filing deadline.
What if I contribute to an HSA but then switch to a different health plan?
Your HSA stays yours. The money doesn't disappear, and you keep the account even if you're no longer enrolled in an HSA-may be able to access plan. However, you cannot make new contributions while you're not covered by an HSA-may be able to access plan. You can still withdraw money for medical expenses anytime.
Do I report HSA contributions on my taxes if my employer deducted them from payroll?
No. Your employer reports payroll contributions on your W-2, and the IRS already knows about them. You only need to report HSA contributions on your tax return if you made them yourself (not through payroll). Self-contributions go on Schedule 1, line 12.
Can I contribute to an HSA if I'm covered by Medicare?
No. Once you enroll in Medicare, you're no longer may be able to access to contribute to an HSA, even if you also have other coverage. You can still withdraw money from an existing HSA for medical expenses, but you cannot add new contributions. If you're still working and haven't enrolled in Medicare yet, you may still be able to contribute.