Question: what is the best over-the-counter medication for insomnia?
Answer: Diphenhydramine (Benadryl, Aleve PM, others). Diphenhydramine is a sedating antihistamine. ... 
Doxylamine succinate (Unisom SleepTabs). Doxylamine is also a sedating antihistamine. ... 
Melatonin. The hormone melatonin helps control your natural sleep-wake cycle. ... 
Valerian.