Yes, you can use an HSA for gym equipment, but only when a licensed healthcare provider prescribes the specific equipment to treat or prevent a diagnosed medical condition. A treadmill bought to stay in shape does not qualify. The same treadmill, prescribed by a cardiologist after a heart event, does. The dividing line is medical necessity backed by documentation, not the equipment itself.
What Counts as a Qualified Medical Expense
Federal tax law defines medical care as amounts paid for treating, diagnosing, or preventing disease, or for affecting any structure or function of the body.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses IRS Publication 502 confirms that equipment, supplies, and diagnostic devices needed for these purposes count as eligible expenses.2Internal Revenue Service. Publication 502, Medical and Dental Expenses
The catch sits in the same publication. The IRS excludes expenses that are “merely beneficial to general health,” and an item ordinarily used for personal purposes only qualifies if it is used primarily to prevent or alleviate a physical or mental disability or illness.2Internal Revenue Service. Publication 502, Medical and Dental Expenses Gym equipment is the classic dual-use item. The practical test is whether you would have bought it if not for your medical condition. A stationary bike prescribed for cardiac rehabilitation passes. The same bike bought because you want to ride more in summer does not.
These rules apply the same way to Flexible Spending Accounts and Health Reimbursement Arrangements.3Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health
The Letter of Medical Necessity
A Letter of Medical Necessity, or LMN, is what turns a personal purchase into a qualified medical expense. Without one, your HSA administrator will likely deny the claim, and if the IRS reviews the distribution later, you will owe tax and a penalty on the amount withdrawn.
A licensed provider — your physician, specialist, or physical therapist — has to write it. A useful LMN includes:
- Your specific diagnosis in standard medical terminology, such as obesity, hypertension, coronary artery disease, chronic back pain, or a musculoskeletal injury.
- The exact equipment recommended, phrased specifically (“a treadmill for daily cardiovascular exercise”) rather than generically (“exercise equipment”).
- How the equipment treats the condition, not simply why exercise is good for you.
- How long the treatment is expected to last and the health outcome anticipated.
- The provider’s name, license number, and contact information.
Get the letter before the purchase, not after. Spending HSA funds first and hunting for documentation later is where people get stuck: if the letter cannot be obtained or the diagnosis does not clear the threshold, the withdrawal becomes non-qualified and the tax bill follows.
Equipment Commonly Approved
No IRS list names specific approved products. What matters is the fit between the diagnosis and the equipment. Some pairings show up often:
- Treadmills and ellipticals for patients with heart disease, severe obesity, or pulmonary conditions where a physician has prescribed controlled cardiovascular exercise.
- Stationary bikes prescribed for cardiovascular strengthening after a cardiac event or for managing hypertension, mirroring what cardiac rehabilitation programs use.
- Resistance bands and free weights as part of a rehabilitation program for musculoskeletal injuries, post-surgical recovery, or conditions like osteoporosis where resistance training is medically indicated.
- Aquatic exercise equipment for severe arthritis, fibromyalgia, or joint conditions requiring low-impact movement.
If the equipment serves both a medical and a personal purpose — for example, other household members also use it — the IRS may question whether it was bought primarily for the medical condition. Keeping the equipment in a dedicated space and using it as the LMN describes helps support the claim.2Internal Revenue Service. Publication 502, Medical and Dental Expenses
Reasonable Cost
The IRS allows only “reasonable costs” for medical equipment and excludes additional amounts spent for personal motives, including aesthetic ones.2Internal Revenue Service. Publication 502, Medical and Dental Expenses There is no dollar cap in the rules, but a $5,000 commercial-grade treadmill invites more scrutiny than a $1,200 model that would perform the same medical function. Match the equipment to the need the LMN describes rather than upgrading and hoping the full price rides along.
Fitness Trackers and Wearables
Wearable monitors — smartwatches with heart-rate tracking, ECG, or blood-oxygen features — can also qualify when prescribed for a specific condition, such as continuous heart-rate monitoring for atrial fibrillation or sleep tracking as part of treatment for sleep apnea. The LMN requirement is identical. A device bought to count daily steps is not a medical expense.
Gym Memberships and Related Services
The IRS addressed gym memberships directly. A membership qualifies for HSA reimbursement only if it was purchased for the “sole purpose” of treating a specific physician-diagnosed disease, such as obesity, hypertension, or heart disease, or for the sole purpose of affecting a structure or function of the body, such as a prescribed physical therapy plan to treat an injury.3Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health A membership bought for general fitness is not a medical expense.
The same “diagnosed condition, physician’s direction, documentation” pattern controls weight-loss programs, nutritional counseling, and nutritional supplements — each can qualify, but only when prescribed to treat a specific disease.3Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health
Paying and Reimbursing Yourself
You have two ways to complete the purchase:
- The HSA debit card, which draws directly from your account. Some administrators restrict card use to merchants classified as medical, so a sporting goods store may reject the card even when the item itself qualifies.
- Pay out of pocket and file for reimbursement. You submit a claim form and an itemized receipt showing date, item, and amount.
There is no deadline to reimburse yourself from an HSA. As long as the expense was incurred after your HSA was opened and you have the documentation, you can claim reimbursement months or years later.4Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans Some account holders pay cash now, let the HSA balance keep growing tax-free, and reimburse themselves in a later year.
If you are buying equipment for a spouse or dependent, the same rules apply, and the LMN has to be written for that person by their own provider.4Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
What It Costs to Get It Wrong
If HSA funds pay for equipment that does not meet the qualified medical expense standard, the amount is added to your gross income for the year and hit with an additional 20 percent tax.5Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts On a $2,000 treadmill that fails the test, that means ordinary income tax on $2,000 plus a $400 penalty.
After you turn 65, the 20 percent additional tax no longer applies to non-qualified distributions; you still owe ordinary income tax on the amount, but the extra penalty falls away. The same exception applies if you become disabled.5Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
Records to Keep
Keep the purchase receipt, the Letter of Medical Necessity, and any claim or reimbursement records for at least three years from the date you file the return for the year the distribution was taken.6Internal Revenue Service. How Long Should I Keep Records If you paid out of pocket and plan to reimburse yourself later, keep the records at least three years past the return for the year you actually take the distribution.
The receipt should identify the equipment, the date, and the total. If the printed description reads only “sporting goods,” ask the retailer for an itemized version. Documentation is what carries the day if the IRS looks twice at the purchase.