Yes, an HSA can be used for mental health care, and the range of eligible expenses is wider than most account holders realize. Therapy sessions, psychiatric appointments, prescription medications, and even transportation to treatment all qualify when they address a diagnosed medical condition. The line the IRS draws is between treating an illness and improving general well-being. Cross that line, and a withdrawal that looked routine becomes a taxable event with a penalty attached.
Therapy, Psychiatry, and Counseling
The IRS recognizes fees paid to psychologists, psychiatrists, and psychoanalysts as qualified medical expenses, as long as the treatment addresses a medical condition.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses That covers therapy for depression, anxiety disorders, PTSD, bipolar disorder, ADHD, and other diagnosed mental illnesses. Fees paid to Christian Science practitioners for medical care also qualify.
Format doesn’t change eligibility. In-person sessions, telehealth appointments, and group therapy all count as long as the treatment targets a diagnosed condition and is delivered by a licensed professional. What the IRS won’t cover is counseling aimed at something other than a disease. Marital counseling on its own, for example, is not a medical expense.2Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health That distinction between treating illness and working on a relationship trips up a lot of account holders.
Prescription and Over-the-Counter Medications
Prescription drugs for mental health conditions qualify without any extra paperwork. Antidepressants, anti-anxiety medications, mood stabilizers, stimulants prescribed for ADHD, and antipsychotics are all covered when a doctor prescribes them for a specific diagnosis.
Over-the-counter medicines became eligible for HSA spending after the CARES Act took effect in 2020, which expanded qualified medical expenses to include OTC medications and drugs without requiring a prescription.3Congress.gov. Health Savings Accounts – Congressional Research Service OTC sleep aids and pain relievers can be purchased with HSA funds. The catch: the product has to actually be a medicine or drug. Wellness supplements marketed for “stress relief” or “mood support” don’t automatically qualify. Vitamins and supplements usually need a letter of medical necessity from a provider tying them to a diagnosed condition before HSA funds can be used.
What Doesn’t Qualify
The IRS separates medical treatment from personal improvement, and this is where accidental taxable distributions happen. Common mental health–adjacent expenses that fall outside HSA coverage include:
- Marriage or relationship counseling focused on the relationship rather than on treating a diagnosed mental illness. If a licensed provider prescribes couples therapy as part of a treatment plan for one partner’s diagnosed condition, that portion may become eligible with proper documentation.
- Life coaching and personal development, even when marketed as improving mental health. The IRS does not treat coaching as a medical expense.
- General wellness app subscriptions purchased on your own for stress relief. A meditation or mindfulness app can qualify only if a provider writes a letter of medical necessity linking it to a diagnosed condition like anxiety or insomnia.
- Gym memberships and fitness programs. Exercise helps mental health, but memberships aren’t medical care under IRS rules unless prescribed for a specific diagnosed condition and documented.
The pattern: no diagnosis, no provider recommendation, no qualified expense. Spending HSA funds on ineligible expenses triggers income tax on the amount plus a 20% penalty.4Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts
Gray-Zone Expenses and the Letter of Medical Necessity
Some expenses could be personal or medical depending on the circumstances. For those, a Letter of Medical Necessity from a licensed provider is what turns a questionable withdrawal into an eligible one. The letter should name your diagnosed condition and explain why the expense is medically necessary for treatment.
Psychiatric Service Animals
The IRS allows the costs of buying, training, and maintaining a service animal as a medical expense for a person with a disability, including ongoing costs like food, grooming, and veterinary care.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Publication 502 references service animals for people with physical disabilities, so if you use a psychiatric service animal for a condition like PTSD or severe anxiety, keep thorough documentation from your provider establishing the medical necessity. An emotional support animal without formal service training is much harder to justify as a medical expense.
Digital Therapy Platforms and Supplements
Mental health apps and digital therapy platforms can qualify for HSA reimbursement when a provider writes a letter of medical necessity. The letter typically identifies the diagnosed condition, explains why the app is recommended as part of treatment, and states the expected duration of use. Nutritional supplements recommended by a provider for a mental health diagnosis follow the same rule.
Travel and Lodging for Treatment
Transportation to and from mental health appointments qualifies, including bus fare, rideshare costs, and mileage if you drive. The IRS also allows transportation expenses for regular visits to see a mentally ill dependent when those visits are recommended as part of treatment.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Lodging while traveling for treatment is covered, but with limits: no more than $50 per night per person. If a companion needs to travel with you, lodging for that person qualifies too, bringing the cap to $100 per night. The lodging must be essential to receiving care at a licensed medical facility, and it cannot have a significant element of personal recreation or vacation. Meals during travel are not covered.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Preventive Mental Health Screenings
One benefit that often goes overlooked: HDHPs are allowed to cover preventive care without requiring you to meet your deductible first, and the IRS specifically lists screening services for mental health conditions as qualifying preventive care.5Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans Your HDHP can cover a depression screening, anxiety assessment, or other mental health evaluation at no out-of-pocket cost, even before you have spent a dollar toward your deductible. Not every HDHP handles these screenings that way, so check your plan’s preventive care schedule.
Records You Need to Keep
The IRS requires records showing that every HSA distribution went to qualified medical expenses, that the expenses weren’t reimbursed from another source, and that you didn’t also claim them as an itemized deduction.5Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans In practice, that means saving itemized receipts showing the date, provider, and description of services for every mental health expense paid with HSA funds.
For any expense that required a Letter of Medical Necessity, keep the letter with the receipts. The IRS can generally assess additional tax within three years after your return was filed.6Internal Revenue Service. Time IRS Can Assess Tax Keeping records at least that long protects you if a distribution is questioned. You don’t submit any of this with your tax return, but you need it available on request.
Paying and the Cost of Getting It Wrong
The simplest method is the HSA debit card at the point of sale. Most therapists, psychiatrists, and pharmacies accept it. If a provider doesn’t, you can pay out of pocket and submit a reimbursement claim through your HSA administrator. There’s no deadline for reimbursement as long as the expense was incurred after your HSA was established, so some account holders pay out of pocket and let the balance keep growing before requesting reimbursement years later.
If you withdraw HSA funds for something that isn’t a qualified medical expense, the amount is added to your gross income for the year and hit with an additional 20% tax penalty.4Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts The penalty disappears once you reach age 65, become disabled, or pass away. After 65, non-qualified withdrawals are still taxed as ordinary income but the 20% surcharge no longer applies, so the HSA starts functioning more like a traditional retirement account. Before that age, the penalty is steep enough that verifying eligibility before spending is worth the effort every time.