Skip to main content

How a Health Savings Account Works and What You Can Use It For

A Health Savings Account lets you set aside pre-tax money to pay for medical expenses now or in retirement

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

The account belongs to you, not your employer. If you change jobs or leave your employer, the HSA stays yours. You control what you invest it in and when you spend it. The only requirement is that you stay enrolled in a high-deductible health plan (HDHP) to contribute, though you can withdraw from an existing HSA even after you switch to a different type of insurance.

Key Takeaways

  • You can only open and contribute to an HSA if you are enrolled in a high-deductible health plan, which has a lower premium but higher deductible than standard plans.
  • Contributions reduce your taxable income, the money grows without tax, and withdrawals for medical expenses are tax-free — a triple tax advantage no other account offers.
  • You can use HSA money for doctor visits, prescriptions, dental work, vision care, mental health treatment, and many other medical costs, but not for insurance premiums or over-the-counter drugs without a prescription.
  • Money in an HSA rolls over year to year and can be invested in mutual funds or left in cash, making it useful as a retirement savings tool separate from Social Security or a 401(k).
  • If you withdraw HSA money for non-medical expenses before age 65, you pay income tax plus a 20 percent penalty; after 65, you pay only income tax.

Who can open an HSA and when

You must be enrolled in a high-deductible health plan to open an HSA. For 2024, the IRS defines an HDHP as a plan with a deductible of at least $1,600 for individual coverage or $3,200 for family coverage. Your employer may offer an HDHP as one of its health plan choices, or you can buy one on the individual market through your state's health insurance marketplace or directly from an insurer.

You cannot be covered by any other health insurance at the same time — not a spouse's plan, not Medicare, not Medicaid, and not TRICARE. You also cannot claim yourself as a dependent on someone else's tax return. If any of these apply to you, you are ineligible to contribute that year, though you can still withdraw from an existing HSA for medical expenses.

You can open an HSA through your employer's plan administrator, through a bank or financial institution, or through a third-party HSA custodian. Some employers automatically enroll employees in an HSA when they choose an HDHP; others require you to open one yourself. If your employer does not offer an HSA, you can open an individual HSA as long as you are enrolled in an HDHP you bought on your own.

Contribution limits and how the money grows

The IRS sets annual contribution limits. For 2024, you can contribute up to $4,150 if you have individual coverage or $8,300 if you have family coverage. These limits change each year. If you are age 55 or older, you can contribute an additional $1,000 per year as a catch-up contribution.

Money in an HSA can sit in a cash account earning minimal interest, or you can invest it in mutual funds, stocks, or bonds through the HSA custodian. The growth is tax-free regardless of how you invest it. Many people treat an HSA like a retirement account and invest aggressively early on, then shift to cash as they get closer to retirement or expect to need the money soon.

Your employer may contribute to your HSA as part of your benefits package, and that money counts toward the annual limit. If both you and your employer contribute, the total cannot exceed the limit. Any contributions you make are deductible on your tax return, even if you take the standard deduction.

What you can and cannot pay for with HSA money

HSA funds can pay for a broad range of medical expenses: doctor visits, hospital stays, surgery, prescription drugs, dental work, vision care, mental health counseling, physical therapy, and medical equipment like wheelchairs or hearing aids. You can also use HSA money for over-the-counter medications, but only if you have a prescription from a doctor — buying them without a prescription does not count.

You cannot use HSA money for health insurance premiums, with three exceptions: COBRA continuation coverage, Medicare premiums (Part A, B, and D), and long-term care insurance premiums. You also cannot use it for cosmetic procedures, gym memberships, or general wellness products that are not prescribed by a doctor.

Keep receipts and documentation for every HSA withdrawal. The IRS does not require you to submit them when you withdraw, but you must be able to prove the expense was medical if you are audited. If you withdraw money for a non-medical expense, you owe income tax on that amount plus a 20 percent penalty — unless you are age 65 or older, in which case you owe only income tax.

HSA versus FSA: when each makes sense

Both HSAs and FSAs let you set aside pre-tax money for medical expenses, but they work differently. An FSA is "use it or lose it" — money you do not spend by the end of the year is forfeited, though most plans allow a small carryover or grace period. An HSA rolls over indefinitely, so unused money stays in your account.

An FSA does not require you to be in a high-deductible plan, so it is available to more people. But an HSA offers a tax advantage FSAs do not: the money can grow tax-free and be withdrawn tax-free in retirement for any reason once you turn 65. An HSA is also portable — it stays with you if you change jobs. An FSA is tied to your employer and ends when you leave.

If you have predictable medical expenses each year and want to use up your savings, an FSA may be simpler. If you want to build a long-term medical savings cushion and may not spend all the money each year, an HSA is more flexible. Some employers offer both, and you can use an FSA for dependent care or commuting costs while using an HSA for medical expenses.

Using an HSA in retirement

An HSA becomes a powerful retirement tool after age 65. At that point, you can withdraw money for any reason without penalty — you pay income tax on non-medical withdrawals, but not the 20 percent penalty. This makes an HSA function like a traditional IRA once you reach retirement age, except that withdrawals for medical expenses remain tax-free indefinitely.

Many people use an HSA as a supplemental retirement account, investing aggressively while working and letting the balance grow. In retirement, they can use HSA money to cover Medicare premiums, out-of-pocket medical costs, and long-term care expenses without triggering the penalty. If they do not need the money for medical costs, they can withdraw it for living expenses and pay only income tax.

You do not have to take required minimum distributions from an HSA the way you do from a traditional IRA or 401(k). The money can stay invested and grow for as long as you live, or you can pass it to your heirs. If a non-spouse inherits an HSA, they owe income tax on the full balance, but the account itself is not subject to estate tax.

How to open and manage your HSA

If your employer offers an HDHP with an HSA, enrollment usually happens during open enrollment or when you first become may be able to access. Your employer will direct you to the HSA custodian or administrator, where you set up the account and choose how to invest the money. You will receive a debit card or checkbook to withdraw funds, or you can reimburse yourself from your personal account and keep the receipts.

If you are buying an HDHP on the individual market, you can open an HSA through a bank, credit union, or independent HSA custodian. Popular custodians include Fidelity, Lively, and HealthEquity, though many others exist. Compare their fees, investment options, and user interface before choosing. Some charge monthly maintenance fees; others charge per transaction or investment management fees.

Track your contributions and withdrawals carefully. Your HSA custodian will send you a Form 1099-SA each year showing withdrawals, and you will report contributions on your tax return. Keep medical receipts for at least three years in case of an audit. If you withdraw money and later realize it was not a medical expense, you can put it back within a certain timeframe to avoid penalties.

Frequently Asked Questions

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

Yes. HSA money 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 on the same insurance plan.

What happens to my HSA if I lose my high-deductible health plan?

You can no longer contribute to the HSA, but the money already in it stays yours. You can continue to withdraw it for medical expenses tax-free. If you switch to a different HDHP later, you can resume contributing.

Can I invest my HSA money, or does it have to stay in cash?

Most HSA custodians let you invest in mutual funds, stocks, or bonds. Some require a minimum balance in cash before you can invest the rest. Check with your custodian about their investment options and any fees.

Do I have to spend my HSA money on medical expenses in the same year I contribute it?

No. Unlike an FSA, an HSA has no deadline. You can contribute in 2024 and use the money in 2034 if you want. This makes it useful as a long-term savings tool.

What if I withdraw HSA money and then find out the expense was not covered?

If you discover the withdrawal was not a medical expense, you can deposit the money back into your HSA within a reasonable time to avoid penalties. Keep documentation of the redeposit. If you do not replace it, you will owe income tax and a 20 percent penalty on that amount.