does it cover?

Does HSA cover melatonin?

DOESITCOVER.COM · GENERAL VERDICT · DOESITCOVER.COM · GENERAL VERDICT ·USUALLYNOT COVERED

Usually not covered

Melatonin is a dietary supplement, and supplements taken for general health usually aren't HSA-eligible — they qualify only when a provider recommends them to treat a specific diagnosed condition.

  • Covered when A medical practitioner recommends melatonin to treat a specific diagnosed condition, documented in a Letter of Medical Necessity.
  • Not when You're buying it over the counter as a general sleep aid or supplement — the typical case.

What flips the answer

  • Covered when

    A medical practitioner recommends melatonin to treat a specific diagnosed condition, documented in a Letter of Medical Necessity.

  • Not covered when

    You're buying it over the counter as a general sleep aid or supplement — the typical case.

Key facts

Verdict
Usually not covered
Applies to
melatonin · FSA & HSA
Covered when
A medical practitioner recommends melatonin to treat a specific diagnosed condition, documented in a Letter of Medical Necessity.
Not covered when
You're buying it over the counter as a general sleep aid or supplement — the typical case.
Verified
2026-07-03 · 2 primary sources

The IRS says nutritional supplements, vitamins, and herbal products bought for general health are not qualified medical expenses. Melatonin sold over the counter as a sleep aid falls under that rule, so by default you can't buy it with HSA or FSA funds.

The exception is when a supplement is recommended by a medical practitioner to treat a specific diagnosed condition — for instance, melatonin recommended to treat a documented sleep disorder. In that case it can qualify, but you generally need a Letter of Medical Necessity, and your plan administrator decides whether to accept it.

This is different from over-the-counter medicines, which the CARES Act made broadly HSA- and FSA-eligible without a prescription in 2020. That change applied to OTC drugs and menstrual products — not to dietary supplements like melatonin, which still require the medical-necessity link.

What people typically pay

With coverage

If a Letter of Medical Necessity is accepted, you can pay with pre-tax HSA dollars, which effectively reduces the cost by your marginal tax rate. Prices for melatonin vary widely by brand and formulation, so any tax savings are typically modest.

Without coverage

In the usual case you pay the full retail price out of pocket with after-tax money. Prices vary widely by brand, dose, and quantity.

Prices vary widely by dosage, formulation (gummies, extended-release, liquid), and retailer, and any tax benefit depends on your bracket and state.

Common questions

What does a Letter of Medical Necessity need to say for melatonin to qualify?

It should name the specific diagnosed condition being treated, such as a sleep disorder, and state that melatonin is recommended to treat it rather than for general wellness. The letter comes from a licensed practitioner. Keep it on file, since your HSA administrator can ask for it if a purchase is questioned.

Can I use my HSA card to buy melatonin at the pharmacy without any paperwork?

Because melatonin is a dietary supplement rather than an eligible OTC drug, a purchase generally isn't valid without the medical-necessity documentation, and your card may decline it. If you pay out of pocket with a valid Letter of Medical Necessity, you can request reimbursement from your plan instead. Practices vary by administrator, so confirm before you buy.

Is melatonin for a child's sleep problems treated any differently?

The same rule applies: general use as a sleep aid isn't eligible, but if a provider recommends it to treat a diagnosed condition it can qualify with a Letter of Medical Necessity. The documentation should reference the patient and the specific condition. Plan administrators still make the final call on accepting it.

What happens if my HSA reimbursement for melatonin is denied?

If an HSA distribution isn't for a qualified medical expense, the amount is generally included in income and, per IRS rules, is subject to an additional 20% tax unless an exception applies (for example, after age 65). You can often resubmit with stronger documentation or appeal per your plan's process. To avoid the risk, confirm eligibility with your administrator before buying.

Are there sleep-related products that are HSA-eligible without a doctor's note?

Some over-the-counter medicines are broadly HSA- and FSA-eligible without a prescription, but eligibility of specific sleep-related products varies by plan. Melatonin, as a dietary supplement, remains the exception that needs the medical-necessity link.

That's the general answer. Yours is written in your actual policy.

Drop in your policy or benefits document and get the answer for your exact coverage — with the clause it comes from. Nothing is stored.

Check my policy →

Sources

  1. [01]IRS Publication 502 — Medical and Dental Expenses (Nutritional Supplements)
  2. [02]IRS Publication 969 — HSAs and Other Tax-Favored Health Plans