An HSA lets you set aside pre-tax money specifically to pay for medical costs now or decades later

A Health Savings Account (HSA) is a tax-advantaged savings account tied to a high-deductible health plan. Money you put into it reduces your taxable income, grows tax-free, and comes out tax-free when you use it for may have access to medical expenses. Unlike a flexible spending account (FSA), which forces you to spend the money each year or lose it, an HSA rolls over indefinitely—you can let it sit and grow for retirement.

The core purpose is simple: the government wants to shift some of the cost of healthcare onto individuals, and it uses tax breaks to make that shift less painful. You contribute money before taxes are taken out of your paycheck, your employer may add money too, and you withdraw it to pay deductibles, copays, prescriptions, dental work, vision care, and dozens of other medical bills. If you don't spend it, it stays yours and keeps growing.

Key Takeaways

  • Money you contribute to an HSA is deducted from your gross income, lowering your federal tax bill for that year.
  • You can withdraw HSA funds tax-free to pay for may have access to medical expenses including deductibles, copays, prescriptions, dental, and vision care.
  • Unlike FSAs, HSA money rolls over year to year and never expires, so you can save it for future medical costs or retirement.
  • After age 65, you can withdraw HSA money for any reason without penalty, though non-medical withdrawals are taxed as regular income.
  • To open an HSA, you must be enrolled in a high-deductible health plan and cannot be claimed as a dependent on someone else's taxes.

How the tax savings work

When you contribute to an HSA through payroll deduction, that money never touches your gross income. If you earn $50,000 and contribute $4,000 to an HSA, your employer reports $46,000 as your taxable income. You save federal income tax, Social Security tax, and Medicare tax on that $4,000—roughly 25 to 30 percent depending on your tax bracket and state.

If you contribute outside of payroll (for example, you open an HSA on your own and mail in a check), you deduct the contribution on your tax return when you file. Either way, the money reduces what you owe. The account itself earns interest or investment returns tax-free, so if you invest your HSA balance in a money market fund or mutual funds, you pay no tax on the gains. And when you withdraw money to pay a medical bill, that withdrawal is also tax-free.

This three-layer tax advantage—deduction going in, tax-free growth, tax-free withdrawal—is why HSAs are sometimes called the most tax-efficient savings account available. A regular savings account gives you none of these breaks.

What counts as a may have access to medical expense

The IRS maintains a long list of expenses you can pay with HSA money tax-free. The obvious ones are deductibles, copays, and coinsurance on your health plan. Prescriptions and over-the-counter medications (with a prescription from your doctor) may have access to. Dental work, vision care, hearing aids, and mental health treatment all count.

Less obvious expenses also may have access to: physical therapy, chiropractic care, acupuncture, weight-loss programs prescribed by a doctor, fertility treatment, and even some home modifications for disability access. You can pay for your spouse's or dependent's medical expenses using your HSA, even if they are not on your health plan. Cosmetic surgery does not count unless it is reconstructive after an injury or illness.

The key rule: the expense must be for diagnosis, cure, mitigation, treatment, or prevention of disease, or for treatment of a bodily condition. If you are unsure whether something qualifies, the IRS publishes a full list, and your HSA provider can usually answer yes or no on specific items.

Why an HSA is different from an FSA

Both HSAs and FSAs let you pay medical bills with pre-tax money, but they work very differently. An FSA is "use it or lose it"—you choose an amount at the start of the year, and any money you do not spend by the end of the year (plus a small carryover in some plans) disappears. An HSA has no expiration. Money you do not spend this year stays in your account and grows.

An FSA is not portable: if you leave your job, the account closes and you lose the balance. An HSA stays with you no matter where you work or whether you work at all. You own it outright. An FSA is usually offered only through an employer, while you can open an HSA on your own through a bank or investment firm. And an FSA has a lower annual contribution limit (usually $3,200 to $3,300 for individual coverage) compared to an HSA, which allows higher contributions.

The trade-off: to open an HSA, you must be enrolled in a high-deductible health plan, which means you accept a higher deductible in exchange for lower premiums. An FSA can be paired with any health plan. If your employer offers both, you must choose one or the other, not both.

How HSA money grows over time

An HSA is not just a spending account—it is a savings and investment account. Once you contribute money, you can leave it in a cash balance earning interest, or you can invest it in mutual funds, stocks, or bonds through your HSA provider. The growth is tax-free, which means compound interest works in your favor without any tax drag.

Many people use an HSA as a retirement account. They pay medical bills out of pocket during their working years and let the HSA balance grow untouched. By retirement, they have built up a large balance that can cover decades of medical costs. After age 65, you can withdraw HSA money for any reason without the 20 percent penalty that applies to non-medical withdrawals before 65—though non-medical withdrawals are taxed as regular income, just like a traditional IRA.

This makes an HSA more flexible than it first appears. If you have the cash flow to pay medical bills yourself, an HSA becomes a stealth retirement savings account with better tax treatment than a 401(k) or IRA in some situations.

Who can open an HSA and what the requirements are

To open an HSA, you must meet three conditions: you must be enrolled in a high-deductible health plan, you cannot be covered by any other health plan (with rare exceptions for accident or dental-only plans), and you cannot be claimed as a dependent on someone else's tax return.

The high-deductible health plan requirement is the main gate. For 2024, the IRS defines a high-deductible plan as one with a deductible of at least $1,600 for individual coverage or $3,200 for family coverage. Your plan's out-of-pocket maximum cannot exceed $8,050 for individual or $16,100 for family. Most employer plans and marketplace plans that advertise themselves as HSA-compatible meet these thresholds.

You can open an HSA through your employer if they offer one, or you can open one independently through a bank, credit union, or investment firm. You do not need your employer's permission to open an outside HSA as long as you are enrolled in a may have access to high-deductible plan. Annual contribution limits are set by the IRS and vary by year and coverage type—for 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage.

What happens to an HSA if you change jobs or retire

Your HSA stays yours. If you leave your job, the account does not close and the money does not disappear. You keep the balance, and you can continue to use it to pay medical expenses. You can also continue to contribute to it if you remain enrolled in a high-deductible health plan through a spouse's employer, the marketplace, or a self-employed plan.

If you retire before age 65 and are no longer on a high-deductible plan, you can no longer contribute new money to the HSA, but you can still withdraw existing money tax-free for medical expenses. Once you turn 65 and enroll in Medicare, you become ineligible to contribute further, but again, you can withdraw for medical costs tax-free. After 65, non-medical withdrawals are taxed but not penalized, making the HSA function like a traditional IRA at that point.

Frequently Asked Questions

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

Not usually. HSA money cannot pay your regular health plan premium. However, you can use it to pay premiums for COBRA continuation coverage, long-term care insurance, or health insurance while you are unemployed. You can also use it to pay Medicare premiums after age 65.

What if I withdraw HSA money for something that is not a medical expense?

Before age 65, non-medical withdrawals are taxed as regular income plus a 20 percent penalty. After age 65, the penalty goes away but the withdrawal is still taxed as income. Keep receipts for all medical expenses you pay with HSA money in case the IRS asks.

Can my employer contribute to my HSA?

Yes. Many employers contribute money to employee HSAs as part of their benefits package. Employer contributions count toward the annual limit but do not reduce your own contribution room dollar-for-dollar—you can still contribute up to the limit even if your employer adds money.

Do I have to spend my HSA money every year?

No. Unlike an FSA, HSA money rolls over indefinitely. You can accumulate a balance over decades and use it whenever you need it, or save it for retirement medical expenses.

What if I no longer have a high-deductible health plan?

You can no longer contribute new money, but you keep the existing balance and can withdraw it tax-free for medical expenses. If you switch back to a high-deductible plan later, you can resume contributions.