Saving

What Is an HSA and How Does It Work in 2026?

An HSA is the only account with a triple tax advantage — and most people who qualify never open one. Here is how it works.

Family health insurance and an HSA savings account

A health savings account — an HSA — is the only account in the American tax system with a triple tax advantage: the money goes in tax-free, it grows tax-free, and it comes out tax-free when it is spent on medical costs. No other account offers all three, and yet most people who qualify for one never open it, because the name sounds like insurance jargon and the rules sound complicated. They are not, and the account is worth understanding.

This guide explains an HSA in plain language: who qualifies, how the triple tax advantage works, what the account covers, how to open one and use it well, and the mistakes to avoid. The IRS Publication 969 is the official guide to HSAs and the rules that govern them, and the HealthCare.gov site explains the health plans that qualify.

1. What an HSA is, and the triple tax advantage

An HSA is a savings account for medical costs, and it comes with a deal no other account offers. Contributions are tax-deductible, which means the money goes in before tax. The money grows tax-free inside the account, whether it is held as cash or invested. And withdrawals for qualified medical expenses are tax-free too. That is the triple tax advantage: tax-free in, tax-free growth, tax-free out — and it is the reason financial advisers call the HSA the best tax deal available.

The catch is that the account only works for medical costs. Money taken out for anything else is taxed, and if you are under sixty-five, it is also penalised. But medical costs are a cost every household faces, and the list of qualified expenses is long — doctor visits, prescriptions, dental work, glasses, and many other costs. The IRS Publication 969 lists the qualified expenses and the rules in full.

The other feature that makes the HSA unusual is that the money is yours, forever. Unlike a flexible spending account, which is use-it-or-lose-it, an HSA balance rolls over every year and never expires. The account stays with you when you change jobs, and it can keep growing for decades. The healthcare costs guide covers the wider plan for keeping medical costs down.

2. Who qualifies: the high-deductible plan

You can only contribute to an HSA if you are covered by a high-deductible health plan — a health plan with a deductible above a threshold set by the IRS, and an out-of-pocket maximum below a threshold set by the IRS. The thresholds change each year, so check the current figures in the IRS Publication 969 before you assume you qualify. Not every high-deductible plan qualifies, and not every plan that calls itself high-deductible meets the IRS definition.

If your employer offers a high-deductible plan, it will usually tell you whether the plan is HSA-eligible, and it may even open the account for you. If you buy your own coverage through the marketplace, check the plan details — the plan documents will say whether it is HSA-eligible. The HealthCare.gov site explains the marketplace plans and how to compare them.

There are a few other conditions. You cannot be covered by another health plan that is not a high-deductible plan, you cannot be claimed as a dependant on someone else's tax return, and you cannot be enrolled in Medicare. If you meet the conditions, you can contribute — and if you are over fifty-five, you can contribute an extra catch-up amount. The IRS Publication 969 explains the eligibility rules in detail.

3. How much you can put in, and how to contribute

The IRS sets an annual contribution limit for HSAs, and the limit changes over time. The limit covers all contributions to the account — yours and your employer's combined — so check the current figure before you contribute. The limit is per person, not per account, and if you are over fifty-five you can add a catch-up amount. The IRS Publication 969 gives the current limits.

Contributions are usually made through payroll, and that is the best way to do it, because money contributed through payroll avoids income tax and payroll tax — a saving on top of the saving. If your employer does not offer payroll contributions, you can contribute directly and claim the deduction on your tax return. Either way, the habit is the same: a regular contribution, made automatically, into the account.

The best routine is to contribute enough to cover the deductible, and then to keep contributing beyond it. A fund that covers the deductible means a medical bill never becomes a debt, and contributions beyond the deductible build a fund that can pay for medical costs in retirement — when healthcare is often the largest expense. The automate your savings guide shows how to set the contributions up so the habit happens without a decision.

Calculator working out HSA tax savings

4. What the money can be spent on

The list of qualified medical expenses is long, and it covers far more than doctor visits. Prescriptions, dental work, orthodontics, glasses and contact lenses, hearing aids, mental health care, and many over-the-counter medicines all qualify — and the list is in the IRS Publication 969. Keep the receipts for everything you pay for from the account, because the record is what proves the expense was qualified if the IRS ever asks.

The money can be spent on medical costs for you, your spouse, and your dependants — not just for the account holder. That means one HSA can cover the whole family's medical costs, which is useful when the family shares a single high-deductible plan. The account can also pay for long-term care insurance premiums, and for Medicare premiums once you are enrolled in Medicare.

Be careful with the expenses that do not qualify. Cosmetic surgery, general health club memberships, and most vitamins and supplements do not qualify, and spending the money on a non-qualified expense before sixty-five means tax plus a penalty. When in doubt, check the IRS list before you pay, because the penalty is an expensive way to learn the rules. The medical debt guide explains what to do when a bill is too large to pay from the account.

5. Investing the HSA: the long game

Once the account holds enough to cover the deductible, the money beyond that can be invested — and investing it is where the HSA becomes a retirement account in disguise. The money grows tax-free, and if it is eventually spent on medical costs, it comes out tax-free too. Many HSA providers offer low-cost index funds, and the investment choice matters as much as it does in any retirement account. The beginner index investing guide explains the simplest approach.

The strategy that works best for most people is to pay small medical costs out of pocket, let the HSA grow, and keep the receipts. The receipts matter because there is no deadline for reimbursing yourself — a medical cost paid out of pocket today can be reimbursed from the HSA years later, as long as the cost happened after the account was opened and you kept the receipt. That means the account can grow for decades and then pay you back for costs you already paid.

After sixty-five, the rules change in your favour. The money can be taken out for any purpose without the penalty — it is simply taxed like a retirement account withdrawal — while withdrawals for medical costs remain tax-free. That makes the HSA a remarkably flexible account in retirement, and the Roth IRA guide explains the other account that works alongside it.

6. The mistakes to avoid

The first mistake is not opening one when you qualify. The triple tax advantage is the best deal in the tax system, and every year you qualify but do not contribute is a year of tax saving you cannot get back. If your employer offers a high-deductible plan and an HSA, open the account and start contributing, even a small amount.

The second mistake is spending the account down every year. An HSA that is emptied every year is just a way to pay medical bills with pre-tax money — which is useful, but it misses the real prize, which is the long-term growth. Pay the small costs out of pocket when you can, and let the account grow. The rainy day fund guide explains how to build the cash buffer that makes paying out of pocket possible.

The third mistake is losing the receipts. A receipt is the proof that a cost was qualified, and without it, a reimbursement years later cannot be justified. Keep a folder — digital or paper — of every medical receipt, and keep it for as long as the account exists. The financial checkup guide includes the annual review that keeps the account on track.

Money goals chart for HSA health savings

The verdict: the best tax deal available — if you qualify, use it

An HSA is the only account with a triple tax advantage: tax-free in, tax-free growth, tax-free out for medical costs. If you are covered by a qualifying high-deductible plan, open one, contribute enough to cover the deductible, invest the money beyond that, pay small costs out of pocket when you can, and keep every receipt. The account can grow for decades — and after sixty-five, it becomes a remarkably flexible retirement account too.

Start this week: check whether your health plan is HSA-eligible, and if it is, open the account and set up a small automatic contribution. The triple tax advantage is the best deal in the tax system — and it is only available to the people who claim it.

Frequently asked questions

A health savings account for medical costs, with a triple tax advantage: contributions are tax-deductible, the money grows tax-free, and withdrawals for qualified medical expenses are tax-free. The balance rolls over every year and never expires.

Anyone covered by a high-deductible health plan that meets the IRS definition. You cannot be covered by another non-qualifying plan, be claimed as a dependant, or be enrolled in Medicare. Check the current thresholds in IRS Publication 969.

Qualified medical expenses: doctor visits, prescriptions, dental work, glasses, hearing aids, mental health care, and many over-the-counter medicines. The full list is in IRS Publication 969. Money spent on non-qualified expenses before sixty-five is taxed plus penalised.

The IRS sets an annual limit that changes over time, covering your contributions and your employer contributions combined. People over fifty-five can add a catch-up amount. Check the current limit in IRS Publication 969.

Once the account holds enough to cover the deductible, yes — investing the money beyond that lets it grow tax-free for decades. Pay small medical costs out of pocket when you can, keep the receipts, and let the account grow.

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.