Glossary

Qualified medical expense

A cost the tax code treats as medical care, which accounts like HSAs and FSAs can pay tax-free and which can count toward a medical expense deduction.

Also called: eligible medical expense, qualified medical expenses, QME, HSA-eligible expense

A qualified medical expense is a cost for the diagnosis, treatment or prevention of disease, as defined by the IRS. Examples include deductibles, copays and coinsurance, prescriptions, dental and vision care, and eyeglasses. Over-the-counter medicines have also counted since 2020, with no prescription required. The same definition applies to an HSA or FSA and to the medical expense deduction on a tax return, which applies only to the amount above 7.5% of adjusted gross income.

Premiums are handled separately. An HSA generally cannot pay premiums, with exceptions such as COBRA continuation coverage, qualified long-term care insurance, Medicare premiums other than Medigap, and coverage while receiving unemployment compensation. A health FSA never pays premiums.

Say you withdraw $500 from your HSA for a dental procedure (a labeled hypothetical). That is tax-free. If you withdrew $500 for a gym membership that is not medical care, you would owe income tax on it plus an additional 20% before age 65.

The common mistake is not keeping receipts. The IRS can ask you to show that an HSA withdrawal was for a qualified expense, so keep records, and check IRS Publication 502 or a tax professional for borderline items.

Last reviewed November 16, 2026

In the index now

Related terms

Related guides

Related blog

Related plan types