About 50 million Americans belong to a gym, and a growing number also have health savings accounts. It is natural to wonder whether those two things can overlap. The short answer is: gym memberships are generally not eligible for HSA spending under current IRS rules. But there is an exception worth knowing, and it can make a real difference for people with specific medical conditions.
Why the IRS Says No to Most Gym Memberships
The IRS defines qualified medical expenses in Publication 502. To qualify, an expense must be primarily for the prevention or alleviation of a specific physical or mental condition. General fitness, weight loss for overall appearance, and wellness activities for general health maintenance do not meet that standard.
A gym membership, in the IRS view, is a general wellness expense. It benefits your overall health but is not directed at treating or preventing a specific disease. Because it fails the "primarily medical" test, it falls outside the qualified expense list.
The same logic applies to fitness apps, personal trainers, and wellness retreat fees when they are used for general health improvement.
The Letter of Medical Necessity Exception
There is one path that can change whether a gym membership qualifies: a Letter of Medical Necessity (LMN).
If a licensed physician determines that exercise at a gym is necessary to treat or prevent a specific diagnosed condition, such as obesity, type 2 diabetes, cardiovascular disease, or a musculoskeletal disorder, they can write an LMN. This letter documents that the gym membership is a treatment for that condition, not just a lifestyle choice.
With a valid LMN in your records, the gym membership may qualify as an HSA-eligible expense. The expense becomes medical in character because it is prescribed to address a specific disease.
Important: simply having a condition is not enough. The letter must explicitly state that gym use is medically necessary for treatment or prevention of that specific diagnosis.
How to Get a Letter of Medical Necessity
Start by talking with your primary care physician or specialist. Explain that you are considering gym membership and would like to know whether it can be prescribed for your condition. If your doctor agrees it is medically appropriate, ask them to write a letter that includes:
- Your diagnosis and ICD code
- The specific treatment (gym membership or supervised exercise)
- How exercise directly addresses your condition
- The recommended frequency or duration
Keep this letter with your HSA records. Store it alongside the gym receipts and any related billing summaries. If the IRS ever questions the deduction, the letter is your primary documentation.
What Fitness Expenses Do Qualify Without an LMN
Some fitness-related purchases qualify outright, without needing a doctor's note.
Physical therapy and occupational therapy ordered by a physician qualify. If you pay a physical therapist at a gym or clinic, those fees are eligible.
Medical equipment prescribed for home use, such as a treadmill or stationary bike specifically prescribed for cardiac rehabilitation, may qualify with an LMN. The prescription requirement is strict here.
Weight loss programs that are prescribed by a physician to treat a diagnosed obesity-related condition may also qualify. Programs aimed at general appearance or personal preference do not.
How HSA and FSA Rules Differ
Flexible spending accounts (FSAs) follow the same IRS Publication 502 rules as HSAs. If a gym membership does not qualify for an HSA, it does not qualify for an FSA either. Some employer wellness programs offer separate incentives or reimbursements for fitness, but those are distinct from FSA or HSA accounts and are handled differently for tax purposes.
For a broader look at how HSA rules apply to other medical costs, Can You Use a Health Savings Account for Braces? walks through how the medically necessary test applies to dental and orthodontic care.
What Happens If You Use Your HSA for a Non-Qualified Expense
If you spend HSA funds on a gym membership without a valid LMN and the IRS audits your account, you will owe income tax on the amount plus a 20% penalty if you are under 65. If you are 65 or older, the 20% penalty goes away, but you still owe income tax.
This is why documentation matters. Keep the LMN, the receipts, and any notes from your doctor's office. The IRS does not require you to submit these records upfront, but you need them available if you are ever questioned.
Building a Banking Safety Net While You Save for Fitness
If you are building up your HSA balance while also managing day-to-day expenses, a fee-free checking account helps you avoid eroding savings with maintenance fees. Current offers fee-free mobile banking with no monthly fee, no minimum balance, up to 4.00% APY with a $200 qualifying direct deposit, and paycheck access up to two days early. Terms and conditions apply.
Current Banking

Current Banking
Current is a mobile-first banking app with no monthly fee and no minimum balance. Members can earn up to 4.00% APY with a qualifying direct deposit of $200, receive direct-deposit paychecks up to 2 days early, and overdraft up to $200 fee-free.
Standout feature
4.00% APY on Savings Pods (with a $200+ qualifying direct deposit) plus paycheck up to 2 days early — both included on the standard account for free
Fees
Free
Pros
$0 monthly fee; up to 4.00% APY on Savings Pods with qualifying direct deposit; paycheck up to 2 days early;
Cons
No physical branches
Comparing Your Options for Fitness Costs
If your gym membership does not qualify for HSA reimbursement, you are still not out of options.
Employer wellness programs sometimes reimburse gym fees as a taxable fringe benefit. Check your HR benefits guide to see if this applies.
Health insurance riders occasionally cover fitness memberships, especially through gym network programs like SilverSneakers for Medicare beneficiaries.
COBRA and marketplace plans sometimes include wellness perks that cover gym access separately from your HSA.
For people thinking about other vision or dental expenses that do qualify without as many restrictions, Can You Use a Health Savings Account for Glasses? is a useful reference for what clears the IRS bar more easily.
If short-term cash flow is a concern while you build your health fund, Brigit offers $25 to $500 instant cash advances with no interest, no tips, and no mandatory fees. Terms and conditions apply.
Brigit
Brigit
Need cash sooner than expected? Brigit is your go-to solution for instant cash. Access between $25–$500 on the free plan with no interest, no tips, and no hidden fees.
Standout feature
Trusted by over 10 million people
Fees
$8.99/mo or $15.99/mo
Pros
Get Cash in minutes, No Credit Score Needed
Cons
Monthly fee is needed
Fee-Free Banking While You Budget for Health
For people juggling HSA contributions and everyday expenses, Chime offers fee-free banking with no monthly fees, early direct deposit, fee-free overdraft up to $200 once you qualify, and 3.75% APY on savings. Terms and conditions apply.
Chime

Chime
- Fee-free banking plus early pay access - Overdraft up to $200 without fees - 5% cash back and build credit everyday. - 3.75% APY on your savings.
Standout feature
No credit check, no interest, no annual fee, and no minimum deposit required.
Fees
$0
Pros
Fee-Free Banking and Get paid up to 2 days early
Cons
App/online-only support, no branches
Frequently Asked Questions
Can you use a health savings account for gym membership?
Generally no. The IRS classifies gym memberships as general wellness expenses, which do not meet the standard for qualified medical expenses. The exception is when a physician provides a Letter of Medical Necessity linking the gym membership to a specific diagnosed condition.
What is a Letter of Medical Necessity and how do I get one?
A Letter of Medical Necessity is a written statement from a licensed physician explaining that a specific expense is medically required to treat or prevent a diagnosed condition. You can request one during a doctor's visit. The letter should include your diagnosis, the recommended treatment, and why gym use is necessary for your specific condition.
Does a personal trainer qualify as an HSA expense?
Not typically. Personal trainer fees are usually considered general fitness expenses. However, if a physician prescribes supervised exercise as treatment for a specific condition and you obtain an LMN, the fees may qualify. Keep the prescription and receipts to document the medical purpose.
Are there other fitness costs that do qualify for HSA spending?
Yes. Physical therapy and occupational therapy ordered by a physician qualify. Medical equipment prescribed for specific rehabilitation, such as a stationary bike for cardiac rehab, may also qualify with proper documentation. Weight loss programs prescribed for an obesity-related diagnosis may be eligible as well.

