There are two ways to pay medical bills with an HSA: swipe the debit card your HSA administrator issued you, or pay the bill yourself with cash or a credit card and reimburse yourself from the account later. Either way, the withdrawal is tax-free as long as the expense qualifies under IRS rules and you keep documentation in case the withdrawal is ever questioned.
The Three Ways to Move Money Out of the Account
The fastest option is the HSA debit card. It works like any Visa or Mastercard: swipe it at the provider’s front desk, enter it on a hospital’s online payment portal, or use it at a pharmacy checkout. Funds come out of your HSA balance immediately.
At pharmacies and retailers that sell a mix of medical and non-medical products, an automated system called IIAS checks each item’s barcode against a list of IRS-eligible products before approving the transaction. If you’re buying bandages and allergy medication alongside groceries, only the qualifying items will run on the HSA card. The rest needs a separate form of payment.
If the card isn’t handy or you want a cleaner paper trail, most administrators offer online bill-pay. Log in, choose “Pay a Provider,” enter the dollar amount from your final bill, and type in the provider’s name and mailing address. The administrator either mails a check or sends an electronic transfer. This takes a few extra days but creates a clean record inside your account portal. You’ll usually need the provider’s Tax Identification Number and your patient account number so the payment gets credited correctly.
The third option is to pay the bill out of pocket and reimburse yourself. Log into the administrator’s portal, select the option to transfer funds to a linked checking or savings account, enter the amount you paid and the date the expense occurred, and submit. Most transfers land within two to three business days.
Pull Your Documents Before You Pay
Before touching HSA funds, get two documents in front of you: the itemized bill from your provider and the Explanation of Benefits from your insurance company. Comparing the two confirms what your plan already covered and what you actually owe. This step catches the most common overpayment mistake, which is paying the full billed amount before insurance adjustments post.
The itemized bill should show the provider’s name, date of service, a description of each service, and the dollar amount you owe after insurance.
What Actually Qualifies
The general test in IRS Publication 502 is whether a cost is primarily meant to diagnose, treat, or prevent a physical or mental condition.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: What Medical Expenses Are Includible?
Straightforward qualifying expenses include:
- Doctor visits, annual physicals, and surgical procedures
- X-rays, laboratory fees, and imaging
- Dental care including cleanings, fillings, braces, extractions, and dentures (but not teeth whitening)
- Eye exams, prescription eyeglasses, contact lenses, and related supplies like saline solution
- Prescription drugs and insulin
Since the CARES Act took effect in 2020, over-the-counter medications and menstrual care products like tampons, pads, and cups also qualify without a prescription.2Internal Revenue Service. IRS Outlines Changes to Health Care Spending Available Under CARES Act
Expenses that fail the test include gym memberships, general wellness supplements, and cosmetic procedures like facelifts, hair transplants, and liposuction.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses – Section: What Medical Expenses Are Includible?
The Gray Zone: Letters of Medical Necessity
Some expenses live in a gray zone. Massage therapy, dietary supplements, and air purifiers can qualify, but only when a doctor provides a Letter of Medical Necessity tying the item to a specific diagnosis. Without that letter, the purchase looks like general wellness spending, and your administrator will deny it. If you’re unsure whether something qualifies, get the letter before you pay.
Spouse and Dependent Bills
Your HSA can cover qualified expenses for your spouse, any dependent you claim on your tax return, and certain people who would have qualified as dependents except for filing status or income technicalities. Your spouse and dependents do not need to be enrolled in a high-deductible plan themselves. For divorced or separated parents, a child is treated as the dependent of both parents for HSA purposes, regardless of who claims the exemption.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
The Delayed-Reimbursement Strategy
Paying with a personal card or cash and reimbursing yourself later is fully valid, and there is no deadline to do it. You could pay a bill today, let the HSA grow for a decade, and reimburse yourself then. The only hard rule is that the expense must have occurred after you established the HSA.3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
This is where HSAs pay off for people who can afford to cover a bill in the moment. You can earn credit card rewards on the medical charge, let the HSA balance grow or invest, and pull the money out tax-free whenever you choose. Just keep every receipt, because you’ll need proof that the expense happened after your HSA was opened and was for a qualifying purpose.
Health Insurance Premiums Usually Don’t Count
HSA funds generally cannot pay health insurance premiums. Four exceptions apply:3Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
- COBRA continuation coverage after leaving a job
- Premiums for any health plan while you collect federal or state unemployment benefits
- Medicare Part A, Part B, Part D, and Medicare Advantage premiums once you turn 65 (Medigap premiums are not eligible)
- Long-term care insurance premiums, up to age-based annual limits ranging from $500 at age 40 or younger to $6,200 at 71 or older for 2026
Paying any other type of health insurance premium from your HSA triggers income tax plus the 20% penalty below.
What It Costs If You Pay for Something Ineligible
Withdraw HSA money for something that doesn’t qualify, and the amount gets added to your taxable income for the year. You also owe an additional 20% tax on top of that.4Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts On a $1,000 non-qualified withdrawal, someone in the 22% bracket owes $220 in income tax plus $200 in penalty tax, leaving $580.
The 20% penalty disappears once you turn 65, become disabled, or pass away. After 65, non-qualified withdrawals are still taxed as ordinary income, just without the extra 20%.4Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts
Fixing a Mistaken Withdrawal
If you accidentally used HSA funds on a non-qualified expense due to a genuine mistake, you may be able to return the money. The IRS allows repayment of mistaken distributions no later than April 15 following the first year you knew or should have known the withdrawal was an error. If the funds go back in time, the distribution isn’t counted as income and the 20% penalty doesn’t apply.5Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA Your HSA trustee or custodian is not required to accept the returned funds, so check with your administrator before assuming you can reverse the transaction.
Records and Form 8889
Every year you take money out of your HSA, you must file IRS Form 8889 with your Form 1040, even if every dollar went to qualified expenses and you owe no additional tax.6Internal Revenue Service. Instructions for Form 8889 (2025)
Keep every itemized receipt, Explanation of Benefits statement, and Letter of Medical Necessity for at least three years after filing the return that reports the distribution. That three-year window matches the standard IRS audit period.7Internal Revenue Service. How Long Should I Keep Records? If you’re delaying reimbursement, hold onto the receipts for as long as you plan to wait before withdrawing, plus three more years after the tax return reporting that withdrawal. A secure cloud folder or your administrator’s document vault works well, since you might be sitting on receipts for years.