A health savings account is a tax-advantaged container for medical expenses that you control
A Health Savings Account (HSA) is a savings account tied to a high-deductible health insurance plan. Money you put into it reduces your taxable income, grows tax-free, and comes out tax-free when you spend it on medical costs. You own the account and the money in it—not your employer or your insurance company—so you decide how much to contribute each year (within IRS limits) and what medical expenses to pay from it.
The account works like this: you contribute pre-tax dollars, the balance sits in an investment account earning interest or returns, and when you have a medical expense—a doctor visit, prescription, dental work, vision care—you withdraw money to pay for it. Any money you don't spend stays in the account and rolls over to the next year. There is no "use it or lose it" deadline, which is different from a flexible spending account (FSA).
The catch is that you must be enrolled in a high-deductible health plan (HDHP) to open or contribute to an HSA. An HDHP has a higher deductible than a standard plan but usually lower monthly premiums. The IRS sets the minimum deductible each year—for 2024, it is $1,600 for individual coverage and $3,200 for family coverage, though these numbers change annually.
Key Takeaways
- You must be enrolled in a high-deductible health plan to contribute to an HSA; the account is portable and stays with you even if you change jobs or insurance.
- Contributions reduce your taxable income, and withdrawals for medical expenses are tax-free, making the account a triple tax advantage if you use it for may have access to medical costs.
- You can withdraw money for any reason, but non-medical withdrawals before age 65 are taxed as income plus a 20 percent penalty; after 65, they are taxed as income only.
- The IRS limits how much you can contribute each year—$4,150 for individual coverage and $8,300 for family coverage in 2024, with an extra $1,000 catch-up contribution allowed at age 55.
- Unlike a flexible spending account, HSA money rolls over year to year with no deadline, so you can let it grow and use it later in retirement.
Who can open an HSA and what the enrollment rules are
You can open an HSA only if you are enrolled in a high-deductible health plan and meet three conditions: you have no other health insurance (except specific exceptions like dental or vision coverage), you are not claimed as a dependent on someone else's tax return, and you are not enrolled in Medicare. If your employer offers an HDHP, you can open an HSA through them or independently at a bank or financial institution. You do not have to use your employer's HSA provider—you can shop around for better fees or investment options.
The enrollment window matters. If you enroll in an HDHP during the standard open enrollment period (usually November through December for coverage starting January 1), you can contribute to an HSA for that full year. If you enroll mid-year, you can contribute only for the months you are covered by the HDHP. Some employers allow you to open an HSA immediately when you become may be able to access; others require you to wait until the next open enrollment. Check with your benefits administrator about the timing at your workplace.
If you lose HDHP coverage—because you switched to a standard plan, enrolled in Medicare, or gained other health insurance—you can no longer contribute to the HSA, but you keep the account and the money in it. You can continue to withdraw from it for medical expenses tax-free for the rest of your life.
How contribution limits work and what you can contribute
The IRS sets annual contribution limits that 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. These limits include contributions from both you and your employer—if your employer contributes $1,000, you can contribute only $3,150 more to reach the $4,150 limit. If you are age 55 or older, you can add an extra $1,000 catch-up contribution on top of the standard limit.
You can contribute in a lump sum at any time during the year, or set up automatic monthly contributions through your employer's payroll or your bank. If you contribute through payroll, the money comes out before taxes are calculated, so you see the tax savings immediately on your paycheck. If you contribute on your own after taxes, you can deduct the contribution on your tax return when you file.
Contribution limits reset on January 1 each year. If you over-contribute, the IRS charges a 6 percent excise tax on the excess amount each year it stays in the account, so it is important to track your total contributions across all sources if you have multiple HSAs or if your employer contributes on your behalf.
What medical expenses you can pay from an HSA
The IRS maintains a long list of may have access to medical expenses that you can pay from an HSA tax-free. These include doctor visits, hospital stays, surgery, prescription medications, dental work, vision care, mental health treatment, and medical equipment like wheelchairs or hearing aids. You can also pay for over-the-counter medications (like pain relievers or allergy medicine) if you have a prescription from a doctor, though insulin does not require a prescription. Preventive care like annual checkups and vaccinations are covered.
Some expenses that sound medical are not covered. Cosmetic surgery, gym memberships, vitamins without a medical condition diagnosis, and over-the-counter medications without a prescription are not may have access to expenses. Long-term care insurance premiums are covered up to a limit set by the IRS each year. If you are unsure whether an expense qualifies, the IRS publishes a full list on its website, and your HSA provider can usually answer specific questions.
You do not have to spend HSA money in the year you contribute it. You can let it grow for years and use it later—even in retirement. This makes an HSA different from a flexible spending account, where unspent money is forfeited at the end of the year.
What happens if you withdraw money for non-medical expenses
You can withdraw money from an HSA for any reason, but if the money is not used for a may have access to medical expense, you pay income tax on the withdrawal plus a 20 percent penalty. For example, if you withdraw $1,000 for a non-medical expense and you are in the 22 percent tax bracket, you owe $220 in income tax plus $200 in penalty—a total of $420 in taxes on a $1,000 withdrawal. This penalty applies only to the earnings on your account, not to the contributions themselves, but in practice the distinction rarely matters because the penalty is steep either way.
The penalty drops to zero after age 65. Once you turn 65, you can withdraw money from your HSA for any reason without the 20 percent penalty. You still owe income tax on non-medical withdrawals, but the penalty goes away. This is why many people use an HSA as a retirement savings tool—they contribute during working years, let the money grow, and after 65 they can withdraw it for any purpose (paying income tax only, like a traditional IRA).
Keep receipts for all medical expenses you pay from an HSA. The IRS does not require you to submit receipts when you withdraw money, but you must be able to prove the expense was may have access to if the IRS audits you. If you cannot document that a withdrawal was for a medical expense, the IRS will treat it as a non-medical withdrawal and assess the penalty retroactively.
How HSA accounts grow and where your money is invested
An HSA is not just a checking account—it is an investment account. Once you contribute money, it sits in whatever investment vehicle your HSA provider offers: a money market fund, a savings account earning interest, or a brokerage account where you can buy stocks and mutual funds. The growth is tax-free, meaning any interest, dividends, or capital gains you earn do not trigger a tax bill as long as you eventually spend the money on medical expenses.
Different HSA providers offer different investment options. Some offer only a savings account with minimal interest. Others let you invest in mutual funds or index funds with higher growth potential. If your employer offers an HSA through payroll, check what investment options are available. If you are not satisfied, you can often roll the money to an HSA at a different provider (called a trustee-to-trustee transfer) without tax consequences. Shop around—some providers charge high fees that eat into your returns, while others charge nothing.
The longer you leave money in the account, the more time it has to grow. Many people use an HSA as a long-term retirement savings tool: they contribute the maximum each year, invest it in low-cost index funds, and do not touch it unless they have a major medical expense. By retirement, the account can grow to a substantial amount.
How an HSA differs from a flexible spending account and other savings options
A flexible spending account (FSA) is similar to an HSA but works differently in two key ways. FSA money must be spent in the year you contribute it—any unspent balance is forfeited on December 31 (though some plans allow a small carryover or grace period). An HSA has no deadline; money rolls over forever. Also, an FSA is tied to your employer and ends when you leave the job, while an HSA is yours to keep regardless of employment changes.
A dependent care FSA is separate from a health FSA and covers childcare or elder care expenses. You cannot use HSA money for dependent care, and you cannot have both a health FSA and an HSA in the same year (with rare exceptions). If your employer offers both, you must choose one.
An HSA is also different from a standard savings account because contributions are tax-deductible and growth is tax-free. If you put $4,150 into a regular savings account, you pay taxes on any interest it earns. If you put $4,150 into an HSA, the contribution itself reduces your taxable income, and the growth is tax-free—a significant advantage over time.
What to do if you change jobs or lose HDHP coverage
Your HSA is portable. If you leave your job, the account stays with you—you do not lose the money or the account. You can keep it at your current HSA provider, or roll it to a new provider at your new employer or independently. If your new employer offers an HSA, you can roll your old HSA into it, or keep both accounts open (though you must track contributions across both to avoid exceeding the annual limit).
If you lose HDHP coverage because you switched to a standard health plan or enrolled in Medicare, you can no longer contribute to the HSA, but you keep the account and can withdraw from it for medical expenses tax-free indefinitely. Once you turn 65, you can withdraw for any reason and pay only income tax (no penalty). This makes an HSA a valuable long-term asset even after you stop contributing.
If you switch back to an HDHP later—for example, if you change jobs and your new employer offers an HDHP—you can resume contributions to your existing HSA. You do not have to open a new account.
Frequently Asked Questions
Can I use HSA money to pay my insurance premiums?
No, with one exception: you can use HSA money to pay for long-term care insurance premiums (up to an IRS-set limit that changes yearly). You cannot use it for health insurance premiums while you are working, but after you turn 65 or become unemployed, you can use it to pay Medicare premiums, COBRA premiums, or other health insurance premiums without penalty.
What if I contribute too much to my HSA?
If you over-contribute, you must withdraw the excess before the tax filing deadline (usually April 15 of the following year) to avoid a 6 percent excise tax. The excess amount and any earnings on it are taxable. Contact your HSA provider immediately if you realize you have over-contributed—they can help you file a corrected return.
Can I have an HSA if my spouse has a standard health plan?
Yes, as long as you are enrolled in an HDHP yourself. Your spouse's coverage does not disqualify you. However, if you have family HDHP coverage that includes your spouse, your spouse cannot have separate non-HDHP coverage—the rule applies to the family unit, not individuals.
Do I have to spend HSA money on my own medical expenses, or can I pay for my family's?
You can pay for medical expenses of your spouse and any dependent, even if they are not on your HDHP. The expense must be may have access to, but it does not matter who incurs it. You can also pay for a parent's medical expenses if they are your dependent for tax purposes.
What happens to my HSA if I die?
The account passes to your beneficiary (usually your spouse or estate). If your spouse inherits it, they can treat it as their own HSA and continue to use it. If a non-spouse beneficiary inherits it, they must withdraw the balance and pay income tax on it, but the 20 percent penalty does not apply.