HSA money is tax-free when you use it for medical expenses

A Health Savings Account (HSA) lets you set aside money for medical costs without paying federal income tax on it. The money you put in is not taxed, the money that grows inside the account is not taxed, and the money you take out is not taxed — but only if you spend it on may have access to medical expenses. If you withdraw HSA funds for anything else, you owe income tax on that amount plus a 20 percent penalty.

The tax advantage only works if three conditions are met: you must be enrolled in a high-deductible health plan (HDHP), you cannot be claimed as a dependent on someone else's tax return, and you cannot be covered by any other health insurance except specific plans like dental or vision coverage. If any of those conditions change, you lose the right to contribute new money to the HSA, though money already inside stays yours.

Key Takeaways

  • HSA contributions reduce your taxable income, and withdrawals for medical expenses are not taxed at all.
  • You must be enrolled in a high-deductible health plan to open or contribute to an HSA.
  • Withdrawals for non-medical expenses are taxed as income plus a 20 percent penalty, except after age 65.
  • HSA money rolls over year to year and never expires, unlike flexible spending accounts.
  • You can invest HSA funds in stocks, bonds, or mutual funds, and investment gains are not taxed.

How contributions lower your tax bill

When you contribute to an HSA, that money comes off the top of your taxable income. If you earn $50,000 and put $3,000 into an HSA, you report only $47,000 as income to the IRS. You save tax at whatever rate you pay — 12 percent, 22 percent, or higher — on that full $3,000.

Your employer can also contribute to your HSA, and that money is not counted as taxable wages. If your employer puts in $1,500 and you put in $1,500, you both get the tax benefit. The 2024 contribution limits are $4,150 for individual coverage and $8,300 for family coverage. Those limits change each year, and you can contribute until the tax important date the following April.

Withdrawals for medical expenses carry no tax

Once money is in the HSA, you can withdraw it to pay for any service or product the IRS classifies as a medical expense. That includes doctor visits, prescription drugs, dental work, vision care, mental health treatment, and medical equipment like blood pressure monitors or crutches. It also covers health insurance premiums if you are unemployed, Medicare premiums, and long-term care insurance premiums.

You do not need to submit receipts to your HSA provider when you withdraw money, but you should keep them for your own records. The IRS can ask you to prove that withdrawals were for may have access to expenses, and if you cannot, you owe tax plus the 20 percent penalty on those amounts. Many people keep receipts in a folder or photograph them with their phone.

Non-medical withdrawals trigger taxes and a penalty

If you withdraw HSA money and spend it on something other than a may have access to medical expense — groceries, rent, a vacation — you owe federal income tax on that amount at your regular tax rate, 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 tax plus $200 in penalty, for a total of $420.

The 20 percent penalty stops explore after you turn 65. At that point, you can withdraw money for any reason without the penalty, though you still owe income tax on non-medical withdrawals. This makes an HSA useful as a retirement savings tool if you do not spend all the medical money while you are working.

Investment growth inside an HSA is not taxed

Many HSA providers let you invest the balance in mutual funds, stocks, or bonds instead of leaving it in cash. Any gains from those investments — dividends, capital appreciation — are not taxed while the money stays in the account. If you invest $3,000 and it grows to $5,000, that $2,000 gain is tax-free as long as you eventually use the $5,000 for medical expenses.

This makes HSAs powerful for long-term savers who do not need the money right away. Someone who contributes $3,000 per year for 30 years and invests it could accumulate a large balance, with all the growth sheltered from tax. When you withdraw for medical expenses, you are pulling out both your contributions and the tax-free gains.

HSA money rolls over and never expires

Unlike a flexible spending account (FSA), which forces you to spend the money or lose it each year, HSA funds roll over indefinitely. If you contribute $4,000 and spend only $2,000 on medical expenses, the remaining $2,000 stays in your account and earns interest or investment returns. You can let it sit for decades if you want.

This carryover feature is one reason HSAs are more valuable than FSAs for most people. You can build a reserve for future medical costs without pressure to spend money before the year ends. The account stays yours even if you change jobs or retire, as long as you keep the account open.

Reporting HSA activity on your tax return

If you contribute to an HSA through your employer's payroll, the contribution is already excluded from your W-2 wages, and you do not need to report it again. If you contribute on your own, you deduct it on your tax return using Form 1040 and Schedule 1, which reduces your taxable income.

Your HSA provider sends you a Form 5498-SA each year showing how much you contributed. Keep that form with your tax records. You do not report withdrawals for medical expenses on your return — they are straightforward not taxable. If you make non-medical withdrawals, your HSA provider reports them on Form 1099-SA, and you report the taxable portion on your return.

Frequently Asked Questions

Can I use HSA money to pay for my spouse's medical expenses?

Yes. HSA funds can pay for medical expenses of you, your spouse, and any dependent you claim on your tax return, regardless of whether they are covered by your health plan. You do not need to be married or have them on your plan — just be able to claim them as a dependent.

What happens to my HSA if I leave my job?

The HSA stays yours. You own it, not your employer. You can keep it open, continue to invest it, and withdraw from it for medical expenses. You can no longer contribute to it unless you enroll in another HDHP, but the money inside is yours for life.

Can I contribute to an HSA and an FSA at the same time?

No. If you are enrolled in an FSA, you cannot contribute to an HSA that same year. You can have both accounts at different times, but not simultaneously. Some employers offer a limited-purpose FSA that covers only dental and vision, which does allow you to also have an HSA.

Do I have to spend HSA money on medical expenses, or can I save it?

You can save it indefinitely. There is no requirement to spend HSA money in any particular year. Many people use it as a retirement savings tool, contributing the maximum each year and investing it, then withdrawing for medical expenses later in life.

What counts as a may have access to medical expense?

may have access to expenses include doctor visits, hospital care, prescription drugs, dental work, vision care, mental health treatment, medical equipment, and certain insurance premiums. Over-the-counter medications now count only if you have a prescription. The IRS publishes a full list on its website, and your HSA provider can usually tell you whether a specific expense qualifies.