What Is an HSA (Health Savings Account)? How It Works

A Health Savings Account (HSA) is a tax-advantaged account that lets you set aside money to pay for qualified medical expenses. It is one of the few accounts in the U.S. tax code that can offer three separate tax breaks at once, which is why it draws attention from long-term savers as well as people simply trying to cover a deductible.

What an HSA actually is

An HSA is an individual account, owned by you, that pairs with a specific type of health insurance: a High-Deductible Health Plan (HDHP). You contribute money into the account and can withdraw it tax-free to pay for eligible health costs. Unlike a benefit tied to a single employer, the account belongs to you: if you change jobs, drop your HDHP, or retire, the balance stays yours.

The single most important thing to understand: an HSA is a savings account with rules, not an insurance plan and not a "use it or lose it" benefit. The money does not expire at year-end; it carries forward indefinitely.

The triple tax advantage

The HSA is unusual because it can be tax-advantaged at all three stages money normally gets taxed:

  • Contributions go in pre-tax (or are deductible). Money you put in reduces your taxable income for that year.
  • Growth is tax-free. Interest and investment gains inside the account are not taxed while they stay there.
  • Qualified withdrawals come out tax-free. When you spend on eligible medical costs, you pay no tax on the withdrawal.

Most tax-advantaged accounts give you only one or two of these (a traditional 401(k) defers tax until withdrawal; a Roth taxes contributions but not withdrawals). The HSA can do all three, which is why some people treat it as a supplemental retirement vehicle, not just a medical fund. If you are weighing where to direct savings, see how an HSA fits alongside other accounts in our breakdown of which retirement account to fund first.

Who qualifies to contribute

Eligibility is tied to your insurance, not your income. To open or contribute to an HSA, you generally must be covered by a qualifying HDHP and meet a few conditions:

  • You are enrolled in an HSA-eligible HDHP (the IRS sets minimum-deductible and maximum out-of-pocket thresholds that define this each year).
  • You have no other disqualifying coverage, such as a general-purpose health FSA or most non-HDHP plans.
  • You are not enrolled in Medicare.
  • You are not claimed as a dependent on someone else's tax return.

Annual contribution limits are set by the IRS and differ for individual versus family coverage, with an extra "catch-up" amount allowed once you reach a certain age. These figures change yearly, so confirm the current numbers with the IRS or your plan administrator before you contribute.

How an HSA works day to day

Funding an HSA usually happens one of two ways. Through an employer, contributions are often taken from your paycheck before taxes, and many employers add their own contributions on top. On your own, you contribute after-tax dollars and then claim the deduction when you file.

Spending is just as flexible. Most HSAs come with a debit card or reimbursement option, and there is no requirement to spend within a set window. Many providers also let you invest the balance once it crosses a minimum threshold, so the account can hold cash for near-term bills and invested funds for the long run at the same time.

What counts as a qualified expense

Qualified medical expenses are broad. They typically include doctor visits, prescriptions, dental and vision care, many medical supplies, and certain over-the-counter items. The IRS defines the eligible list (its Publication 502 is the reference point), and it shifts over time. Insurance premiums are generally not eligible, with specific exceptions such as COBRA continuation coverage and Medicare premiums after age 65.

Why an HSA matters for long-term planning

Two features make the HSA powerful beyond covering this year's deductible. First, there is no deadline to reimburse yourself. If you pay a medical bill out of pocket today and keep the receipt, you can withdraw that same amount tax-free years later, letting the balance grow in the meantime.

Second, the account changes character at age 65. After that, non-medical withdrawals are taxed as ordinary income but carry no penalty, making the HSA behave much like a traditional IRA, while medical withdrawals remain tax-free. For savers who can pay current bills from other money, an HSA can become a meaningful slice of a retirement plan. If you are mapping out that bigger picture, our retirement calculator and the guide on how much to save for retirement help you size the role an HSA plays, and a net worth calculator keeps the balance visible alongside your other assets.

Common pitfalls to avoid

The same flexibility that makes HSAs useful creates traps for the unprepared:

  • Over-contributing. Putting in more than the annual limit triggers an excise tax until you correct it, which is easy to do if both you and an employer contribute or you switch plans mid-year.
  • Spending on non-qualified items before 65. Those withdrawals are taxed and hit with an additional penalty. Keep documentation for every distribution.
  • Enrolling in Medicare while still contributing. Medicare enrollment ends HSA eligibility, and the rules around when coverage begins can create an overlap that disqualifies recent contributions.
  • Leaving everything in cash. If you treat the HSA purely as a checking account, you forgo the tax-free growth that makes it distinctive.
  • Confusing it with an FSA. A Flexible Spending Account is employer-owned and largely use-it-or-lose-it; an HSA is yours and rolls over. They are not interchangeable.

Because contributions reduce taxable income, an HSA also affects your overall tax picture for the year. To see roughly how pre-tax contributions move what you owe, a tax estimator is a quick way to model it, and a savings calculator shows how a non-medical reserve could grow over time.

Is an HSA right for you

An HSA rewards people comfortable with a high-deductible plan who have enough cash flow to cover routine costs without immediately tapping the account. If you expect heavy medical spending and a low deductible suits you better, the HDHP requirement may outweigh the tax benefits. It is most valuable when you can let at least part of the balance stay invested and growing.

This article explains how HSAs work in general terms and is not personalized tax, medical, or financial advice. Contribution limits, eligibility thresholds, and the list of qualified expenses are set by the IRS and change over time, so verify current rules with the IRS or a qualified professional before deciding.

Frequently Asked Questions

No. Unlike a Flexible Spending Account, an HSA has no use-it-or-lose-it rule. The balance rolls over indefinitely and stays yours even if you change jobs or health plans.

An HSA is an individual account you own, it requires a high-deductible health plan, and unspent funds roll over year to year. An FSA is employer-owned, does not require an HDHP, and is generally use-it-or-lose-it with limited carryover.

You can, but before age 65 non-qualified withdrawals are taxed as income and hit with an additional penalty. After age 65, non-medical withdrawals are taxed as ordinary income with no penalty, similar to a traditional IRA.

You generally must be covered by an HSA-eligible high-deductible health plan, have no other disqualifying coverage, not be enrolled in Medicare, and not be claimed as a dependent on someone else's tax return.

Contributions go in pre-tax or are tax-deductible, any growth inside the account is tax-free, and withdrawals for qualified medical expenses are also tax-free. Few accounts offer all three benefits at once.