HSA Qualified Medical Expenses

Health savings account (HSA) funds carry a specific tax advantage only when withdrawn for expenses that meet the Internal Revenue Service definition of "qualified medical expenses." Understanding which expenses qualify — and which do not — determines whether a distribution is tax-free or subject to income tax plus a 20% penalty. This page covers the statutory definition, the categories of qualifying expenses, common edge cases, and the decision framework for evaluating borderline purchases.

Definition and scope

The governing authority for HSA qualified medical expenses is Internal Revenue Code Section 213(d), which defines medical care as amounts paid for the diagnosis, cure, mitigation, treatment, or prevention of disease, or for the purpose of affecting any structure or function of the body. The IRS operationalizes this definition for HSA purposes in IRS Publication 502, Medical and Dental Expenses, which is updated annually.

The scope is broader than many account holders assume. Qualifying expenses extend beyond physician visits and hospital bills to encompass dental care, vision care, prescription drugs, durable medical equipment, mental health treatment, and — under rules established by the CARES Act of 2020 — over-the-counter (OTC) medications without a prescription requirement. Menstrual care products were also added to the qualified list under the CARES Act, a permanent statutory change that reversed prior IRS restrictions.

A qualifying expense must be incurred after the HSA was established. Retroactive reimbursement of expenses predating account opening is not permitted under IRS Notice 2004-2. The expense must also not have been reimbursed by insurance or any other source; double-dipping is prohibited.

The broader regulatory context for health savings governs not just which expenses qualify but also how distributions are reported, substantiated, and audited.

How it works

When an HSA holder pays for a qualified medical expense, the distribution is excluded from gross income and not subject to any penalty — the third element of the triple tax advantage. The mechanics operate as follows:

  1. Payment occurs. The account holder pays for an eligible expense, either directly from the HSA via a debit card or out of pocket for later reimbursement.
  2. Receipt documentation is retained. The IRS does not require submission of receipts at the time of distribution, but account holders must be able to produce documentation if audited. IRS guidance recommends retaining receipts indefinitely, or at minimum for the applicable statute of limitations period (generally 3 years from the date the tax return is filed, per IRS Publication 583).
  3. Form 8889 is filed. Total HSA distributions are reported on IRS Form 8889 with the annual tax return. Box 14a captures total distributions; Box 15 captures amounts used for qualified expenses. The difference, if any, flows to income and penalty calculations.
  4. The expense is matched to a qualifying category. If the IRS audits the distribution, the account holder must demonstrate the expense falls within Section 213(d) categories.

Common scenarios

The following categories represent the primary domains of qualifying expenses, as enumerated in IRS Publication 502:

Expenses that explicitly do not qualify include cosmetic surgery (unless correcting a deformity from disease or trauma), gym memberships (unless prescribed for a specific diagnosed condition, a high evidentiary bar), teeth whitening, and most health-related foods or supplements.

Decision boundaries

Evaluating whether a specific expense qualifies requires applying a structured test derived from IRS Publication 502 and Section 213(d):

Qualifying — Type A expenses: Directly treat, diagnose, cure, or prevent a specific diagnosed medical condition. A blood pressure monitor purchased to manage hypertension is a Type A expense.

Nonqualifying — Type B expenses: Primarily serve general health maintenance, personal benefit, or cosmetic purposes. A fitness tracker purchased for general wellness is a Type B expense, even if a physician recommends it informally.

The critical distinction is medical necessity tied to a diagnosed condition, not general health promotion. Physician letters of medical necessity can shift some borderline items — such as air purifiers for severe asthma — toward qualifying status, but the IRS evaluates these on a facts-and-circumstances basis and does not issue blanket approvals for product categories.

The national overview of health savings accounts provides additional context on how qualified expense rules interact with contribution limits, investment strategies, and account portability decisions — all of which affect the long-term value of maintaining proper expense documentation.

Account holders uncertain about a specific item should consult IRS Publication 502 directly before making the distribution, since a nonqualified withdrawal triggers income tax plus a 20% excise penalty for account holders under age 65 (that penalty drops to zero after age 65, though income tax still applies).

References


The law belongs to the people. Georgia v. Public.Resource.Org, 590 U.S. (2020)