Why
The IRS addressed this in a 2003 information letter about a taxpayer whose physician recommended home exercise equipment as part of treatment for obesity. It says taxpayers may deduct exercise expenses, including the cost of equipment to use in the home, if required to treat an illness, including obesity, diagnosed by a physician.
The same letter sets two conditions. You have to establish that the purpose of the expense is to treat a disease rather than to promote general health, and that you wouldn't have paid the expense but for this purpose. It also says the cost of exercise to maintain general good health isn't a medical expense.
The letter is about the tax deduction. It carries over because an HSA uses the same definition of medical care. An information letter is general guidance and not a ruling, so read it as how the IRS applies the law, not as a guarantee.
There's no IRS list of qualifying medical conditions. The letter names obesity. For gym memberships, the IRS FAQ's examples are obesity, hypertension and heart disease, plus an injury treated under a prescribed plan of physical therapy. A 2009 IRS letter about over-the-counter and personal items says an item may qualify when you can establish that you're using it to treat or alleviate a disease or injury and wouldn't have paid for it otherwise. So the question isn't whether a condition is on a list. It's whether there's a specific illness or injury and whether the equipment treats it.
Publication 502 doesn't mention exercise equipment. Its rule for personal use items says an item ordinarily used for personal, living or family purposes doesn't count unless it's used primarily to prevent or alleviate a physical or mental disability or illness. A 2001 IRS letter gives a treadmill as an example of something personal where a physician's diagnosis is sometimes necessary to show it's treatment for a disease.
The FAQ has no answer for equipment either. Its answers on gym memberships and wearable devices turn on the same question of purpose. Applying them to a treadmill or a bike is our reading: the purchase has to be for the disease, and a general wish to get fitter isn't enough.
What to keep
- A dated letter or record from your physician naming the diagnosed illness or injury and recommending the equipment as treatment, written before you buy.
- The itemized receipt showing the item, the date and the price.
- Anything else that ties the purchase to the treatment, such as a physical therapy plan of care or follow-up visit notes.
Watch out for
- A doctor's general advice to exercise more isn't a diagnosis. The IRS FAQ says exercise for general health isn't a medical expense even if a doctor recommends it.
- Equipment the whole household uses, or that you'd have bought anyway, is hard to square with the condition that you wouldn't have paid for it but for the disease. That's our reading of the condition.
- A seller's "HSA eligible" label doesn't decide it. In 2024 the IRS warned that a doctor's note based merely on self-reported health information doesn't turn an exercise expense into a medical one.
- None of the sources below mentions the monthly subscription sold with a connected bike or treadmill. For wearable devices, the IRS says a software subscription counts only if it's bought primarily for the same medical purpose, and we'd expect the same here.
- Equipment or a room built into your home follows Publication 502's capital expense rules. Its main purpose has to be medical care, and only the cost above any increase in the home's value counts.
Our longer guide: HSA rules for gym memberships, classes and trainers.
Is it FSA eligible too?
It depends. The same test applies, because a health FSA uses the same definition of medical care. The plan also has to cover the expense, and its administrator may ask for the physician's recommendation with the claim.
A health FSA uses the same definition of medical care, but Publication 969 says it reimburses only the expenses the employer's plan specifies, and only ones you incur while you're covered for that plan year. Some plans add a grace period of up to two and a half months. Others let a limited amount of unused money carry over to pay the next year's expenses. Either way, you can't save an FSA receipt to reimburse years later. That only works with an HSA.
If you contribute to an HSA, any FSA you have generally has to be a limited-purpose or post-deductible one. A limited-purpose FSA pays only for dental, vision and preventive care.
If you plan to reimburse yourself later
IRS Notice 2004-50, Q&A 39, sets no deadline, as long as the expense came after your HSA was established and your records show it wasn't paid by another source or deducted on a tax return. See what records the IRS expects and how long to keep them. Paying now and reimbursing years later is the HSA shoebox strategy.
Sources
- IRS Information Letter 2003-0202
- IRS Information Letter 2001-0155
- IRS Information Letter 2009-0209
- IRS Publication 502 (2025)
- IRS FAQs on nutrition, wellness and general health
- IRS news release on general health expenses claimed as medical care (IR-2024-65)
- IRS Publication 969 (2025)
- 26 U.S.C. section 223(d)(2)
