Health
What Is a Health Savings Account (HSA)
A health savings account is the only account in the tax code with three tax breaks at once. Here is who can open one and how to use it well.
A health savings account, or HSA, is a tax-advantaged account that lets you set aside money for medical expenses, and it is the only account in the American tax code that gives you a tax break three times: contributions are tax-deductible, the money grows tax-free, and withdrawals for qualified medical expenses are tax-free too. That triple advantage makes the HSA one of the most powerful savings tools available, yet many people who qualify for one never open it, or open it and use it only as a pass-through for this year's bills.
This guide explains what a health savings account is, who is allowed to open one, what it can pay for, how the contribution limits work, and how to use an HSA as both a medical fund and a long-term savings tool. It pairs naturally with the HSA versus FSA guide, which compares the two accounts side by side, and with the HSA for retirement guide, which explains the long game that makes the HSA so valuable.
1. What an HSA is and how it works
An HSA is a savings account tied to a high-deductible health plan, and it is yours to keep for life, even if you change jobs, change health plans, or retire. You put money in, usually through payroll deductions or direct deposits, and you take money out tax-free when you pay for qualified medical expenses. Unlike a flexible spending account, the money does not expire at the end of the year, and the balance rolls over and grows year after year, which is what makes the HSA a long-term tool rather than a use-it-or-lose-it benefit.
The account is individually owned, which means it follows you, not your employer. If you leave a job, the HSA stays yours, and you can keep using it for medical expenses or keep investing it for the future. The Internal Revenue Service publication on HSAs is the authoritative source for the rules, and the HealthCare.gov glossary gives a plain-language definition of how the account works.
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, which is a plan that meets the IRS definition for a minimum deductible and a maximum out-of-pocket limit, both of which are adjusted each year. You also cannot be enrolled in other disqualifying coverage, such as a general-purpose flexible spending account, and you cannot be claimed as a dependent on someone else's tax return or enrolled in Medicare. If you meet those tests, you can contribute, and your employer can contribute too.
Not every high-deductible plan is HSA-qualified, so check with your plan administrator or benefits team before assuming yours counts. If you are self-employed or buy your own insurance, the same rules apply, and you can open an HSA at a bank, a credit union, or an investment provider. The Internal Revenue Service publishes the current deductible and out-of-pocket thresholds each year, so check the current year's figures rather than relying on last year's numbers.
3. The triple tax advantage explained
The HSA's triple tax advantage is what makes it unique. First, contributions are tax-deductible, or pre-tax if they come through payroll, which lowers your taxable income in the year you contribute. Second, the money inside the account grows tax-free, whether it sits in cash earning interest or is invested in mutual funds. Third, withdrawals for qualified medical expenses are tax-free at any age, which means the money is never taxed at any stage if it is used for medical costs.
No other account offers all three breaks. A traditional retirement account gives you the first two but taxes withdrawals, and a Roth account taxes contributions up front. The HSA's combination is why financial planners often call it the best account in the tax code, and why funding it before other accounts can make sense once you have an emergency fund. The HSA triple tax advantage guide goes deeper into the math, and the contribution limits guide explains how much you can put in each year.

4. What an HSA can pay for
An HSA can pay for a wide range of qualified medical expenses, including deductibles, copays, prescriptions, dental work, vision care, glasses, mental health care, and many over-the-counter medicines. It can also pay for the medical expenses of your spouse and your tax dependents, even if they are not covered by your high-deductible plan. The IRS publishes the full list of qualified expenses, and it is broader than most people expect, covering everything from orthodontics to breast pumps to certain home modifications for medical reasons.
Keep your receipts, because you may need to prove that a withdrawal was for a qualified expense if the IRS ever asks. One of the HSA's most useful features is that there is no deadline on reimbursing yourself: you can pay a medical bill out of pocket today, keep the receipt, and reimburse yourself from the HSA years later, after the money has had time to grow. The prescription savings guide shows how to cut the cost of the medicines the HSA pays for, and the medical bill negotiation guide explains how to lower the bills themselves.
5. Contribution limits and the catch-up rule
Each year the IRS sets a maximum amount you can contribute to an HSA, with a higher limit for family coverage than for self-only coverage, and people aged fifty-five and older can add an extra catch-up contribution on top of the regular limit. Employer contributions count toward the same limit, so if your employer puts money in, your own room shrinks by that amount. Contributions are allowed until the tax filing deadline for the year, which gives you extra months to top up the account after the year ends.
Contributing the maximum is not required, and even small contributions help, because the account rolls over and the tax savings start immediately. If your employer offers a match or a seed contribution, take it first, because that is free money on top of the tax breaks. The IRS publication 969 has the current limits and the catch-up rules, and your HSA provider can confirm how much room you have left before you contribute.
6. Investing your HSA for the long term
Many HSA providers let you invest the balance once it passes a minimum threshold, usually one or two thousand dollars, in low-cost index funds similar to a retirement account. Investing turns the HSA from a medical spending account into a long-term savings vehicle, because the money grows tax-free for decades and can eventually cover the large medical costs that tend to arrive in retirement. The smart strategy is to keep one year's deductible in cash and invest the rest, so the account can pay today's bills and grow for tomorrow's.
The long-term math is striking: a household that maxes out an HSA for twenty years and invests the balance can build a six-figure medical fund that is never taxed if it is spent on health care, and after age sixty-five the money can be withdrawn for any purpose, taxed like a retirement account, with no penalty. The retirement savings guide shows how the HSA fits alongside a 401(k) and an IRA, and the index investing guide explains the low-cost funds that work well inside an HSA.

7. HSA mistakes that cost you money
The most expensive HSA mistake is not opening one when you qualify, because every year without an HSA is a year of triple tax savings lost forever. The second mistake is spending the HSA down to zero every year, which treats a long-term account like a checking account and throws away the compounding. Paying small medical bills out of pocket and letting the HSA grow is usually the better move, as long as you can afford it without going into debt.
The third mistake is losing receipts, which makes it hard to prove a withdrawal was qualified, and the fourth is withdrawing money for non-medical expenses before age sixty-five, which triggers income tax plus a twenty percent penalty. The Consumer Financial Protection Bureau offers free guidance on health care costs and medical debt, and the first-time tax filing guide explains how HSA contributions and withdrawals are reported on your return.
8. HSA and Medicare: what changes at 65
Once you enroll in Medicare, you can no longer contribute to an HSA, but the account does not disappear, and the money in it stays yours. You can keep using the balance tax-free for qualified medical expenses, including Medicare premiums for Parts B and D and Medicare Advantage plans, which makes the HSA one of the best tools for covering health care costs in retirement. The contributions simply stop, and the account shifts from a savings vehicle to a spending vehicle for medical costs.
After age sixty-five, the rules relax further: withdrawals for non-medical expenses are no longer hit with the twenty percent penalty, although they are taxed as ordinary income, exactly like a traditional IRA withdrawal. That means an HSA built up over a working lifetime becomes a flexible retirement account in your later years, useful for medical costs first and for anything else second. The HSA for retirement guide explains the strategy in full, and the Social Security Administration Medicare page explains when Medicare enrollment begins and how it interacts with your health coverage.
The verdict: if you qualify, open one and fund it
A health savings account is the most tax-advantaged account most people will ever own, and it is available to anyone with a qualifying high-deductible health plan. The triple tax break, the rollover, the portability, and the investment option add up to a tool that handles this year's medical bills and builds a tax-free fund for retirement health care at the same time. If your employer offers an HSA-qualified plan and a seed contribution, take both.
Start this enrollment season: check whether your plan qualifies, open the HSA, set up payroll contributions, and keep one year's deductible in cash while investing the rest. Pay small bills out of pocket when you can, keep every receipt, and let the account compound. Ten years from now, the HSA you started today will be one of the smartest money moves you ever made.
Frequently asked questions
Anyone enrolled in a qualifying high-deductible health plan who is not enrolled in Medicare, not claimed as a dependent, and not covered by other disqualifying coverage such as a general-purpose FSA.
Contributions are tax-deductible, the money grows tax-free inside the account, and withdrawals for qualified medical expenses are tax-free. No other account offers all three tax breaks.
No. Unlike an FSA, HSA funds roll over year after year, and the account stays yours even if you change jobs or health plans.
Qualified medical expenses including deductibles, copays, prescriptions, dental and vision care, mental health care, and many over-the-counter medicines, for yourself, your spouse, and your tax dependents.
Yes, most HSA providers let you invest the balance above a minimum threshold in low-cost funds. Keeping one year's deductible in cash and investing the rest is a common strategy.
Keep reading
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.