If you have an HSA or FSA, it is natural to wonder whether you can put those pre-tax dollars toward a gym membership. Exercise is good for your health, gyms are where exercise happens, and HSA and FSA funds exist to cover health-related costs. The logic seems straightforward.
The reality is more complicated. Under current IRS guidance, gym memberships are generally not an eligible HSA or FSA expense, but there are circumstances where they may qualify. This guide covers the rules, the exceptions, what documentation matters, and what to ask before you spend.
Important note before you read on: Tax rules change, plan rules vary, and individual circumstances differ. Nothing in this article is tax, medical, or legal advice. Always verify current rules with the IRS, your plan administrator, or a qualified tax or healthcare professional before using HSA or FSA funds for any expense.
How HSAs and FSAs Work
Both HSAs and FSAs let you set aside pre-tax dollars to pay for qualified medical expenses, which lowers your taxable income. Despite that shared purpose, they work differently.
Health Savings Accounts (HSAs) are paired with high-deductible health plans (HDHPs). The money rolls over from year to year, earns interest, and belongs to you even if you change jobs or health plans. You can invest the balance once it reaches a certain threshold (check with your HSA provider for details).
Flexible Spending Accounts (FSAs) are employer-sponsored accounts with a "use it or lose it" feature. Most plans require you to spend the balance by the end of the plan year, though some offer a grace period or limited carryover. Unlike HSAs, FSAs do not require an HDHP.
Both accounts are governed by IRS rules about what counts as a qualified medical expense. The IRS publishes guidance in Publication 502, but plan administrators may apply additional restrictions on top of those rules.
The General Rule: Gym Memberships Are Usually Not Eligible
Under current IRS guidance, gym memberships, fitness club dues, and general exercise programs are not considered qualified medical expenses for HSA or FSA purposes. The IRS draws a line between expenses that treat or prevent a specific medical condition and expenses that promote general health or wellness.
A gym membership falls on the general wellness side of that line. Even if you use the gym consistently and your health improves, the membership itself is not directed at diagnosing, treating, mitigating, or preventing a specific disease or condition.
If you use HSA or FSA funds for an ineligible expense, you may owe income tax on the amount plus a penalty. Verify the current details with the IRS before assuming you know the penalty rate.
When a Gym Membership May Qualify
There is a meaningful exception to the general rule, and it centers on medical necessity.
The Medical Necessity Requirement
The IRS allows expenses for exercise programs or gym memberships when a physician prescribes them to treat a specific diagnosed medical condition. The expense must be primarily for medical care, not general fitness.
Examples where gym or exercise program costs have been considered potentially eligible include:
- A doctor prescribes a supervised exercise program to treat obesity or a weight-related condition that poses a specific health risk.
- A physician recommends aquatic therapy or swimming as part of rehabilitation for a documented injury or condition.
- Exercise is prescribed as part of a treatment plan for heart disease, diabetes, or severe arthritis.
Even in these cases, eligibility is not automatic. It depends on how your plan interprets the rules and what documentation you provide.
Letters of Medical Necessity
A Letter of Medical Necessity (LMN) is a written statement from a licensed physician explaining why a specific treatment or expense, including a gym membership or exercise program, is medically required for a diagnosed condition.
A strong LMN typically includes:
- The specific diagnosis and associated ICD code
- Why exercise or gym access is medically necessary for that condition (not just beneficial, but necessary)
- The recommended type and frequency of exercise
- The physician's name, credentials, contact information, and signature
An LMN is not a guarantee that your plan will approve the expense. It is documentation that supports your claim. Your plan administrator reviews the letter and makes the final call. Some plans and HSA custodians are more conservative than others, and the same expense may be approved by one plan and denied by another.
What Typically Does and Does Not Qualify
Expenses That Typically Qualify
- Prescription medications
- Doctor and specialist visits and copays
- Dental care (most procedures)
- Vision care (exams, glasses, contacts)
- Mental health treatment and therapy
- Medical equipment (crutches, blood pressure monitors, CPAP machines)
- Physical therapy prescribed by a doctor
- Smoking cessation programs
- Certain weight loss programs prescribed to treat a specific condition (not for general weight loss)
Expenses That Typically Do Not Qualify
- General gym memberships or fitness club dues
- Personal training (unless prescribed for a specific medical condition)
- Vitamins and supplements (with some narrow exceptions)
- Cosmetic procedures
- Teeth whitening
- Health food, organic groceries, or dietary supplements for general wellness
- Wearable fitness trackers used for general wellness
This list reflects general IRS guidance and is not exhaustive. Your specific plan may treat some items differently. When in doubt, check with your plan administrator before spending.
How to Document If You Do Qualify
If you believe your gym membership is medically necessary and you have an LMN to support it, take these steps before spending HSA or FSA funds:
Get the LMN in writing. Ask your physician for a letter that clearly states the diagnosis, the medical necessity of exercise or gym access, and the recommended parameters.
Contact your plan administrator first. Before spending, call or submit the LMN to your HSA custodian or FSA administrator. Ask whether they will approve the expense given the documentation. Get any approval in writing if possible.
Keep all records. Retain the LMN, any correspondence with your plan administrator, your receipts, and any supporting medical records. IRS audits can happen, and you will need to substantiate the expense.
Check for eligible alternatives. In some cases, the specific medical service (such as physical therapy at a clinic) may qualify even when a gym membership does not. Explore whether a more targeted expense achieves the same medical goal with cleaner eligibility.
Revisit the rules each year. IRS guidance and plan rules can change. Review the current rules with your plan before the start of each plan year.
Frequently Asked Questions
Can I use my HSA for a gym membership without a doctor's note?
Generally, no. Without documentation of medical necessity for a specific diagnosed condition, a gym membership is not a qualified medical expense under current IRS guidance. Using HSA funds for ineligible expenses can result in taxes and penalties.
Does a Letter of Medical Necessity guarantee my HSA or FSA will cover a gym membership?
No. An LMN is supporting documentation, not an automatic approval. Your plan administrator reviews the letter and decides whether the expense qualifies under their plan. Different administrators interpret the rules differently, so approval is not guaranteed even with a strong LMN.
What if my gym offers medically supervised programs?
Some medically supervised programs, such as cardiac rehabilitation or physician-supervised weight loss programs held at a medical facility, may qualify as eligible expenses. The key factors are whether a physician prescribed the specific program to treat a diagnosed condition and whether the program is administered in a medical context. Check with your plan administrator and verify the specific program's eligibility before spending.
Are fitness trackers or wearables eligible HSA or FSA expenses?
In most cases, no. General-purpose fitness trackers are considered wellness devices rather than medical devices. There are some narrow exceptions for devices prescribed by a physician to monitor a specific medical condition, but these are evaluated case by case. Verify with your plan administrator.
A Note on Gym Management Tools
If you manage or operate a gym, keeping accurate membership records matters for administrative and compliance purposes. Gym management platforms like ZipTempo give members access to their plan status, remaining visits, and visit history through a member app, and give staff a clear record of attendance and payment status. That said, gym management software is a separate topic from HSA and FSA eligibility.
Disclaimer
This is general information, not tax, medical, or legal advice. Verify current rules with the IRS, your plan administrator, or a qualified tax or medical professional.