How a Health Savings Account Works: The Three-Part System
A Health Savings Account lets you set aside pre-tax money for medical costs, then withdraw it tax-free when you need it
A Health Savings Account (HSA) is a savings account paired with a high-deductible health insurance plan. You put money into it before taxes are taken out of your paycheck, the money grows without being taxed, and you withdraw it tax-free to pay for medical expenses. The account stays in your name — it does not disappear at the end of the year, and you keep it even if you change jobs or insurance plans.
The mechanics work in three parts: you contribute money (usually through payroll deduction), the money sits in an account earning interest or investment returns, and you withdraw it to cover may have access to medical costs. Unlike a flexible spending account, which you lose if you do not spend the money by year-end, an HSA rolls over indefinitely. After age 65, you can withdraw money for any reason without penalty, though non-medical withdrawals are taxed as income.
Key Takeaways
- You must be enrolled in a high-deductible health plan (HDHP) to open and contribute to an HSA; the plan sets the minimum deductible you need to meet.
- Contributions reduce your taxable income, the account grows tax-free, and withdrawals for medical costs are never taxed — a three-layer tax advantage.
- You can contribute up to $4,150 per year as an individual or $8,300 for family coverage in 2024, though these amounts change yearly.
- The money is yours to keep; it does not expire at year-end and moves with you if you change jobs or insurance.
- After age 65, you can withdraw money for any reason without the 20 percent penalty, though non-medical withdrawals are taxed as regular income.
Who can open an HSA and what the insurance requirement means
You can open an HSA only if you are enrolled in a high-deductible health plan (HDHP). For 2024, an HDHP has a minimum deductible of $1,600 for individual coverage or $3,200 for family coverage. You cannot have other health insurance at the same time — no spouse's plan, no Medicare, no Medicaid, no Veterans Affairs coverage — with narrow exceptions for accident, disability, or dental-only plans.
The HDHP requirement exists because HSAs were designed to pair with plans that shift more cost to the patient. You pay more out of pocket before insurance kicks in, but the HSA lets you save money tax-free to cover those costs. If you lose HDHP coverage, you can no longer contribute to the HSA, but the money already in it stays yours and you can still withdraw it for medical costs.
How much you can contribute each year
The IRS sets annual contribution limits, and they change each year. For 2024, you can contribute up to $4,150 if you have individual HDHP coverage, or $8,300 if you have family coverage. If you are 55 or older, you can add an extra $1,000 per year (called a catch-up contribution). These limits apply to the total of all your contributions combined — if your employer puts in $2,000, you can only add $2,150 more as an individual.
You can contribute at any time during the year, but most people do it through payroll deduction, which is simpler and reduces your taxable income immediately. If you enroll in an HDHP mid-year, you can still contribute a prorated amount for the months you were covered. You have until the tax filing deadline (usually April 15) of the following year to make contributions for the prior year.
The three-layer tax advantage
An HSA offers tax relief at three stages. First, contributions are pre-tax — if you contribute through payroll, the money comes out before income tax is calculated, lowering your taxable income for the year. Second, the money in the account grows tax-free — any interest, dividends, or investment gains are not taxed. Third, withdrawals for may have access to medical costs are never taxed, even though you deducted the contribution and the growth was tax-free.
This three-part structure makes HSAs more powerful than a regular savings account. If you put $4,150 into an HSA and it grows to $5,000 over five years, you pay no tax on the $850 gain. If you then withdraw $5,000 to pay for surgery, none of that withdrawal is taxed. By contrast, money in a regular savings account is taxed when you earn it, and the interest is taxed as income each year.
What counts as a may have access to medical cost
You can withdraw HSA money tax-free for a broad range of medical costs: doctor visits, hospital stays, prescription drugs, dental work, vision care, mental health treatment, physical therapy, and medical equipment like crutches or hearing aids. You can also use it for over-the-counter medications (with a prescription from your doctor), insulin, and certain health-related items like blood pressure monitors or glucose meters.
Costs that do not count include cosmetic surgery (unless it is reconstructive after an injury), most over-the-counter items without a prescription, gym memberships, and vitamins. If you are unsure whether a cost qualifies, the IRS publishes a full list, and your HSA provider can also tell you. Keep receipts and documentation — if you withdraw money for a non-may have access to cost, you owe income tax on the withdrawal plus a 20 percent penalty (after age 65, the penalty goes away but income tax remains).
How the account works after you change jobs or insurance
Your HSA is portable — it belongs to you, not your employer or insurance plan. If you leave your job, the account stays open and the money stays yours. You can roll it to a new HSA at a different bank or provider, or keep it where it is. If you change insurance plans but stay with the same employer, your HSA moves with you. If you lose HDHP coverage, you stop being able to contribute, but you can still withdraw money from the account for medical costs for the rest of your life.
Some employers offer HSA accounts through a specific bank or provider, but you are not locked in. You can open your own HSA at a different financial institution and contribute to it instead, or in addition, as long as your total contributions do not exceed the annual limit. This flexibility means you can choose an HSA provider based on fees, investment options, and customer service rather than being stuck with your employer's choice.
Investment options and account growth
Most HSA providers let you keep money in a cash account (earning minimal interest) or invest it in mutual funds, stocks, or other securities. The investment options vary by provider — some offer a wide range, others offer only a few funds. If you do not expect to use the money soon, investing it can help it grow faster. If you need it within a year or two, keeping it in cash avoids investment risk.
You pay fees to maintain the account, and these vary widely — some providers charge $0, others charge $2 to $5 per month or charge per transaction. Investment fees (if you invest the money) are separate and depend on which funds you choose. Before opening an HSA, compare providers on fees, investment options, and ease of withdrawal, because these differences add up over time.
Frequently Asked Questions
Can I use my HSA to pay my insurance premium?
No, with one exception: you can use HSA money to pay for COBRA coverage (continuation coverage after leaving a job) or premiums for health insurance while you are unemployed. You cannot use it to pay your regular monthly premium while you are employed. You can use it for costs your insurance does not cover, like copays and deductibles.
What happens to my HSA if I turn 65?
Your HSA does not close. You can no longer contribute to it once you enroll in Medicare, but the money stays in the account. You can withdraw it for any reason without the 20 percent penalty, though non-medical withdrawals are taxed as income. Many people use their HSA as a retirement savings tool for this reason.
Can I withdraw money for my spouse's medical costs?
Yes, as long as your spouse is claimed as a dependent on your tax return. You can also withdraw for your children and any other dependents. The money does not have to be used by the person whose name is on the account.
What if I withdraw money and later find out it was not a may have access to cost?
You owe income tax on the withdrawal plus a 20 percent penalty. You do not have to pay the money back to the account, but you will owe taxes when you file your return. Keep receipts so you can prove which withdrawals were for may have access to costs if the IRS asks.
Can I have more than one HSA at the same time?
You can have multiple HSA accounts, but your total contributions across all of them cannot exceed the annual limit. If you contribute to more than one, you must track the total yourself to avoid over-contributing, which results in taxes and penalties on the excess.