What the IRS actually says about gyms, personal training and fitness, the narrow exceptions, and how to make a valid claim.
It's a fair question: if exercise is good for your health, why can't your health savings account pay for the gym? The answer comes down to a line the IRS draws between "general health" and treating a specific medical condition. This guide explains what IRS rules say about gym memberships, personal training and fitness classes, when there's an exception, and how to make a claim properly. HipTrain wrote it. We're a live online personal training service that is HSA / FSA eligible, but we can't promise any plan will approve a claim, and neither can anyone else. Always check with your plan.
Usually, no. IRS Publication 502 says you can't include health club dues or amounts paid to improve your general health as medical expenses, and HSAs and FSAs follow those rules. The IRS makes a narrow exception: a gym membership can count if it's purchased only to treat a disease a doctor has diagnosed (such as obesity, high blood pressure or heart disease) or as part of a prescribed physical therapy plan for an injury. In practice, that usually means a Letter of Medical Necessity from your provider.
HSAs, FSAs, Archer MSAs and HRAs can pay for qualified medical expenses, which the IRS defines using the medical care rules in Publication 502. Three passages matter most for fitness:
The IRS also answers this directly in its FAQ on nutrition, wellness and general health. It says a gym membership counts only if it's bought for the sole purpose of affecting a body structure or function (for example, a physical therapy plan prescribed for an injury) or treating a specific disease a doctor diagnosed, such as obesity, hypertension or heart disease. In another answer, it says exercise for general health, like swimming or dancing lessons, doesn't count, even if a doctor recommends it.
This is a plain-English summary, not tax advice.
A general gym membership gives you access to equipment for any purpose, so it's hard to show it was bought only to treat a condition. A program that's built around your diagnosis, with a professional guiding it, is easier to connect to the treatment your doctor recommended. That's one reason people with a Letter of Medical Necessity often look at personal training or a structured program instead of a gym membership. Some fitness companies also offer HSA and FSA payment through partners. Future, for example, works with Truemed.
If you have a health FSA, many plans require you to use the money by the end of the plan year or lose it, though some plans offer a grace period or a carryover. If you're trying to spend down FSA dollars on fitness this year, read our guide to using your FSA for personal training, and if you have an HSA, see can you use an HSA for a personal trainer.
HipTrain is live 1-on-1 personal training over video with the same certified coach every session. We're HSA / FSA eligible, which means you can pay with pre-tax health dollars when your plan's rules are met. For most people that means having a Letter of Medical Necessity on file. Check with your own plan first.
Your first session is free, with no credit card, so you can see whether live coaching suits you before you involve your HSA or FSA at all.
"I LOVE my trainer! He is leading me to improve my stamina and balance after hip replacement at a cost I can afford." (Helene B., Google review)
Where HipTrain isn't the right fit: we don't bill insurance, and we don't offer in-person sessions or nutrition coaching. If you want a gym with equipment and classes, a gym is the better choice, just don't expect your HSA to cover it without a medical reason.
A recommendation alone usually isn't enough. The IRS says exercise for general health doesn't qualify even if a doctor recommends it. The exception is for treating a specific diagnosed disease or a prescribed physical therapy plan.
The same IRS rules apply to every gym. Dues for general fitness aren't eligible. A membership bought solely to treat a diagnosed condition may be, with documentation and your plan's approval.
Personal training for general fitness isn't. Training that's part of treating a diagnosed condition, documented with a Letter of Medical Necessity, often can be. Your plan makes the final call.
IRS Publication 969 explains that HSA distributions not used for qualified medical expenses are included in your income and may face an additional tax. Talk with a tax professional if you're unsure.
Both use the IRS definition of medical care, so the gym rules are the same. FSAs differ in other ways, like use-it-or-lose-it deadlines. Your plan documents have the details.
Want to try live coaching first? Try your first HipTrain session free. No credit card needed.
We checked these IRS rules in October 2026. Rules and plan terms change, so confirm with your plan or a tax professional.