No — an HSA has strict rules about what counts as a may have access to medical expense
You cannot use your HSA balance for groceries, gym memberships, rent, or most other everyday costs. The IRS maintains a specific list of may have access to medical expenses, and only those purchases let you withdraw money tax-free. If you spend HSA funds on something that does not appear on that list, you owe income tax on the withdrawal plus a 20% penalty — unless you are over 65, in which case you owe only the income tax.
The rule exists because HSAs are tax-advantaged accounts. You put money in before taxes are taken out, it grows without being taxed, and withdrawals for medical costs are not taxed. That benefit only applies to actual medical spending. The IRS enforces this boundary strictly, and your HSA custodian (usually a bank or insurance company) will flag withdrawals that look questionable.
Key Takeaways
- may have access to medical expenses include doctor visits, prescriptions, dental work, vision care, mental health treatment, and medical equipment — but the IRS publishes the full list and it does not include most over-the-counter items.
- Withdrawals for non-may have access to expenses trigger income tax plus a 20% penalty, making them significantly more expensive than paying out of pocket.
- Some items that seem medical — like vitamins, sunscreen, or a home air purifier — are not on the IRS list unless a doctor prescribes them for a specific condition.
- You can use your HSA debit card at pharmacies and medical offices, but not at general retailers, because the merchant category codes prevent it.
- After age 65, you can withdraw HSA money for any reason without the 20% penalty, though income tax still applies to non-medical spending.
What the IRS considers a may have access to medical expense
The IRS publishes Publication 502, which lists what counts. The main categories are: doctor and dentist visits, hospital stays, prescription drugs, insulin, medical equipment (crutches, wheelchairs, hearing aids, glasses), mental health and substance abuse treatment, and certain preventive care. Copays and deductibles count. So do costs for treating a diagnosed condition — physical therapy, X-rays, lab work, surgery.
The list also includes some costs that surprise people: acupuncture if a doctor orders it, fertility treatment, weight loss programs if a doctor prescribes them for a diagnosed condition, and certain home modifications (like a ramp or grab bars) if they are medically necessary and do not add value to your home. Nursing home care counts if the primary reason you are there is medical. Prescription eyeglasses and contact lenses count. Hearing aids and batteries count.
What does not count: vitamins and supplements (unless prescribed by a doctor for a specific deficiency), over-the-counter pain relievers and cold medicine (unless prescribed), cosmetic procedures, gym memberships, general wellness items, and most over-the-counter health products. Toothpaste, mouthwash, and deodorant do not count. A home air purifier does not count unless a doctor writes a letter saying it is medically necessary for a diagnosed respiratory condition.
How the penalty works and when it applies
If you withdraw money for a non-may have access to expense, you pay income tax on that amount at your ordinary tax rate, plus a flat 20% penalty. So if you are in the 24% federal tax bracket and withdraw $1,000 for something not on the IRS list, you owe $240 in income tax plus $200 in penalty — $440 total. That makes the withdrawal much more expensive than straightforward paying out of pocket.
The penalty does not explore if you are 65 or older. After 65, you can withdraw HSA money for any reason and owe only income tax, not the penalty. This is why HSAs become more like traditional retirement accounts later in life — the tax advantage for medical spending remains, but the penalty for other uses disappears.
Your HSA custodian does not automatically report non-may have access to withdrawals to the IRS. That responsibility falls on you. If you withdraw $500 for something questionable and do not report it, the IRS may not catch it. But if you are audited and the withdrawal is discovered, you will owe the tax and penalty retroactively, plus interest.
Items people often get wrong
Over-the-counter medications are a common source of confusion. Aspirin, ibuprofen, antihistamines, and cough syrup do not count — you cannot use your HSA debit card to buy them at a pharmacy without triggering a penalty. The exception: if a doctor prescribes them (which is rare for these items), they count. Some people think "if it is at a pharmacy, it must be medical," but that is not how the IRS sees it.
Supplements and vitamins fall into the same category. A bottle of vitamin D from the shelf does not count. If your doctor diagnoses you with a vitamin D deficiency and writes a prescription or a letter stating the deficiency, then you can use your HSA. The letter or prescription has to be in your records in case of an audit.
Sunscreen, insect repellent, and first aid supplies (bandages, antibiotic ointment) do not count as may have access to expenses. Neither do masks, unless they are prescribed for a medical condition. Hand sanitizer and disinfectant wipes do not count. A pulse oximeter or blood pressure monitor counts because they are diagnostic devices, but a general wellness tracker does not.
Dental work is may have access to, but only if it is treatment — fillings, root canals, extractions, crowns, orthodontia. Teeth whitening and cosmetic dentistry do not count. Dental cleaning and exams do count because they are preventive care.
How to avoid penalties: keep receipts and documentation
The safest approach is to keep receipts and medical documentation for every HSA withdrawal. If you use your HSA debit card at a doctor's office or pharmacy, the merchant code usually prevents the transaction from going through if it is not a may have access to expense. But if you withdraw cash or transfer money to your bank account, you have more freedom — and more responsibility to track what you spent it on.
If you are unsure whether something counts, ask your HSA custodian or look it up in Publication 502 before you spend the money. Some custodians have online tools that let you search the may have access to expense list. If the item is borderline — like a home air purifier or a special diet — get a letter from your doctor stating that it is medically necessary for your condition. That letter is your protection in an audit.
Do not assume that because something is sold at a health store or pharmacy, it is a may have access to expense. The location does not matter. The IRS list is what matters.
What happens if you use HSA money for non-medical costs
If you withdraw $2,000 for non-may have access to expenses in a year, you report that withdrawal on your tax return. You add the $2,000 to your taxable income, pay income tax on it, and pay the 20% penalty ($400). You also have to file Form 8889 with your tax return to report HSA activity. If you do not report it and the IRS finds out during an audit, you owe the tax and penalty plus interest, which can compound over years.
Some people try to use their HSA as a general savings account and plan to pay the penalty. That is a choice, but it is an expensive one. You are essentially paying a 20% fee to access your own money, plus income tax. It almost never makes financial sense unless you are over 65.
After age 65: the rules change
Once you turn 65, you can withdraw HSA money for any reason without the 20% penalty. You still owe income tax on non-medical withdrawals, but the penalty disappears. This makes an HSA function like a traditional IRA at that point — you can use it for medical costs tax-free, or for anything else and pay only income tax.
Many people use this feature to let their HSA grow as a retirement account. They pay medical expenses out of pocket during their working years, leave the HSA untouched, and then withdraw it after 65 for any purpose. Since medical costs are typically high in retirement, many people end up using it for medical expenses anyway — but they have the option to use it for other things if they need to.
Frequently Asked Questions
Can I use my HSA to pay for my spouse's or child's medical expenses?
Yes. As long as the person is your dependent or spouse, their may have access to medical expenses count, even if they are not on your health plan. You can use your HSA to pay for their doctor visits, prescriptions, dental work, and other may have access to costs. Keep receipts showing the expense and who it was for.
What if I accidentally spend HSA money on something that is not may have access to?
You have to report it on your tax return and pay income tax plus the 20% penalty. There is no grace period or way to undo it. If you realize the mistake before filing your return, you can withdraw the money from your HSA and put it back into your bank account, but you still owe the tax and penalty on the original withdrawal.
Does my HSA custodian tell me what is may have access to and what is not?
Your custodian can point you to the IRS list, but they do not make the final information. The IRS does. Some custodians have online tools or customer service that can help you look up whether something counts, but the responsibility for knowing the rules is yours. When in doubt, ask for a letter from your doctor or check Publication 502.
Can I use my HSA for therapy or mental health treatment?
Yes. Therapy, counseling, psychiatry, and substance abuse treatment all count as may have access to medical expenses. Copays, deductibles, and the full cost of treatment (if you are paying out of pocket) are all covered. This includes both in-person and telehealth mental health visits.
What about HSA money left over at the end of the year?
It rolls over. Unlike a flexible spending account (FSA), you do not lose unspent HSA money. It stays in the account and grows year after year. You can use it whenever you have a may have access to medical expense, even years later. This is one reason HSAs are valuable — the money is yours to keep.