The tax advantage: contributions, growth, and withdrawals

An HSA gets three tax breaks that regular savings accounts do not. Money you put in is tax-deductible — you do not pay federal income tax on it. The money grows without tax — any interest or investment gains are not taxed while they sit in the account. And when you withdraw for may have access to medical expenses, you pay no tax on that withdrawal either. This three-part break is why an HSA is more tax-efficient than a regular savings account or even a 401(k) for medical costs.

The catch is that the tax breaks only apply when you follow the rules. Withdraw money for something other than a may have access to medical expense, and you owe income tax on that withdrawal plus a 20 percent penalty — unless you are 65 or older, in which case you owe the income tax but not the penalty. The IRS publishes a list of what counts as a may have access to medical expense, and it is longer than most people expect, but it does not include everything.

Key Takeaways

  • Contributions to an HSA reduce your taxable income for the year, whether you itemize deductions or take the standard deduction.
  • Investment earnings inside the HSA are never taxed as long as the money stays in the account.
  • Withdrawals for may have access to medical expenses — doctor visits, prescriptions, dental work, vision care, and many others — come out tax-free.
  • Non-medical withdrawals before age 65 trigger income tax plus a 20 percent penalty; after 65, you pay income tax only.
  • You must keep receipts and records to prove that withdrawals were for may have access to expenses if the IRS asks.

How contributions lower your tax bill

When you contribute to an HSA, that money does not count as income on your tax return. If you earn $60,000 and put $4,000 into an HSA, the IRS treats your taxable income as $56,000. This works whether you take the standard deduction or itemize deductions — the HSA contribution is separate from both.

The contribution limits change each year. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. If your employer deducts HSA contributions from your paycheck before taxes, the reduction happens automatically — you see it on your pay stub. If you contribute on your own after receiving your paycheck, you claim the deduction on your tax return using Form 8889.

Catch-up contributions are allowed if you are 55 or older. You can add an extra $1,000 per year beyond the standard limit. This extra amount also reduces your taxable income for that year.

Investment growth inside the account stays tax-free

Many HSAs let you invest the balance in mutual funds, stocks, or bonds rather than leaving it in cash. Any gains from those investments — dividends, capital appreciation, interest — are not taxed while the money remains in the HSA. This is different from a regular brokerage account, where you owe tax on investment gains each year.

The tax-free growth compounds over time. If you contribute $4,000 per year for 20 years and earn an average of 6 percent annually, the account grows to roughly $185,000. In a taxable account, you would owe tax on the investment gains each year, reducing the final balance. In the HSA, all that growth is sheltered.

You only pay tax on investment gains if you withdraw the money for a non-medical expense. If you withdraw $10,000 from an HSA that contains $8,000 in contributions and $2,000 in gains, and you use it for a non-medical purpose, you owe income tax on the full $10,000 plus the 20 percent penalty.

may have access to medical expenses come out tax-free

The IRS maintains a list of may have access to medical expenses. Common ones include doctor visits, hospital stays, prescription drugs, dental work, vision care, hearing aids, and mental health treatment. You can also use HSA funds for over-the-counter medications if you have a prescription, and for medical equipment like crutches or blood pressure monitors.

Some expenses surprise people. You can use HSA funds for acupuncture, chiropractic care, and physical therapy. You can pay for long-term care insurance premiums (with limits). You cannot use HSA funds for cosmetic surgery, gym memberships, or vitamins unless a doctor prescribes them for a specific condition.

The key is that the expense must be for diagnosis, treatment, or prevention of a disease or condition. If you are unsure whether something qualifies, the IRS Publication 502 lists hundreds of examples. When in doubt, keep the receipt and the explanation of what the expense was for — the IRS may ask you to prove it later.

Non-medical withdrawals and the 20 percent penalty

If you withdraw money from an HSA for something other than a may have access to medical expense, two things happen. First, you owe federal income tax on the withdrawal at your ordinary tax rate — the same rate you pay on wages or other income. Second, you owe a 20 percent penalty on top of that.

Example: You withdraw $5,000 from your HSA to pay for a vacation. If your tax bracket is 22 percent, you owe $1,100 in income tax plus $1,000 in penalty, for a total of $2,100. You are left with $2,900 of the original $5,000. Some states also tax HSA withdrawals, which would add to the cost.

The penalty does not apply after age 65. At 65 or older, you can withdraw money for any reason and pay only income tax — no penalty. This makes an HSA useful as a retirement savings vehicle if you do not spend all the medical funds while working. Many people use HSAs this way: contribute and invest for decades, pay for medical expenses out of pocket, and let the account grow. After 65, they can withdraw for any purpose without penalty.

Record-keeping and IRS documentation

You do not have to submit receipts when you withdraw money from an HSA, but you must keep them. The IRS can audit your HSA at any time and ask you to prove that withdrawals were for may have access to medical expenses. If you cannot show documentation, the IRS treats the withdrawal as non-medical, which means you owe back taxes plus the 20 percent penalty plus interest.

Keep receipts, invoices, and explanation of benefits (EOB) statements from your insurance. If you paid out of pocket, keep the receipt from the provider. If you used a debit card linked to the HSA, the transaction history shows the date and amount, but not always what the expense was for — the receipt fills that gap.

Some HSA providers send you a summary each year of what you withdrew and when. This is helpful for your own records but does not replace the actual receipts. If you lose a receipt, ask the provider or doctor's office for a duplicate. Document everything, especially large or unusual withdrawals.

Employer contributions and tax withholding

If your employer contributes to your HSA, that money is not counted as taxable income to you. Your employer can contribute up to the annual limit, and if you also contribute, the combined total cannot exceed the limit. Employer contributions reduce your taxable income just like your own contributions do.

If you contribute through payroll deduction, the money comes out before federal income tax, Social Security tax, and Medicare tax are calculated. This saves you not just income tax but also the 7.65 percent in payroll taxes. If you contribute on your own after receiving your paycheck, you only get the income tax deduction, not the payroll tax savings.

When you leave a job, you keep the HSA and the money in it. Your new employer can contribute to the same account or you can open a new one. The money is always yours — it does not revert to the employer.

Frequently Asked Questions

Do I have to use my HSA money by the end of the year?

No. HSA funds roll over indefinitely. Unlike a flexible spending account (FSA), there is no "use it or lose it" rule. Money you do not spend stays in the account and grows tax-free. This is one reason an HSA is more valuable than an FSA for long-term savings.

What happens if I withdraw money and later find out it was not a may have access to expense?

You owe income tax and the 20 percent penalty on that withdrawal. If you discover the mistake when filing your tax return, you can amend the return and pay what you owe. If the IRS discovers it during an audit, you also owe interest on the unpaid taxes.

Can I deduct HSA contributions on my tax return if my employer already deducted them from my paycheck?

No. If your employer deducted the contributions before taxes, you do not claim them again on your return — you would be deducting them twice. Only claim the deduction if you made contributions with after-tax money.

Are HSA withdrawals subject to Medicare tax?

No. Withdrawals for may have access to medical expenses are not subject to income tax, payroll tax, or Medicare tax. Non-medical withdrawals are subject to income tax and the 20 percent penalty, but not Medicare tax.

If I am married and both of us have HSAs, can we combine them?

No. Each HSA is separate. You and your spouse each have your own account and your own contribution limit. If you have family coverage through one employer, only one of you can claim the family limit — the other would need individual coverage or a different plan.