The tax advantage of HSAs: what is actually tax-free

Money you put into an HSA is not taxed when you contribute it, the money grows without being taxed, and withdrawals for may have access to medical expenses are not taxed either. That three-part tax break is what makes HSAs different from regular savings accounts. But the tax-free status only applies to money spent on specific medical costs—not all health expenses, and not personal use.

If you withdraw HSA money for something that is not a may have access to medical expense, you pay income tax on that withdrawal plus a 20 percent penalty. The penalty drops to 0 percent after age 65, but the income tax still applies. So the tax-free part is real, but it has strict boundaries.

Key Takeaways

  • Contributions to an HSA reduce your taxable income, money inside grows tax-free, and withdrawals for may have access to medical expenses are never taxed.
  • may have access to medical expenses include doctor visits, prescriptions, dental work, and vision care, but not insurance premiums (with narrow exceptions) or over-the-counter items without a prescription.
  • Withdrawals for non-medical expenses are taxed as income plus a 20 percent penalty before age 65, making HSAs expensive to raid for other purposes.
  • You can only contribute to an HSA if you are enrolled in a high-deductible health plan (HDHP), and contribution limits change each year based on whether you have individual or family coverage.

How the three layers of tax savings work

Contributions are tax-deductible. When you put money into an HSA, that amount comes off your taxable income for the year. If you earn $50,000 and contribute $4,000 to an HSA, you report $46,000 as taxable income. This works whether you contribute through payroll deduction (most common) or deposit money yourself.

Growth inside the account is tax-free. If your HSA balance earns interest or investment returns, you do not pay tax on those gains. Some HSAs let you invest the balance in mutual funds or stocks; others hold it in a savings account. Either way, the earnings are not taxed annually the way they would be in a regular brokerage account.

Withdrawals for medical expenses are tax-free. When you spend HSA money on a may have access to medical expense, that withdrawal is not taxed. You do not report it as income, and you do not owe tax on it. This is the core benefit: you are using pre-tax dollars to pay for medical care.

What counts as a may have access to medical expense

The IRS publishes a list of may have access to medical expenses, and it is longer than most people expect. It includes doctor visits, hospital stays, surgery, prescription drugs, dental work, vision care (including glasses and contact lenses), hearing aids, mental health treatment, and physical therapy. It also covers some items people do not think of as medical: crutches, bandages, first-aid kits, and even certain home modifications if they are medically necessary (like a wheelchair ramp).

Over-the-counter drugs and medicines are may have access to only if you have a prescription from a doctor. Aspirin, cold medicine, or allergy pills bought without a prescription do not count. Health insurance premiums are generally not may have access to expenses, with two exceptions: you can use HSA money to pay for COBRA continuation coverage or for premiums while you are receiving unemployment benefits.

Cosmetic procedures, gym memberships, vitamins (unless prescribed), and general wellness items are not may have access to. The line is whether the expense treats or prevents a specific medical condition, not whether it relates to health in a broad sense.

What happens if you withdraw money for non-medical reasons

If you take money out of an HSA and spend it on something that is not a may have access to medical expense, you owe income tax on that withdrawal. You also owe a 20 percent penalty on top of the income tax. So if you withdraw $1,000 for a non-medical expense and you are in the 22 percent tax bracket, you pay $220 in income tax plus $200 in penalty—$420 total—and keep $580.

After age 65, the 20 percent penalty goes away, but the income tax remains. This makes HSAs less punitive as a retirement account once you reach 65, though they are still not as flexible as a regular savings account. You can withdraw money tax-free for any reason after 65; you just pay income tax on non-medical withdrawals, the same as you would with a traditional IRA.

The IRS does not require you to spend HSA money in the same year you earn it. You can let the balance grow for years and withdraw it later for past or current medical expenses. Keep receipts and records of what you spent the money on, because the IRS can ask for proof that withdrawals were for may have access to expenses.

HSA contribution limits and who can contribute

You can only contribute to an HSA if you are enrolled in a high-deductible health plan (HDHP). The IRS defines an HDHP by its deductible amount and out-of-pocket maximum, and these numbers change each year. For 2024, an individual HDHP must have a deductible of at least $1,600 and an out-of-pocket maximum of no more than $8,050. For family coverage, the deductible must be at least $3,200 and the maximum out-of-pocket $16,100. These thresholds shift annually.

Contribution limits also change yearly. For 2024, you can contribute up to $4,150 for individual coverage or $8,300 for family coverage. If you are 55 or older, you can add an extra $1,000 per year (called a catch-up contribution). Your employer may contribute on your behalf, and that counts toward your limit. You cannot contribute more than the annual limit, even if you have multiple jobs or multiple HSAs.

You cannot have other health coverage at the same time as an HDHP—with narrow exceptions for specific plans like dental-only or vision-only coverage. If you lose HDHP coverage mid-year, you can still contribute to your HSA for that year, but you cannot make new contributions once coverage ends.

HSAs as retirement savings and the long-term tax benefit

Because HSA money is never taxed if used for medical expenses, and because medical expenses continue throughout retirement, HSAs function as a powerful retirement savings tool. You can let the balance grow for decades, invest it, and withdraw it tax-free to pay for medical costs in retirement—which are often substantial.

If you do not spend all your HSA money by retirement, you can keep it in the account indefinitely. There is no requirement to withdraw it by a certain age, unlike traditional IRAs. After age 65, you can withdraw money for any reason without the 20 percent penalty, though non-medical withdrawals are taxed as income. This makes an HSA more flexible than a traditional IRA in retirement, because you have the option to use it tax-free for medical expenses or as a taxable retirement account for anything else.

The tax-free growth over time is substantial. If you contribute the maximum each year for 30 years and invest conservatively, the tax savings from never paying tax on the growth can amount to tens of thousands of dollars compared to a regular savings account.

Frequently Asked Questions

Can I use HSA money to pay my health insurance premium?

Not usually. Regular health insurance premiums are not may have access to medical expenses. The exceptions are COBRA continuation coverage (if you lose employer coverage) and premiums you pay while receiving unemployment benefits. Medicare premiums after age 65 are also may have access to.

What if I do not spend all my HSA money in a year?

HSA money rolls over year to year with no limit. You do not have to spend it or lose it. This is different from a flexible spending account (FSA), which has a use-it-or-lose-it rule. You can let an HSA balance grow indefinitely and withdraw it whenever you need it for may have access to medical expenses.

Do I have to report HSA withdrawals to the IRS?

If you withdraw money only for may have access to medical expenses, you do not report the withdrawal on your tax return. If you withdraw money for non-medical reasons, you report it as income and pay the penalty. Keep receipts for all medical expenses in case the IRS asks for proof.

Can I contribute to an HSA if I am on Medicare?

No. Once you enroll in Medicare, you are no longer may be able to access to contribute to an HSA, even if you also have an HDHP. You can still withdraw money from an existing HSA for may have access to medical expenses, and after 65 you can withdraw for any reason without the penalty.

What is the difference between an HSA and an FSA in terms of taxes?

Both let you use pre-tax dollars for medical expenses. The main difference: HSA money rolls over year to year, FSA money does not (with a small carryover exception). HSAs also have no age limit and work in retirement, while FSAs end when you leave your job or change plans.