The three tax breaks an HSA gives you
A Health Savings Account reduces your taxes in three separate ways: money you put in is not taxed as income, the money grows without being taxed, and withdrawals for medical expenses are not taxed either. This is different from a regular savings account, where you pay taxes on interest earned and on withdrawals. The combination of these three breaks is why an HSA is sometimes called a "triple tax advantage."
The tax reduction happens automatically if your employer offers the HSA and deducts contributions from your paycheck before taxes are calculated. If you open an HSA on your own, you report the contributions on your tax return to claim the deduction. Either way, the money you contribute never shows up as taxable income in the year you put it in.
Key Takeaways
- Contributions to an HSA reduce your taxable income for the year, lowering the amount of federal income tax you owe.
- Interest and investment gains inside the HSA are not taxed, even if the account grows significantly over many years.
- Withdrawals for may have access to medical expenses—copays, deductibles, prescriptions, dental work, vision care—are not taxed at all.
- Withdrawals for non-medical expenses are taxed as income plus a 20 percent penalty, unless you are over 65 or disabled.
- You must have a high-deductible health plan to open or contribute to an HSA; the IRS sets the deductible limits each year.
How contributions lower your income tax bill
When you contribute money to an HSA, that amount is subtracted from your gross income before federal income tax is calculated. If you earn $50,000 and contribute $4,000 to an HSA, you only pay income tax on $46,000. The tax savings depend on your tax bracket—someone in the 22 percent bracket saves $880 on a $4,000 contribution, while someone in the 12 percent bracket saves $480 on the same amount.
If your employer deducts HSA contributions from your paycheck, the reduction happens automatically and shows up on your W-2 form. If you contribute on your own—because you opened an HSA outside of work or made contributions beyond what your employer offered—you claim the deduction on Schedule 1 of your tax return (Form 1040). You do not need to itemize deductions to claim an HSA contribution; it reduces your income whether you take the standard deduction or itemize.
The contribution limits change each year. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. If you are 55 or older, you can contribute an additional $1,000 per year as a catch-up contribution. You can only contribute up to the limit for the year, and contributions made after the tax important date (usually April 15) count toward the following year's limit.
Growth inside the account is never taxed
Money sitting in an HSA earns interest or investment returns without triggering any tax bill. If you invest your HSA balance in mutual funds or stocks and the account grows by $2,000, you owe no tax on that $2,000 gain. This is true whether the account grows slowly through interest or quickly through investment returns.
This tax-free growth compounds over time, especially if you do not withdraw the money when ready for medical expenses. Someone who contributes $4,000 per year for 20 years and earns 5 percent annual returns will have roughly $130,000 in the account—far more than the $80,000 in contributions alone. The difference comes from tax-free growth, which means more of your money stays in the account instead of going to taxes.
Medical withdrawals are completely tax-free
When you withdraw money from an HSA to pay for a may have access to medical expense, you owe no income tax on that withdrawal. may have access to expenses include copays, coinsurance, deductibles, prescription drugs, dental work, vision care, mental health treatment, and many other medical services. The IRS publishes a full list of what counts as a may have access to expense, and the definition is broad enough to cover most things you would normally pay a doctor or hospital for.
You do not need to submit receipts to your HSA provider when you withdraw money, but you should keep them for your records. If the IRS audits your return, you may need to show that your withdrawals matched may have access to medical expenses. The key rule is straightforward: if the expense would have been deductible as a medical expense on your tax return, it counts as a may have access to HSA withdrawal.
One often-missed detail: you can withdraw money from an HSA years after you incurred the medical expense. If you had a $500 dental bill in 2020 and did not withdraw the money then, you can withdraw it in 2024 without any tax consequence. This flexibility lets you use an HSA as a long-term savings vehicle for medical costs.
Non-medical withdrawals trigger taxes and a penalty
If you withdraw money from an HSA for something that is not a may have access to medical expense, you pay income tax on that amount plus a 20 percent penalty. If you withdraw $1,000 for a non-medical expense and you are in the 22 percent tax bracket, you owe $220 in income tax plus $200 in penalty—a total of $420 on the $1,000 withdrawal. The penalty is separate from the tax, not a replacement for it.
The penalty does not explore if you are over 65 or if you become disabled. After age 65, you can withdraw money from an HSA for any reason without the 20 percent penalty, though you still owe income tax on non-medical withdrawals. This makes an HSA function like a traditional retirement account after 65, with the added benefit that medical withdrawals remain tax-free for life.
HSA contributions affect other tax situations
Reducing your taxable income through HSA contributions can affect other parts of your tax return. If you are close to an income threshold for a tax credit or deduction—such as the Earned Income Tax Credit, the American Opportunity Credit, or the premium tax credit for health insurance—a large HSA contribution might push you below that threshold and increase your benefit. Conversely, it might reduce a benefit if you were just above the threshold.
HSA contributions also reduce your self-employment tax if you are self-employed, because the contribution lowers your net earnings. If you contribute $4,000 to an HSA and you are self-employed, you save not only income tax but also roughly $565 in self-employment tax (the 15.3 percent rate applied to 92.35 percent of net earnings).
Reporting HSA activity on your tax return
If your employer deducts HSA contributions from your paycheck, the amount appears on your W-2 in box 12 with code W. You do not need to do anything on your tax return—the contribution is already excluded from your income. If you made contributions on your own or received distributions from the HSA, you will receive a Form 1099-SA from your HSA provider, which reports the total amount withdrawn during the year.
On your tax return, you report non-employer contributions on Schedule 1 (Form 1040) as a deduction. If you received distributions on a 1099-SA, you report them on Form 8889 (Health Savings Accounts), which calculates how much of the distribution was for may have access to medical expenses (tax-free) and how much was for other purposes (taxable plus penalty). The IRS uses Form 8889 to verify that your withdrawals match your medical expenses.
Frequently Asked Questions
Does opening an HSA lower my taxes automatically?
Only if your employer deducts contributions from your paycheck. If you open an HSA on your own or contribute beyond what your employer offers, you must report the contribution on your tax return to claim the deduction. Without reporting it, the IRS will not know about the contribution and will not reduce your tax bill.
Can I use HSA money to pay my health insurance premium?
No, not while you are working. HSA withdrawals for health insurance premiums are taxable and subject to the 20 percent penalty. The exception is COBRA continuation coverage or premiums you pay while receiving unemployment benefits—those are may have access to expenses. After age 65, you can withdraw HSA money for Medicare premiums without penalty, though you still owe income tax on non-medical withdrawals.
What happens to my HSA if I change jobs or lose my health insurance?
Your HSA stays yours. The account does not disappear when you change employers or switch to a different health plan. You can keep contributing if your new plan is also a high-deductible plan, or you can stop contributing and just let the balance sit. The money remains available for may have access to medical expenses indefinitely, and the tax-free growth continues.
If I withdraw money for a medical expense, do I need to report it to the IRS?
Not if the withdrawal matches a may have access to medical expense. You do not file any paperwork or report individual withdrawals. The IRS assumes all withdrawals are for may have access to expenses unless you report otherwise on Form 8889. Keep your receipts in case of an audit, but routine may have access to withdrawals require no reporting.
Does an HSA contribution reduce my Social Security taxes?
No. HSA contributions reduce your federal income tax and self-employment tax, but not Social Security or Medicare taxes (FICA). If you earn $50,000 and contribute $4,000 to an HSA, you still pay Social Security and Medicare taxes on the full $50,000. Only income tax is reduced by the HSA contribution.