You can use HSA funds for medical expenses only, but that category is broader than most people think

A Health Savings Account is designed to pay for may have access to medical expenses. The IRS maintains a specific list of what counts, and if you spend HSA money on something not on that list, you owe income tax on the withdrawal plus a 20 percent penalty. That said, the list includes far more than just doctor visits and prescriptions—it covers dental work, vision care, mental health treatment, medical equipment, and dozens of other things people often pay out of pocket.

The catch: you cannot use HSA funds for general wellness, cosmetic procedures, or anything your insurance would not reasonably cover as medical treatment. Gym memberships, vitamins, weight-loss programs, and over-the-counter medications (except for a narrow list) are off-limits. If you withdraw money for an ineligible expense, you pay tax on it as if it were regular income, plus the 20 percent penalty on top.

Key Takeaways

  • may have access to medical expenses include doctor visits, hospital stays, dental and vision care, mental health treatment, prescription drugs, and medical equipment—all covered without tax or penalty.
  • Over-the-counter medications are ineligible unless they are insulin or you have a prescription for them, even if they treat a real medical condition.
  • Gym memberships, weight-loss programs, cosmetic procedures, and general wellness products are never covered, even if they improve your health.
  • Withdrawals for ineligible expenses trigger both income tax and a 20 percent penalty, making them expensive mistakes to avoid.
  • You can use HSA funds years after you earn them, so money does not expire if you do not spend it in the same calendar year.

What the IRS considers a may have access to medical expense

The IRS publishes a list called Publication 502, which details every category of medical expense you can pay with HSA funds. The major categories are straightforward: doctor visits, hospital care, surgery, X-rays, lab tests, and prescription medications all may have access to. So do dental procedures (fillings, root canals, orthodontia), vision care (eye exams, glasses, contact lenses), and hearing aids.

Beyond those, the list extends to medical equipment and supplies: crutches, wheelchairs, blood pressure monitors, glucose meters, insulin pumps, and orthopedic shoes all count. Mental health treatment—therapy, psychiatry, and inpatient psychiatric care—is covered. So are ambulance services, nursing care, and certain long-term care expenses. If your doctor prescribes or recommends something as medical treatment, it usually qualifies.

The rule is not whether something is good for you, but whether it treats or prevents a diagnosed medical condition. A blood pressure monitor qualifies because it manages hypertension. A general fitness tracker does not, even though it tracks heart rate.

Over-the-counter drugs and when they do not count

This is where HSA rules trip up most people. You cannot use HSA funds to buy over-the-counter pain relievers, cold medicine, allergy pills, or antacids—even if you take them regularly for a real condition. The only exception is insulin, which you can buy without a prescription and still use HSA funds.

If your doctor writes a prescription for an over-the-counter medication, the situation changes. A prescription for ibuprofen or omeprazole makes it may be able to access. The prescription itself is what matters; the fact that the drug is available without one does not disqualify it once prescribed. Keep the prescription or a receipt showing the prescription number if you plan to use HSA funds.

This rule exists because the IRS wants to distinguish between self-treatment and medical care. A prescription signals that a doctor has evaluated your condition and determined the medication is appropriate for you specifically.

Medical equipment, supplies, and devices you can pay for

HSA funds cover a wide range of medical equipment and supplies. Diabetic supplies—test strips, lancets, syringes—are fully covered. So are bandages, braces, compression stockings, and heating pads if they treat a medical condition. Eyeglasses and contact lenses, including the cost of the eye exam, are covered. Hearing aids and batteries for hearing aids may have access to.

More specialized equipment also counts: CPAP machines for sleep apnea, nebulizers for asthma, electric wheelchairs, and prosthetic limbs. Crutches, canes, and walkers are covered. Even some home modifications—grab bars, ramps, or stair lifts installed to accommodate a disability—may may have access to if they are medically necessary and not general home improvements.

The key distinction is medical necessity. A heating pad you use for back pain qualifies. A massage chair marketed for relaxation does not, unless a doctor prescribes it as treatment for a specific condition and you can document that prescription.

What is never covered, even if it improves your health

Gym memberships, fitness classes, and personal training are not covered, even if your doctor recommends exercise. Weight-loss programs and diet plans do not may have access to unless they treat a diagnosed condition like obesity-related diabetes, and even then the coverage is limited. Cosmetic procedures—teeth whitening, Botox, hair removal, or plastic surgery—are never covered, even if they are performed by a medical professional.

Vitamins and supplements are generally ineligible unless a doctor prescribes them to treat a specific deficiency. A multivitamin for general health does not count. Sunscreen, toothpaste, and other personal care items are not covered. Maternity clothes, even though pregnancy is a medical condition, do not may have access to.

The boundary is whether something treats or prevents a diagnosed medical condition, or whether it is a general wellness or lifestyle choice. If your insurance would not cover it, your HSA cannot either.

Mental health treatment and therapy expenses

Therapy, counseling, and psychiatric care are fully covered HSA expenses. This includes sessions with a therapist, psychologist, or psychiatrist, whether in person or by telehealth. Inpatient psychiatric hospitalization is covered. Medications prescribed by a psychiatrist are covered (as long as they are prescription drugs). Support groups and certain rehabilitation programs for mental health conditions also may have access to.

The expense must be for treatment of a mental health condition—depression, anxiety, bipolar disorder, PTSD, or similar diagnoses. Wellness coaching or life coaching for general self-improvement does not may have access to, even if it improves your mental state. The distinction is diagnosis and treatment versus general improvement.

Dental and vision care you can pay with HSA funds

Dental expenses covered by HSA funds include routine cleanings and exams, fillings, root canals, extractions, crowns, bridges, and orthodontia (braces and aligners). Dental implants and dentures are covered. Teeth whitening is not covered because it is cosmetic, even though it is performed by a dentist.

Vision expenses include eye exams, glasses, contact lenses, and contact lens solution. Laser eye surgery (LASIK or PRK) is covered. Sunglasses are not, even if they are prescription, because they are considered general eyewear rather than medical treatment. The distinction is whether the expense corrects a vision problem or is a general accessory.

What happens if you use HSA money for ineligible expenses

If you withdraw HSA funds and spend them on something not on the IRS list, you owe income tax on that withdrawal at your ordinary tax rate, plus a 20 percent penalty. That penalty is in addition to the tax, not instead of it. If you withdraw $1,000 for an ineligible expense and you are in the 22 percent tax bracket, you owe $220 in tax plus $200 in penalty—$420 total on a $1,000 withdrawal.

The HSA custodian (your bank or plan administrator) does not police what you spend the money on. You are responsible for tracking may be able to access expenses and reporting ineligible ones on your tax return. If you cannot document that an expense was medical, the IRS can assess the tax and penalty if you are audited.

After age 65, the penalty goes away—you still owe income tax on ineligible withdrawals, but not the 20 percent penalty. This is why some people use HSA as a retirement savings account and withdraw for non-medical expenses after 65, accepting the tax but not the penalty.

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 use HSA funds to pay for your spouse's and dependent children's medical expenses, even if they are not covered by your HSA-may be able to access health plan. The expense must still be a may have access to medical expense; the dependent status is what matters, not their insurance coverage.

Does my HSA cover over-the-counter pain relievers if I have a chronic pain condition?

Not unless you have a prescription. Even if you take ibuprofen or acetaminophen daily for arthritis or migraines, over-the-counter versions are ineligible. If your doctor writes a prescription for the same medication, it becomes may be able to access. The prescription is what changes the status, not the condition itself.

Can I use HSA funds to pay for a gym membership my doctor recommended?

No. Even if your doctor recommends exercise as part of your treatment plan, gym memberships and fitness classes are not covered. The IRS does not cover general wellness expenses, even when medically beneficial. If your doctor prescribes physical therapy with a licensed therapist, that is covered—but a gym membership is not.

What if I accidentally use my HSA debit card for something ineligible?

You owe the tax and penalty on that withdrawal. Some HSA custodians allow you to reimburse the account within a certain window to correct the mistake, but this varies by plan. Contact your HSA administrator immediately if you make an ineligible purchase. Reimbursing the account may prevent the penalty, depending on your plan's rules.

Can I use my HSA for long-term care or nursing home expenses?

Yes, but only for the medical and nursing care portion, not room and board. If a nursing home charges $5,000 per month and $2,000 of that is for medical care and nursing, you can use HSA funds for the $2,000 portion. The $3,000 for room and board is not a may have access to expense. Ask the facility to itemize charges so you know what portion qualifies.