Yes, an HSA can be used for therapy, and the distribution is tax-free, as long as the therapy treats a diagnosed mental health condition and is delivered by a qualified provider. Therapy aimed at general self-improvement or everyday stress does not qualify, and using HSA funds for it triggers income tax plus a 20% penalty.
The Rule That Decides Whether Your Therapy Qualifies
The IRS defines medical care as amounts paid for the diagnosis, cure, mitigation, treatment, or prevention of disease.1Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses HSA distributions are tax-free when used for that kind of care.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans IRS Publication 502 states it directly: “You can include in medical expenses amounts you pay for therapy received as medical treatment.”3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
The controlling phrase is “as medical treatment.” Therapy for a diagnosed condition such as depression, anxiety, PTSD, or OCD sits squarely inside that definition. Therapy for personal growth, life transitions, or day-to-day stress does not. Publication 502 explicitly excludes expenses that are “merely beneficial to general health” and amounts paid “to relieve physical or mental discomfort not related to a particular medical condition.”3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Two things have to be true: a diagnosed condition exists, and the therapy is treating it.
Which Providers and Types of Therapy Are Covered
Publication 502 lists three categories of mental health treatment as qualified medical expenses: therapy received as medical treatment, psychiatric care, and psychologist services.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses That range is wide in practice. Individual psychotherapy, group therapy, psychoanalysis, and cognitive behavioral therapy all qualify when they address a diagnosed condition.
Provider credentials matter because the IRS expects treatment to come from someone qualified to deliver medical care. Providers who consistently qualify include:
- Psychiatrists, who are medical doctors and can prescribe medication as well as provide therapy.
- Psychologists, named explicitly in Publication 502 when they are delivering medical care.
- Licensed clinical social workers recognized by state licensing boards to provide clinical mental health treatment.
- Licensed professional counselors and marriage and family therapists, when they are treating a diagnosed condition within their state license.
Sessions with unlicensed life coaches, wellness consultants, or non-clinical spiritual advisors are not medical care under federal law. Paying for those services with HSA funds triggers income tax on the distribution plus a 20% penalty.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
Marriage Counseling, Family Therapy, and Letters of Medical Necessity
Some therapy sits in a grey area where the IRS may view it as personal rather than medical. Marriage counseling and family therapy are the most common examples. They can qualify for HSA coverage, but only when they are treating a specific diagnosed condition rather than general relationship dissatisfaction or family conflict.
A Letter of Medical Necessity is what bridges that gap. Written by a licensed healthcare provider, it states the patient’s diagnosis and explains why the specific therapy is medically necessary to treat it. A useful letter identifies the condition, describes how the therapy addresses the symptoms, and indicates the expected duration of treatment.
HSA custodians generally treat a Letter of Medical Necessity as valid for up to 12 months from the date it is written. If treatment continues past that point, you need a new letter covering the additional time. Keeping a current letter on file protects you if the IRS or your custodian questions the distribution. The same logic applies to treatment at a health institute or specialized program; Publication 502 allows those fees only when a physician prescribes the treatment and confirms it is necessary to treat a physical or mental illness.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Online and Telehealth Therapy
Telehealth sessions follow the same rules as in-person visits. If the provider is licensed and the session treats a diagnosed condition, the distribution qualifies. The delivery method does not change the analysis.
One recent legal change is worth knowing. The One Big Beautiful Bill Act permanently allows health plans to cover telehealth and remote care before you meet your HDHP deductible without disqualifying you from making HSA contributions.4Internal Revenue Service. Treasury, IRS Provide Guidance on New Tax Benefits for Health Savings Account Participants Under the One Big Beautiful Bill A temporary safe harbor had allowed first-dollar telehealth coverage for years, but it kept expiring and getting extended. That uncertainty is now over.
Online therapy platforms like BetterHelp and Talkspace can qualify when their therapists hold valid licenses and the treatment targets a diagnosed condition. The platform itself does not determine eligibility. If part of a subscription fee covers non-clinical features such as journaling tools or self-guided worksheets, only the portion tied to clinical therapy qualifies.
Psychiatric Medications, Substance Abuse Treatment, and Service Animals
Prescription medications for mental health conditions are qualified medical expenses. Antidepressants, anti-anxiety medications, mood stabilizers, and antipsychotics prescribed by a licensed prescriber can all be paid for with HSA funds. The drug must require a prescription; over-the-counter supplements marketed for mood or stress do not qualify unless a doctor prescribes them for a specific condition.1Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses
Substance abuse treatment is also covered. Publication 502 allows costs for inpatient treatment at a therapeutic center for alcohol or drug addiction, including meals and lodging provided during the stay.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Transportation to and from recovery support meetings such as Alcoholics Anonymous also qualifies when a medical professional has advised that attendance is necessary. Outpatient counseling for substance abuse qualifies under the general therapy provision when delivered by a licensed provider.
Service animals get their own treatment in Publication 502, which allows the costs of buying, training, and maintaining a service animal, including food, grooming, and veterinary care.3Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses The publication’s specific language references visual impairments, hearing disabilities, and “other physical disabilities.” Whether psychiatric service dogs fit that provision is less explicit, but Section 213(d) covers expenses for the treatment of disease, and mental illness qualifies. If your doctor prescribes a psychiatric service animal as part of treatment for a diagnosed condition, the expenses are defensible, and a Letter of Medical Necessity strengthens the position.
How To Pay and Reimburse Yourself
Most HSA custodians issue a debit card linked to the account. You can swipe it at the therapist’s office and the funds come straight from your HSA balance. The card is restricted to medical merchants, so it works at most provider offices and pharmacies.
You can also pay out of pocket and reimburse yourself later. There is no deadline. If you can afford to cover therapy from your checking account now, you can leave the HSA invested and reimburse yourself months or years later. The one timing rule that catches people: you can only reimburse expenses incurred after your HSA was established.5Internal Revenue Service. Instructions for Form 8889 Sessions you paid for before opening the account never qualify, no matter when you submit the receipts.
Records You Need To Keep
The IRS requires records showing that HSA distributions went exclusively to qualified medical expenses, that those expenses were not reimbursed by insurance, and that you did not also claim them as an itemized deduction.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans You do not send these with your return. You need them if audited.
For each therapy expense, keep an itemized receipt or Explanation of Benefits showing the date of service, the provider’s name, and the type of treatment. If you obtained a Letter of Medical Necessity for marriage counseling or another grey-area service, keep a copy. Store digital copies. Paper fades, and delayed reimbursement means you may need these records years later.
The standard IRS audit window is three years from the date you file, so that is the minimum retention period. Because HSA reimbursements have no deadline, keep records as long as the expense remains unreimbursed. Every year you take a distribution, file Form 8889 with your tax return; Part II reports total distributions and how much went to qualified medical expenses.5Internal Revenue Service. Instructions for Form 8889
What It Costs if a Distribution Is Not Qualified
When you use HSA funds for something the IRS does not count as a qualified medical expense, the distribution is added to your gross income and hit with an additional 20% tax.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans On a $200 session reclassified as non-qualified, you owe income tax at your marginal rate plus a $40 penalty. Over a course of weekly therapy, that adds up quickly.
The 20% penalty disappears at age 65. After that, non-qualified distributions are still taxed as ordinary income, but the extra penalty no longer applies.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The same exception applies if you become disabled.