Yes, you can use your HSA to pay for a doctor visit, and the money comes out tax-free because a doctor visit is a qualified medical expense under federal tax law. That covers routine checkups, sick visits, specialist appointments, and most other care from a licensed provider. The tax advantage applies whether you swipe your HSA debit card at the office or pay another way and reimburse yourself later.
Which Doctor Visits Qualify
Federal tax law defines medical care as amounts paid to diagnose, treat, or prevent disease, or to affect any part or function of the body.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses Under that definition, HSA funds can pay for:
- Primary care visits, including routine checkups, sick visits, and management of chronic conditions like diabetes or high blood pressure.
- Specialist consultations with dermatologists, cardiologists, neurologists, surgeons, and other licensed specialists.
- Mental health sessions with psychologists, psychiatrists, and licensed counselors.
- Dental visits, including cleanings, fillings, extractions, X-rays, and braces.2Internal Revenue Service. Publication 502, Medical and Dental Expenses
- Vision care, including eye exams, prescription glasses, and contact lenses.
- Preventive screenings such as mammograms, colonoscopies, blood panels, and annual physicals, even when nothing is wrong.2Internal Revenue Service. Publication 502, Medical and Dental Expenses
- Prescribed therapies like physical therapy, speech therapy, and chiropractic care.
- Second opinions and surgical consultations.
The visit has to be primarily for medical care rather than general well-being or appearance, and the provider must be a legally recognized medical practitioner. Cosmetic procedures such as teeth whitening or elective plastic surgery do not qualify, and neither do vitamins, supplements, or gym memberships unless a doctor prescribes them to treat a diagnosed condition.2Internal Revenue Service. Publication 502, Medical and Dental Expenses
How to Pay at the Office
Most HSA administrators issue a debit card linked directly to your account. Swiping it at the doctor’s office pays the provider straight from your HSA balance, and that is the simplest way to handle the visit.
If your card isn’t handy or the office doesn’t accept it, pay with a personal card or check and reimburse yourself later. You submit a claim through your administrator’s website or app, attach documentation of the expense, and the reimbursement is usually sent by direct deposit within a few business days. Some administrators mail a paper check instead, which takes longer.
There is no deadline to reimburse yourself. You can pay a doctor bill out of pocket today, keep the receipt, and pull the funds from your HSA months or years later. The only condition is that the expense was incurred after your HSA was established.3Internal Revenue Service. Distributions for Qualified Medical Expenses Medical bills from before the account existed never become eligible. If you can afford to cover doctor visits out of pocket in the meantime, letting the HSA balance grow tax-free and reimbursing yourself in a later year is a legitimate strategy.
Records to Keep
The IRS requires you to keep records showing that every HSA distribution paid for a qualified medical expense, that the expense wasn’t already reimbursed from another source, and that you didn’t also claim it as an itemized deduction.4Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans You don’t send the records with your tax return, but you need them if the IRS ever asks.
For each doctor visit, save documentation that shows:
- The patient’s name.
- The date of service.
- A description of the service (not just a dollar amount).
- The amount charged after any insurance adjustments.
An itemized statement from the provider covers all four. If insurance processed the claim, the Explanation of Benefits from your insurer is also useful because it shows what insurance paid and what you owe.
The general IRS rule is to keep tax records for at least three years after filing the return they relate to.5Internal Revenue Service. How Long Should I Keep Records Because there is no deadline to reimburse yourself, hold on to medical receipts at least until you’ve withdrawn HSA funds for that expense. Patient portals and insurer websites make digital storage easy.
Paying for a Spouse’s or Dependent’s Visit
Your HSA is not limited to your own care. You can use the funds for qualified medical expenses of your spouse and any tax dependent, even if they are not covered by your High Deductible Health Plan.4Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans The same eligibility rules apply, so the visit or treatment has to fit the federal definition of medical care.
The IRS also allows HSA distributions for someone you could have claimed as a dependent but didn’t, provided the reason was a technicality such as the person filing a joint return.4Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans That matters for some adult children and aging parents who meet the dependency criteria but aren’t actually on your return.
What Happens If You Use HSA Money for Something That Doesn’t Qualify
If you withdraw HSA money for something that isn’t a qualified medical expense, the amount is added to your taxable income for the year and hit with an additional 20 percent tax penalty.6Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts On a $1,000 non-medical withdrawal at a combined 30 percent marginal tax rate, that is roughly $300 in income tax plus $200 in penalty, losing half the withdrawal to taxes.
If the non-qualified use was a genuine mistake, such as mistaking an ineligible product for an eligible one, you can return the money to your HSA and avoid both the income tax and the 20 percent penalty. The repayment has to happen by the due date of your tax return (not counting extensions) for the year you discovered the mistake.7Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA The mistake must be a real factual error, not a change of mind. Not every administrator accepts these repayments, so check yours before assuming the option is available. A returned mistaken distribution doesn’t count against your annual contribution limit.
The 20 percent penalty goes away once you turn 65 or become disabled. After 65, non-medical HSA withdrawals still owe regular income tax but no penalty, and withdrawals used for qualified medical expenses remain completely tax-free at any age.4Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans