HSA eligibility ruling · Medical
Is Gym Membership HSA-Eligible? (2026)
Yes, with conditions.
Gym memberships can be HSA-eligible with a Letter of Medical Necessity from a licensed provider for a diagnosed condition.
- Typical cost
- $20–$300+ per month
- Basis
- Federal framework applied
The condition that decides it
Requires a Letter of Medical Necessity (LMN) from a licensed provider (MD, DO, NP, or PA) for a specific diagnosed condition with ICD-10 codes. The LMN must state the gym membership is medically necessary for treatment or immediate prevention of the condition. Typically valid for 12 months.
Keep with the receipt
- Itemized receipt
- Proof of payment
- Letter of medical necessity
Plus anything showing insurance or another plan didn't already pay it.
Paid for it already? Keep the option to reimburse later.
Save the receipt with this ruling and your proof. Free for 3 scans a month.
Details
The IRS does not consider gym memberships a qualified medical expense for general fitness. However, if a licensed provider determines that a gym membership is medically necessary to treat or prevent a specific diagnosed condition - such as obesity, Type 2 diabetes, hypertension, cardiovascular disease, depression, chronic pain, or osteoporosis - it can qualify. Companies like Truemed and Flex streamline this process by connecting you with licensed practitioners who evaluate your health history and issue a Letter of Medical Necessity (LMN) online. With a valid LMN, you can pay for gym memberships at major chains like Equinox, Barry's, CorePower Yoga, SoulCycle, 24 Hour Fitness, CrossFit, Club Pilates, YMCA, and more using pre-tax HSA/FSA dollars - saving roughly 30% on average. Note: the IRS applies a "but for" test, meaning the membership must be something you would not have purchased but for your medical condition.
Decision record and source basis
This ruling applies the federal medical-expense definition and HSA distribution framework. The cited publications do not name every product or service, so the expense purpose and facts still control. A product or retailer label does not override the expense purpose, eligibility conditions, or documentation requirement shown above.
Search coverage (8 product and plain-English terms)
anytime fitness, crossfit membership, equinox membership, gym dues, la fitness membership, orangetheory membership, planet fitness, ymca membership.
- IRS Publication 502: federal medical-expense framework
Medical expenses are costs for diagnosis, cure, mitigation, treatment, or prevention of disease, or for affecting a body function; personal and general-health costs are excluded unless a specific rule applies.
Source reviewed
- IRS Publication 969: HSA qualified medical expenses
HSA distributions are tax-free only for uncompensated qualified medical expenses incurred after the HSA was established, with supporting records retained.
Source reviewed
Frequently Asked Questions
Can I use my HSA for a gym membership?
Yes, if you have a Letter of Medical Necessity from a licensed provider for a diagnosed medical condition like obesity, diabetes, or heart disease. Services like Truemed ($30 fee) and Flex (4% monthly fee) help you get an LMN through a quick online health survey - no in-person visit required.
Which gyms accept HSA/FSA payments?
Through Truemed, you can use HSA/FSA at 30+ gyms including Barry's, CorePower Yoga, SoulCycle, 24 Hour Fitness, CrossFit, YMCA, Club Pilates, and SPENGA. Equinox partners exclusively with Flex for HSA/FSA payments as of February 2026.
Are personal trainers HSA-eligible?
Yes, with a Letter of Medical Necessity. If personal training is prescribed as part of a treatment plan for a diagnosed condition, the cost qualifies as an HSA-eligible expense.
Did the One Big Beautiful Bill make gym memberships HSA-eligible?
No. While early drafts of the bill included a provision for fitness expenses, it was stripped from the final version signed in July 2025. Gym memberships still require a Letter of Medical Necessity to qualify.
What is the "but for" test?
The IRS asks whether you would have purchased the gym membership regardless of your medical condition. If yes, it does not qualify. Your Letter of Medical Necessity should confirm that the membership is specifically for treating your diagnosed condition.
HSA Tax Savings
A $150/month gym membership costs $1,800/year. At the 24% federal tax bracket with a valid LMN, you save $432 in federal taxes annually by paying with HSA funds.
Services like Truemed and Flex can help you get a Letter of Medical Necessity through a quick online health survey. One LMN covers 12 months of gym expenses.
Pay now · reimburse later
Can you reimburse gym membership years later?
Compare timing assumptions, investment risk, and the records needed to support a later distribution.
Related HSA Expenses
Physical Therapy
$50–$350 per session
Doctor Visits
$20–$300 per visit (varies by type and insurance)
Massage Therapy
$60–$200 per session
More related resources
Peloton & Exercise Equipment
$1,400–$2,500 (Peloton bike); $30–$50/month (subscription)
Fitness Tracker
$100 to $800 (device); $0 to $30/month (subscription)
Weight Loss Programs
$20–$100/month (programs); $200–$500 (medical programs)
Personal Training
$50–$150 per session; $400–$1,200+ per month
Home Exercise Equipment
Only equipment required to treat a diagnosed condition
More HSA Resources
Track Gym Membership in HSA Trackr
Save the receipt, supporting evidence, and reimbursement status in one portable proof-ready record.
Track this expense