The direct answer: No, you generally cannot use your FSA or HSA for a gym membership. Gym memberships are classified as general health improvement expenses — not medical care — and the IRS does not consider them qualified medical expenses.

This surprises a lot of people, and it's a frequent source of frustration. You're paying for exercise, which is clearly good for your health — why isn't it covered? The IRS draws a hard line between treating a diagnosed medical condition (covered) and general wellness or fitness improvement (not covered). A gym membership falls in the second category.

That said, there are real exceptions, alternatives, and ways to use your benefits more effectively for fitness.

The Exceptions: When a Gym Membership CAN Be FSA-Eligible

With a Letter of Medical Necessity

If your doctor prescribes exercise at a gym as treatment for a specific diagnosed medical condition — obesity, heart disease, hypertension, diabetes, or a documented mental health condition — you may be able to use FSA funds with a Letter of Medical Necessity (LMN).

The process: your doctor documents that gym membership is medically necessary to treat your condition, you submit that letter to your FSA administrator along with your gym receipt, and if approved, the expense is reimbursed. Not all FSA administrators accept this, and the standard is high — it needs to be a genuine medical recommendation, not a workaround.

Cardiac Rehabilitation and Physical Therapy Facilities

If you've had a cardiac event and your doctor prescribes cardiac rehabilitation at a medically supervised facility, that program (and its fees) is FSA-eligible. Similarly, if you require physical therapy that takes place at a specialized fitness facility, those costs may be covered. These are medical programs, not general gym memberships.

Medically Supervised Weight Loss Programs

Weight loss programs that are specifically recommended by a physician to treat obesity or a related condition may be FSA-eligible. General weight loss programs for cosmetic purposes are not. The distinction is medical recommendation vs. personal choice.

Better Options for Paying for Fitness

If your goal is to use pre-tax or employer money for a gym membership, you have better options than trying to qualify it as an FSA expense:

Your Employer Wellness Stipend

Many employers — particularly tech companies — offer wellness stipends that explicitly cover gym memberships. Unlike FSA, these stipends don't require a medical necessity determination. They're designed for exactly this purpose: helping employees stay active and healthy. A gym membership is one of the most commonly covered wellness stipend expenses.

If your company has a wellness benefit and you're not using it for gym membership, you may be leaving money on the table. See our guide on what you can buy with a wellness stipend for a complete list of covered expenses.

Employer Gym Discount Programs

Many large employers negotiate discounted gym membership rates through programs like:

  • GlobalFit — discounted memberships at major gym chains
  • ClassPass Corporate — access to fitness studios and classes at reduced rates
  • GYMPASS / Wellhub — comprehensive fitness platform covering gyms and digital fitness apps

Check your company's benefits portal or ask HR — these programs are often underutilized because employees don't know they exist.

Health Insurance Fitness Discounts

Many health insurance plans include fitness discounts or reimbursements as a perk. Programs like SilverSneakers (included in many Medicare plans) and fitness reimbursement through commercial insurers are worth checking. Your insurer's member portal should list available fitness benefits.

What Fitness-Related Expenses ARE FSA-Eligible

While gym memberships aren't covered, several fitness-adjacent expenses are:

  • Physical therapy sessions with a licensed physical therapist — fully FSA-eligible
  • Orthopedic supports (knee braces, back supports, etc.) — FSA-eligible for treating conditions
  • Blood pressure monitors — FSA-eligible medical devices
  • TENS units for pain management — FSA-eligible
  • Medical-grade compression socks — FSA-eligible when prescribed

See our full guide to FSA-eligible fitness equipment for a complete list.

Frequently Asked Questions

What about yoga or Pilates classes?

Same rules apply — generally not FSA-eligible without a Letter of Medical Necessity. Some FSA administrators have made exceptions for yoga when specifically prescribed for a medical condition like chronic back pain, but this is not standard. Use your wellness stipend for yoga classes instead.

Can I use my FSA for a Peloton?

No — same reasoning as a gym membership. A Peloton is fitness equipment for general health improvement, not medical treatment. Peloton is commonly covered by wellness stipends, however.

Does this rule apply to HSA as well as FSA?

Yes — HSA and FSA follow the same IRS qualified medical expense rules. A gym membership isn't covered by either account without a Letter of Medical Necessity. The main practical difference is that unused HSA funds roll over indefinitely, so there's less pressure to find expenses to spend them on by year-end.

This doesn't seem fair — exercise is clearly good for you.

Many people agree, and there have been ongoing efforts in Congress to expand FSA/HSA qualified expenses to include fitness. The PHIT Act (Personal Health Investment Today) has been proposed multiple times to allow FSA/HSA funds for gym memberships and fitness expenses, but as of 2026 it has not been enacted. In the meantime, employer wellness stipends fill this gap for many employees.