Home > Melatonin

Can you pay for melatonin with an HSA?

If you have a high-deductible health plan (HDHP) with a health savings account (HSA), you may be wondering whether you can use your pre-tax HSA funds to pay for melatonin.

HSA eligibility is not based on brand names or marketing claims. The IRS looks at whether an expense is primarily for medical care, meaning it is used to diagnose, treat, mitigate, or prevent a disease, and whether you can support that use with documentation if needed.

Here's the clear answer:

Potentially eligible: Eligibility for melatonin depends on how it is used and whether the primary purpose is medical care under IRS rules.

Category: Requires LMN

Save an itemized receipt and any relevant medical documentation. When in doubt, treat the expense as potentially eligible and document medical necessity.


How eligibility is determined

HSA eligibility is based on whether an expense is for qualified medical care under federal tax rules, not whether an item is "healthy," "recommended," or good for you.

What matters is the primary purpose of the expense and whether it qualifies as medical care under federal tax rules.

A simple way to think about it:

  • Eligible: primarily medical in nature and not mainly for general health, convenience, or appearance.
  • Eligible with LMN: can qualify when tied to a diagnosed condition and supported by documentation (often including a Letter of Medical Necessity).
  • Potentially eligible: some portion may qualify or eligibility depends on the facts; itemization and documentation can matter.
  • Ineligible: personal, convenience, cosmetic, or general wellness expenses without a medical purpose.

What to save for your records

  • Itemized receipt (date, vendor, amount, and what was purchased).
  • Proof of payment (card record or invoice).
  • Medical documentation when relevant (provider note, diagnosis, treatment plan).
  • Letter of Medical Necessity (LMN) when eligibility depends on medical necessity.
  • Itemization or allocation documents when only a portion of the cost is eligible.

Common reasons HSA claims get denied

  • The expense is primarily for personal use, convenience, or general wellness.
  • No diagnosis or treatment plan supports the expense.
  • A Letter of Medical Necessity is missing or incomplete when required.
  • The receipt does not clearly show what was purchased (or the eligible portion is not itemized).
  • The expense occurred before the HSA was established.

Learn more about HSA rules


Explore HSA eligibility for other products and services


HSA fast facts

  • Health savings accounts (HSAs) are only available to individuals who are eligible and covered by a qualifying high-deductible health plan (HDHP).
  • HSA funds can be used at any time, but withdrawals are only tax-free when used for qualified medical expenses under IRS rules.
  • Using HSA funds for non-qualified expenses triggers income tax, and if you are under age 65, an additional 20% penalty usually applies.
  • Over-the-counter medications and menstrual care products are HSA-eligible without a prescription following changes made by the CARES Act.
  • You can pay for eligible expenses with your HSA card or reimburse yourself later, as long as the expense occurred after your HSA was established.
  • You cannot contribute to an HSA once you are enrolled in Medicare, though you can continue to use existing HSA funds.
Tip: For current limits and deeper guides, visit our HSA resources section.

Sources

Disclaimer

This page is for educational purposes only and is not tax or legal advice. Check with your HSA administrator or a qualified tax or legal professional if you have questions about your specific situation.

As seen in

New York Times


HSA Eligibility Guides

🚫
The "No" List: Common Ineligible Expenses

Are you accidentally using your HSA for items the IRS doesn't cover? Avoid penalties with our 2026 guide to commonly confused expenses like mattresses and hygiene products.



Apple Watches

Apple Watches get more HSA questions than almost any other item. Learn the specific rules for using your HSA and when you might need a Letter of Medical Necessity.


💍
Oura Rings

Oura Rings are a popular fitness tracker, but their HSA eligibility is tricky. We break down the medical requirements for reimbursement.


HSA Essentials


Financial Planning

📈
HSA Investment Calculator

Compare how an investment grows in an HSA vs traditional retirement accounts like a 401(k) and Roth IRA to maximize your long-term savings.


⚠️
HSA Early Withdrawal Penalty Calculator

Using HSA funds for non-medical expenses before age 65 triggers a steep 20% IRS penalty plus income tax. Use this tool to calculate the true cost of an early withdrawal before you tap into your savings.