You can use your HSA for may have access to medical expenses only — not groceries, rent, or most over-the-counter items without a prescription
Your HSA money sits in a real bank account with your name on it, which makes it feel like money you can spend however you want. You cannot. The IRS maintains a specific list of what counts as a may have access to medical expense, and if you withdraw money for anything else, you pay income tax on that withdrawal plus a 20 percent penalty — unless you are 65 or older, in which case you pay the income tax but skip the penalty.
The may have access to list is longer than most people think, but it has hard edges. Insulin is in. Vitamins are out, unless your doctor prescribes them for a diagnosed deficiency. A gym membership is out. Physical therapy is in. The difference comes down to whether the IRS considers the expense treatment for an existing medical condition, not prevention or general wellness.
If you spend the money on something that turns out not to may have access to, you have until tax filing time to move it back into the account without penalty — but only if you catch the mistake and correct it yourself. The IRS does not automatically flag these errors.
Key Takeaways
- may have access to medical expenses include doctor visits, prescriptions, dental work, vision care, and medical equipment, but the expense must treat a diagnosed condition, not prevent disease or promote wellness.
- Over-the-counter medications and supplies now require a prescription from your doctor to count as may have access to expenses, even common items like pain relievers and allergy medicine.
- Non-may have access to withdrawals trigger income tax plus a 20 percent penalty, with no penalty only after age 65, when the account becomes similar to a regular savings account for non-medical spending.
- You can withdraw money to reimburse yourself for may have access to expenses you paid out of pocket in previous years, as long as you have receipts and did not deduct them on your taxes.
What the IRS considers a may have access to medical expense
The IRS publishes a list called Publication 502, which runs to dozens of pages and covers the major categories: doctor and dentist visits, hospital care, prescription drugs, medical equipment (crutches, wheelchairs, hearing aids), vision and dental care, mental health treatment, and physical therapy. Within each category, the rule is the same: the expense must treat or manage a diagnosed medical condition.
Some items that surprise people are actually may have access to. Acupuncture counts if a licensed practitioner performs it and your doctor refers you. Fertility treatment, including IVF, is may have access to. Psychiatric care and addiction treatment are may have access to. Chiropractic care is may have access to. Prescription birth control is may have access to. Breast reconstruction after mastectomy is may have access to.
The line between may have access to and not may have access to often comes down to intent. Sunscreen is not may have access to because it prevents damage. A prescription-strength sunscreen for someone with a skin condition is may have access to because it treats the condition. A gym membership is not may have access to even if your doctor recommends exercise. Physical therapy prescribed by a doctor for a specific injury is may have access to.
Over-the-counter items: what changed and what still counts
Until 2020, you could buy almost any over-the-counter medication or first-aid supply with your HSA without a prescription — pain relievers, allergy medicine, antacids, bandages, thermometers, all of it. That changed. Now, over-the-counter drugs and medicines require a prescription from your doctor to count as may have access to expenses, with one exception: insulin.
Insulin is the only over-the-counter medication you can buy with your HSA without a prescription. Everything else — ibuprofen, acetaminophen, antihistamines, decongestants, antacids — requires a doctor's prescription, even if you buy it without one at the pharmacy.
Over-the-counter medical supplies and equipment still do not require a prescription. You can buy bandages, gauze, thermometers, blood pressure monitors, glucose monitors, and similar items directly. The distinction is between drugs (which now need a prescription) and supplies (which do not).
Expenses you cannot pay for with your HSA
Health insurance premiums themselves are not may have access to expenses, with narrow exceptions: you can use your HSA to pay for COBRA continuation coverage, Medicare premiums (Part A, Part B, Part D, and supplemental insurance), and long-term care insurance premiums. You cannot use it for regular health insurance premiums while you are working, because that would let you double-dip on the tax benefit.
Cosmetic procedures are not may have access to unless they treat an injury or illness. Botox is not may have access to. Rhinoplasty for appearance is not may have access to. Rhinoplasty to repair a deviated septum that causes breathing problems is may have access to. Teeth whitening is not may have access to. Dental work to repair or replace damaged teeth is may have access to.
Wellness and prevention expenses do not count. Gym memberships, fitness classes, diet programs, and nutritional supplements are not may have access to, even if your doctor recommends them. Vitamins and minerals are not may have access to unless your doctor prescribes them for a specific deficiency. Massage therapy is not may have access to unless a doctor prescribes it as treatment for a medical condition.
How to document and prove may have access to expenses
You do not have to submit receipts to your HSA provider when you make a withdrawal, but you must keep them. The IRS can audit your HSA at any time, and if you cannot show that an expense was may have access to, you owe income tax and the 20 percent penalty retroactively, plus interest.
Keep the receipt or invoice showing the date, the provider's name, what was purchased or treated, and the amount. For prescriptions, the pharmacy receipt is enough. For doctor visits, the bill or explanation of benefits from your insurance works. For medical equipment, keep the receipt and any documentation that a doctor prescribed or recommended it.
If you are reimbursing yourself for an old expense, you need the original receipt plus proof that you did not deduct it on your taxes in the year you paid it. You can reimburse yourself for expenses from any previous year, even decades back, as long as you have documentation and the expense was may have access to when you incurred it.
What happens if you spend HSA money on non-may have access to expenses
If you withdraw money for something that does not count as a may have access to expense, you owe federal income tax on that amount at your regular tax rate, plus a 20 percent penalty. If you are in the 24 percent tax bracket and withdraw $1,000 for a non-may have access to expense, you owe $240 in income tax plus $200 in penalty, for a total of $440 in taxes on that $1,000.
The one exception is age 65 and older. Once you turn 65, you can withdraw money from your HSA for any reason without penalty. You still owe income tax on non-may have access to withdrawals, but the 20 percent penalty disappears. This is why some people treat their HSA as a retirement savings account — after 65, it functions like a traditional IRA with no withdrawal restrictions.
If you realize you made a mistake and withdrew money for something that was not may have access to, you can put the money back into the account before you file your taxes that year. This is called a corrective distribution, and it erases the tax and penalty as if the withdrawal never happened. You have until the tax filing important date (usually April 15) to correct the mistake.
Reimbursing yourself for past medical expenses
One of the least-known HSA features is that you can withdraw money to reimburse yourself for may have access to medical expenses you paid out of pocket in previous years — even years before you opened the HSA. The only requirements are that the expense was may have access to when you paid it, you have a receipt, and you did not deduct it on your taxes.
This matters because it lets you keep money in your HSA invested and growing tax-free while you pay current medical expenses out of pocket. Then, years later, you can reimburse yourself from the account. If you paid $2,000 in dental work in 2015 and did not deduct it, you can withdraw $2,000 from your HSA in 2024 to reimburse yourself, as long as you have the receipt.
The expense must have occurred after you opened the HSA account, or after 2003 if your HSA was opened in 2004 or later. You cannot reimburse yourself for expenses before your account existed.
Frequently Asked Questions
Can I use my HSA to pay for my spouse's or child's medical expenses?
Yes, as long as they are your dependent for tax purposes. You can pay for a spouse's or dependent child's may have access to medical expenses directly from your HSA, even if they are not on your health plan. You do not need to be married or have them on your tax return — the rule is that they must be your dependent.
Does my HSA cover therapy or mental health treatment?
Yes. Psychiatric care, therapy, counseling, and addiction treatment are all may have access to expenses. You can use your HSA to pay for a therapist, psychiatrist, or counselor, whether they are in-network or out-of-network. Prescription psychiatric medications are also may have access to.
Can I use my HSA for my pet's medical expenses?
No. Veterinary care is not a may have access to medical expense under IRS rules, even if the pet is a service animal. The only exception is if the animal is a guide dog for someone with blindness, and even then, only the cost of training and acquiring the dog counts, not ongoing veterinary care.
What if I buy something and later find out it was not may have access to?
You can put the money back into your account before you file your taxes that year, and the penalty and tax disappear. After tax filing time, you are stuck with the tax and penalty unless you are 65 or older. Keep receipts for everything so you can verify what you bought if the IRS asks.
Can I use my HSA to pay for a gym membership if my doctor recommends it?
No. A doctor's recommendation does not make a gym membership may have access to. The IRS considers it prevention or general wellness, not treatment of a diagnosed condition. Physical therapy prescribed by a doctor for a specific injury is may have access to, but a gym membership is not, regardless of the reason.