Zolpidem: the FAA does not allow daily or nightly use of any sleep aid, regardless of the underlying cause. Occasional or limited use is allowable for pilots. The required minimum wait before pilot duties depends on the product, 24 to 48 hours: Ambien and Ambien CR 24, Edluar and Intermezzo 36, Zolpimist 48. Sleep aids are listed as a class on the FAA's Do Not Fly list. The FAA also states that a condition chronically interfering with sleep is disqualifying whether or not a sleep aid is used.
That is what the FAA publishes, not a determination about you.
Source
- FAA Guide for Aviation Medical Examiners, Pharmaceuticals: Sleep Aids (table updated 05/07/2025)
Your AME decides.
Pilot Medical Guardian keeps this same FAA medication reference in the app, next to your own medication list. Your health data stays on your device and your own iCloud. Free to download on the App Store