What an HSA does and how the money moves
A Health Savings Account is a bank account attached to a specific type of health insurance plan — one with a high deductible. You put pre-tax money into it, use that money to pay medical bills, and any balance you don't spend stays in the account and grows year to year. The account is yours to keep even if you change jobs or insurance plans.
The basic flow is straightforward: money goes in from your paycheck (or you deposit it yourself), you spend it on medical costs, and receipts prove what you spent it on. Unlike a flexible spending account, which forces you to use the money or lose it each year, an HSA balance rolls forward indefinitely. That's the core difference that makes HSAs work like a savings tool rather than just a way to pay this year's bills.
You control the account. Your employer doesn't own it, your insurance company doesn't own it — you do. That means you decide how much to contribute each year (within legal limits), which medical bills to pay from it, and what happens to money left over.
Key Takeaways
- An HSA requires enrollment in a high-deductible health plan, and you can only contribute during the year you're covered by that plan.
- Money deposited into an HSA is not taxed when it goes in, and withdrawals for medical expenses are not taxed when they come out.
- You can use HSA funds to pay deductibles, copays, coinsurance, and many other medical costs, but not insurance premiums or over-the-counter medications without a prescription.
- Any balance left at the end of the year stays in your account and earns interest or investment returns, making it different from a use-it-or-lose-it spending account.
- If you withdraw money for non-medical reasons before age 65, you pay income tax plus a 20 percent penalty; after 65, you pay only income tax.
Who can open an HSA and when
You can open an HSA only if you're enrolled in a high-deductible health plan — a specific category of insurance with a lower monthly premium but a higher amount you have to pay out of pocket before insurance kicks in. Your employer may offer one, or you can buy one on the individual market. The plan itself must meet IRS requirements for what counts as high-deductible; your insurance company will tell you if your plan qualifies.
You must also have no other health coverage at the same time. If you're on Medicare, covered by a spouse's plan, or enrolled in Medicaid, you cannot contribute to an HSA. You can keep an existing HSA and spend from it, but you cannot add new money.
Contribution windows matter. If your employer offers an HSA, you usually enroll during open enrollment or when you first become may be able to access for the high-deductible plan. If you buy insurance on your own, you can open an HSA anytime you enroll in a may have access to plan. The money you contribute must be deposited in the same calendar year you're covered — you cannot go back and fund an HSA for a previous year unless you enroll in a high-deductible plan during that year's open enrollment.
How much you can contribute and where the money comes from
The IRS sets a yearly limit on how much you can put into an HSA. The limit changes each year and depends on whether your plan covers just you or also your family. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage, but these numbers shift annually. Your bank or employer will tell you the current limit when you open the account.
Money can come from three places. If your employer offers an HSA, they may contribute directly — some employers put money in as part of your benefits package. You can also contribute your own money by transferring it from a checking account or having it deducted from your paycheck before taxes. If you contribute through payroll deduction, that money never gets taxed as income, which is the main tax advantage of an HSA.
You don't have to contribute the maximum. You can put in $500 one year and $2,000 the next. The only rule is that you cannot exceed the yearly limit, and you can only contribute while you're enrolled in a high-deductible plan.
What you can and cannot pay for with HSA money
HSA funds cover most medical, dental, and vision costs. That includes deductibles, copays, coinsurance, prescription medications, dental work, glasses, hearing aids, and mental health treatment. You can use the money at any provider — it's not limited to in-network doctors. If you have a bill from a hospital, pharmacy, dentist, or therapist, HSA money can usually pay it.
Some costs are off-limits. You cannot use HSA funds to pay insurance premiums, except for COBRA continuation coverage or long-term care insurance in specific situations. Over-the-counter medications like cold medicine or pain relievers are not covered unless you have a prescription from a doctor. Cosmetic procedures, gym memberships, and vitamins are not covered. If you're unsure whether a specific cost qualifies, the IRS publishes a detailed list, and your HSA provider can also answer questions.
You don't have to spend the money right away. You can pay a medical bill out of pocket and save the receipt, then reimburse yourself from the HSA months or years later. This is actually a common strategy: people let the HSA balance grow and invest it, then withdraw money tax-free when they need it.
How the tax advantage works
An HSA has three tax benefits, which is why financial advisors often call it the most tax-efficient savings account available. First, money going in is not taxed as income — if your employer deducts $200 from your paycheck for the HSA, you don't pay federal income tax on that $200. Second, money spent on medical costs comes out tax-free — no income tax, no payroll tax. Third, any balance left over earns interest or investment returns without being taxed each year.
This is different from a regular savings account, where you pay tax on interest earned, and different from a flexible spending account, where unused money is forfeited. With an HSA, the tax benefit compounds: you save on the way in, save on the way out, and save on the growth.
The catch is that the tax benefit only applies to medical expenses. If you withdraw money for anything else before age 65, you owe income tax on that withdrawal plus a 20 percent penalty. After age 65, you can withdraw money for any reason and only pay income tax — the penalty goes away, though the tax advantage for non-medical withdrawals ends.
How to actually use the money when you have a medical bill
When you have a medical expense, you have choices about how to pay. You can use a debit card linked to the HSA account, write a check from the HSA, or transfer money to your regular bank account. Some providers let you pay the provider directly from the HSA. The method depends on which bank manages your HSA.
You'll need to keep receipts and documentation showing what the money was spent on. The IRS doesn't require you to submit receipts when you withdraw, but you must be able to prove the expense was medical if you're ever audited. Many people photograph receipts or save them in a folder. Your HSA provider may also track what you've spent and flag withdrawals that don't match medical expenses.
If you withdraw more than you actually spent on medical costs, the excess is treated as a non-medical withdrawal and subject to tax and penalty. So if you withdraw $500 but only spent $300 on medical bills, the extra $200 gets taxed and penalized.
What happens to your HSA when you change jobs or insurance
Your HSA stays with you. If you leave your job, the account doesn't close and the money doesn't disappear. You own it outright. You can roll it to a new HSA at a different bank, or keep it where it is. The only requirement is that you cannot add new money to it unless you enroll in a new high-deductible plan.
If you switch to a different type of insurance — one that's not high-deductible — you can no longer contribute to the HSA, but you can still spend from the existing balance. Many people keep an HSA open for years after leaving a high-deductible plan, using it as a medical savings account they've already funded.
If you move to Medicare, you can no longer contribute, but again, you can spend from the balance. Some people time their Medicare enrollment to maximize HSA contributions in the years before, knowing they'll have a large balance to draw from in retirement.
How HSA money can be invested
Most HSA providers let you invest the balance, not just keep it in a savings account. You can usually choose from mutual funds, stocks, or bonds, similar to a 401(k). This is optional — you can leave the money in a cash account earning interest if you prefer. But if you don't plan to spend the HSA for medical costs in the near term, investing it can help the balance grow faster.
The investment gains are not taxed as long as you eventually spend the money on medical costs. This makes an HSA a powerful retirement tool: you can contribute the maximum each year, invest it in stock funds, and let it grow for decades. Then in retirement, you can withdraw it tax-free to pay medical bills, which tend to be substantial.
Investment options vary by provider. Some banks offer only a few mutual funds; others offer a full brokerage platform. When you open an HSA, ask what investment choices are available and what fees explore.
Frequently Asked Questions
Can I use HSA money to pay my health insurance premium?
Not usually. You cannot use HSA funds to pay regular health insurance premiums. The exceptions are COBRA continuation coverage (temporary insurance when you leave a job), long-term care insurance, and Medicare premiums once you turn 65. For those specific situations, HSA withdrawals are allowed.
What happens if I withdraw money from my HSA for something that's not medical?
You'll owe income tax on the withdrawal plus a 20 percent penalty. So if you withdraw $1,000 for a non-medical reason and you're in the 22 percent tax bracket, you'd owe $220 in tax plus $200 in penalty — $420 total. After age 65, the penalty disappears, but you still owe income tax on non-medical withdrawals.
Can I have an HSA if my spouse has a different health insurance plan?
Only if your spouse's plan is also high-deductible and you're both enrolled in it together. If your spouse has a different plan that's not high-deductible, you cannot contribute to an HSA. You can keep an existing HSA and spend from it, but not add new money.
Do I lose my HSA balance if I don't use it by the end of the year?
No. Unlike a flexible spending account, HSA money rolls over every year. You can let the balance grow indefinitely and spend it whenever you need to. There's no "use it or lose it" important date.
Can I withdraw HSA money to pay for my child's medical bills?
Yes, as long as the child is your dependent for tax purposes. You can use HSA funds to pay medical costs for yourself, your spouse, and any dependents, even if they're not on your health insurance plan.