You can use an HSA for testosterone therapy when a doctor prescribes it to treat a diagnosed medical condition. Medical necessity is what makes the withdrawal tax-free. Testosterone prescribed for hypogonadism, gender dysphoria, or another clinical diagnosis qualifies; testosterone bought for bodybuilding, anti-aging, or general wellness does not.
When Testosterone Therapy Counts as a Medical Expense
Federal tax law defines medical care as amounts paid for the diagnosis, treatment, or prevention of disease, or for affecting any structure or function of the body.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses The IRS adds that the expense must be “primarily to alleviate or prevent a physical or mental disability or illness” and cannot be something “merely beneficial to general health.”2Internal Revenue Service. Publication 502, Medical and Dental Expenses
Testosterone therapy clears that bar when a physician diagnoses a specific condition. The most common is hypogonadism, a clinical testosterone deficiency caused by problems with the testes, pituitary gland, or hypothalamus. Testosterone prescribed as part of gender-affirming hormone therapy for a diagnosis of gender dysphoria also qualifies. In both cases the treatment addresses a recognized medical condition rather than a lifestyle goal.
The IRS draws a firm line against general health and cosmetic uses. HSA funds cannot go tax-free toward testosterone bought to boost athletic performance, slow aging without a clinical diagnosis, or improve a general sense of well-being.2Internal Revenue Service. Publication 502, Medical and Dental Expenses If the IRS decides a withdrawal paid for a non-qualifying expense, the amount is added to your taxable income and may trigger a 20% penalty tax.
What Forms of Treatment Are Covered
Once you have a valid prescription for a diagnosed condition, your HSA can pay for any FDA-approved delivery method. That includes injectable solutions, transdermal gels, skin patches, implanted pellets, and nasal gels. All are prescription-only Schedule III controlled substances that require physician oversight.
The distinction that matters is between these regulated medications and over-the-counter “testosterone boosters” or herbal supplements sold in retail stores. Those products are dietary supplements, not medications, and generally do not qualify for tax-free HSA spending. The only exception is a rare situation where a physician specifically prescribes an over-the-counter product to treat a diagnosed deficiency.
Related Costs That Also Qualify
Testosterone therapy is more than the medication. Several surrounding expenses are HSA-eligible on the same medical-necessity logic.
Lab Work and Monitoring
Blood tests are routine. Your doctor will typically order labs before starting treatment to confirm the diagnosis, then periodically to monitor hormone levels, red blood cell count, and liver function. The IRS treats laboratory fees that are part of medical care as includable medical expenses.2Internal Revenue Service. Publication 502, Medical and Dental Expenses Your initial diagnostic panel and all follow-up monitoring qualify.
Office Visits and Telehealth
Physician consultation fees qualify when they are for diagnosis or treatment, whether in person or by video. Many patients now use online TRT clinics that operate entirely through telehealth, and those consultation fees fall within the definition of medical care. Watch out for subscription pricing that bundles medical services with membership perks; only the portion attributable to actual medical care qualifies.
Supplies and Administration
Syringes, needles, alcohol swabs, and other supplies needed to administer prescribed testosterone are eligible. If a clinic administers your injections, those administration fees qualify too.
If Your Insurance Denies the Claim
HSA eligibility does not track your insurance plan’s decisions. The rules follow the federal tax definition of medical care, not the plan’s formulary. If your insurer denies coverage because of prior authorization, formulary exclusions, or benefit limits, you can still pay with HSA funds tax-free as long as the expense meets the medical-necessity standard.
The same holds for partial coverage. Copays, coinsurance, and deductible amounts for qualifying testosterone prescriptions and related lab work are all eligible HSA expenses.3Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Documentation to Keep
Records protect you if the IRS questions a withdrawal. Three documents matter:
- A valid prescription from a licensed physician for testosterone therapy, specifying medication, dosage, and delivery method.
- A Letter of Medical Necessity from your doctor stating the specific diagnosis (such as hypogonadism or gender dysphoria), the clinical reason testosterone is required, and the expected duration of therapy. HSA administrators generally treat these letters as valid for up to 12 months, so ask for an update yearly or when your treatment plan changes.
- Itemized receipts from the pharmacy or clinic showing your name, the medication, the date, and the amount paid. A generic credit card statement is not enough.
The prescription and Letter of Medical Necessity should be dated before you make the purchase. Paying first and getting the documentation afterward can cause problems if your HSA administrator or the IRS reviews the expense. Store everything digitally alongside your pharmacy receipts. The IRS has no time limit on auditing HSA distributions, so you may need the records years later.
How to Pay With Your HSA
Two options work:
- Use the HSA debit card most administrators issue. It works at the pharmacy, clinic, or lab, and pulls directly from the tax-advantaged account.
- Pay out of pocket and reimburse yourself later through the administrator’s portal. There is no deadline for reimbursement, so long as the expense occurred after you opened the HSA.3Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
Some people prefer reimbursement because HSA funds stay invested and keep growing tax-free. Either way, keep the itemized receipts and Letter of Medical Necessity on file.
Paying for a Spouse or Dependent
Your HSA can pay for testosterone therapy prescribed to your spouse or a tax dependent, not only yourself. Tax-free distributions cover qualified medical expenses of the account holder, their spouse, and their dependents.3Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans Your spouse does not need to be on your high-deductible health plan for this to work; HSA spending rules are separate from insurance coverage.
For dependents, the person generally must qualify as either a qualifying child or a qualifying relative under federal tax rules. The same medical-necessity requirements apply. Keep the documentation in the patient’s name alongside your HSA records.
What Happens if You Withdraw for a Non-Qualifying Purpose
If HSA funds pay for testosterone that does not meet the medical-necessity standard, such as a purchase for bodybuilding or age-related vitality with no clinical diagnosis, two things happen. The withdrawn amount is added to your gross income and taxed at your regular rate. You also owe an additional 20% penalty tax on that amount.4Internal Revenue Service. Instructions for Form 8889, Health Savings Accounts
The 20% penalty is waived if the account holder has died, become disabled, or turned 65.4Internal Revenue Service. Instructions for Form 8889, Health Savings Accounts After 65, non-qualified withdrawals are still taxed as ordinary income, but the extra penalty no longer applies. Qualifying testosterone therapy remains completely tax-free at any age.