Being desperate for sleep makes a simple promise attractive: take something and switch off. Some medicines can help particular sleep problems, but sedation, a shifted body clock and treatment of persistent insomnia are not interchangeable.
This guide is for general adult education, not a personal medication recommendation.
Start with the sleep problem
Difficulty falling asleep, repeated waking, an irregular schedule and excessive daytime sleepiness can have different causes. Pain, sleep apnea, restless legs, medicines, substance use and mental health conditions may also be involved.
A clinician or pharmacist can help check the likely cause and interactions before you add an over-the-counter product. “Available without a prescription” does not mean suitable for everyone.
Sedating antihistamines
Diphenhydramine and similar medicines can make people drowsy. They can also cause next-day impairment, dry mouth, constipation and difficulty passing urine. Anticholinergic effects are a particular concern in older adults, and tolerance to sedation can develop.
The AASM medication guideline suggests not using diphenhydramine for adult chronic insomnia because the evidence of benefit is limited. That is not the same as saying it never causes sleepiness.
Do not combine sedating products with alcohol or other sedatives without professional advice. Do not drive if you are impaired.
Melatonin
Melatonin is involved in sleep timing. It may be useful for particular body-clock problems, but that does not make it an all-purpose sleeping pill. Timing, formulation and the reason for using it matter.
The same AASM guideline suggests against routine melatonin use for adult chronic insomnia on the evidence it assessed. That recommendation does not cover every circadian disorder, age group or formulation.
Product quality can vary where melatonin is sold as a supplement. Ask a clinician or pharmacist about interactions and suitability, especially during pregnancy, breastfeeding, or when considering it for a child.
CBT-I
Cognitive behavioral therapy for insomnia is a structured treatment that addresses patterns of wakefulness in bed, sleep-related worry and sleep scheduling. It is more than advice to avoid screens.
AASM recommends multicomponent CBT-I for chronic insomnia in adults. It can be delivered through different services, including appropriately supported digital programs.
Some components need adaptation. Deliberately restricting time in bed should not be copied from a generic online schedule, particularly with bipolar disorder, seizures, substantial daytime sleepiness or safety-critical work.
Prescription medicines
Prescription sleep medicines are not all the same. For some people they have a role, with a plan for the expected benefit, adverse effects, duration and review. The choice depends on the sleep problem, health history, other medicines and preferences.
Do not abruptly stop a prescribed sedative or change its dose based on this article. Some medicines need a supervised reduction.
When to ask for help
Seek assessment if sleep problems persist or affect daily functioning. Loud snoring, witnessed breathing pauses, waking choking or severe daytime sleepiness also deserve attention.
A short sleep diary can help describe timing and symptoms. It cannot decide which medicine is right for you, and you do not need to wait for an app score to seek care.
