AMDA-IMIC

HSA-Eligible Medical Expenses

What the IRS allows you to pay for with an HSA — medical, dental, vision, and prescription costs that qualify under IRS Publication 502, including recent CARES Act changes.

Who this is for

HSA account holders who want to know which healthcare purchases are tax-free, which are not, and how to keep their account in good standing with IRS rules.

An HSA lets you set aside pre-tax money for healthcare costs, but the IRS draws a clear line between expenses that qualify and those that do not. Understanding that line — and staying on the right side of it — keeps your account’s tax benefits intact and protects you from penalties. This page covers what qualifies, what does not, and how recent legislative changes expanded the list.

The IRS rule that governs eligibility

HSA eligibility follows the same standard that governs medical expense deductions on your federal tax return. The controlling authority is IRS Section 213(d) of the Internal Revenue Code, and the practical guide is IRS Publication 502: Medical and Dental Expenses. Under this rule, a qualifying medical expense must be primarily for the “diagnosis, cure, mitigation, treatment, or prevention of disease, or for the purpose of affecting any structure or function of the body.”

Expenses that are merely beneficial to general health — gym memberships, vitamins, toiletries — do not satisfy this standard and are not HSA-eligible, with limited exceptions. Each year the IRS updates Publication 502; always verify against the current version when a specific item is in question.

What is covered: medical expenses

The core of HSA-eligible spending is medical care you receive from licensed professionals. Eligible expenses include:

  • Doctor visits — primary care, specialists, urgent care, emergency room
  • Surgery and hospital stays — including anesthesia and post-surgical care
  • Mental health care — therapy sessions, psychiatry, inpatient mental health treatment
  • Physical therapy and occupational therapy when prescribed for a condition
  • Chiropractic care — for treatment of diagnosed conditions
  • Diagnostic tests — X-rays, MRIs, CT scans, laboratory tests, genetic testing for medical purposes
  • Medical equipment — crutches, walkers, wheelchairs, blood pressure monitors, glucose meters
  • Medical supplies — bandages, wound care, diabetic supplies, needles and syringes

What is covered: prescriptions and over-the-counter drugs

Prescription medications have always been HSA-eligible, and the CARES Act of 2020 meaningfully expanded the OTC category. Before 2020, you needed a doctor’s prescription to use HSA funds for over-the-counter drugs. Since the CARES Act took effect, that requirement is gone.

HSA-eligible medications and related items now include:

CategoryExamples
Prescription drugsAny medication prescribed by a licensed provider
Over-the-counter pain reliefAspirin, ibuprofen, acetaminophen, naproxen
OTC allergy medicationAntihistamines, decongestants, nasal sprays
OTC digestive aidsAntacids, acid reducers, anti-diarrheal products
OTC cold and flu medicationsCough suppressants, expectorants, combination cold medicines
InsulinBoth prescription and OTC insulin products
Menstrual care productsPads, tampons, menstrual cups, period underwear (added by CARES Act 2020)

The addition of menstrual care products was a significant change that many account holders still do not know about. These products are now permanently eligible.

What is covered: dental expenses

Most dental care qualifies, with one notable exception:

  • Eligible: cleanings, exams, X-rays, fillings, crowns, root canals, tooth extractions, dentures, dental implants, braces and orthodontia, treatment of gum disease
  • Not eligible: teeth whitening and bleaching — these are cosmetic, not medical

Orthodontia for a diagnosed functional issue (not just cosmetic alignment) is eligible. Whitening treatments applied during a dental visit to treat a diagnosed condition are a gray area worth discussing with your dentist in writing before incurring the cost.

What is covered: vision expenses

Vision care is broadly covered:

  • Eligible: eye exams, prescription eyeglasses, contact lenses and lens solutions, prescription sunglasses, LASIK and other corrective vision surgery
  • Not eligible: purely cosmetic contact lenses (colored lenses with no vision correction), reading glasses (these are OTC items without a prescription, though standard reading glasses are a gray area post-CARES Act)

What is not covered

The IRS exclusions catch many expenses that might seem health-related:

  • Cosmetic procedures — Botox for aesthetic purposes, hair removal, hair transplants, teeth whitening, liposuction
  • General wellness — gym memberships, fitness trackers, exercise equipment, vitamins and supplements (unless prescribed for a specific deficiency)
  • Personal care — toothpaste, soap, shampoo, cosmetics, skin moisturizers (even medicated varieties, in most cases)
  • Non-prescription sunscreen — was not eligible historically, though proposed rule changes have been discussed; verify current IRS guidance
  • Diet foods — even if recommended by a physician for weight management
  • Maternity clothes — not a medical expense
  • Babysitting and childcare — covered by FSA dependent care accounts, not HSAs

Documents and terms you’ll see

When managing HSA spending and documentation, these terms appear regularly:

  • IRS Publication 502 — the IRS guide that defines qualifying medical and dental expenses; your starting point whenever a specific item is in question
  • Qualified medical expense — the IRS term for an HSA-eligible expense; using HSA funds for a non-qualified expense triggers tax and a penalty
  • CARES Act — the 2020 law that expanded eligible OTC purchases and added menstrual care products to the eligible list permanently
  • Explanation of benefits — the document your insurer sends after a claim; useful documentation for HSA withdrawal records

The record-keeping requirement

The IRS does not require you to submit receipts when you spend HSA money — but it can audit you and ask you to prove that distributions matched qualified expenses. Your responsibility is to keep records — receipts, invoices, EOB documents — that tie each withdrawal to a specific eligible expense. Most HSA administrators allow you to upload and store receipts within your online account, which simplifies this process.

Records should be retained for at least three years, the standard IRS audit window, though some advisors recommend keeping them longer for large transactions.

Using HSA funds for a non-eligible expense: the consequences

If an audit reveals an HSA distribution was used for a non-qualifying expense:

  1. The amount is added to your taxable income for the year of the distribution.
  2. A 20 percent penalty is assessed on top of the income tax.

The penalty disappears at age 65. At that point, non-qualified HSA withdrawals are treated like distributions from a traditional IRA — taxable as ordinary income but not penalized. This makes an HSA a useful supplemental retirement account for those who stay healthy and spend little on medical care before 65.

For a comparison of HSA rules against FSA and HRA accounts — which have different eligibility lists and rollover rules — see the hsa-vs-fsa-vs-hra page, and the broader health savings accounts guide for contribution limits and account mechanics.

Key terms

TermPlain meaningGlossary
HSA Health Savings Account — a tax-advantaged account that pairs with a high-deductible health plan and lets you save pre-tax dollars for qualified medical expenses →
Qualified medical expense A cost defined by the IRS as eligible for HSA reimbursement under Section 213(d) of the Internal Revenue Code; spelled out in IRS Publication 502 →
IRS Publication 502 The IRS publication that defines which medical and dental expenses are deductible — and therefore eligible for HSA reimbursement →
CARES Act The Coronavirus Aid, Relief, and Economic Security Act of 2020, which expanded HSA-eligible expenses to include over-the-counter medications and menstrual care products without a prescription →

Common questions

Where does the IRS define eligible HSA expenses?
IRS Publication 502 is the authoritative source. It lists qualifying medical and dental expenses, with examples of what is and is not deductible. The publication is updated annually; always check the current year's version at IRS.gov when you have questions.
Are over-the-counter medications covered by an HSA?
Yes, since the CARES Act of 2020. You can now use your HSA to pay for over-the-counter drugs — including pain relievers, allergy medications, antacids, and cold medicine — without a doctor's prescription. This reversed an earlier restriction that had required a prescription for OTC drugs.
Are menstrual care products HSA-eligible?
Yes. The CARES Act of 2020 added menstrual care products — including pads, tampons, cups, and similar items — to the list of eligible HSA expenses.
Can I use my HSA for gym memberships or fitness classes?
Generally no. Gym memberships, fitness classes, and exercise equipment are considered general health expenses, not qualified medical expenses under IRS rules. A narrow exception exists if a doctor prescribes exercise as treatment for a specific diagnosed condition — but this is rare and must be carefully documented.
Are cosmetic procedures HSA-eligible?
No, unless the cosmetic procedure is necessary to treat a medical condition — for example, reconstructive surgery following an injury or to treat a congenital abnormality. Elective cosmetic procedures such as teeth whitening, Botox for aesthetic reasons, or hair restoration are not eligible.
Can I use my HSA for dental and vision expenses?
Yes. Most dental and vision expenses — including routine cleanings, fillings, crowns, glasses, contact lenses, and LASIK surgery — are HSA-eligible. Whitening treatments for purely cosmetic purposes are not eligible.
What happens if I use my HSA for an ineligible expense?
If you use HSA funds for a non-qualified expense, the amount is included in your gross income for tax purposes and is subject to a 20 percent penalty. The penalty does not apply after age 65 — at that point, non-qualified withdrawals are simply taxed as ordinary income, similar to a traditional IRA.
Do I need to keep receipts for HSA purchases?
Yes. The IRS can audit HSA withdrawals, and you are responsible for proving that distributions were used for qualified medical expenses. Keep receipts, explanation of benefits documents, and any other records that document the expense and its medical nature.

Sources

  1. IRS Publication 502 — Medical and Dental Expenses
  2. IRS — HSA Frequently Asked Questions
  3. Treasury.gov — CARES Act HSA and FSA Provisions
  4. HealthCare.gov — Using an HSA
  5. AARP — HSA Eligible Expenses

Last reviewed: September 2026