What is covered under an HSA is defined by Internal Revenue Code Section 213(d): almost any cost whose primary purpose is diagnosing, treating, curing, mitigating, or preventing a specific physical or mental condition.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses That covers doctor visits, hospital stays, prescriptions, dental and vision care, mental health treatment, and a short list of insurance premiums. It does not cover things that just make you feel better in general, and spending outside the rules costs you both income tax and a 20% penalty.
Doctors, Hospitals, and Diagnostic Care
Fees paid to physicians, surgeons, and other licensed medical providers qualify when the purpose is diagnosis or treatment. Routine office visits, lab work, imaging, preventive screenings, and surgery are all in. Inpatient hospital room and board qualifies, along with nursing services related to your medical care and surgical facility fees. Ambulance transportation counts, and that extends to air ambulance flights when medically necessary.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
The test throughout is the same one Section 213(d) sets: the expense has to target a specific condition rather than support general wellness.
Prescriptions, Over-the-Counter Drugs, and Supplies
Prescription drugs qualify as long as they are legally obtained through a licensed provider. Insulin qualifies whether or not your state requires a prescription for it.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
The CARES Act permanently expanded HSA-eligible spending in 2020. Over-the-counter medications no longer need a prescription to qualify, so pain relievers, allergy medications, and cold remedies can be bought straight from a drugstore with HSA funds. Menstrual care products including tampons, pads, liners, and cups are also qualified expenses under the same law.3Internal Revenue Service. IRS Outlines Changes to Health Care Spending Available Under CARES Act
Medical supplies like bandages, blood glucose monitors, and home diagnostic kits qualify. Vitamins and nutritional supplements do not, unless a physician prescribes them to treat a diagnosed deficiency or condition.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
Dental, Vision, and Hearing
Dental spending is broadly eligible: cleanings and exams, fillings, root canals, extractions, and orthodontic treatment such as braces. Braces qualify because they correct a structural defect. Teeth whitening is explicitly excluded as cosmetic.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
Vision care includes eye exams, prescription glasses (frames and lenses), contact lenses and their supplies, and corrective surgery such as LASIK. Hearing aids, batteries, and maintenance qualify on the same principle: a device that corrects a physical impairment is medical care.
Mental Health and Specialized Treatment
Payments to psychiatrists, psychologists, and licensed therapists qualify when the treatment addresses a diagnosed mental health condition. Diagnostic evaluations, therapy sessions, and psychiatric medication management are covered. Counseling that isn’t tied to a diagnosis, such as general life coaching or marriage enrichment, does not qualify.
Several specialized services also pass the IRS test:
- Acupuncture, when treating a medical condition such as chronic pain.
- Chiropractic care, for adjustments aimed at relieving pain or restoring mobility.
- Physical therapy, when prescribed by a physician for recovery from injury or surgery.
- Fertility treatment, including IVF screenings, fertility medications, and egg or sperm retrieval, because these procedures affect a structure or function of the body.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
- Long-term care services for chronically ill individuals when required by a licensed health practitioner.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
Service animals used primarily for a medical purpose related to a disability are eligible too. Buying, training, and maintaining the animal all qualify, and so do food and veterinary care.5Internal Revenue Service. Fact Sheet – Service Animals for Taxpayers With Disabilities
Travel and Home Modifications
Transportation to and from medical care is eligible. If you drive your own vehicle, you can use the IRS standard medical mileage rate of 20.5 cents per mile for 2026, plus tolls and parking. Bus, taxi, train, and airfare to reach treatment also qualify.6Internal Revenue Service. IRS Sets 2026 Business Standard Mileage Rate at 72.5 Cents Per Mile, Up 2.5 Cents
Lodging when you travel away from home for medical care is eligible up to $50 per night per person. If a parent travels with a sick child, the combined cap is $100 per night. The lodging cannot be lavish, and no significant element of personal pleasure or recreation can be involved.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
Home modifications for a medical reason can also qualify. Entrance ramps, widened doorways, bathroom grab bars, lowered kitchen cabinets, and stairway lifts generally count in full because the IRS presumes accessibility improvements do not add value to the home. An elevator usually does add value, and only the cost above that added value qualifies.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
Insurance Premiums Your HSA Can Pay
Insurance premiums are generally not qualified medical expenses. The statute carves out four exceptions:7Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
- COBRA continuation coverage after you leave a job.
- Health insurance premiums while you are collecting federal or state unemployment benefits.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
- Medicare premiums after age 65, including Part B, Part D, and Medicare Advantage. The standard Part B premium for 2026 is $202.90 per month.8Centers for Medicare and Medicaid Services. 2026 Medicare Parts A and B Premiums and Deductibles
- Qualified long-term care insurance premiums, up to age-based annual limits ranging from roughly $480 (age 40 and under) to about $6,020 (over 70).
One catch worth flagging inside the Medicare category: Medigap supplemental policies are specifically disallowed by the statute, even after age 65.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans Retirees often assume every Medicare-related premium is treated the same. It isn’t.
Whose Expenses You Can Pay
An HSA is not limited to your own medical costs. You can use the funds for your spouse and any tax dependents, and they do not have to be enrolled in your high-deductible health plan. Eligibility also extends to anyone you could have claimed as a dependent except for certain technical reasons, such as the person filing a joint return or having income above the exemption threshold.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
That broader definition catches situations people miss. An adult child who earned too much to be your dependent but otherwise qualified can still have medical bills paid from your HSA. The same goes for a qualifying relative who filed jointly with a spouse.
What Your HSA Does Not Cover
The IRS draws a firm line between medical care and personal improvement:
- Cosmetic procedures such as face lifts, hair transplants, liposuction, and teeth whitening are excluded, unless the procedure corrects a deformity from a congenital abnormality, injury, or disfiguring disease.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
- Gym memberships and health club dues, even when a doctor recommends exercise.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
- General-health vitamins and supplements. Only supplements prescribed to treat a specific diagnosed condition count.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
- Non-prescription wellness products such as aromatherapy oils, spa treatments, and general relaxation services.
- Most insurance premiums outside the four statutory exceptions above, including regular health plan premiums and Medigap policies.
The underlying test never changes. Does the expense primarily treat or prevent a specific medical condition? If the honest answer is that it just supports general wellbeing, it doesn’t qualify.
Penalties for Non-Qualified Spending
If you use HSA funds on something that isn’t a qualified expense, you’ll owe income tax on the amount plus an additional 20% penalty tax.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans Spend $1,000 on a non-qualified purchase while in the 22% bracket and you’ll owe $420 between the income tax and the penalty.
The 20% penalty disappears once you turn 65, become disabled, or die. After 65, non-qualified distributions are still taxed as ordinary income, but without the extra penalty the HSA essentially works like a traditional retirement account for non-medical spending.4Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
If you spent HSA money on a non-qualified expense by genuine mistake, you may be able to return it. The IRS allows repayment of mistaken distributions by the tax filing deadline for the year you discovered the error; if your HSA custodian accepts the return, the distribution isn’t taxed or penalized.9Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA Not every custodian permits this, so check before assuming you have a safety net.
Records You Need to Keep
Keep every receipt for HSA-funded expenses. The IRS generally has three years from your filing date to audit a return, so hold documentation at least that long. Because HSA funds roll over indefinitely and you can reimburse yourself for past expenses at any time, many planners recommend keeping medical receipts permanently. If you paid out of pocket five years ago and still have the receipt, you can reimburse yourself from your HSA today, tax-free, as long as you had the HSA when the expense was incurred. Your custodian will send Form 1099-SA showing distributions, but the burden of proving each one was qualified is yours.10Internal Revenue Service. About Form 8889, Health Savings Accounts