Is it HSA eligible? / IVF and fertility treatment

Is IVF HSA eligible?

Eligible

Yes, when it's done to overcome an inability to have children. The costs of a gestational surrogate don't count.

Why

Publication 502 allows procedures such as in vitro fertilization, including temporary storage of eggs or sperm, performed on you, your spouse or your dependent to overcome an inability to have children. It also covers surgery, including reversing an earlier procedure that prevented having children.

Surrogacy is excluded. The IRS says identifying, retaining, compensating and paying for the medical care of a gestational surrogate doesn't count, because the surrogate isn't you, your spouse or your dependent.

Egg freezing with no existing inability to have children is less clear, since the rule is written around overcoming one.

What to keep

  • Itemized clinic bills, by procedure.
  • Pharmacy receipts for fertility drugs.
  • Storage invoices, with dates.

Watch out for

  • The publication says temporary storage. Years of storage fees are less clearly covered.

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.

Sources

Keep the proof where you can find it

Shoebox reads a receipt you forward by email or upload as a photo, and stores the file with the details. It's free for 30 days with no card, then $60/year if you keep it. You can still view and download your receipts if you stop paying.

Checked against the sources above on Nov 8, 2026. This is general information, not tax advice. Shoebox sells HSA receipt software, so factor that in.