Money Basics

What Is a Health Savings Account?

An HSA is the only account with a triple tax break. If you have a high-deductible health plan, it's worth understanding.

What is a health savings account in 2026

A health savings account, or HSA, is a tax-advantaged account for paying medical costs — and it is the only account in the tax code with three tax breaks at once. Contributions are tax-deductible, the money grows tax-free, and withdrawals for qualified medical expenses are tax-free too. For people with a qualifying high-deductible health plan, an HSA can be one of the most powerful savings tools available, for medical bills today and for retirement decades from now.

This guide explains what a health savings account is, who can open one, how much you can contribute, and how to use it wisely. It pairs with the prescription savings guide, which covers the medical costs an HSA can pay for, and the emergency fund guide, which covers the cash cushion an HSA should never replace. An HSA is not a replacement for health insurance — it is a savings tool that works alongside it.

1. How an HSA works, step by step

An HSA is a personal account that you open when you are enrolled in a qualifying high-deductible health plan. You contribute money, usually through payroll deductions or direct deposits, and the money goes into the account, where it can sit in cash or be invested. When you have a qualified medical expense — a doctor visit, a prescription, dental work, vision care — you pay from the account, tax-free.

The account is yours, not your employer's. If you change jobs or health plans, the HSA stays with you, and the money rolls over from year to year — there is no use-it-or-lose-it rule like a flexible spending account. After age sixty-five, you can withdraw the money for any purpose, paying ordinary income tax on non-medical withdrawals, just like a traditional retirement account, which is why many financial planners treat an HSA as a stealth retirement account.

2. Who qualifies for an HSA

You can open and contribute to an HSA only if you are enrolled in a qualifying high-deductible health plan, and you cannot be covered by another health plan that is not a high-deductible plan, enrolled in Medicare, or claimed as a dependent on someone else's tax return. The IRS defines a high-deductible plan each year by its minimum deductible and its maximum out-of-pocket limit, and your plan documents will say whether your plan qualifies.

A high-deductible plan is not the right choice for everyone. It works best for people who are generally healthy, who can afford the deductible if a big medical bill arrives, and who have the cash flow to contribute to the HSA. If you have ongoing medical needs or a chronic condition, a lower-deductible plan may cost less overall, even without the HSA. The HealthCare.gov website explains high-deductible plans and how to compare them during open enrollment.

3. The triple tax benefit, explained

The HSA's triple tax benefit is what makes it unique. First, contributions are tax-deductible, or pre-tax if made through payroll, which lowers your taxable income in the year you contribute. Second, the money grows tax-free inside the account, whether it sits in cash or is invested. Third, withdrawals for qualified medical expenses are completely tax-free, at any age.

No other account offers all three. A 401(k) or traditional IRA gives you the first two but taxes withdrawals; a Roth IRA gives you the last two but no deduction on contributions. The HSA gives you all three, which is why many advisers suggest funding an HSA before extra retirement contributions, once you have captured any employer 401(k) match. The IRS website publishes the current annual contribution limits and the list of qualified medical expenses.

A woman reviewing medical bills and health savings options on a laptop

4. Contribution limits and how to fund it

Each year, the IRS sets a maximum amount you can contribute to an HSA, with a higher limit for people aged fifty-five and older, and a higher limit for family coverage than for self-only coverage. The limit applies to all contributions combined, including any money your employer puts in. You can contribute any time during the year, and you can contribute for the previous year up to the tax filing deadline.

The easiest way to fund an HSA is through payroll deduction, which saves you income tax and payroll tax on the contribution. If your employer does not offer payroll contributions, you can deposit money yourself and claim the deduction on your tax return. Either way, contribute what you can — even a small monthly amount builds a cushion for medical costs, and the money carries over every year, so nothing is wasted. While the HSA balance is small, keep the cash portion in a safe, interest-earning spot — the high-yield savings account guide explains how those accounts work and what to look for.

5. What an HSA can pay for

An HSA can pay for a wide range of qualified medical expenses: doctor visits, hospital care, prescriptions, dental work, vision care including glasses and contacts, mental health care, and many over-the-counter medicines. It can also pay for long-term care insurance premiums in some cases, and for Medicare premiums after age sixty-five. The IRS publishes the full list, and it is worth checking before you pay for something, because the list is broader than most people expect.

Keep receipts for every expense you pay from the account, and keep them for years. There is no deadline for reimbursing yourself: you can pay a medical bill out of pocket today, keep the receipt, let the money in the HSA keep growing, and reimburse yourself from the account years later, tax-free. That flexibility is one of the HSA's most valuable features, and it only works if you keep good records. The prescription savings guide shows how to lower the drug costs that are often the largest recurring expense an HSA pays for, so the account stretches further.

6. Investing inside an HSA for the long term

Most HSA providers let you invest the money once your balance passes a threshold, often one thousand or two thousand dollars. If you can afford to pay routine medical bills out of pocket and let the HSA grow, investing it in low-cost diversified funds turns the account into a long-term savings vehicle. The money grows tax-free, and qualified medical withdrawals stay tax-free, which is a combination no retirement account can match.

Keep a cash cushion in the account for the medical costs you expect in the next year or two, and invest only the money above that cushion. An HSA invested aggressively is still a medical account first: if a large bill arrives and your investments are down, you will need the cash. The Investor.gov website offers free guidance on choosing low-cost funds and understanding investment fees.

Planning health savings account contributions with a budget calculator

7. HSA vs. FSA: the key differences

An HSA is often confused with a flexible spending account, or FSA, but they are different in important ways. An FSA is owned by your employer, the money is usually use-it-or-lose-it at the end of the plan year, and you cannot invest it. An HSA is yours, the money rolls over forever, and you can invest it. You can have an HSA only with a high-deductible plan, while an FSA can be paired with other plan types.

Some people have both: a limited-purpose FSA for dental and vision costs alongside an HSA. If your employer offers both, ask your benefits team how they work together, because the rules are specific. The IRS website publishes the rules for both accounts, and the HealthCare.gov website explains how they fit with different health plans.

8. Common HSA mistakes to avoid

The most common mistake is treating an HSA like a regular savings account and spending it on non-medical costs before age sixty-five, which triggers income tax plus a twenty percent penalty. The second mistake is never investing the money: an HSA left entirely in cash for decades loses the growth that makes it powerful. The third is failing to keep receipts, which makes it impossible to reimburse yourself later for expenses you paid out of pocket.

Another mistake is contributing when you are not eligible — for example, after enrolling in Medicare — which can trigger a penalty tax. Check your eligibility every year, especially around a job change or a switch to Medicare. And never let an HSA replace your emergency fund: a medical bill you cannot pay is still an emergency, and the emergency fund guide explains how to keep a separate cushion for the costs an HSA cannot cover.

The verdict on health savings accounts

A health savings account is one of the best deals in the tax code, but only if you have a qualifying high-deductible health plan and you can afford the deductible. The triple tax benefit — deductible contributions, tax-free growth, and tax-free medical withdrawals — is unmatched, and the account's portability and rollover make it a powerful long-term savings tool as well as a way to pay today's medical bills.

If you have a high-deductible plan, open an HSA, contribute what you can through payroll, keep a cash cushion for near-term medical costs, and invest the rest for the long term. Keep your receipts, stay eligible, and let the tax-free growth work for decades.

And do not wait for the perfect moment to start. Open the account during your next open enrollment, set the contribution to an amount you can sustain, and increase it whenever your pay rises. A health savings account rewards patience more than size: small, steady contributions, invested for years and spent only on real medical costs, become one of the most valuable accounts you will ever own.

Frequently asked questions

An HSA is a tax-advantaged account for medical costs, available to people enrolled in a qualifying high-deductible health plan. Contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses are tax-free.

You need a qualifying high-deductible health plan, and you cannot be covered by another non-qualifying plan, enrolled in Medicare, or claimed as a dependent. Check your plan documents and the current IRS rules to confirm eligibility.

The IRS sets an annual limit each year, with a higher limit for family coverage than self-only coverage and an extra catch-up amount for people aged fifty-five and older. Check the current year's limit on the IRS website.

Qualified medical expenses including doctor visits, prescriptions, dental and vision care, mental health care, and many over-the-counter medicines. The IRS publishes the full list, and you should keep receipts for every expense.

Yes, in effect. After age sixty-five, you can withdraw HSA money for any purpose, paying ordinary income tax on non-medical withdrawals, like a traditional retirement account. Medical withdrawals stay tax-free at any age.

Keep reading

About MoneyWise

MoneyWise is an independent personal finance publication. Every guide on this site is researched from primary sources — official program pages, government publications, and reputable financial institutions — and reviewed for accuracy before publishing. We show our math, cite our sources, and update articles when facts change.

Our content is educational only and is not financial advice. For decisions involving significant money, consider consulting a qualified financial professional.

Learn more about our editorial standards

Affiliate disclosure: Some links in this article are affiliate links. If you buy through them, MoneyWise may earn a commission at no extra cost to you. We participate in the Amazon Associates Program (as an Amazon Associate, we earn from qualifying purchases) and the AliExpress Affiliate Program. Details on this page can change — always check the official provider page before buying. Content on this site is educational only and is not financial advice.