You can use an HSA for counseling or therapy when a licensed provider is treating a diagnosed mental health condition. The IRS treats therapy like any other medical service: if it’s delivered by a qualified practitioner to diagnose, cure, treat, or prevent an illness, it qualifies as a medical expense you can pay for with pre-tax HSA dollars.1Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health Sessions aimed at general self-improvement, relationship enrichment, or stress relief without a clinical diagnosis do not qualify, and using HSA funds for those creates a tax bill plus a 20% penalty.
The Standard: Diagnosis Plus a Licensed Provider
HSA-qualified medical expenses use the same definition as the medical expense deduction under 26 U.S.C. ยง 213(d): amounts paid to diagnose, cure, mitigate, treat, or prevent disease.2Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses The IRS draws a hard line inside that definition: expenses must primarily alleviate or prevent a physical or mental disability or illness, and expenses that are merely beneficial to general health do not count.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Two things have to line up. There needs to be a diagnosis the counseling is treating, and the counseling has to come from a provider whose license authorizes them to treat it. The purpose of the sessions matters as much as the credentials on the door.
Counseling That Qualifies
Publication 502 lists psychiatric care, psychoanalysis, and therapy received as medical treatment as eligible medical expenses.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses In practice, that covers a range of counseling once a clinical diagnosis is in place:
- Individual therapy for conditions such as major depressive disorder, generalized anxiety disorder, PTSD, OCD, or bipolar disorder.
- Inpatient treatment at a therapeutic center for alcohol or drug addiction, including meals and lodging at the center during treatment.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
- Grief or stress-related counseling when it is part of a treatment plan for a diagnosed condition like adjustment disorder or clinical depression.
What Doesn’t Qualify
The IRS has stated directly that amounts paid for marital counseling are not medical expenses.1Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health Couples work aimed at improving a relationship is outside the HSA rules even when both partners find it useful.
The rule shifts when a therapist treats a couple together as part of one partner’s treatment plan for a diagnosed condition such as depression. In that situation, the primary purpose is treating a mental illness rather than improving the relationship, and the sessions can qualify. What the provider documents as the treatment goal decides it.
General lifestyle coaching, executive coaching, personal development workshops, health club memberships, peer support groups, and unlicensed counseling services do not meet the standard even when they improve mental well-being.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses If the service is not delivered by a licensed provider treating a diagnosed condition, it falls outside the definition of medical care.
Who Counts as a Qualified Provider
Publication 502 covers payments for legal medical services rendered by physicians, surgeons, dentists, and other medical practitioners, and it specifically names psychologists and psychiatrists among qualifying providers.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses The “other medical practitioners” category picks up licensed clinical social workers, licensed professional counselors, and licensed marriage and family therapists, since each holds a state-recognized clinical license to diagnose and treat mental health conditions.
Life coaches, wellness coaches, and pastoral counselors without a clinical license generally do not qualify. The dividing line is state licensing. If your provider holds a license that authorizes them to render medical care in your state, their services fit the definition. If they don’t, paying with HSA funds carries the same tax consequences as buying something unrelated to healthcare. Before your first session, confirm that your provider’s license number and credentials will appear on the receipt or superbill.
Telehealth and Online Therapy
Virtual sessions qualify under the same rules as in-person visits. The IRS does not distinguish between delivery methods: what matters is whether a licensed provider is delivering therapy for a diagnosed condition.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Video, phone, or office, the eligibility analysis is the same.
Online therapy platforms do introduce one wrinkle. If a platform charges a flat monthly rate that bundles clinical sessions with non-medical features like journaling apps, meditation content, or wellness assessments, only the portion tied to actual therapy qualifies. Ask for an itemized receipt that separates the clinical sessions from any add-on features. Platforms that only sell access to licensed therapists for clinical treatment make the accounting cleaner.
Paying for a Spouse or Dependent
Your HSA is not limited to your own counseling. You can use it tax-free for qualified medical expenses of your spouse or anyone you claim as a dependent on your tax return, and the same eligibility rules apply: diagnosed condition, licensed provider.4Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
For children, dependency status follows the standard rules. A qualifying child must generally be under 19, or under 24 if a full-time student. Adult children past those ages can still qualify as dependents under the qualifying relative test if their gross income is below $5,300 in 2026 and you provide more than half their support. If your adult child doesn’t qualify as your dependent, they would need their own HSA to cover therapy with pre-tax funds.
Letter of Medical Necessity for Gray-Area Sessions
Some counseling sits in a space where the connection to a medical condition isn’t obvious from the billing alone. A Letter of Medical Necessity from your provider bridges that gap. The letter states the diagnosis, describes the recommended treatment, estimates how long therapy will last, and explains how the counseling addresses the specific condition. HSA administrators and the IRS use it to verify that a borderline expense qualifies under Section 213(d).
Get the letter before you submit your first claim rather than after a denial. Your treating provider signs it, and it should be specific enough that someone reviewing your account can connect the counseling to a recognized condition. Vague phrasing like “patient would benefit from therapy” won’t hold up. A strong letter names the diagnosis, explains why counseling is medically necessary for that condition, and specifies the type and frequency of treatment. Keep the original with your session receipts.
What Happens If You Use HSA Money for Non-Qualified Counseling
If the IRS finds that an HSA distribution paid for something that doesn’t count as medical care, two tax consequences follow. The withdrawn amount becomes ordinary income, taxed at your regular rate. On top of that, you owe an additional 20% penalty tax.4Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans On a $3,000 withdrawal in the 22% bracket, that’s roughly $660 in income tax plus $600 in penalties, so more than $1,200 lost on sessions that didn’t meet the standard.
One exception matters. Once you turn 65, become disabled, or die, the 20% penalty no longer applies.4Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans After 65, a non-qualified withdrawal is still taxed as ordinary income, but the extra 20% drops off. Before 65, the cost of guessing wrong is high enough that a Letter of Medical Necessity is worth the small effort to obtain.
What to Keep on File
Every session you pay for with HSA funds needs a paper trail. Keep a receipt or superbill for each visit showing the date of service, the provider’s name and license credentials, a description of the service or its CPT billing code, and the amount charged. An Explanation of Benefits from your insurance company works as backup if the session ran through your plan first.
The IRS generally requires taxpayers to keep records for at least three years from when the return was filed, or two years from when the tax was paid, whichever is later.5Internal Revenue Service. How Long Should I Keep Records HSA reimbursements have no deadline, so you may need those records much longer if you plan to reimburse yourself in a later year. Digital copies kept indefinitely are the safest approach. If an audit comes and you can’t produce documentation, the IRS can reclassify the distribution as non-qualified and apply the income tax and 20% penalty.