You generally cannot use an HSA for a hair transplant. IRS Publication 502 lists hair transplants as cosmetic surgery, which puts the cost outside the definition of a qualified medical expense and off-limits to pre-tax HSA dollars.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses The one opening: a transplant that corrects a deformity caused by a congenital abnormality, an accident or trauma injury, or a disfiguring disease can qualify. If your hair loss is the ordinary genetic or age-related kind, the procedure is cosmetic in the eyes of the tax code, and paying for it from your HSA triggers income tax plus a 20% penalty.
Why the Tax Code Blocks It
HSA-eligible expenses are defined through the same statute that governs medical deductions. Internal Revenue Code Section 213(d)(9) excludes cosmetic surgery from “medical care,” defining it as any procedure aimed at improving appearance that doesn’t meaningfully promote how the body functions or prevent or treat illness.2Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses Section 223(d)(2) ties HSA eligibility directly to that same framework, so anything excluded from medical care is also excluded from HSA reimbursement.3Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts Publication 502 then names hair transplants by name in its list of non-deductible cosmetic procedures, next to face lifts, liposuction, and electrolysis.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
The Three Exceptions That Make a Transplant Eligible
The cosmetic-surgery exclusion has a carve-out. A hair transplant qualifies as a medical expense when it corrects a deformity arising from one of three causes:2Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses
- A congenital abnormality that resulted in absent or abnormal hair growth in a specific area. The transplant restores what the body failed to develop.
- Personal injury from accident or trauma. Burns, lacerations, or other traumatic injuries that destroyed hair follicles and left visible scarring can support reconstructive grafting under this exception.
- A disfiguring disease that causes significant hair loss as a direct physical consequence. Permanent loss from cancer treatment, autoimmune conditions that destroy follicles, or scarring alopecia caused by inflammatory disease can meet this standard.
The operative word in all three is “deformity.” The transplant has to correct a physical disfigurement, not fill in thinning hair. Publication 502 uses breast reconstruction after cancer surgery as its example of qualifying cosmetic work, because the reconstruction fixes a deformity directly caused by disease treatment.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses A hair transplant following chemotherapy-induced permanent hair loss follows the same logic.
Pattern Baldness Does Not Qualify
This is where most searches end. Androgenetic alopecia, the ordinary male or female pattern baldness that drives the vast majority of hair transplants, meets none of the three exceptions. It is not a congenital abnormality, not a trauma injury, and the IRS does not treat it as a disfiguring disease. It is a natural, gradual process driven by genetics and hormones, and a transplant to address it is cosmetic under the tax code.
Documentation from a dermatologist will not change that outcome. A doctor can confirm your diagnosis of androgenetic alopecia, but the diagnosis itself confirms the procedure is cosmetic. The condition has to rise to the level of a deformity caused by disease, injury, or birth defect.
Prescription Hair Loss Drugs Are a Separate Question
Even when a transplant is off the table, prescription medications for hair loss may qualify. Publication 502 allows you to include the cost of any prescribed drug in your medical expenses, meaning a medication a doctor prescribes and that requires a prescription to obtain.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Finasteride (Propecia) requires a prescription, so amounts you pay for it generally count as a qualified medical expense reimbursable from your HSA. Over-the-counter treatments like minoxidil (Rogaine) do not qualify unless a doctor writes a prescription for them.
The distinction is straightforward. A prescribed drug treats a medical condition; a cosmetic surgical procedure enhances appearance. Prescription treatment won’t cover a transplant, but it can make ongoing care more affordable through your HSA.
What You Pay if You Use HSA Money Anyway
If you use HSA funds for a hair transplant the IRS considers cosmetic, two things happen. The entire distribution gets added to your gross income for the year, so you owe income tax on it at your ordinary rate. If you’re under 65, you also owe an additional 20% tax on the non-qualified amount.4Internal Revenue Service. Instructions for Form 8889 (2025)
The math turns painful fast. On a $10,000 transplant paid from an HSA, someone in the 22% bracket would owe $2,200 in income tax and $2,000 in the additional penalty, for $4,200 total. That erases far more than the pre-tax benefit saved. The 20% additional tax goes away once you turn 65, become disabled, or die, but the income tax portion still applies.4Internal Revenue Service. Instructions for Form 8889 (2025)
Skipping the reporting doesn’t help. Your HSA custodian reports all distributions to the IRS on Form 1099-SA, so the agency already knows what left your account. You report the non-qualified portion on Form 8889 with your return.
Fixing a Withdrawal You Made by Mistake
If you took HSA money for a transplant thinking it qualified and later found out it didn’t, you may be able to return the funds and avoid the tax hit. The IRS allows repayment of mistaken distributions, meaning withdrawals made due to a mistake of fact and reasonable cause. A properly returned mistaken distribution is not included in gross income and is not subject to the 20% additional tax.5Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA
The deadline to repay is the due date of your tax return (not counting extensions) for the first year you knew or should have known the distribution was a mistake. Your HSA custodian can rely on your representation that the distribution was mistaken, and a properly returned amount should not appear on your Form 1099-SA.5Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA The repayment isn’t treated as a new contribution and won’t count against your annual limit. Contact your custodian as soon as you realize the error; procedures vary, and acting quickly gives you the cleanest correction.
Documentation to Keep if You Do Qualify
If your situation fits one of the three exceptions, build the paper trail before you spend HSA funds. The IRS does not pre-approve individual expenses. You withdraw the money and defend the decision if audited.
Start with a letter of medical necessity from the treating physician. The letter should include a formal diagnosis identifying the specific condition (the congenital defect, the injury, or the disease), an explanation of why the transplant is medically necessary to correct the resulting deformity, and the doctor’s signature and date. The diagnosis is what connects the procedure to one of the statutory exceptions.
Keep an itemized invoice from the surgical facility showing procedure codes tied to your medical diagnosis, along with proof of payment showing the exact amount your HSA disbursed, including anesthesia or facility fees billed separately. Hold onto these records for at least three years after you file the return covering the year of the distribution, which matches the standard IRS audit window.