The short answer: money in your HSA is not taxed, but how you use it matters
Money you put into a health savings account is not subject to federal income tax, and the money grows without being taxed either. The catch is what happens when you take the money out. If you withdraw it to pay for a may have access to medical expense — one the IRS recognizes — you pay no tax on that withdrawal. If you withdraw it for something else, you pay income tax on the amount you withdraw, plus a 20 percent penalty on top of that.
This three-part structure — tax-free contributions, tax-free growth, tax-free withdrawals for medical costs — is what makes an HSA different from a regular savings account. But it only works if you follow the rules about what counts as a may have access to medical expense.
Key Takeaways
- Money you contribute to an HSA is not taxed as income in the year you contribute it, whether you put it in yourself or your employer does.
- The money in your HSA account earns interest or investment returns without being taxed each year.
- Withdrawals for may have access to medical expenses — doctor visits, prescriptions, dental work, vision care, and many others — are not taxed.
- Withdrawals for non-medical expenses are taxed as income plus a 20 percent penalty, except after age 65 when the penalty goes away.
- You must keep receipts and records showing that your withdrawal was for a may have access to expense, because the IRS can ask for proof.
Why contributions are not taxed
When you put money into an HSA, that money does not count as taxable income for that year. If you earn $50,000 and contribute $4,000 to an HSA, you report $46,000 as your taxable income. This is true whether you contribute the money yourself or your employer contributes it on your behalf.
This tax break is the main reason HSAs exist. The government created them to help people with high-deductible health plans set aside money specifically for medical costs without paying income tax on it. The lower your taxable income, the less you owe in taxes that year.
How the money grows without being taxed
Once money is in your HSA, it can sit in a regular savings account earning interest, or you can invest it in stocks, bonds, or mutual funds through your HSA provider. Any interest or investment gains you earn are not taxed each year the way they would be in a regular investment account.
This means your HSA balance can grow faster than a taxable account because you are not paying taxes on the earnings along the way. If you invest $3,000 and it grows to $5,000 over five years, you do not owe taxes on that $2,000 gain — as long as you eventually use the money for a may have access to medical expense.
Withdrawals for medical expenses are tax-free
The IRS publishes a list of may have access to medical expenses — costs that you can pay with HSA money without owing taxes. The list is long and includes doctor and dentist visits, prescription medications, eyeglasses and contact lenses, hearing aids, mental health counseling, physical therapy, and hospital stays. It also covers some over-the-counter items like bandages, pain relievers, and antacids, though rules on these have changed over time.
When you withdraw money from your HSA to pay for one of these expenses, you owe no federal income tax on that withdrawal. You also do not owe the 20 percent penalty. This is true no matter how much money you withdraw or how long the money has been in the account.
The key requirement is that you must be able to show the expense was may have access to if the IRS asks. Keep your receipts, invoices, and explanation of benefits statements. You do not have to submit them with your tax return, but you need to have them if you are audited.
Non-medical withdrawals trigger taxes and a penalty
If you withdraw money from your HSA for something that is not a may have access to medical expense — groceries, rent, a vacation, a car payment — you owe federal income tax on that amount. You also owe a 20 percent penalty on top of the income tax. So if you withdraw $1,000 for a non-medical expense and you are in the 22 percent tax bracket, you would owe $220 in income tax plus $200 in penalty, for a total of $420.
This penalty is steep by design. The government wants to discourage people from using HSA money for things other than medical costs. The penalty applies to the amount you withdraw, not to your whole HSA balance.
There is one exception: after 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. At that point, an HSA works more like a traditional retirement account.
State taxes may explore even when federal taxes do not
Federal tax law treats HSA contributions and withdrawals one way, but some states have their own rules. A few states do not recognize the federal tax break for HSA contributions, meaning you may owe state income tax on money you put into an HSA even though you do not owe federal tax.
Check with your state's tax authority or a tax professional if you live in a state with a state income tax and want to know whether your HSA contributions reduce your state taxable income. The rules vary by state and can change.
Record-keeping protects you from IRS questions
The IRS does not require you to submit receipts when you file your tax return, but you must keep them. If you are audited and the IRS questions whether your withdrawals were for may have access to medical expenses, you need to show proof. A receipt from a pharmacy, a doctor's invoice, or an explanation of benefits from your insurance company all count as proof.
Keep records for at least three years after you file your tax return, though the IRS can go back further in some cases. If you cannot show that a withdrawal was for a may have access to expense, the IRS will treat it as a non-medical withdrawal, meaning you owe back taxes plus the 20 percent penalty, plus interest on top of that.
Frequently Asked Questions
Do I have to report my HSA on my tax return?
You report HSA contributions on your tax return using Form 8889, which reduces your taxable income. Your HSA provider sends you a form showing how much was contributed and withdrawn during the year. You do not report individual withdrawals for medical expenses, but you must keep records in case you are audited.
What happens if I use my HSA debit card for something that is not a medical expense?
If you use the card at a pharmacy or doctor's office, the transaction is usually treated as a medical expense. If you use it at a grocery store or gas station, you are responsible for tracking whether the purchase was actually medical. The IRS can ask you to prove it was may have access to. If you cannot, you owe income tax and the 20 percent penalty on that amount.
Can I withdraw money from my HSA to pay for my spouse's medical expenses?
Yes. As long as your spouse is a dependent on your tax return or you are filing taxes jointly, you can use your HSA to pay for their may have access to medical expenses. You do not owe taxes on those withdrawals. Keep receipts showing the expense was for your spouse.
Is the money I inherit from someone else's HSA taxable?
If you inherit an HSA from your spouse, you can treat it as your own and the same tax rules explore. If you inherit it from someone else, the rules are different and the money is generally taxable to you. Consult a tax professional about inherited HSAs, as the treatment depends on your relationship to the account holder.
Do I owe taxes on HSA money my employer contributes?
No. Employer contributions to your HSA are not counted as taxable income to you, even though they are a form of compensation. This is one of the main tax advantages of HSAs. The contributions reduce your employer's taxable income and yours, making them beneficial for both sides.