HSA eligibility for weight loss programs hinges on one thing: a physician’s diagnosis of a specific medical condition that weight loss would treat. With that diagnosis and the right paperwork, program fees, prescribed medications, bariatric surgery, and nutritional counseling all become qualified medical expenses you can pay for with pretax HSA dollars. Without it, the IRS treats weight loss spending as a personal expense, no different from a gym membership bought on a New Year’s resolution.
The Diagnosis Is the Gatekeeper
Federal tax law defines medical care as spending on the diagnosis, treatment, or prevention of disease, or to affect a structure or function of the body.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses Weight loss fits that definition when a physician determines you need to lose weight to treat a diagnosed condition such as obesity, hypertension, heart disease, or type 2 diabetes.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses The IRS has recognized obesity itself as a disease since 2002.3Internal Revenue Service. Revenue Ruling 2002-19
The practical test is simple. If your doctor told you to lose weight because of a specific health problem and you can document that, the expenses to follow that medical advice are eligible. If you decided on your own to drop 15 pounds before a vacation, they are not. The expense itself never determines eligibility. The medical reason behind it does.
What Qualifies With a Diagnosis
Once your doctor has diagnosed a qualifying condition and recommended weight loss as treatment, several categories of spending become eligible for HSA reimbursement:
- Physician-supervised weight loss programs with medical monitoring and a structured treatment plan.
- Fees for commercial weight loss programs, including both membership costs and periodic meeting fees, when the program treats a diagnosed disease. Weight Watchers and Jenny Craig fall here when prescribed.4Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health
- Bariatric surgery such as gastric bypass or sleeve gastrectomy when medically indicated.
- Prescribed weight loss medications, including GLP-1 drugs like Wegovy and Zepbound.
- Nutritional counseling from a registered dietitian, when the counseling treats a specific diagnosed disease.4Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health
GLP-1 and Other Prescription Weight Loss Drugs
Prescription weight loss medications are the area where most people have questions right now. The IRS allows you to include in medical expenses amounts you pay for prescribed medicines and drugs.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses If your physician prescribes semaglutide (Wegovy), tirzepatide (Zepbound), or any other weight loss medication to treat a diagnosed condition, the cost is an eligible HSA expense.
Off-label use does not automatically disqualify a drug. What matters is whether your doctor prescribed it to treat a diagnosed condition. A physician prescribing semaglutide for obesity treatment creates a qualifying expense regardless of the drug’s original approval pathway.
What Doesn’t Qualify
The IRS draws firm lines around several categories of weight loss spending that look medical but fail the eligibility test.
Diet food and meal replacements are not eligible, because they substitute for what you would normally eat. Pre-packaged meal plans, protein shakes marketed for weight loss, and organic grocery upgrades all fail this test. A narrow exception exists: if a physician substantiates that you need special food that does not satisfy normal nutritional needs and that alleviates or treats an illness, you can deduct the amount by which the special food costs more than a normal diet.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses In practice, this exception almost never covers standard weight loss foods.
A regular gym membership is a general health expense, not a medical one. The IRS treats it as eligible only if the membership was purchased for the sole purpose of treating a specific diagnosed disease.4Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health The “sole purpose” language is strict. If you also use the gym for general fitness or recreation, the expense does not qualify. Separate fees charged at a gym specifically for weight loss activities can still be eligible even when the underlying membership is not.2Internal Revenue Service. Publication 502 – Medical and Dental Expenses
Any weight loss effort you undertake on your own initiative for general wellness, appearance, or fitness is a personal expense. Calorie-tracking apps, online fitness programs, and personal trainers for general conditioning all sit outside HSA eligibility unless tied to a physician’s treatment plan for a diagnosed condition.
Home Exercise Equipment
Treadmills, stationary bikes, and similar equipment sit in the same category as gym memberships: generally ineligible, but potentially covered with proper documentation. The equipment must be prescribed by your physician specifically to treat a diagnosed condition, and you need a Letter of Medical Necessity connecting the purchase to your treatment plan. Administrators vary in their willingness to reimburse for equipment, so confirm eligibility with your HSA provider before buying a $2,000 treadmill on the assumption it will be covered. Get the approval in writing.
The Letter of Medical Necessity
The Letter of Medical Necessity is the single most important document in this process. Without it, your HSA administrator has no basis to treat weight loss spending as qualified, and the IRS has no reason to agree if they audit you later.
A workable letter includes four things:
- The formal diagnosis, such as obesity (typically BMI of 30 or higher), hypertension, type 2 diabetes, or heart disease.
- The recommended treatment (a specific program, medication, surgery, or counseling) and how it addresses the diagnosed condition.
- The expected duration of treatment. Most HSA administrators treat letters as valid for 12 months at most, so ongoing treatment requires annual renewal.
- The provider’s name, license information, contact details, and signature.
Several types of licensed healthcare providers can write the letter, including physicians, nurse practitioners, psychologists, and physical therapists. Many HSA administrators offer downloadable templates that ensure you include what they need. Check with yours before you have the letter drafted, since a rejected letter means a delayed reimbursement.
Keep the original on file indefinitely. If the IRS questions an HSA distribution years later, this document is your primary defense. For ongoing expenses like a monthly prescription or program membership, get a new letter before the current one expires. A lapsed letter can cause your administrator to deny claims even though your medical condition has not changed.
Timing Rules for Reimbursement
An expense qualifies for HSA reimbursement only if you incurred it after your HSA was established.5Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans If your doctor diagnosed you with obesity and prescribed a program in January, but you did not open your HSA until March, the January and February expenses are not eligible. State law determines the exact date your HSA is considered established, usually the date the account is funded or formally opened.
There is no deadline on the other end. You can pay for a qualifying weight loss expense out of pocket today and reimburse yourself from the HSA months or years later, as long as the expense was incurred after the account existed. That flexibility depends entirely on record-keeping. You need to prove both the expense date and its medical purpose whenever you eventually take the distribution.
To reimburse yourself, most providers let you log into an online portal, enter the expense, and upload the receipt and Letter of Medical Necessity. Using an HSA debit card at the point of purchase is simpler, but you still need to keep the documentation in case of an audit.
What Happens If You Get It Wrong
If you use HSA funds for a weight loss expense that does not meet the medical necessity standard, the IRS treats the distribution as non-qualified. The amount is added to your gross income for the year, and you owe an additional 20% tax penalty on top of your regular income tax.5Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans For someone in the 22% federal bracket, that combination can eat roughly 42 cents of every dollar.
The way to avoid it is straightforward. Get the diagnosis and the Letter of Medical Necessity before you spend. Keep every receipt. When you are unsure whether an expense qualifies, ask your HSA administrator before you swipe the card. Fixing a denied claim is inconvenient. Fixing a tax penalty is expensive.