HSA Qualified Medical Expenses and Reimbursement Rules

Money in a health savings account comes out tax-free when you spend it on HSA qualified medical expenses, a category the IRS defines broadly enough to cover most doctor, dental, vision, prescription, and mental health costs. There is no deadline for paying yourself back: a bill you cover out of pocket today can be reimbursed from the HSA years later, as long as the expense was incurred after the account was established and you kept proof of what you paid.1Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans

What the IRS Counts as a Qualified Medical Expense

The governing definition is anything that goes toward the diagnosis, cure, treatment, or prevention of disease, or that affects a part or function of the body.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses In everyday spending, that pulls in:

  • Dental care, including cleanings, fillings, X-rays, braces, extractions, and dentures
  • Vision care, including eye exams, prescription eyeglasses, and contact lenses
  • Prescription drugs and insulin
  • Over-the-counter medications such as pain relievers, allergy medicine, and cough and cold remedies, with no prescription required after the CARES Act permanently changed the rules in 2020
  • Menstrual care products, made permanently eligible under the same CARES Act provision
  • Mental health services, including therapy, psychiatric care, and substance abuse treatment
  • Long-term care services

The full list in IRS Publication 502 runs to dozens of pages and includes items people often miss, such as hearing aids, certain home modifications tied to a medical condition, and travel costs to get medical care.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses

What Doesn’t Qualify, and What a Wrong Withdrawal Costs

Some spending feels health-adjacent but sits outside the definition. Cosmetic surgery that improves appearance without treating an illness or injury does not qualify. Gym memberships and health club dues are excluded even if a doctor recommends exercise. Vitamins and supplements taken for general health are off-limits unless a physician prescribes them to treat a specific diagnosed condition.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses

Pull HSA money for a non-qualified expense and two things happen. The amount is added to your taxable income for the year, and the IRS tacks on a 20% additional tax on top.3Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts On a $2,000 non-qualified withdrawal, someone in the 22% federal bracket would owe roughly $440 in income tax plus a $400 penalty. The 20% additional tax goes away once you turn 65, become disabled, or die, though a beneficiary still owes regular income tax on non-qualified amounts.

The Insurance Premium Exception

Health insurance premiums are generally not qualified, which catches many account holders off guard. The IRS allows a short list of exceptions:1Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans

  • COBRA continuation coverage
  • Health coverage paid while receiving unemployment benefits
  • Medicare premiums (Parts A, B, C, and D) if the account holder is 65 or older, but not Medigap supplemental policies
  • Long-term care insurance premiums, up to age-based dollar limits the IRS adjusts annually

The Medicare premium exception only helps if the account holder is 65 or older. You can’t use your HSA to pay Medicare premiums for a younger spouse or dependent who happens to be on Medicare.

The Establishment Date Rule

An expense qualifies for tax-free reimbursement only if it was incurred after the HSA was established. Medical bills from before the account existed are permanently ineligible, even if you were enrolled in a qualifying high-deductible plan at the time.1Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans

Pinning down the establishment date can be tricky. The IRS defers to state trust law, and states differ. In many states, the HSA is not considered established until the custodian accepts funding, meaning the date your first contribution posts rather than the date you signed the paperwork. A handful of states treat the HSA as established on the effective date of the underlying HDHP coverage, which closes the gap. If you switch jobs or open a new HSA mid-year, ask your custodian for the official establishment date in writing and keep it with your tax records.

Reimbursing Yourself Years Later

Once an expense qualifies, there is no time limit on when you can pull the matching amount out of the HSA. Not the same tax year. Not the same decade.1Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans

That single feature turns an HSA from a spending account into a long-term investment vehicle. Pay medical bills out of pocket now, let the HSA balance grow through investments, then reimburse yourself tax-free whenever you want. The original expense amount plus every dollar of investment growth on it comes out untaxed. Someone who accumulates $30,000 in qualified receipts over 15 years could withdraw that entire amount decades later without owing a cent in taxes, no matter how large the balance has grown.

The catch is proof. You need documentation showing the expense was qualified at the time you incurred it.

Records That Actually Protect You

The general IRS rule is to keep tax records for three years after filing.4Internal Revenue Service. How Long Should I Keep Records That works if you reimburse yourself in the same year as the expense. Under the delayed reimbursement strategy, the three-year clock does not start until you actually take the distribution and report it. Reimburse yourself 20 years after the doctor visit and the IRS can audit that distribution for three years after you file, which means holding the original receipt 23 years after the expense.

For each qualified expense, save:

  • The provider’s itemized bill or receipt showing date, service, and amount
  • Proof of payment, such as a credit card or bank statement showing you paid out of pocket
  • The insurance explanation of benefits, showing what your plan covered and what you owed
  • Your HSA establishment date, proving the account existed when the expense was incurred

Digital copies stored in the cloud are far more practical than paper for this kind of long-horizon record-keeping. Losing a receipt means losing the ability to take that tax-free distribution, with no workaround.

Reporting Distributions on Your Tax Return

Anyone who takes an HSA distribution during the year has to file Form 8889, attached to Form 1040. This is mandatory even if every dollar went to qualified medical expenses and even if you have no other reason to file a return.5Internal Revenue Service. Instructions for Form 8889

Your custodian sends Form 1099-SA early the following year, showing total distributions and a distribution code. Code “1” is the normal one and covers both direct payments to providers and reimbursements back to you.6Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA On Form 8889 you report total distributions and then separately state how much went to qualified medical expenses. The IRS gets its own copy of the 1099-SA, so the numbers need to match.7Internal Revenue Service. Instructions for Form 8889

Any portion of distributions that exceeded your qualified expenses is added to gross income and hit with the 20% additional tax, unless an exception applies (age 65, disability, or death of the account holder).3Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts Total distributions minus qualified expenses equals the taxable amount.

Fixing a Mistaken Distribution

If you accidentally withdraw HSA funds for a non-qualified expense, say you swiped the HSA debit card at the wrong register or misidentified a charge, you can return the money to the account and avoid both the income tax and the 20% additional tax. The IRS calls this a “mistake of fact due to reasonable cause.”8Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA

The repayment deadline is the tax filing due date, without extensions, for the first year you knew or should have known the distribution was a mistake. If the custodian already issued a Form 1099-SA reporting the distribution, they will need to file a corrected version once you return the funds. One caveat: HSA custodians are not required to accept returned distributions. Most do, but confirm with yours before you rely on the option.

How the Rules Change at 65

Turning 65 shifts the account in two ways. The 20% additional tax on non-qualified distributions disappears, so you can withdraw HSA funds for any purpose and owe only regular income tax, the same treatment as a traditional IRA withdrawal.3Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts Distributions used for qualified medical expenses remain completely tax-free, which keeps healthcare spending the more efficient use of the account.

Enrolling in Medicare, which most people do around 65, ends your ability to add new money to the HSA. The account stays open and distributions continue as before. On the plus side, HSA funds can pay Medicare Part A, B, C, and D premiums tax-free, with Medigap supplemental policies the notable exception.1Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans