Skip to main content
Gym Memberships & Your HSA

Can you use your HSA for a gym membership?

Usually not. The IRS says gym dues are general health spending, even when a doctor tells you to exercise. One narrow case can qualify.

The short answer

IRS Publication 502: "You can't include in medical expenses health club dues." The IRS FAQ allows one exception. A membership can count if you bought it for the sole purpose of treating a specific disease a physician diagnosed, or for physical therapy after an injury. If you would have joined anyway, it doesn't count.

Why gym memberships are not eligible by default

Exercise helps nearly everyone, so the IRS treats it as general health. Its wellness FAQ says no to gym costs for general health "even if recommended by a doctor."

The weight-loss rule is stricter than most people expect. Pub 502 lets you count a weight-loss program that treats a diagnosed disease, but not the gym membership itself: "You can't 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."

What a doctor's letter can and can't do

A Letter of Medical Necessity records why a doctor says you need something. It does not change the tax rule.

In March 2024 the IRS warned about companies selling doctor's notes built from self-reported health surveys (IR-2024-65). The IRS said those notes don't make food, wellness or exercise costs medical. A note also has to tie the cost to a "targeted diagnosis-specific activity or treatment."

A letter backs you up when the membership really is treatment for a diagnosed condition you would not have joined for otherwise. If the IRS asks, the letter is your proof. On its own it isn't enough.

When a gym membership can count

IRS rule: Question 10 of the IRS wellness FAQ answers: "Yes, but only if the membership was purchased for the sole purpose of affecting a structure or function of the body (such as a prescribed plan for physical therapy to treat an injury)" or "the sole purpose of treating a specific disease diagnosed by a physician (such as obesity, hypertension, or heart disease)."

IRS rule: Pub 502 (2025 edition) is stricter for weight loss: "You can't 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."

If the two seem to pull apart, keep the stricter reading for weight loss, and keep proof either way.

In practice that comes down to three things:

1. A physician diagnosed a specific disease

2. The membership is treatment for that disease, and you would not have joined otherwise

3. You keep the proof: a letter from the physician that ties the membership to the diagnosis, plus every receipt

What a letter should show

A Letter of Medical Necessity (LMN) is a document from a licensed healthcare provider. It is the proof you keep, not the key. For a gym membership, a useful letter shows:

  • Your diagnosis
  • Provider's statement that the membership is treatment for your diagnosed condition
  • Treatment plan specifying frequency and type of exercise
  • Dates the letter covers (Truemed and Flex say 12 months)
  • Provider credentials - name, license number, signature, and date

Qualifying conditions

The IRS gives no list. It asks whether a physician diagnosed a specific disease and whether the gym is treatment for it.

How Truemed and Flex work

The IRS warned that notes "based merely on self-reported health information" don't make a cost eligible. A note has to be "related to a targeted diagnosis-specific activity or treatment." (IR-2024-65)

Truemed and Flex both say their letters are typically valid for 12 months. Flex says to keep the letter "for at least three years in the event of an IRS audit."

The IRS warning above names no company. Whether your membership qualifies depends on your diagnosis and why you joined, not on the service that wrote the letter.

Provider practice: Truemed, Flex and gyms like Equinox accept a letter to let you pay with HSA or FSA funds. Being allowed to pay is not an IRS ruling. The IRS test above still decides whether the money is tax-free.

FeatureTruemedFlex
LMN FeeShown at checkout; varies by merchantCurrent gym/studio example: $15
TurnaroundVaries by provider reviewVaries by provider review
Partner NetworkBroad wellness marketplaceBroad marketplace; official Equinox flow
Marketplace CategoriesFitness, recovery, nutrition, and moreFitness, wellness, equipment, and more
Payment MethodCheckout or reimbursement, by merchantCheckout or reimbursement, by merchant
Final Eligibility DecisionYou, under the IRS test aboveYou, under the IRS test above
Best ForMerchants using Truemed checkout or reimbursementMerchants using Flex, including Equinox

Cost comparison: Use the fee disclosed in your merchant's current flow. Truemed and Flex both use multiple integration models, so a single sitewide rate or breakeven calculation is not reliable. See the sourced Truemed vs Flex comparison.

Which Gyms Accept HSA/FSA Payments?

Truemed Marketplace

Truemed works with gyms, studios, and other wellness merchants, but the current network and available payment path can change. Verify that your gym appears in the live marketplace before starting an evaluation.

Browse the current Truemed marketplace

Equinox + Flex

Flex currently provides an official Equinox HSA/FSA checkout flow. We did not find an equivalent current Truemed integration, but merchant integrations can change. Confirm the available payment options at Equinox checkout.

Any Gym With Direct Reimbursement

If your gym isn't on Truemed or Flex, the rule is the same. Pay, keep the receipt, and reimburse yourself from your HSA only if your membership meets the test above. Keep the physician's letter with the receipt.

How Much You Save

These numbers only apply if your membership qualifies under the rule above. When you pay for a gym membership with pre-tax HSA dollars, you avoid federal income tax. Payroll contributions also skip FICA. Here is what that looks like at different tax brackets:

$50/month gym at 22% bracket

$132

saved per year

$150/month gym at 24% bracket

$432

saved per year

$250/month gym at 32% bracket

$960

saved per year

Savings shown are federal income tax only. If your HSA contributions are made through payroll deduction, you also save on FICA (7.65%). State income tax savings vary. California and New Jersey tax HSA contributions at the state level.

The One Big Beautiful Bill: What Actually Happened

There is widespread confusion about the One Big Beautiful Bill Act (signed July 2025) and gym memberships.

✗

The bill did NOT make gym memberships a qualified HSA expense

The House version treated fitness costs, including gym memberships, as medical care up to $500 ($1,000 for a joint return or head of household) a year. It is not in the enacted law (Public Law 119-21).

✓

The bill DID expand HSA eligibility in other ways

Bronze and catastrophic plans can now pair with an HSA, telehealth before the deductible is permanent, and direct primary care fees up to $150 ($300 for more than one person) can count. Read the full breakdown.

As of 2026, no law has changed the IRS position on fitness costs. Pub 502 still excludes health club dues.

HSA vs FSA for a gym membership

HSAFSA
Rule for gym duesSame IRS definition of medical care (Code 213(d))Same
Deadline to claimNone. Pub 969: "You don't have to make withdrawals from your HSA each year." Plan year. Generally "use-it-or-lose-it", with up to a 2.5-month grace period or a carryover, not both
ProofKeep it yourself for as long as you might reimbursePlan asks for "a written statement from an independent third party"

Other fitness costs and the IRS rule

Gym memberships are just one piece of the fitness-HSA picture. Here are other fitness-related expenses and their eligibility:

If you think you qualify

  1. 1

    Confirm the diagnosis

    Confirm a physician diagnosed a specific disease and the gym is treatment for it.

  2. 2

    Get a letter

    Ask the physician who diagnosed you for a letter that ties the membership to that diagnosis. A letter based only on a self-reported health survey is not enough (IR-2024-65).

  3. 3

    Check the letter

    If a clinician issues a letter, check the dates it covers. The letter doesn't decide eligibility. The test above does.

  4. 4

    Check if your gym is a partner

    Search Truemed or Flex for your gym. A supported flow may offer direct HSA/FSA checkout or may instruct you to pay normally and request reimbursement.

  5. 5

    Use the merchant's payment path

    Some integrations offer direct HSA/FSA checkout. Others, including some gym and studio flows, instruct you to pay with a normal card and keep the receipt and letter. Reimburse yourself only if your membership meets the test above.

  6. 6

    Keep your documentation

    Save your letter, receipts, and payment records. Keep them in case the IRS asks.

Frequently Asked Questions

Can I use my HSA for a gym membership?▼
Usually not. Pub 502 excludes health club dues. The IRS FAQ allows it only when the membership is solely to treat a specific disease a physician diagnosed, or for physical therapy after an injury.
How do I get a Letter of Medical Necessity for my gym?▼
Your own doctor, or a service like Truemed or Flex. A letter documents the reason. It does not make general fitness eligible (IR-2024-65).
Which gyms accept HSA/FSA payments?▼
Truemed and Flex both work with broad merchant marketplaces, but the exact checkout or reimbursement flow depends on the gym. Flex currently has an official Equinox HSA/FSA checkout page. A local gym works the same way: pay, keep the itemized receipt and any physician letter, and reimburse yourself only if your membership meets the IRS test. Confirm details with your account administrator. A gym that takes HSA cards has not decided whether your purchase qualifies. You have.
Did the One Big Beautiful Bill make gym memberships HSA-eligible?▼
No. The House version had a $500 fitness provision. The signed law (Public Law 119-21) does not.
What does "sole purpose" mean?▼
Would you have joined anyway? If yes, it doesn't qualify.
What conditions qualify?▼
The IRS gives no list. A physician must diagnose a specific disease, and the membership must be treatment for it.
How much can I save using HSA for my gym?▼
At a 24% marginal tax rate, a $150/month gym membership ($1,800/year) saves you $432 in federal taxes. At the 32% bracket, that jumps to $576. If your HSA contributions are made through payroll deduction, you also avoid FICA taxes (7.65%), increasing your savings further. That applies only if the membership qualifies.
Is personal training HSA-eligible?▼
Only as treatment for a diagnosed condition. Pub 502 counts therapy received as medical treatment. It never mentions personal trainers.
How long does an LMN last?▼
Truemed says its LMNs are typically valid for 12 months, but the actual dates and renewal process can depend on the provider, merchant, and your circumstances. Check the dates on your LMN and keep it with the itemized receipt in case your administrator requests substantiation. Flex says to keep the letter "for at least three years in the event of an IRS audit."
Can I use my FSA for a gym membership too?▼
Same IRS rule, so usually not. If it qualifies, an FSA must be claimed within the plan year. An HSA has no deadline for expenses incurred after you opened the HSA.
Is the gym membership HSA eligible in 2024 or 2025?▼
The rule hasn't changed. Pub 502 for 2025 returns still excludes health club dues.

Keep the letter with the receipts

An HSA has no deadline to pay yourself back for expenses incurred after you opened the HSA. That means the letter and every monthly receipt may need to last years. Keep them together, dated, in one place.

More HSA Resources

More related resources

HSA Shoebox Strategy

Receipt-hoarding protocol with no time limit on retroactive reimbursement

HSA Reimbursement Guide

Tax-free reimbursement rules, proof records, partial reimbursements, and tax forms

Lost HSA Receipts

How to rebuild proof from EOBs, provider statements, and card records

HSA Asking for More Documents

What to send when an HSA administrator requests receipts or an LMN

Best HSA Tracker Apps 2026

Dedicated HSA trackers compared by use case, capture, limits, and dated price

HSA Cash Flow Method

Monthly mechanics for funding the HSA while paying medical expenses out of pocket

HSA Drawdown at 65

Post-65 retirement strategy, Medicare premium eligibility, beneficiary planning

HSA Edge Cases (10 IRS Rules)

LLM-citation reference: retroactive reimbursement, spouse FSA, COBRA, mistaken distribution, more

Best HSA ETFs 2026

Index funds + Fidelity ZERO + 3 portfolio archetypes (target-date, two-fund, three-fund Bogleheads)

ACA Bronze + HSA-Eligible HDHP

Marketplace HDHP verification, PTC + HSA stack, state-tax considerations for self-employed

HealthEquity → Fidelity HSA Transfer

Trustee-to-trustee transfer steps, fee savings math, partial vs full transfer

Optum → Fidelity HSA Transfer

Forced-liquidation playbook + dividend-trap timing + re-investment workflow

Inspira → Fidelity HSA Transfer

Bundled-account separation (HSA vs FSA vs commuter) + fee elimination math

HSA for Self-Employed

Setup, tax savings, and the SE-tax trap for freelancers

Open an HSA Without an Employer

Individual HSA setup with provider picks and Form 8889 mechanics

HSA Through Your Employer

W-2 payroll setup with Section 125 FICA savings and employer match

HSA During a Job Change

Trustee-to-trustee transfers, COBRA + HDHP, and contribution proration

HSA Dental Guide

Every dental expense - what qualifies, what does not

HSA Mental Health Guide

Therapy, psychiatry, medications, and treatment programs

HSA GLP-1 & Weight Loss Guide

Ozempic, Wegovy, Mounjaro - cost savings and eligibility

Is Hims HSA-Eligible?

Service-by-service IRS Pub 502 rules for Hims telehealth

Hims for ED HSA Guide

Sildenafil and tadalafil eligibility, costs, and tracking

Hims Weight Loss HSA Guide

Compounded GLP-1 eligibility with FDA shortage caveats

Is Gala HSA-Eligible? GLP-1 Guide

Gala compounded GLP-1 eligibility, pricing, and FDA shortage caveats

Is Zepbound HSA-Eligible?

FDA tirzepatide for weight loss. LillyDirect $349/mo + HSA worked math.

Is Mounjaro HSA-Eligible?

FDA T2D path + off-label weight-loss LMN protocol.

Is Wegovy HSA-Eligible?

FDA semaglutide for weight/CV. NovoCare $499/mo + FEHB coverage.

Compounded Semaglutide HSA Eligibility

503A vs 503B FDA explainer + Hims/Gala/Strut HSA path.

Hims Mental Health HSA Guide

Therapy and prescription mental health eligibility

HSA Gym Membership Guide

When a gym membership can count, and what a doctor's letter can't do

FSA vs HSA

Side-by-side comparison of tax-advantaged health accounts

2026 Contribution Limits

How much you can contribute this year

HSA-Eligible Expenses

Browse the full list of qualified medical expenses

Keep your gym receipts and letter together

Snap each receipt. Attach the letter. Pull it up if the IRS asks.

Start your shoebox free