Is Baby Formula HSA Eligible? Specialized Formula Exceptions

Standard baby formula is not HSA eligible. The IRS treats ordinary infant formula as a personal nutrition expense, the same as groceries. A specialized formula can qualify when a physician prescribes it to treat a diagnosed medical condition, and even then only the portion of the cost that exceeds the price of standard formula counts as a qualified medical expense.

Why Regular Formula Is Treated as a Personal Expense

Qualified medical expenses under Section 213(d) of the Internal Revenue Code are amounts paid to diagnose, treat, or prevent disease.1Office of the Law Revision Counsel. 26 USC 213 – Medical, Dental, Etc., Expenses They must primarily alleviate or prevent a physical or mental illness, not simply benefit general health.2Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health

Every infant needs to eat, so buying formula is a personal expense whether or not the child has any medical condition. The IRS applies the same reasoning to vitamins and supplements: without a physician prescription tied to a specific diagnosis, they don’t qualify.3Internal Revenue Service. Publication 502, Medical and Dental Expenses Premium, organic, or hypoallergenic formulas sold over the counter are still ordinary formula in the eyes of the IRS.

When Specialized Formula Qualifies

Formula becomes a qualified medical expense only when all three of these conditions are met:2Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health

  • The product does not satisfy normal nutritional needs. It has to be a medical-grade formula built for a specific condition, not a mainstream product marketed as premium.
  • It treats a diagnosed illness. Examples the IRS guidance points to include severe milk protein allergy, phenylketonuria, and cystic fibrosis.
  • A physician substantiates the need. Your child’s doctor must confirm that the specialized formula is medically necessary for the diagnosis.

If any one of those elements is missing, the full purchase price is a personal expense and cannot be paid with HSA funds. The same test applies to specialized nutritional products for toddlers and older children. Ordinary toddler drinks and supplements bought for general health do not qualify.3Internal Revenue Service. Publication 502, Medical and Dental Expenses

You Can Only Claim the Cost Difference

Even when specialized formula clears the three-part test, you can claim only the amount by which it exceeds the price of a product that meets normal nutritional needs.3Internal Revenue Service. Publication 502, Medical and Dental Expenses If standard formula costs $30 per container and the prescribed medical formula costs $55, the qualified expense is $25. The base cost of feeding your child stays personal.

Documentation You Need to Keep

Because the IRS requires physician substantiation, get written documentation from your child’s doctor before you claim the expense. This is often called a letter of medical necessity, and it should include:

  • Your child’s specific medical diagnosis
  • The recommended formula brand or type
  • How the product treats the condition
  • The expected duration of treatment

Your HSA administrator may provide a template. Without this letter, an administrator can deny the claim, and you would have no defense in an audit. Keep itemized receipts too, showing the date, merchant, product name, and price. The IRS generally expects records supporting a return for at least three years from the filing date, or two years from the date the tax was paid, whichever is later.4Internal Revenue Service. How Long Should I Keep Records? Digital copies of both the doctor’s letter and each receipt are worth holding on to.

What Happens if You Use HSA Funds for Regular Formula

Paying for a non-qualified expense with HSA money has two consequences. The withdrawal is added to your taxable income for the year, and you owe an additional 20% tax on that amount.5Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts You report the distribution on Form 8889 with your federal return.6IRS. 2025 Instructions for Form 8889 – Health Savings Accounts If you accidentally swiped your HSA card at the store, contact your administrator: many allow you to repay the funds to correct the mistake.

FSA and HRA Work the Same Way

The IRS applies the same Section 213(d) definition of medical care to Flexible Spending Accounts, Health Reimbursement Arrangements, and Archer Medical Savings Accounts.2Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health If specialized formula qualifies under the three-part test, you can pay for it from any of these accounts, and the cost-difference rule and physician substantiation apply the same way.

Related Infant Costs That Do Qualify

Several infant care expenses are HSA eligible without any prescription. Breast pumps and supplies that assist lactation are explicitly covered.3Internal Revenue Service. Publication 502, Medical and Dental Expenses Extra bottles used only for food storage do not. Lactation consultant fees are generally eligible as a medical service.

Well-child visits and vaccinations are qualified medical care and can be paid from your HSA. If you schedule a pediatric appointment specifically to get the documentation supporting a specialized formula claim, that visit is itself a qualified expense.