What Qualifies as Medical Expenses for HSA? (w/Examples) + FAQs

Health Savings Accounts let you set aside money before taxes to pay for qualified medical expenses. This means you can save hundreds or even thousands of dollars each year by reducing the amount of income that gets taxed. According to recent data, HSA owners leave an average of $500 unused in their accounts annually, often because they do not know what expenses qualify.

The IRS controls which medical expenses qualify for HSA withdrawals. If you take money out for non-qualified expenses, you pay income tax on that money plus a 20% penalty. Understanding exactly what counts as a qualified medical expense keeps you out of trouble and helps you maximize your savings.

What you’ll learn in this article:

🏥 Which medical and dental expenses qualify for HSA withdrawals

đź’Š Why over-the-counter items have specific rules and what expenses work without a prescription

đź“‹ Common mistakes people make that trigger penalties and taxes

đźš« Expenses that seem medical but do NOT qualify for your HSA

📱 How to document and track your expenses correctly for tax purposes

The Core Structure: How HSAs Work with Medical Expenses

Your HSA is a triple-tax-advantaged account. You contribute pre-tax money, it grows tax-free, and withdrawals for qualified medical expenses never get taxed. The catch is that only certain expenses meet the IRS definition of qualified medical expenses.

The IRS publishes a detailed list in Publication 502. This publication defines what counts and what does not. Think of it as the official rulebook for your HSA.

Qualified medical expenses fall into several categories: insurance premiums, doctor visits, prescription drugs, dental work, vision care, and medical equipment. The expense must be for diagnosis, treatment, or prevention of a disease or condition. It also must be for you, your spouse, or your dependents if you claim them on your tax return.

Doctor Visits, Hospital Care, and Prescription Medications

When you visit a doctor, the visit cost qualifies. This includes primary care doctors, specialists, emergency rooms, and urgent care centers. Hospital stays, surgery, and diagnostic tests like X-rays and blood work also qualify.

Prescription medications always qualify for HSA withdrawal. The medication must come from a licensed pharmacy with a valid prescription from a doctor. Generic medications and brand-name drugs both count equally.

Over-the-counter drugs are trickier. Medications like aspirin, cold medicine, and antacids used to qualify automatically, but that changed in 2020. Now, over-the-counter medications do not qualify unless you have a doctor’s prescription for them. A doctor can write a prescription for ibuprofen or allergy medicine, and then you can use your HSA to buy it.

Dental and Vision Expenses: What Works and What Doesn’t

Dental expenses qualify when they treat or prevent tooth and gum disease. This includes cleanings, fillings, root canals, and tooth extractions. Orthodontic work like braces also qualifies, even though it takes years to complete.

Vision care covers eye exams, prescription glasses, contact lenses, and solutions. Laser eye surgery like LASIK qualifies when it corrects your vision. The key is that the expense treats an actual vision problem.

Cosmetic dental work does not qualify. Tooth whitening, veneers for appearance only, and purely cosmetic orthodontics fall outside HSA rules. However, if braces fix a functional problem with how you chew or speak, they qualify even if they also improve your appearance.

Mental Health Services and Therapy

Counseling and therapy sessions qualify when provided by a licensed mental health professional. This includes psychiatrists, psychologists, licensed clinical social workers, and licensed professional counselors. The therapy must address a diagnosed mental health condition.

Medications for mental health prescribed by a doctor qualify like any other prescription medication. Antidepressants, anti-anxiety medications, and mood stabilizers all count. You still need a valid prescription from a licensed healthcare provider.

Wellness programs that promote general mental health typically do not qualify. An app for meditation or stress management, even if helpful, usually does not meet the IRS standard. However, if a doctor specifically recommends a program as part of treatment for a diagnosed condition, it may qualify.

Medical Equipment and Supplies You Can Purchase

Medical equipment like wheelchairs, canes, crutches, and walkers qualifies. Hearing aids, diabetic supplies, and blood pressure monitors work too. Medical alert systems and other devices that treat or monitor a health condition count.

Bandages, ice packs, elastic wraps, and other first-aid supplies qualify. Thermometers, blood glucose meters, and testing strips for medical conditions all count. You do not need a prescription for these items to qualify.

Compression stockings qualify when prescribed to treat a specific medical condition like poor circulation. However, regular stockings bought for comfort do not qualify. The difference is whether a doctor has diagnosed a condition that the stockings treat.

Over-the-Counter Products: The Tricky Territory

Vitamins and supplements do not qualify unless prescribed by a doctor to treat a specific condition. A vitamin D supplement or fish oil for general health does not count. But if your doctor diagnoses a deficiency and prescribes the supplement, it qualifies.

Sunscreen, toothpaste, and deodorant do not qualify even though they relate to health. These products maintain general health and cleanliness rather than treat a diagnosed condition. The IRS distinguishes between prevention and general personal care.

Feminine hygiene products like tampons and pads did not qualify before 2020 because they were considered general supplies. The law changed in January 2020, and now these products fully qualify for HSA withdrawal. This represents a significant change that many people still do not know about.

Insurance Premiums and Long-Term Care

Health insurance premiums qualify, but only in certain situations. You can use your HSA to pay for health insurance while unemployed. Military families can use HSA money for TRICARE premiums and veterans can use it for VA premiums.

Medicare premiums qualify, including Part A, Part B, Part C, and Part D. Medicare supplement insurance also qualifies. You can pay these premiums directly from your HSA without triggering income tax or penalties.

Long-term care insurance premiums have limits. You can use HSA money for qualified long-term care insurance, but there are age-based limits on how much you can spend. The IRS sets these limits yearly based on your age.

Practical Scenarios: How the Rules Play Out

Scenario One: Sarah’s Prescription and Over-the-Counter Purchases

SituationResult
Sarah buys prescription allergy medicineâś“ Qualifies for HSA withdrawal
Sarah buys over-the-counter allergy medicine with no prescriptionâś— Does not qualify for HSA withdrawal
Sarah’s doctor writes a prescription for the same over-the-counter allergy medicineâś“ Now qualifies for HSA withdrawal
Sarah buys vitamins for general healthâś— Does not qualify for HSA withdrawal
Sarah’s doctor prescribes a specific vitamin for a deficiencyâś“ Now qualifies for HSA withdrawal

Scenario Two: Marcus Needs Dental and Vision Work

ProcedureQualification Status
Marcus gets a regular dental cleaningâś“ Qualifies (prevents disease)
Marcus gets teeth whitening for appearanceâś— Does not qualify (cosmetic only)
Marcus gets a filling for a cavityâś“ Qualifies (treats disease)
Marcus gets an eye examâś“ Qualifies for HSA payment
Marcus buys prescription glassesâś“ Qualifies for HSA payment
Marcus gets LASIK surgery to correct visionâś“ Qualifies for HSA payment

Scenario Three: Jessica’s Mental Health and Wellness Choices

Item or ServiceQualification Status
Jessica visits a licensed therapist for diagnosed depressionâś“ Qualifies for HSA payment
Jessica takes prescribed antidepressant medicationâś“ Qualifies for HSA payment
Jessica uses a meditation app for stress reliefâś— Does not qualify for HSA payment
A doctor recommends the meditation app as part of treatmentâś“ May qualify if part of medical care plan
Jessica takes yoga classes for wellnessâś— Does not qualify (general wellness)

Expenses That Look Medical but Actually Don’t Qualify

Many people think certain expenses qualify when they actually do not. Hair loss treatments do not qualify unless they treat a specific medical condition like alopecia areata prescribed by a doctor. General cosmetic hair treatments never qualify.

Gym memberships and fitness programs do not qualify for HSA withdrawal. Even if you use the gym to manage weight or improve health, the IRS considers it general wellness. A doctor cannot recommend a gym membership and make it qualify—the rule applies across the board.

Maternity clothes do not qualify. Prenatal vitamins taken for general health do not qualify either, though prenatal vitamins prescribed for a specific deficiency might. The IRS separates pregnancy support from actual medical treatment.

Weight loss programs typically do not qualify unless prescribed by a doctor to treat obesity as a medical condition. Some specialized medical weight loss programs supervised by physicians might qualify, but commercial programs do not. The key difference is whether a doctor has diagnosed and prescribed the treatment.

Mistakes to Avoid That Trigger Penalties and Taxes

Mistake One: Buying Over-the-Counter Medication Without a Prescription

You withdraw HSA funds to buy cold medicine, pain reliever, or heartburn medication without asking your doctor for a prescription. The IRS considers this a non-qualified withdrawal. You owe income tax on the amount plus a 20% penalty.

Mistake Two: Using Your HSA for Insurance Premiums When You Are Employed

Your employer offers health insurance, but you decide to use your HSA to pay the premium instead of letting payroll deduct it. This creates a non-qualified withdrawal because premiums must go through specific channels. You face income tax and a 20% penalty on the amount.

Mistake Three: Paying for Purely Cosmetic Procedures

You use your HSA to pay for teeth whitening or veneers for appearance purposes. The IRS does not consider cosmetic work a medical expense. You owe taxes and a 20% penalty.

Mistake Four: Not Keeping Receipts and Documentation

You make several HSA withdrawals but do not save receipts or medical records. The IRS conducts an audit and you cannot prove the money went to qualified expenses. The agency assumes the money was not qualified and taxes it plus applies the 20% penalty.

Mistake Five: Confusing HSA Rules with FSA or HRA Rules

Your former employer had a Flexible Spending Account that qualified certain items your current HSA does not cover. You assume the same rules apply. Expenses that qualified for your FSA might not qualify for your HSA, leading to non-qualified withdrawals.

Do’s and Don’ts for HSA Medical Expenses

ActionWhy
DO: Get a prescription from your doctor before buying over-the-counter medicationsPrescriptions convert non-qualified OTC items into qualified HSA expenses
DO: Keep all receipts and medical records for every HSA withdrawalDocumentation protects you during IRS audits and proves expense legitimacy
DO: Ask your healthcare provider if an expense qualifies before withdrawing HSA fundsProfessionals know the rules and can guide your decisions correctly
DO: Use HSA funds for preventive care like annual checkups and cleaningsPrevention counts as qualified medical expense with no time limit on use
DO: Check the IRS Publication 502 list when you are uncertain about a specific expenseThe official list has the most current and accurate guidance available
ActionWhy
DON’T: Assume all health-related expenses qualify for HSA withdrawalMany wellness and general care items fall outside IRS guidelines
DON’T: Use HSA money for cosmetic procedures, even if a doctor performs themCosmetic intent disqualifies the expense regardless of medical involvement
DON’T: Buy over-the-counter medications thinking they automatically qualifyRules changed in 2020—OTC medications need prescriptions to qualify now
DON’T: Pay for fitness memberships with HSA funds because you use them for healthGyms and general wellness do not qualify under any circumstances
DON’T: Forget that dependent rules limit whose medical expenses you can pay forOnly qualifying dependents on your tax return can have their expenses paid from your HSA

Pros and Cons of Using Your HSA for Medical Expenses

ProsCons
Tax-free withdrawals: Money comes out without federal or state taxes when used correctlyPenalty risk: Non-qualified withdrawals cost 20% penalty plus income taxes owed
Triple tax advantage: Contributions are pre-tax, growth is tax-free, withdrawals are tax-freeComplex rules: Determining what qualifies requires understanding detailed IRS guidelines
Long-term savings: HSA funds roll over yearly, creating lasting health savingsLimited scope: Many wellness and health-related items don’t qualify for withdrawal
Flexibility: You pay for expenses whenever they happen during the yearDocumentation burden: You must keep receipts and records for IRS proof
Investment growth: HSA money can grow through investments tax-free for retirement useRestricted access: Early withdrawal for non-medical expenses costs 20% penalty

Documentation and Record-Keeping Requirements

You must keep records showing each HSA withdrawal matches a qualified medical expense. The IRS does not require you to report receipts with your tax return, but you need to keep them for your records. If the IRS audits your account, you must prove that your withdrawals were for qualified expenses.

Your HSA custodian (the bank or financial company managing your account) sends you annual statements. These statements show deposits, withdrawals, and account balance. This documentation alone is not enough—you need the actual receipts or medical bills showing what the money paid for.

Receipts should show the date, the amount, the provider’s name, and what service or item the money covered. For prescription medications, the pharmacy receipt shows all this information automatically. For medical equipment or doctor visits, keep the bill or receipt from the healthcare provider.

Create a filing system for HSA receipts. Many people keep them in a folder, use a spreadsheet to track expenses, or photograph receipts and store digital copies. Whatever system you choose, keep records for at least three to seven years in case of an audit.

Special Situations: Family Coverage and Dependents

Your HSA covers qualified medical expenses for you, your spouse, and your eligible dependents. Eligible dependents are those you claim on your tax return. If your adult child lives with you but you do not claim them as a dependent, their medical expenses do not qualify for HSA payment.

A spouse can have their own HSA if they also have a qualifying high-deductible health plan. Two spouses can each contribute to their own accounts. You can pay your spouse’s medical expenses from your HSA, and they can pay theirs from their HSA, or you can mix it—the rule is flexible.

Dependent children get special treatment. You can pay for your child’s medical expenses from your HSA even after they turn 18 or 19, as long as you still claim them as dependents on your taxes. Once they become independent and you stop claiming them, you cannot use your HSA to pay their medical expenses anymore.

Adult parents and in-laws do not qualify as dependents for HSA purposes unless you claim them on your tax return as dependents. Simply supporting a parent does not automatically make them eligible. You must officially claim them as a dependent to pay their medical expenses from your HSA.

Medicare, Retirees, and HSA Considerations

Once you enroll in Medicare, you can no longer contribute new money to your HSA. However, you can still use existing HSA funds to pay for qualified medical expenses. This includes Medicare premiums, deductibles, copays, and coinsurance.

Medicare Part D premiums (prescription drug coverage) qualify for HSA payment. You can use HSA funds to pay the monthly premium without triggering any penalties. This represents a significant advantage for retirees managing multiple insurance premiums.

Long-term care facilities and in-home care services qualify under certain conditions. If a doctor determines you need skilled nursing care or in-home medical care, those costs may qualify. The key is that the care must be medically necessary, not just custodial care or general assistance.

Dental and vision expenses continue to qualify in retirement exactly as they do before retirement. You can use your HSA to pay for dental work, hearing aids, glasses, and contacts throughout your life. These qualified expenses never expire.

State Variations and Special Rules

Most states follow federal HSA rules because HSAs are federally regulated. However, a few states do not recognize HSAs for state tax purposes or have additional restrictions. California, New Jersey, and Alabama impose some state-level taxes on HSA withdrawals in certain situations.

California taxes HSA contributions and earnings, even though federal tax treatment is favorable. This means your HSA advantage is smaller in California than in other states. Residents should account for this state tax when calculating their HSA savings.

Some states allow HSA funds to pay for expenses that federal rules do not cover. However, this is rare because federal rules are minimum standards. States rarely expand the list beyond what the IRS allows.

Military families have unique HSA access. TRICARE-enrolled families can use HSA funds for TRICARE premiums and out-of-pocket costs. Veterans can use HSA money for VA copays and approved treatments at VA facilities.

The IRS Publication 502 Deep Dive

The official source for HSA qualification rules is IRS Publication 502, titled “Medical and Dental Expenses.” This publication contains a comprehensive list of qualified and non-qualified expenses. It represents the authoritative guide for determining what your HSA can cover.

Publication 502 organizes expenses by category: doctors and medical services, hospitals, medical equipment, prescription drugs, dental work, vision care, and hearing aids. Within each category, specific items are listed as qualified or not qualified. The publication includes examples and explanations for why items qualify or do not.

The publication gets updated each year to reflect law changes and IRS guidance. For example, the 2020 update clarified that feminine hygiene products now qualify. The 2024 version includes guidance on newer treatments and technologies.

One important note: items listed in Publication 502 apply to HSA, FSA, and HRA accounts. However, FSA and HRA rules sometimes differ slightly from HSA rules because different laws govern them. Always check which type of account you have before referencing the publication.

How to Handle Reimbursements and Withdrawals

Many employers offer medical reimbursement plans separate from HSAs. If your employer reimburses you for medical expenses, you generally cannot also claim those same expenses through your HSA. This is called double-dipping, and the IRS prohibits it.

You must track which expenses your employer reimbursed. If the employer reimburses you and you then withdraw the same amount from your HSA, you have created a non-qualified withdrawal. You owe income tax and the 20% penalty on the HSA withdrawal amount.

The solution is to coordinate. Pay the medical expense from your own money, get reimbursed by your employer, and then repay that reimbursement into your HSA. Alternatively, skip the employer reimbursement and pay from your HSA directly. Either approach works—the key is avoiding paying twice.

Some people intentionally keep HSA funds unspent to grow them for retirement. This is legal and encouraged. You can withdraw funds years or decades later to pay for old medical bills you did not claim at the time. Receipts must be dated to match the expense year, but you can have years of delay between the expense and withdrawal.

Record-Keeping for Dependent Expenses

Dependent medical expenses require extra documentation. Keep records showing the dependent’s relationship to you and proof that you claim them on your taxes. This might include birth certificates, social security cards, or tax returns.

For reimbursement claims through insurance, the insurance statement will show the dependent’s name and relationship. Hospital and doctor bills might not clearly show the dependent’s relationship to you. Maintain separate documentation proving they are your spouse, child, or claimed dependent.

When you pay for a dependent’s expense, the HSA deduction belongs to you (the account holder). The receipt should be in the dependent’s name showing the medical service or item, and you should keep separate records showing your tax return claim for that dependent. This dual documentation protects you during audits.

Common Questions About HSA Qualified Expenses

Is acupuncture a qualified HSA expense?

Yes. Acupuncture qualifies when a licensed healthcare provider prescribes it to treat a diagnosed medical condition. The provider must be legally licensed to practice acupuncture in your state, and the treatment must address a specific health problem, not general wellness.

Can I use HSA funds to pay for my spouse’s cosmetic surgery?

No. Cosmetic surgery does not qualify regardless of who it is for. Elective cosmetic procedures fall outside HSA rules. However, if the surgery reconstructs body parts after injury or treats a medical condition, it might qualify—the intent and medical necessity matter.

Does my HSA cover psychiatric medications?

Yes. Prescription psychiatric medications prescribed by a doctor qualify fully for HSA withdrawal. This includes antidepressants, anti-anxiety medications, mood stabilizers, and other psychiatric prescriptions. The medication must come from a licensed pharmacy with a valid prescription.

Can I pay for my adult child’s medical bills with my HSA if I do not claim them as a dependent?

No. If you do not claim your adult child on your tax return as a dependent, you cannot use your HSA to pay their medical expenses. Only expenses for qualifying dependents (those you claim on taxes) qualify for HSA withdrawal.

What happens if I withdraw HSA funds for a non-qualified expense?

Yes. You owe federal and state income tax on the non-qualified withdrawal amount plus a 20% federal penalty. This means a $1,000 non-qualified withdrawal costs you approximately $300 in taxes and penalties, depending on your tax bracket and state taxes.

Can I pay my health insurance deductible with HSA funds?

Yes. Your health insurance deductible counts as a qualified medical expense. When you have not met your deductible yet, you can use HSA funds to pay towards it. Copays and coinsurance also count as qualified expenses.

Does my HSA cover over-the-counter pain relievers if my doctor recommends them?

No. Even with a doctor’s recommendation, generic over-the-counter pain relievers without a prescription do not qualify. Your doctor must write an actual prescription for the medication. The prescription requirement is firm—a verbal recommendation is not enough.

Can I use my HSA to pay for my partner’s medical expenses if we are not married?

No. HSA rules only recognize spouses and claimed dependents. An unmarried partner’s medical expenses do not qualify for HSA payment, regardless of how long you have been together. Marriage or tax-dependent status is required.

Are prescription eyeglasses covered by my HSA?

Yes. Prescription glasses, contact lenses, and eye exams all qualify for HSA withdrawal. The frames, lenses, and contacts must be prescribed by an eye doctor. Sunglasses, even prescription sunglasses for appearance, might not qualify unless they serve a specific medical purpose.

What if I cannot find a receipt for an old HSA withdrawal?

Contact your HSA custodian for a duplicate receipt or transaction statement. Most custodians keep records for seven years or more. If you cannot locate documentation, contact your healthcare provider directly—they can issue a statement of services rendered with dates and costs.

Does my HSA cover fertility treatments and procedures?

Yes. Fertility testing, treatments, and procedures including IVF qualify as medical expenses. Medications prescribed to support fertility treatment also qualify. If a licensed healthcare provider performs it to treat infertility, your HSA typically covers it.