What an HSA account is

A Health Savings Account (HSA) is a bank account you own that holds money specifically for medical expenses. You put pre-tax dollars into it, the money grows tax-free, and you withdraw it tax-free when you pay for medical care. Unlike a flexible spending account (FSA), which you lose at the end of the year if you don't spend it, an HSA rolls over year to year and belongs to you permanently—even if you change jobs or retire.

The catch: you can only open an HSA if you're enrolled in a high-deductible health plan (HDHP). That's a health insurance plan with a higher deductible than standard plans—meaning you pay more out of pocket before insurance kicks in. The IRS sets the minimum deductible each year; for 2024, it's $1,600 for individual coverage and $3,200 for family coverage. In exchange for that higher deductible, your monthly premiums are usually lower, and you get access to the HSA.

The money in your HSA is yours to keep and invest. You can let it sit in a savings account, invest it in stocks or mutual funds through some HSA providers, or spend it immediately on medical bills. There's no "use it or lose it" rule, so you can build a balance over years and use it later in life.

Key Takeaways

  • An HSA is a tax-advantaged savings account for medical expenses that you can only open if you have a high-deductible health plan.
  • Money you put in is not taxed, grows tax-free, and comes out tax-free when spent on medical care—a triple tax advantage no other account offers.
  • Unlike an FSA, HSA money rolls over year to year and stays yours even if you change jobs, retire, or switch insurance plans.
  • You can invest HSA funds in stocks or mutual funds through some providers, turning it into a long-term retirement savings tool for medical costs.
  • The IRS sets annual contribution limits; for 2024, you can put in up to $4,150 for individual coverage or $8,300 for family coverage.

Who can open an HSA and when

You must meet three conditions to open an HSA. First, you must be enrolled in a high-deductible health plan—either through your employer, the individual market, or Medicare Advantage (though Medicare Advantage HSA rules are stricter). Second, you cannot be covered by any other health plan that is not an HDHP; if your spouse has a standard plan and covers you, you're disqualified. Third, you cannot be claimed as a dependent on someone else's tax return, and you cannot be enrolled in Medicare Part A or Part B.

You can open an HSA at any time during the year, but contribution limits are tied to the calendar year. If you enroll in an HDHP in July, you can contribute a prorated amount for the remaining months of that year. If you enroll in January, you can contribute the full annual limit. The IRS allows a special enrollment period: if you open an HDHP between November 1 and December 31, you can contribute the full annual limit for that year, even though you're only covered for part of it.

Your employer may offer an HSA as part of their benefits package, or you can open one independently through a bank, credit union, or investment firm. If your employer offers one, they may contribute money to it on your behalf—that contribution counts toward your annual limit but doesn't reduce the amount you can add yourself.

How much you can contribute each year

The IRS sets contribution limits annually. For 2024, you can contribute up to $4,150 if you have individual coverage or $8,300 if you have family coverage. If you're 55 or older, you can add an extra $1,000 per year—called a catch-up contribution—bringing your limit to $5,150 or $9,300 respectively. These limits change each year, and the IRS announces the new amounts in the fall for the following year.

Your contributions can come from your paycheck (if your employer offers payroll deduction), from your personal bank account, or from your employer as a direct deposit. If you contribute through payroll, the money is deducted before income tax is calculated, so you save on federal, state, and payroll taxes. If you contribute from your personal account after taxes, you can deduct the contribution on your tax return.

If you contribute more than the annual limit, the excess is taxed and you may owe a penalty. If you're no longer may be able to access to have an HSA—for example, you switch to a standard health plan—you can no longer contribute, but the money already in the account stays yours and can still be used for medical expenses tax-free.

What you can spend HSA money on

HSA funds can pay for a wide range of medical expenses: doctor visits, prescriptions, dental work, vision care, mental health treatment, physical therapy, and hospital stays. They also cover medical equipment like crutches, wheelchairs, and hearing aids. You can use HSA money to pay your health insurance premiums if you're receiving unemployment benefits, enrolled in Medicare, or on COBRA continuation coverage.

Some expenses are not covered. Over-the-counter medications like cold medicine or pain relievers are not HSA-may be able to access unless you have a prescription. Cosmetic procedures, gym memberships, and vitamins are not covered. Long-term care insurance premiums have limits. If you're unsure whether an expense qualifies, the IRS publishes a full list, and your HSA provider can also tell you.

You can withdraw money from your HSA at any time for any reason, but if you spend it on something that's not a medical expense, you'll owe income tax on that withdrawal plus a 20% penalty—unless you're 65 or older, in which case the penalty goes away (though you still owe income tax). This makes an HSA different from an FSA: an FSA is strictly use-it-or-lose-it for medical expenses, while an HSA can become a general savings account later in life.

How HSA money is invested and grows

When you open an HSA, the money can sit in a savings account earning minimal interest, or you can invest it. Some HSA providers automatically invest contributions above a certain threshold—often $1,000 or $2,000—into a default investment fund. Others let you choose from a menu of mutual funds or index funds. A few allow you to invest in stocks or bonds directly.

The investment options depend on your HSA provider. If your employer offers an HSA through a large financial institution like Fidelity or Vanguard, you'll likely have robust investment choices. If you open an HSA independently through a smaller bank, your options may be limited to savings accounts or a few mutual funds. Before opening an HSA, check what investment options are available—this matters if you plan to keep money in the account for years.

Any gains from investments inside the HSA are tax-free, as long as you eventually spend the money on medical expenses. This makes an HSA a powerful tool for long-term medical savings. Some people use it as a retirement account: they let the balance grow for decades, pay medical expenses out of pocket, and then tap the HSA in retirement when medical costs are typically higher.

HSA vs. FSA: the main differences

Both accounts hold pre-tax money for medical expenses, but they work very differently. An FSA is a "use it or lose it" account: money you don't spend by the end of the year is forfeited to your employer. An HSA rolls over year to year and is yours to keep. An FSA is only available through an employer; an HSA can be opened independently. An FSA has a lower annual limit—typically $3,300 for 2024—while an HSA's limit is higher. An FSA does not require a high-deductible health plan; an HSA does.

An FSA is better if you have predictable medical expenses each year and want to use all the money. An HSA is better if you want to save for future medical costs, invest the money, or keep a balance as a safety net. Some employers offer both: you can use an FSA for near-term expenses and an HSA for long-term savings. If your employer offers an HSA with a low deductible plan, the HSA is usually the better choice because you get the tax advantage without paying much more out of pocket.

What happens to your HSA if you change jobs or retire

Your HSA is portable: it stays with you no matter what happens to your job or insurance. If you leave your employer, the HSA account remains yours. You can keep it open, continue to invest it, and withdraw money for medical expenses whenever you need to. You do not have to close it or transfer it unless you want to.

If you switch to a non-HDHP plan, you can no longer make new contributions to the HSA, but the existing balance stays in the account and can still be used for medical expenses tax-free. If you retire and enroll in Medicare, you can no longer contribute to an HSA, but again, the balance remains yours. At age 65, if you withdraw HSA money for non-medical expenses, you only owe income tax—the 20% penalty disappears, making the HSA function like a traditional IRA at that point.

If you die, your HSA passes to your beneficiary. If your spouse is the beneficiary, they can treat it as their own HSA. If anyone else is the beneficiary, the account is taxed as income to them, though they can still use it for your final medical expenses without penalty.

Frequently Asked Questions

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

Yes. HSA money can pay for medical expenses of you, your spouse, and your dependents—even if they're not covered by your HDHP. You don't need to be the one receiving the care; you just need to own the account and have the legal right to claim them as dependents on your tax return.

What if I don't spend all my HSA money in a year?

It rolls over to the next year. Unlike an FSA, there's no deadline to spend it. You can let it accumulate for decades and use it whenever you have medical expenses. Some people build a large balance and use it in retirement.

Can I withdraw HSA money before I turn 65?

Yes, anytime. But if you spend it on something that's not a medical expense, you'll owe income tax plus a 20% penalty. If you spend it on a may have access to medical expense, there's no tax or penalty, regardless of your age.

Do I have to use my HSA money in the same year I contribute it?

No. You can contribute in 2024 and spend the money in 2030 if you want. There's no time limit on when you use the money, as long as the expense occurred after you opened the account.

What if my employer contributes to my HSA?

Their contribution counts toward your annual limit. If your employer puts in $2,000 and the limit is $4,150, you can only add $2,150 yourself. However, employer contributions are not taxed to you, so they're a form of tax-free compensation.