Can You Pay Medical Bills With an HSA? Rules, Records, and Age 65

You can pay medical bills with an HSA whenever the expense is qualified under IRS rules and was incurred after the account was opened. The money comes out tax-free, and you can spend it on bills for yourself, your spouse, or your tax dependents. There is no deadline for reimbursing yourself, so a receipt you keep today can be paid from the account years from now.

What Bills Qualify

The IRS treats qualified medical expenses broadly: costs paid for the diagnosis, treatment, or prevention of disease, and anything that affects a structure or function of the body. In everyday terms, that covers doctor visits, hospital stays, lab work, prescriptions, and most therapy. Dental care like fillings, crowns, and orthodontics qualifies when the work isn’t purely cosmetic. Vision expenses, including eye exams, prescription glasses, and contact lenses, count too.

Since 2020, over-the-counter medications no longer need a prescription to qualify. Cold medicine, pain relievers, and allergy pills are all eligible. Menstrual care products are explicitly included in the statute.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Long-term care services and transportation tied to medical appointments also qualify. IRS Publication 502 carries the detailed lists.2Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses

The Big Exception: Insurance Premiums

The rule that surprises most account holders is that you generally cannot use HSA funds to pay health insurance premiums. There are only four exceptions: long-term care insurance premiums, COBRA continuation coverage, coverage while receiving unemployment compensation, and Medicare premiums (Part B, Part D, and Medicare Advantage) once you turn 65. Standard employer-sponsored premiums and Medigap supplemental policies do not qualify.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

Cosmetic procedures are also out unless they address a deformity from a congenital condition, injury, or disease. Gym memberships, nutritional supplements taken for general health, and toiletries like toothpaste don’t qualify.

Whose Medical Bills Your HSA Can Cover

Your HSA isn’t limited to your own healthcare costs. You can pay qualified expenses for your spouse and your tax dependents, even if those family members aren’t enrolled in your high-deductible health plan. A spouse covered under a completely separate employer plan still has expenses you can pay from your HSA.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

The rules reach a little further than the people you actually claim on your return. You can pay expenses for someone who would qualify as your dependent except that they filed a joint return, earned too much income, or you yourself could be claimed on another person’s return. For divorced or separated parents, a child is treated as the dependent of both parents for HSA purposes, regardless of which parent claims the child.4Internal Revenue Service. 2025 Instructions for Form 8889 – Health Savings Accounts (HSAs)

One place people slip: the under-26 rule for staying on a parent’s health insurance and the tax dependency rules for HSA spending are separate. Your 24-year-old child might still be on your insurance under the Affordable Care Act, but if they don’t meet the tax dependency requirements, their bills are not eligible for HSA payment. The test is tax dependency, not who’s on the insurance card.

When the Expense Has to Occur

An expense only qualifies for tax-free HSA payment if it was incurred after your account was officially established. The date that matters is when the HSA was legally created with a custodian, not when you enrolled in your HDHP or when your first payroll contribution posted. Any bill from before the account’s establishment date is permanently ineligible.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

The flip side of that rule is one of the account’s most useful features: there is no deadline for reimbursing yourself. If you pay a doctor bill out of pocket in 2026 and keep the receipt, you can reimburse yourself from your HSA in 2030 or 2040 and the distribution is still tax-free. The requirements are just that the expense was incurred after the HSA existed, it qualifies under IRS rules, and it wasn’t previously reimbursed or claimed as an itemized deduction. Many account holders deliberately pay medical costs out of pocket for years, let the HSA balance grow through investments, and reimburse themselves in a lump sum later.

How to Actually Pay the Bill

Most HSA custodians issue a debit card linked to your account. You can swipe it at a pharmacy, hand it over at a doctor’s office, or enter it in an online patient portal to pay a hospital bill. The transaction pulls directly from the HSA balance and, for routine medical purchases, works like any bank debit card.

If you pay out of pocket first with a personal credit card or checking account, request reimbursement through your custodian’s website or app. You’ll typically submit a claim with the amount and upload supporting documentation, and the custodian transfers the money to your linked bank account. Some custodians still accept paper claim forms by mail.

If You Use the HSA for the Wrong Thing

Accidentally pay a non-qualified expense from the account, and you can return the money to avoid taxes and penalties. The repayment must happen by April 15 of the year after you discovered the mistake, and you need clear evidence that the distribution was a genuine error rather than a change of mind.5Internal Revenue Service. Distributions for Qualified Medical Expenses (continued) Your custodian is not required to accept the repayment, so contact them quickly. Miss the deadline or run into a custodian that won’t process the return, and you’ll owe income tax on the amount plus a 20% additional tax.

Records You Need to Keep

The IRS does not ask you to submit receipts with your tax return, but you must keep records proving every distribution went toward a qualified expense. In an audit, the burden is on you to show three things: the distribution paid a qualified expense, that expense wasn’t already reimbursed from another source, and you didn’t claim it as an itemized deduction.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

For each expense, save an itemized receipt from the provider showing the patient’s name, date of service, and amount charged. An Explanation of Benefits from your insurer showing what insurance covered and what you owed is equally important. Most providers and insurers make these available through online portals.

The IRS generally expects you to keep tax records for at least three years from the filing date, or six years if you underreported income by more than 25%.6Internal Revenue Service. Topic No. 305, Recordkeeping If you plan to reimburse yourself years after paying an expense out of pocket, keep those receipts indefinitely. A receipt from 2026 that you reimburse in 2035 still needs documentation to prove the expense was legitimate.

A non-qualified distribution you can’t correct gets added to your gross income, and you owe the 20% additional tax on top of your regular rate. For someone in a higher bracket, that combined hit can consume nearly half the distribution.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

What Changes at Age 65

Once you enroll in Medicare, you can no longer contribute to an HSA. Your contribution limit drops to zero starting with the first month of Medicare coverage, and this applies even if enrollment is retroactive. If you delayed applying for Medicare and coverage was later backdated, contributions made during that retroactive period count as excess contributions and need to be removed.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

You can still spend the existing balance on qualified expenses tax-free for the rest of your life. Medicare premiums for Part B, Part D, and Medicare Advantage qualify; Medigap supplemental premiums do not.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

After you turn 65, the 20% penalty for non-medical withdrawals disappears. You’ll still owe ordinary income tax on any amount not used for qualified expenses, which makes the account function much like a traditional retirement account for non-medical spending.1Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Qualified medical bills still come out tax-free, so the reimbursement flexibility you built up over decades keeps its full value.