A health savings account gives you a tax break on money you set aside for medical costs, lets that money grow without being taxed, and lets you withdraw it tax-free when you actually need it for healthcare
Most savings accounts and investment accounts tax you on the interest or gains you earn. A health savings account (HSA) does not. You contribute pre-tax dollars (money before income tax is taken out), the balance grows without annual tax, and you pull money out tax-free as long as you spend it on medical expenses. That three-layer tax advantage is what makes an HSA different from a regular savings account or a flexible spending account (FSA), which forces you to use the money or lose it each year.
The practical result: if you set aside $3,000 in an HSA over a year and it earns $100 in interest, you do not pay tax on that $100. If you had put the same $3,000 in a regular savings account, you would owe tax on the interest. Over decades, that difference compounds.
Key Takeaways
- Money you put into an HSA is not subject to federal income tax, reducing your taxable income for the year.
- Any interest, dividends, or investment gains inside the HSA are not taxed annually, so your balance grows faster than in a regular account.
- Withdrawals for may have access to medical expenses—including deductibles, copays, prescriptions, and dental work—are completely tax-free.
- Unlike a flexible spending account, unused HSA money rolls over to the next year and stays yours indefinitely, so you can build a long-term medical fund.
- After age 65, you can withdraw HSA money for any reason without penalty, though non-medical withdrawals are taxed as regular income.
You reduce your taxable income the year you contribute
When you put money into an HSA, that amount does not count as income on your tax return. If you earn $60,000 and contribute $4,000 to an HSA, the IRS treats your taxable income as $56,000. That means you pay federal income tax on $4,000 less.
The tax savings depend on your tax bracket. If you are in the 22% federal tax bracket, a $4,000 HSA contribution saves you $880 in federal tax that year. Some states also tax HSA contributions, but most do not—check your state's rules to be sure. Self-employed people get an additional benefit: HSA contributions reduce both income tax and self-employment tax.
Investment gains inside the account are never taxed annually
If you do not need your HSA money right away, you can invest it in mutual funds, stocks, or bonds through most HSA providers. Any interest, dividends, or capital gains your investments earn are not taxed each year the way they would be in a regular brokerage account.
This matters most if you plan to keep money in the HSA for years. A $5,000 investment that grows to $8,000 over ten years generates $3,000 in gains. In a taxable account, you would owe tax on those gains annually or when you sell. In an HSA, the $3,000 grows tax-free. The longer you hold the money, the more this advantage compounds.
Medical withdrawals are completely tax-free
When you withdraw HSA money to pay for a may have access to medical expense, you owe no tax on that withdrawal—not on the original contribution, not on any gains. may have access to expenses include deductibles, copays, coinsurance, prescription drugs, dental work, vision care, mental health treatment, and many over-the-counter items like bandages and pain relievers.
This is the core advantage: you are using pre-tax money to pay for healthcare, and the gains on that money are never taxed. A $4,000 contribution that grows to $4,500 and is then spent on a root canal costs you nothing in taxes. In a regular savings account, you would have paid tax on the $500 gain.
Unused money rolls over indefinitely, unlike a flexible spending account
A flexible spending account (FSA) operates on a "use it or lose it" rule: money you do not spend by the end of the plan year is forfeited. An HSA has no such deadline. Any balance you do not spend stays in the account and is yours to keep, year after year, for as long as you hold the account.
This means you can build a medical fund over time. If you are healthy and do not need much medical care, you can let your HSA grow for years, investing the balance and letting it compound. When you face a large medical expense—surgery, a hospital stay, ongoing treatment—the money is there, and you withdraw it tax-free. Some people use an HSA as a retirement medical fund, setting it aside specifically for healthcare costs after age 65.
You can use the account as a retirement tool after age 65
Once you turn 65, HSA rules change. You can still withdraw money tax-free for medical expenses. But you can also withdraw money for any reason without the 20% penalty that applies to non-medical withdrawals before age 65. Non-medical withdrawals after 65 are taxed as regular income, but there is no penalty.
This flexibility makes an HSA function like a supplemental retirement account. If you have built a large balance over decades and do not need it all for medical costs, you can use it for living expenses in retirement and pay only income tax—the same tax you would pay on a traditional IRA withdrawal. Some financial planners recommend maxing out HSA contributions specifically for this reason, treating it as a long-term savings vehicle rather than just a way to pay this year's medical bills.
The account stays with you if you change jobs or health plans
An HSA is yours individually, not tied to your employer or your health insurance plan. If you leave your job, your HSA balance remains in your account. If you switch health plans, the money stays with you. You can keep contributing to the same HSA or roll it to a new provider, but the balance and all its tax-free growth are protected.
This is different from a flexible spending account, which is tied to your employer's plan and typically ends when you leave the job. With an HSA, you build a portable medical fund that follows you through job changes, career shifts, and life transitions.
Frequently Asked Questions
Do I have to use my HSA money for medical expenses, or can I save it?
You can save it indefinitely. There is no requirement to spend HSA money in any particular year. If you withdraw it for non-medical reasons before age 65, you pay income tax plus a 20% penalty on the withdrawal. After 65, you can withdraw for any reason and pay only income tax, with no penalty.
What counts as a may have access to medical expense?
may have access to expenses include insurance deductibles, copays, coinsurance, prescription drugs, dental and vision care, mental health treatment, and many over-the-counter items. Cosmetic procedures, gym memberships, and vitamins typically do not count. The IRS publishes a full list, and your HSA provider can tell you whether a specific expense qualifies.
Can I invest my HSA balance, or does it have to sit in cash?
Most HSA providers let you invest the balance in mutual funds, stocks, or bonds. Some require a minimum cash balance (often $1,000 to $2,500) before you can invest the rest. Check your provider's rules. Investment gains are not taxed annually and can be withdrawn tax-free for medical expenses.
What happens to my HSA if I switch to a health plan that is not HSA-may be able to access?
Your HSA stays open and the money remains yours. You cannot make new contributions while you are on a non-HSA plan, but you can withdraw money tax-free for medical expenses. Once you return to an HSA-may be able to access plan, you can resume contributions.
Is there a limit to how much I can contribute each year?
Yes. The IRS sets annual contribution limits that vary by year and by whether your coverage is individual or family. Your HSA provider and tax documents will show the current limit. If you exceed it, you owe tax on the overage plus a 6% penalty each year until you withdraw the excess.