Guides

Is a gym membership HSA-eligible?

Last reviewed: November 23, 2026. Figures cited to official sources below.

Usually no. Publication 502 says you cannot include health-club dues, or amounts paid only to improve general health, as medical expenses. The same medical-care test generally governs tax-free HSA withdrawals.

Under “Health Club Dues,” Publication 502 (for 2025 returns) says you cannot include in medical expenses health-club dues or amounts paid to improve one’s general health or to relieve physical or mental discomfort not related to a particular medical condition. It also says you cannot include the cost of membership in any club organized for business, pleasure, recreation, or other social purpose.

Under “Weight-Loss Program,” the same publication says you can include amounts you pay to lose weight if it is a treatment for a specific disease diagnosed by a physician, such as obesity, hypertension, or heart disease. That can include fees for a weight-reduction group and for attendance at meetings. It then says you cannot include membership dues in a gym, health club, or spa as medical expenses, but you can include separate fees charged there for weight-loss activities.

This page follows that published rule. Autocomplete suggestions sometimes ask whether a later law made gym dues generally eligible. We have not seen an official IRS update in Publication 502 that reverses the health-club dues paragraph, so we do not treat general gym memberships as qualified medical expenses here.

Worked example

Dues versus a separate weight-loss fee

A $60 monthly gym membership used for general fitness is not a medical expense under Publication 502, so a tax-free HSA withdrawal for those dues would not be supported by that guidance.

If a physician has diagnosed a specific disease such as obesity or hypertension, and the gym charges a separate fee for a weight-loss activity that treats that disease, Publication 502 allows that separate fee to be included as a medical expense. Keep the diagnosis and the itemized fee, and do not treat the regular membership dues as automatically qualified.

Even when an expense is medical care, you can take it tax-free from an HSA only if the account was already open and you funded it as an eligible individual — which generally requires an HSA-eligible health plan. Get an HSA plan quote.

Key takeaways

  • Publication 502 generally disallows gym, health-club, and spa membership dues as medical expenses.
  • Separate fees for weight-loss activities may qualify if the weight loss treats a specific disease diagnosed by a physician.
  • This page does not treat rumored law changes as official IRS guidance.
  • Tax-free HSA withdrawals still require an open account and eligible contributions behind it.

Sources: Publication 502 (for 2025 returns); draft 2026 Publication 969 (draft); IRC §213 and §223. Publication 502 describes medical expenses for a federal income-tax deduction; the same medical-care test generally governs tax-free HSA withdrawals. This is educational information, not tax advice.

Common questions

Is a gym membership HSA-eligible?

Generally no. Publication 502 says you cannot include health-club or gym membership dues as medical expenses, or amounts paid only to improve general health.

Can I use an HSA for a weight-loss program at a gym?

Publication 502 allows amounts paid to lose weight if it is a treatment for a specific disease diagnosed by a physician, and it allows separate fees charged at a gym for weight-loss activities. Regular membership dues are still disallowed.

Did the law change so gym memberships are HSA-eligible?

Publication 502, which is the official medical-expense publication cited here, still disallows health-club dues. Until the IRS updates that guidance, this page does not treat general gym dues as qualified.

Are HSA withdrawals for these expenses taxable?

Withdrawals for qualified medical expenses incurred after the account was established, and not otherwise reimbursed, are generally tax-free. A non-qualified withdrawal is income and may face an additional 20% tax before age 65.

Keep reading

Get an HSA plan quote

Share your ZIP and coverage type — about 60 seconds, no obligation. Premium tax credits are available only if you enroll through the Marketplace.

Get an HSA plan quote

Get a quote on an HSA-eligible plan

Takes about 60 seconds. We’ll look at HSA-eligible plans in your ZIP. Premium tax credits are available only if you enroll through the Marketplace. Submitting is optional — the guides stay free to read.

Step 1 of 4

We use this to look at HSA-eligible plans available where you live.

Takes about 60 seconds. No obligation.

Get an HSA plan quote