Gym memberships are not covered by your HSA, but some fitness expenses are
You cannot use your HSA to pay for a standard gym membership or fitness class subscription. The IRS treats gym fees as general wellness expenses, which fall outside the definition of may have access to medical expenses. Your HSA money is meant for costs that treat, manage, or prevent a diagnosed medical condition — not for general fitness or staying in shape.
However, the line between "fitness" and "medical" is not always clear. If your doctor prescribes exercise as treatment for a specific condition — such as cardiac rehabilitation after a heart attack, physical therapy for a knee injury, or a weight-loss program for diabetes — those costs may be covered. The key is the prescription and the medical reason, not the activity itself.
Key Takeaways
- A gym membership you choose on your own is not a covered HSA expense, even if you use it to stay healthy.
- Fitness costs prescribed by a doctor to treat a diagnosed condition — such as physical therapy or medically supervised weight loss — may be covered if you have documentation.
- Wearable fitness trackers and home exercise equipment are generally not covered unless prescribed as part of medical treatment.
- Your HSA plan documents spell out what your specific plan covers; some employer plans add coverage beyond the IRS minimum, so check yours.
- Keeping receipts and a doctor's prescription or referral is essential if you want to claim any fitness-related expense.
When a doctor's prescription changes the rules
If your doctor prescribes a specific fitness program or refers you to a facility as part of your medical treatment, the cost may shift into covered territory. Examples include cardiac rehabilitation programs at a hospital, physical therapy sessions at a clinic, or a medically supervised weight-loss program for obesity or diabetes management. In these cases, the expense is tied to treating a diagnosed condition, not general wellness.
The IRS requires that you have documentation: a written prescription, referral, or medical record showing the doctor ordered the service for a specific health reason. A casual suggestion from your doctor to "exercise more" does not count. The prescription must name the program or facility and explain the medical purpose.
Even with a prescription, some programs may not be covered. A commercial gym that offers a "cardiac rehab class" is different from a hospital-based cardiac rehabilitation program. The hospital program is medical treatment; the gym class is fitness. Your HSA plan administrator can tell you whether a specific program qualifies, but always ask before you pay.
Fitness equipment and wearables: what is and is not covered
A treadmill, dumbbells, or yoga mat you buy for home use are not covered HSA expenses. These are general fitness equipment, not medical devices. The same applies to fitness trackers and smartwatches — even if they monitor your heart rate or steps, they are wellness tools, not treatment.
Medical devices prescribed by a doctor are different. A continuous glucose monitor for diabetes, a blood pressure cuff for hypertension, or a CPAP machine for sleep apnea are all covered because they treat a diagnosed condition. The distinction is whether a doctor prescribed it for medical management, not whether it happens to track health data.
If you are unsure whether a piece of equipment qualifies, check the receipt and your HSA plan documents. Some employer plans publish a list of covered items. If the item is not listed, contact your plan administrator before you buy — you can request a coverage information in writing, and they must respond.
How to document a fitness expense if you think it is covered
If you have a doctor's prescription for a fitness program or facility, keep three things: the prescription or referral letter itself, the receipt or invoice from the provider, and any medical records that show why the doctor ordered it. The IRS does not require you to submit these when you withdraw money from your HSA, but you must be able to produce them if your account is audited.
When you pay, use your HSA debit card or request a reimbursement from your HSA plan. If you pay out of pocket and reimburse yourself later, keep the receipt and the date you paid. Do not mix HSA money with personal money in the same transaction — the paper trail matters if questions come up.
If your plan administrator denies coverage, ask them in writing why. They must cite the specific reason under IRS rules. If you disagree, you can appeal or request a written information. Some plans have an appeal process; others defer to the IRS guidance. Knowing your plan's process before you need it saves time.
What your employer plan may cover beyond the IRS minimum
Some employer HSA plans add coverage that goes beyond what the IRS requires. A few plans cover gym memberships, fitness classes, or wellness programs as part of their employer benefit design. This is rare, but it happens. Your plan documents or the summary of coverage your employer provided should list any extras.
If your plan documents do not mention fitness coverage, contact your plan administrator or your employer's benefits team. They can tell you exactly what is covered under your specific plan. Do not assume that because one person's plan covers something, yours does too — each plan is different.
If your plan does cover gym memberships or fitness classes, you will usually pay through the plan's website or app, not out of pocket. The plan will handle the payment directly to the gym or fitness provider. This is different from paying yourself and seeking reimbursement.
The difference between HSA and FSA for fitness expenses
Flexible Spending Accounts (FSAs) follow the same IRS rules as HSAs for fitness expenses: gym memberships are not covered, but medically prescribed fitness programs may be. However, FSAs have a "use it or lose it" rule — money left at the end of the year is forfeited (with some exceptions). HSAs roll over year to year, so you have more time to use the money.
If you have both an HSA and an FSA, you cannot use both to pay for the same expense. You must choose one account to cover the cost. Most people use their HSA first because the money does not expire.
Frequently Asked Questions
Can I use my HSA to pay for a Peloton or Apple Fitness+ subscription?
No. These are general fitness subscriptions, not medical treatment. Even if you use them to manage a health condition, they are not prescribed by a doctor and are not tied to treating a specific diagnosis. They remain wellness expenses, which HSAs do not cover.
What if my doctor says I should exercise more for my diabetes — can I use my HSA for a gym membership?
A general recommendation to exercise is not enough. Your doctor would need to prescribe a specific medically supervised program — such as a diabetes management program that includes supervised exercise — and provide that prescription in writing. A commercial gym membership, even if you use it to follow that advice, is still not covered.
Are weight-loss programs covered if I have a doctor's referral?
It depends on the program and the referral. A medically supervised weight-loss program prescribed by your doctor for obesity or a weight-related condition may be covered. A commercial weight-loss program or app is not covered, even with a referral. Ask your HSA plan administrator whether the specific program qualifies before you enroll.
Can I use my HSA for a personal trainer if my doctor recommends it?
Only if the trainer is part of a medically prescribed program — such as cardiac rehabilitation or physical therapy — and your doctor's referral names that specific program. A personal trainer you hire on your own, even on your doctor's advice, is not a covered expense.
What happens if I use my HSA for a gym membership and the IRS audits me?
You would owe taxes on the withdrawal plus a 20 percent penalty, plus interest. This is why it matters to know the rules before you spend. If you are unsure whether an expense is covered, ask your plan administrator in writing and keep their response. That documentation protects you if questions come up later.