Are gym memberships HSA eligible?
This is one of the most common HSA questions, and the honest answer is more restrictive than many people expect. Exercise may improve general health, but expenses that primarily benefit general health are not qualified medical expenses under IRS rules. A gym membership sits on the wrong side of the line between general health and treating a specific medical condition.
The general rule
IRS Publication 502 is explicit in its "Health Club Dues" section: you can't include gym or health-club dues paid to improve your general health, or to relieve discomfort that isn't tied to a particular medical condition. A membership purchased for general fitness, weight management, or overall well-being is a personal expense, not medical care, so paying for it with HSA money would be a nonqualified distribution.
The narrow case where fees can qualify
There is a limited exception, and it's narrower than it sounds. Publication 502's "Weight-Loss Program" section allows amounts you pay to lose weight if it's a treatment for a specific disease diagnosed by a physician, such as obesity, hypertension, or heart disease. That can include the fee to join a weight-reduction group and to attend its meetings.
The important limitation is what remains excluded: even when you're treating a diagnosed disease, the IRS does not let you include the general gym, health-club, or spa membership dues. Only the separate fees for the qualifying activity count. The key question is not whether a provider recommended exercise, but whether you're paying a separately charged fee for a qualifying medical program.
| What you're paying for | HSA eligible? |
|---|---|
| Gym membership for general fitness or well-being | No |
| Gym membership joined to lose weight for general health | No |
| Gym or health-club membership dues, even to treat a diagnosed disease | No |
| Separately charged fee for a physician prescribed weight-loss program to treat a diagnosed disease | Yes |
| Provider-supervised medical or physical-therapy program | Yes |
Some administrators may request additional documentation or apply their own reimbursement procedures, but IRS rules determine whether an expense is ultimately qualified. Keep your documentation either way, because the IRS standard is what applies if you're ever asked.
Where a letter of medical necessity fits
When a program does qualify because it treats a diagnosed condition, a letter of medical necessity from your provider is how you document that medical purpose: it names the condition, the recommended program, and why it's needed. A letter helps substantiate the medical purpose of a qualifying program fee. It does not convert a general gym membership into a qualified expense, because the membership dues are excluded regardless.
What to keep
If you pay for a qualifying program, the recordkeeping rule is the same as for any HSA expense: keep the itemized receipt or statement showing the specific fee, along with the letter of medical necessity that ties it to your diagnosed condition. A credit card statement showing only a membership charge generally is not sufficient to substantiate a qualified medical expense. See do you need to keep HSA receipts for how long to hold the proof.
Why Receipt Locker is different
For the narrow case that does qualify, substantiation is everything, and it falls apart when the fee receipt and the letter live in different places. Receipt Locker lets you attach the letter of medical necessity to the program receipt it supports, so they remain linked as a single categorized supporting record you can export as an independently verifiable record when you reimburse yourself.
Keep your HSA proof together
Capture the qualifying program fee and its supporting letter once, preserved for the day you reimburse yourself. Free to start, no credit card required.
Frequently asked questions
Are gym memberships HSA eligible?
Usually not. A gym or health-club membership for general fitness is not a qualified expense, and IRS Publication 502 excludes gym and health-club dues even when you join to lose weight or to exercise for a condition.
Can I use my HSA for a gym membership with a doctor's note?
A letter of medical necessity supports a medical use, but it doesn't override the rule that excludes general gym and health-club dues. What can qualify is a separate fee for a program to treat a disease diagnosed by a physician, not the membership itself. Keep documentation supporting the qualifying program fee and confirm your administrator's reimbursement requirements.
Can I use my HSA for a gym membership to lose weight?
Only narrowly. If a physician diagnoses a specific disease such as obesity, hypertension, or heart disease, fees for a weight-loss program to treat it can qualify, including membership in a weight-reduction group and its meetings. The general gym or spa membership dues are still excluded.
Are personal training or exercise classes HSA eligible?
Only when they are part of treatment for a specific diagnosed condition and otherwise satisfy IRS requirements, and you can document the medical purpose. Sessions for general health or conditioning are not qualified.
Is home exercise equipment HSA eligible?
Generally no for general fitness. It may qualify only in limited circumstances when it is primarily used to treat a diagnosed medical condition and is supported by appropriate medical documentation.
Does an FSA cover gym memberships?
The IRS definition of a qualified medical expense is the same for both HSAs and FSAs. A general membership isn't covered, though some FSA administrators may reimburse specific program fees to treat a diagnosed condition with a letter of medical necessity.
Keep reading
- What counts as a qualified HSA medical expense?
- Do you need to keep HSA receipts? (IRS rules & how long)
- What is a letter of medical necessity?
- Are vitamins HSA eligible?
Last reviewed: July 2026.