The tax advantage of an HSA: contributions, growth, and withdrawals
A Health Savings Account is tax-free in three specific ways: money you put in reduces your taxable income, the money grows without being taxed, and withdrawals for may have access to medical expenses are not taxed. This three-part tax break is what makes an HSA different from a regular savings account or a flexible spending account.
The tax benefit only applies when you use the account correctly. If you withdraw money for something other than a may have access to medical expense, you pay income tax on that withdrawal plus a 20 percent penalty—unless you are over 65, in which case you pay income tax but not the penalty.
You must be enrolled in a high-deductible health plan (HDHP) to open or contribute to an HSA. If you drop the HDHP coverage, you can keep the account and keep the tax benefits on money already in it, but you cannot add new contributions.
Key Takeaways
- Contributions to an HSA reduce your taxable income dollar-for-dollar, lowering your tax bill in the year you contribute.
- Money in the account earns interest or investment returns without being taxed each year, so your balance grows faster than in a taxable account.
- Withdrawals for may have access to medical expenses—doctor visits, prescriptions, dental work, vision care, and many others—are never taxed.
- Withdrawals for non-medical expenses are taxed as income plus a 20 percent penalty before age 65, making early withdrawal expensive.
- You lose the ability to contribute new money if you leave your HDHP, but existing funds keep their tax-free status.
How contributions lower your taxes right now
When you contribute to an HSA, the amount you contribute is subtracted from your gross income before taxes are calculated. If you earn $50,000 and contribute $4,000 to an HSA, you report only $46,000 as taxable income. This works whether you contribute through payroll deduction (which is the most common route) or by depositing money yourself.
The contribution limits change each year. For 2024, the limit is $4,150 for individual coverage and $8,300 for family coverage. These limits are set by the IRS and may be different in the year you are reading this. If you contribute through your employer's payroll, the contribution is taken out before Social Security and Medicare taxes are calculated, so you save on those taxes too.
If you contribute money yourself rather than through payroll, you claim the deduction on your tax return. You do not need to itemize deductions to get this benefit—it reduces your income whether you take the standard deduction or itemize.
Tax-free growth means your money compounds faster
Money sitting in an HSA earns interest or investment returns without triggering a tax bill each year. If you invest your HSA balance in mutual funds or stocks through your HSA provider, any gains are not taxed annually. This is different from a regular brokerage account, where you owe tax on dividends and capital gains each year.
Over time, this tax-free compounding adds up. A $4,000 contribution that grows at 5 percent per year will reach $5,105 in ten years in an HSA. In a taxable account, assuming a 24 percent tax rate on gains, the same contribution and growth would leave you with roughly $4,900 after taxes—about $200 less because of annual tax drag.
You can leave money in the account indefinitely. Unlike a flexible spending account (FSA), which forces you to use the money or lose it each year, an HSA has no "use it or lose it" rule. This means you can let the balance grow year after year if you do not need to withdraw it for medical expenses.
may have access to medical expenses that come out tax-free
Withdrawals are tax-free only when used for may have access to medical expenses. The IRS maintains a detailed list, but the main categories are doctor visits, hospital care, prescription drugs, dental work, vision care (including glasses and contact lenses), hearing aids, and mental health treatment. You can also use HSA funds to pay insurance premiums in certain situations: COBRA premiums, long-term care insurance premiums, and health insurance premiums if you are receiving unemployment benefits.
Some expenses that sound medical are not covered. Cosmetic surgery, gym memberships, vitamins (unless prescribed by a doctor for a specific condition), and over-the-counter medications (except insulin) do not may have access to. If you are unsure whether an expense qualifies, check the IRS Publication 502 or ask your HSA provider before withdrawing.
You do not have to withdraw money in the same year you incur the expense. You can pay a medical bill out of pocket and withdraw the same amount from your HSA years later, as long as you keep records showing the expense was incurred while you had HSA coverage. This flexibility lets you use the HSA as a long-term investment vehicle if you do not need the money immediately.
Non-medical withdrawals and the 20 percent penalty
If you withdraw money for something that is not a may have access to medical expense, you owe income tax on the withdrawal plus a 20 percent penalty. The penalty applies only to the earnings portion of the withdrawal if you contributed the money yourself, but if the withdrawal came from employer contributions, the penalty applies to the full amount withdrawn.
The 20 percent penalty does not apply after age 65. At 65, you can withdraw money for any reason without penalty, though you still owe income tax on non-medical withdrawals. This makes an HSA function like a traditional IRA after you reach retirement age, except that withdrawals for medical expenses remain tax-free at any age.
If you accidentally withdraw money for a non-may have access to expense, some HSA providers allow you to return the money within a set timeframe to avoid the penalty. Check your plan documents or contact your provider to see if this option is available.
What happens to your HSA if you change health plans
Your HSA belongs to you, not your employer. If you leave your job or switch to a different health plan that is not an HDHP, you keep the account and keep all the money in it. The tax-free status of money already in the account does not change.
What changes is your ability to contribute new money. You can only contribute to an HSA during months when you are enrolled in an HDHP. If you switch to a preferred provider organization (PPO) plan or a health maintenance organization (HMO) plan, you cannot make new contributions, but you can still withdraw money for may have access to medical expenses tax-free.
If you later re-enroll in an HDHP, you can resume contributions. The account itself never closes unless you close it intentionally.
HSA tax benefits compared to FSA and other accounts
A flexible spending account (FSA) also lets you set aside pre-tax money for medical expenses, but it has a "use it or lose it" rule—money left at the end of the year is forfeited. An HSA has no such limit; unused money rolls over indefinitely. Additionally, an FSA does not allow you to invest the balance, so there is no tax-free growth. An HSA does allow investment, making it a better long-term savings tool.
A regular savings account or taxable brokerage account offers no tax deduction for contributions and taxes you on interest and gains each year. An HSA is more tax-efficient if you have access to one.
A Dependent Care FSA (used for childcare expenses) and a Health Savings Account serve different purposes and can sometimes be used together. You can have both an HSA and a Dependent Care FSA at the same time without affecting the tax benefits of either.
Frequently Asked Questions
Do I have to use my HSA money every year or lose it?
No. Unlike a flexible spending account, an HSA has no "use it or lose it" rule. Money you do not spend stays in the account and can be used in future years. You can let the balance grow indefinitely as long as you remain enrolled in an HDHP or keep the account open after leaving an HDHP.
Can I withdraw HSA money for my spouse's medical expenses?
Yes, as long as your spouse is claimed as a dependent on your tax return. The expense must still be a may have access to medical expense. If your spouse is not a dependent, you cannot use your HSA to pay their medical bills.
What happens to my HSA if I die?
If your beneficiary is your spouse, they can treat the HSA as their own and continue using it tax-free for medical expenses. If the beneficiary is someone else, the account is taxed as income to that person, though withdrawals for the deceased's medical expenses remain tax-free.
Can I use my HSA to pay health insurance premiums?
You can use HSA funds to pay COBRA premiums, long-term care insurance premiums, and health insurance premiums if you are receiving unemployment benefits. You cannot use it to pay regular health insurance premiums through your employer or the marketplace.
Do I lose the tax deduction if I withdraw money later?
No. The tax deduction applies in the year you contribute, regardless of when you withdraw the money. You can contribute in 2024 and withdraw in 2030 without losing the deduction from 2024.