You can use HSA funds at pharmacies, doctors' offices, hospitals, and for certain medical equipment and supplies—but not for gym memberships, cosmetic procedures, or most over-the-counter items without a prescription.
An HSA works like a debit card at the point of sale for most medical expenses. You swipe it at your pharmacy when you pick up a prescription, hand it to the receptionist at your dentist's office, or use it online to pay a medical bill. The money comes straight from your HSA account. But the IRS has strict rules about what counts as a medical expense, and those rules matter because using HSA funds for non-may have access to expenses triggers taxes plus a 20% penalty on the amount you withdraw.
The key distinction is this: if the expense treats, prevents, or diagnoses a medical condition, it usually qualifies. If it improves general health or appearance without treating a specific condition, it usually does not. That line is sharper than it sounds once you know where it falls.
Key Takeaways
- HSA funds work at any pharmacy, doctor, dentist, hospital, or medical supplier—you do not need to use a specific network or pre-approved provider.
- Prescription medications, copays, deductibles, and coinsurance all may have access to; most over-the-counter drugs do not unless you have a prescription from your doctor.
- Medical equipment like crutches, wheelchairs, hearing aids, and glucose monitors qualifies; fitness equipment and general wellness items do not.
- Withdrawing HSA funds for non-may have access to expenses costs you income tax plus a 20% penalty, so confirming an expense qualifies before you pay is worth the extra step.
Where you can swipe your HSA card or pay directly
Your HSA debit card works at any business that accepts payment for a medical service or product. That includes chain pharmacies like CVS and Walgreens, independent pharmacies, doctor and dentist offices, hospitals, urgent care centers, physical therapy clinics, eye doctors, and medical supply stores. You can also use it to pay medical bills online or by mail if the provider accepts card payments.
Some HSA providers issue a debit card automatically; others require you to request one. If your HSA does not come with a card, you can still withdraw funds by check or bank transfer and pay the provider directly. Either way, the provider does not need to know you are using an HSA—they just see a payment.
One important limit: your HSA card may decline at a merchant if the system flags the purchase as non-medical. This happens most often at large retailers like Target or Walmart when you buy a mix of items. If the card declines, you can pay out of pocket and then request reimbursement from your HSA later, or ask the cashier to ring up only the medical items separately.
Prescription and over-the-counter medications
Prescription medications always may have access to. You can use your HSA at any pharmacy to pay for prescriptions, and the cost comes out of your account with no tax penalty. This includes brand-name drugs, generics, and medications for any condition—diabetes, depression, high blood pressure, allergies, anything.
Over-the-counter drugs are trickier. Most do not may have access to on their own: aspirin, cold medicine, allergy pills, antacids, and pain relievers purchased without a prescription trigger the 20% penalty if you pay with HSA funds. The exception is insulin, which qualifies without a prescription. For everything else, you need a doctor to write a prescription—even if the medication is available over the counter. Once you have a prescription, you can use your HSA to pay for it, even if you buy the generic version without a prescription later.
Some HSA providers offer a workaround: you can submit a letter from your doctor stating that you need a specific over-the-counter medication for a diagnosed condition. Keep that letter with your records in case the IRS ever questions the withdrawal. But the safest route is asking your doctor for a prescription if you plan to use HSA funds.
Medical equipment, devices, and supplies
Medical equipment qualifies if it treats or manages a diagnosed condition. Crutches, wheelchairs, walkers, canes, hearing aids, glucose monitors, blood pressure cuffs, thermometers, and nebulizers all may have access to. So do orthopedic braces, compression stockings, and corrective lenses. You can use your HSA to buy these items at medical supply stores, online retailers, or directly from manufacturers.
The line gets fuzzy with items that blur health and general use. A standing desk does not may have access to, even if your doctor says sitting all day hurts your back—it is a general wellness item. But a special mattress prescribed by a doctor for a diagnosed sleep disorder may may have access to if you have documentation. A fitness tracker does not may have access to; a continuous glucose monitor does. When in doubt, ask your HSA provider in writing before you buy, and keep the response.
Supplies like bandages, gauze, tape, and antiseptic ointment may have access to. So do diabetic supplies—test strips, lancets, and syringes. Contact lens solution qualifies; eyeglasses and contacts do, but only if they correct vision (not cosmetic lenses). Sunscreen does not may have access to unless prescribed for a specific skin condition.
Doctor visits, dental work, and vision care
Any visit to a licensed healthcare provider qualifies: copays, deductibles, and coinsurance for doctors, dentists, eye doctors, chiropractors, physical therapists, mental health counselors, and specialists. You can use your HSA to cover the full cost if you have not met your deductible, or just the copay or coinsurance portion if you have.
Dental work qualifies across the board: cleanings, fillings, root canals, extractions, crowns, and orthodontics. Cosmetic dental work—teeth whitening, veneers purely for appearance—does not may have access to unless it is part of reconstructive work after an injury or illness. Vision care includes eye exams, glasses, contacts, and contact lens solutions. Laser eye surgery (LASIK) qualifies because it corrects a vision problem.
Mental health and therapy visits may have access to. You can use your HSA to pay a therapist, psychiatrist, or counselor for sessions, whether in person or telehealth. Substance abuse treatment programs also may have access to.
What does not may have access to and why it matters
Gym memberships, fitness classes, and general wellness programs do not may have access to, even if your doctor recommends exercise. Cosmetic procedures—Botox, hair removal, teeth whitening for appearance only—do not may have access to. Vitamins and supplements do not may have access to unless prescribed by a doctor for a specific deficiency. Sunscreen does not may have access to unless prescribed for a skin condition. Toothpaste, mouthwash, and deodorant do not may have access to. Haircuts and wigs do not may have access to unless the wig is prescribed for hair loss caused by a medical condition.
Travel to a medical appointment does not may have access to, but lodging during an overnight hospital stay does. Cosmetic surgery does not may have access to; reconstructive surgery after an accident or illness does. Fertility treatments and surrogacy can may have access to in some cases, but the rules vary by state and by the specific procedure—ask your HSA provider.
Using HSA funds for a non-may have access to expense costs you. You owe income tax on the amount withdrawn, plus a 20% penalty. So if you withdraw $500 for a non-may have access to expense and you are in the 22% tax bracket, you owe $110 in taxes plus $100 in penalty—$210 total on top of the $500 you spent. That is why confirming an expense qualifies before you pay is worth a phone call to your HSA provider.
How to know if something qualifies before you buy
Your HSA provider publishes a list of may have access to expenses—ask for it or check their website. The IRS also publishes Publication 502, which lists medical expenses. But these lists are not exhaustive, and gray-area items come up often.
The safest step is to contact your HSA provider or your plan administrator in writing and describe the expense. Ask whether it qualifies. Keep the response. If the IRS ever questions the withdrawal, you have documentation that you asked in good faith. Most providers respond within a few business days.
If you are unsure and the expense is small, paying out of pocket and saving the receipt is often simpler than navigating the gray area. You can always request reimbursement later if you confirm it qualifies. For large expenses—a hearing aid, orthodontic work, a medical device—the phone call or email is worth the time.
Frequently Asked Questions
Can I use my HSA at any pharmacy or do I have to use a specific one?
You can use your HSA at any pharmacy—chain, independent, or mail-order. Your HSA is not tied to a pharmacy network. Some pharmacies may not recognize the HSA debit card at first, but they accept it once you explain it is a medical payment card. If the card declines, pay out of pocket and request reimbursement from your HSA later.
Do I have to have a prescription to use my HSA for over-the-counter medicine?
Most over-the-counter drugs require a prescription to may have access to for HSA payment. Insulin is the main exception—it qualifies without a prescription. For other medications, ask your doctor for a prescription, even if you buy the generic version over the counter later. Once you have a prescription, the HSA covers it.
Can I use my HSA to pay for a gym membership if my doctor recommends exercise?
No. Gym memberships and general fitness do not may have access to for HSA funds, even with a doctor's recommendation. The IRS considers them general wellness, not treatment for a specific condition. You can use your HSA for physical therapy prescribed after an injury, but not for preventive fitness.
What happens if I use my HSA for something that does not may have access to?
You owe income tax on the withdrawal plus a 20% penalty. If you withdraw $500 for a non-may have access to expense and are in the 22% tax bracket, you owe $110 in taxes plus $100 in penalty. That is why confirming an expense qualifies with your HSA provider before you pay is worth the step.
Can I use my HSA to pay for telehealth visits?
Yes. Telehealth visits with licensed doctors, therapists, and other healthcare providers may have access to for HSA payment the same way in-person visits do. You can use your HSA to pay the provider directly or to cover a copay or deductible.