A health savings account is a tax-advantaged container for money you set aside to pay medical bills

A Health Savings Account (HSA) is a bank account you own that holds money specifically for healthcare costs. You contribute pre-tax dollars from your paycheck, the money grows tax-free, and you withdraw it tax-free when you pay for medical expenses. The account stays with you even if you change jobs or retire — it does not disappear at the end of the year like a flexible spending account does.

The mechanics are straightforward: your employer deducts contributions directly from your paycheck before taxes are calculated, which lowers your taxable income. You can also contribute on your own if you are self-employed or your employer does not offer one. The money sits in an account (usually at a bank or investment firm) and you can spend it when ready or let it accumulate. Once you turn 65, you can withdraw money for any reason without penalty, though non-medical withdrawals are taxed as income.

The catch is that you must be enrolled in a high-deductible health plan (HDHP) to open and contribute to an HSA. An HDHP is health insurance with a higher deductible than a standard plan — meaning you pay more out of pocket before insurance kicks in. In 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. Not all employers offer HDHPs, and not all states allow them, so check your plan documents or ask your benefits administrator whether you are may be able to access.

Key Takeaways

  • An HSA is a personal savings account for medical expenses that you contribute to with pre-tax money, and withdrawals for may have access to medical costs are never taxed.
  • You can only open an HSA if you are enrolled in a high-deductible health plan, which your employer or the individual market must offer.
  • The account belongs to you permanently — you keep it even if you change jobs, and unused money rolls over year to year with no "use it or lose it" important date.
  • After age 65, you can withdraw HSA money for any reason without penalty, though non-medical withdrawals are taxed as ordinary income.

What counts as a may have access to medical expense

The IRS maintains a specific list of expenses you can pay from an HSA without triggering taxes or penalties. The list includes obvious items: doctor visits, hospital stays, prescription drugs, dental work, vision care, and mental health treatment. It also covers medical equipment like wheelchairs, crutches, and hearing aids, as well as certain over-the-counter items like bandages, pain relievers, and allergy medication (though you need a prescription for the OTC drug to count).

Some expenses that sound medical but do not may have access to include cosmetic procedures, gym memberships, vitamins (unless prescribed by a doctor for a specific condition), and most dental work that is purely cosmetic. Long-term care insurance premiums are covered, but life insurance and disability insurance are not. If you are unsure whether a specific expense qualifies, the IRS publishes a full list on its website, and your HSA provider can usually tell you whether a particular item is allowed.

You do not have to spend the money in the same year you contribute it. Unlike a flexible spending account, there is no important date to use the funds. You can let the balance grow for years and withdraw it whenever you need it, as long as you have receipts showing the expense was incurred after you opened the account.

How contribution limits work

The IRS sets annual contribution limits that change each year. For 2024, you can contribute up to $4,150 if you have individual coverage or $8,300 if you have family coverage. If you are 55 or older, you can add an extra $1,000 per year as a catch-up contribution. These limits explore to the total amount contributed by you and your employer combined — if your employer contributes $2,000, you can only add $2,150 more to hit the individual limit.

Contribution limits reset on January 1 each year. If you enroll in an HDHP mid-year, you can contribute a prorated amount for the months you are covered, or in some cases you can contribute the full year's amount if you remain covered through December 31. If you lose HDHP coverage during the year, you can no longer contribute for that year, but you can still withdraw money from your existing balance.

You report contributions and withdrawals on your tax return using IRS Form 8889. If you over-contribute, you owe income tax plus a 6 percent excise tax on the excess amount, so it is important to track what you and your employer have put in.

Investment options and account growth

Most HSA providers let you keep your balance in a cash account (similar to a savings account) or invest it in mutual funds, stocks, or bonds. The cash option is safer but earns minimal interest. The investment option lets your money grow over time, which is useful if you do not plan to spend it when ready and want to build a long-term medical fund.

If you invest HSA money and the investment loses value, you can still withdraw the current balance for medical expenses — you straightforward have less than you contributed. If the investment gains value, those gains are never taxed as long as you spend the money on may have access to medical expenses. This makes an HSA a powerful retirement savings tool: you can contribute, invest aggressively, and decades later withdraw the balance tax-free for medical costs in retirement.

Some employers offer HSAs through a specific provider, which limits your investment choices. If you have an individual HSA or your employer allows it, you can shop around for providers with lower fees and better investment options. HSA fees vary widely — some providers charge monthly maintenance fees, investment management fees, or per-transaction fees, so compare costs before opening an account.

How to use the money when you need it

When you incur a medical expense, you have three ways to pay for it using your HSA. First, you can use a debit card linked to the account if your provider issues one — you swipe it at the doctor's office or pharmacy just like a regular card. Second, you can pay out of pocket and then request a reimbursement from your HSA provider by submitting a receipt and a withdrawal request. Third, you can set up automatic transfers to pay your health insurance premium directly from the HSA (this works for COBRA premiums, Medicare premiums, and long-term care insurance).

Keep receipts for all medical expenses you pay from an HSA, even if you reimburse yourself years later. The IRS can audit your HSA and ask for proof that withdrawals were for may have access to expenses. If you cannot document an expense, that withdrawal is treated as non-medical income and you owe income tax plus a 20 percent penalty.

You do not have to withdraw money in the same year you incur the expense. You can pay a medical bill out of pocket in 2024 and request reimbursement from your HSA in 2026 if you want — the key is that the expense itself occurred while you had an active HSA.

What happens to your HSA when you change jobs

Your HSA is yours to keep. When you leave a job, the account does not close and the money does not disappear. You own it outright, separate from your employer's health plan. You can continue to use the balance to pay for medical expenses, and if your new employer offers an HSA, you can roll your old balance into the new account or keep both accounts open.

If your new employer does not offer an HDHP, you can no longer make new contributions to your HSA, but you can still withdraw money from the existing balance for may have access to medical expenses. Once you turn 65, you can withdraw for any reason without penalty, so the account becomes a general retirement savings tool at that point.

If you are between jobs and lose health coverage, you have a 30-day grace period to enroll in a new HDHP and continue contributing to your HSA. After 30 days without HDHP coverage, you cannot contribute anymore, but you keep the balance.

HSA versus flexible spending accounts and other savings options

An HSA is often compared to a flexible spending account (FSA), which is another tax-advantaged account for medical expenses. The main difference is that an FSA has a "use it or lose it" rule — money you do not spend by the end of the year is forfeited (though some plans allow a $640 carryover or a grace period). An HSA has no important date, so unused money rolls over indefinitely. An HSA also stays with you when you change jobs, while an FSA is tied to your employer and closes when you leave.

HSAs also differ from dependent care FSAs, which cover childcare and elder care expenses but operate under the same use-it-or-lose-it rule. If you have both an HDHP and access to an FSA, you can use both accounts in the same year — the FSA for dependent care and the HSA for medical expenses.

A regular savings account offers no tax advantage, so money you set aside for medical expenses is taxed as income and any interest is taxed as well. A Health Reimbursement Arrangement (HRA) is similar to an HSA but is owned by your employer, not you, so you lose the balance if you leave the job. For most people, an HSA is the most flexible and tax-efficient option if you have access to one.

Frequently Asked Questions

Can I open an HSA if my employer does not offer one?

Yes. You can open an individual HSA through a bank or investment firm as long as you are enrolled in a high-deductible health plan. You can buy an HDHP through the individual market (healthcare.gov or your state's marketplace) or through a professional association or trade group that offers group plans. You will not receive the employer contribution, but you can contribute up to the individual limit and deduct it on your tax return.

What happens if I withdraw money for a non-medical expense?

Before age 65, a non-medical withdrawal is subject to income tax plus a 20 percent penalty on the amount withdrawn. After age 65, you can withdraw for any reason without penalty, but non-medical withdrawals are taxed as ordinary income. Keep receipts to prove an expense was medical if the IRS questions your withdrawals.

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

You can use HSA money to pay premiums for COBRA coverage, Medicare (Parts A, B, and D), and long-term care insurance. You cannot use it to pay premiums for your current employer's health plan or for individual market plans. Some employers allow you to pay your share of the premium directly from your HSA, which saves you an additional layer of taxes.

Do I lose my HSA balance if I do not use it?

No. Unlike a flexible spending account, an HSA balance rolls over year to year with no important date. You can accumulate money for years and withdraw it whenever you need it, as long as you have receipts showing the expense was incurred after you opened the account.

Can I invest my HSA balance in stocks?

Most HSA providers offer investment options including mutual funds and stocks, though some charge fees for investing. Check with your provider about available options and costs. If your investment loses value, you can still withdraw the current balance for medical expenses. Any investment gains are tax-free as long as you spend the money on may have access to medical costs.