Sleep Disorders Treatment Sleep Aids for Insomnia Prescription and OTC sleep medications that can help you get to sleep By Brandon Peters, MD Brandon Peters, MD Facebook Twitter Brandon Peters, MD, is a board-certified neurologist and sleep medicine specialist. Learn about our editorial process Updated on November 20, 2022 Medically reviewed by Sanja Jelic, MD Medically reviewed by Sanja Jelic, MD Sanja Jelic, MD, is board-certified in sleep medicine, critical care medicine, pulmonary disease, and internal medicine. Learn about our Medical Expert Board Print Table of Contents View All Table of Contents OTC Sleep Aids Prescriptions Home Remedies Avoiding Pills When to Get Help Frequently Asked Questions Sleep aids are medications, herbs, and supplements that can help alleviate insomnia and improve your sleep. Medications may be over-the-counter (OTC) or prescription. Getting good sleep is important. Bouts of insomnia can have a major impact on your health and quality of life. This article looks at various sleep aids, helpful lifestyle changes, and how to talk to your healthcare provider about prescription sleep medications. Over-The-Counter Sleep Aids OTC sleeping pills cause sleepiness as a side effect. They're a common choice for people who have trouble falling asleep. Many of these products claim to provide immediate results. However, few can deliver on their promises. Diphenhydramine A lot of OTC sleep aids, especially those with "PM" in the brand name, contain the active ingredient diphenhydramine. Advil PM and ZzzQuil are two of many diphenhydramine products. Diphenhydramine is the drug in Benadryl, which is an antihistamine. While it's typically used to treat allergies, it can also cause sleepiness. There's little evidence that this drug can help you sleep, though. The American Academy of Sleep Medicine doesn't recommend it as a treatment for insomnia. Melatonin Melatonin is a brain chemical (neurotransmitter) that plays an important role in sleep and your 24-hour internal clock (circadian rhythm). It's especially helpful if your circadian rhythm is off. Melatonin supplements are generally synthetic or made from animal sources. They're widely available in stores and online. Melatonin doesn't start working for several hours, so you don't want to take it right before bedtime. You may need to experiment with the timing to figure out what works best for you. The Benefits of Melatonin Natural Sleep Aids Some natural sleep aids, in low doses, may be considered relatively safe for adults. These include: Magnesium Valerian Lavender Chamomile CBD (cannabidiol, derived from hemp) Passionflower Tryptophan Ginkgo biloba Talk to your healthcare provider before trying a natural sleep aid. Always make sure to follow the instructions on the label. 14 Natural Sleep Remedies to Beat Insomnia Alcohol Isn't a Sleep Aid While alcohol can make it easier to get to sleep, it also disrupts healthy sleep later in the night as your blood-alcohol levels drop. Experts don't recommend using alcohol as a sleep aid. Prescription Sleep Aids If you routinely have trouble falling asleep or staying asleep, talk to your healthcare provider about prescription sleep medications. Several classes of drugs are used for sleep. Sedative-Hypnotics Most prescription sleep aids are sedative-hypnotics. They work in various ways. Several of them enhance the effects of a neurotransmitter called gamma-aminobutyric acid (GABA), which helps your brain and body relax. These drugs include: Ambien (zolpidem): Reduces the average amount of time to fall asleep by five to 12 minutes; increases total sleep time by 29 minutes. Intermezzo (zolpidem): Contains the same active ingredient as Ambien but is processed faster; allows it to be taken if you awaken in the middle of the night and can't get back to sleep. Lunesta (eszopiclone): Reduces the average time to fall asleep by 14 minutes. It increases total sleep time by between 28 and 57 minutes. Sonata (zaleplon): Reduces the average time to fall asleep by 10 minutes. May wear off within four hours, making it helpful for nighttime awakenings. Other sedative-hypnotics target different brain chemicals and are associated with fewer side effects. Belsomra (suvorexant): Blocks a wakefulness signal created by the chemical orexin. Reduces the average amount of time to fall asleep by eight minutes; reduces the average time spent awake in the night by between 16 and 28 minutes. Rozerem (ramelteon): Enhances the effects of melatonin. Reduces the average amount of time to fall asleep by nine minutes. Sedative-Hypnotic Side Effects Each sedative-hypnotic drug has its own list of side effects, but they also have many in common. Potential side effects include: Sleepwalking, eating, driving, or other behaviorsHeadacheDizzinessLightheadednessUnsteady walkingBalance problemsNauseaConstipation or diarrheaGasHeartburnStomach painChanges in appetiteTremor (uncontrollable shaking)Pain, burning, or numbness in the limbs and extremitiesUnusual dreamsDry mouth or throatRed eyesVision problemsEye painSensitivity to noiseDistorted sense of smellMuscle aches, cramps, or joint painHeavy or painful menstrual periodsDecreased sexual desireBreast enlargement in males Be sure you're familiar with the side effects specific to the medication you're taking. Antidepressants Antidepressants sometimes target brain chemicals in a way that slows the brain and helps with sleep. Silenor (doxepin): May modestly improve sleep. Side effects are nausea and dizziness. Trazodone: Reduces the average amount of time it takes to fall asleep by 10 minutes; reduces the average time spent awake in the night by eight minutes. Widely used in older people. Trazodone Side Effects Trazodone is linked with numerous side effects, including: Nausea and vomitingDiarrhea or constipationChanges in weight or appetiteTiredness or weaknessNervousnessDizziness or lightheadednessNightmaresMuscle painDry mouthRashDecreased sex driveProblems with erection, ejaculation, and orgasmTremorStuffy noseItchy, red, or tired eyes Dangerous Combinations Never combine two or more kinds of sleeping pills without medical supervision. Do not take sleeping pills with alcohol. Both of these increase the risk of overdose, breathing problems, and death. Benzodiazepines for Sleep Benzodiazepines are anti-anxiety medications sometimes prescribed to treat insomnia. Like some sedative-hypnotics, they enhance the effects of GABA. They used to be widely prescribed for insomnia, but they've somewhat fallen out of favor due to dangerous side effects including addiction, abuse, and overdose. They may also cause: Daytime drowsinessProblems with thinking and memoryRebound insomnia Benzodiazepines aren't recommended for long-term use. Those sometimes prescribed for sleep include: Eurodin/ProSom (estazolam) Halcion (triazolam) Restoril (temazepam) These drugs carry a risk of falls, delirium, and long-term memory problems. Benzodiazepine Side Effects Side effects of benzodiazepines may include: Next-day grogginess ("hangover")Dizziness or lightheadednessHeadacheWeaknessDry mouthConstipationNausea and vomitingAggressionAgitation or nervousnessBehavioral changesSlow or uncoordinated movementStiff musclesLeg painTingling skin Don't abruptly stop taking benzodiazepines. It could cause seizures and other serious side effects. Ask your healthcare provider or pharmacist about how to wean off of these drugs. Rebound Insomnia: How to Prevent It Foods as Sleep Aids Some people have luck with certain foods or beverages that may promote sleep. However, not all of them work. And, just as with medications, they can cause side effects. Herbal Teas Herbal teas are a popular home remedy for insomnia. Some evidence suggests they can help you sleep. Certain herbs like valerian and passionflower have been shown to improve sleep quality. This means they may help you sleep more deeply. They may not help you fall asleep faster, though. Be careful when choosing tea as a sleep remedy. Make sure they're herbal teas, which don't contain caffeine. Foods to Help You Sleep You may have heard that a glass of warm milk or a turkey sandwich could help you sleep. These generally have very little scientific backing. Some foods, like warm milk, can be comforting. They may put you in the right mindset for sleep. A few studies have shown that milk or a mixture of milk and honey can help you sleep. Certain foods, like turkey, contain tryptophan. Your body converts tryptophan to a neurotransmitter called serotonin. Your brain uses serotonin to make melatonin, so increasing serotonin levels may promote sleep. Some evidence suggests tryptophan supplements can improve sleep. However, you probably don't get enough tryptophan from food for it to have this effect. (Post-Thanksgiving dinner fatigue is more likely related to digesting a large meal.) Some foods, including tart cherries, contain low doses of melatonin. Again, though, they probably don't give you enough to have any measurable effect. Things to Avoid Treating insomnia isn't always about what you take. It may help to avoid caffeine, alcohol, and eating or exercising just before bed. These things can all disrupt your sleep. How to Avoid Sleeping Pills Verywell / Brianna Gilmartin Sleeping pills aren't right for everyone. They can interact with other drugs. If you're pregnant, they may harm your unborn baby. You may also be concerned about the potential for addiction. Or, you may dislike the side effects. Fortunately, there are other ways to manage insomnia. You may find it helpful to simply change your sleep habits. Start by keeping a regular bedtime and wake time. This will help reinforce your natural circadian rhythm. Avoid naps during the day. They can reduce your body’s natural desire for sleep. Reduce the time you spend awake in bed (called stimulus control). Use your bed only for sex and sleep. If you can't sleep, get up until you feel sleepy. Other alternatives for treating insomnia include: Biofeedback (uses sensors to measure your body's functions) Aromatherapy (smelling certain essential oils may promote sleep) Guided imagery (a relaxation technique) Progressive muscle relaxation When Should You See a Healthcare Provider? You may not need treatment for an occasional bout of insomnia. But if it's a long-term or recurring problem that disrupts your life, you should see a healthcare provider about it. Start by talking to your primary care doctor. If you need more specialized help, you may be referred to a sleep specialist. Seek help at once if your insomnia makes you feel depressed or suicidal. Obstructive sleep apnea (breathing pauses during sleep) is a common cause of long-term insomnia. When apnea wakes you up, you may have trouble getting back to sleep. This condition requires special treatment. You may also benefit from sleep therapy. Cognitive behavioral therapy for insomnia (CBTI) is one example. You can learn about this from a book, an online course, a workshop, or a class. A professional therapist can also help you get started. Summary Insomnia affects nearly everyone at some point. Many OTC sleep aids and natural remedies are available, but few of them are proven to work. Warm milk and herbal tea may help. Other foods said to promote sleep tend to be much less effective. Some substances like alcohol can actually disrupt your sleep. Prescription sleeping pills are another option. Be aware that some can have dangerous side effects. They may also be addictive. If you would prefer to avoid sleeping pills, changing your sleep habits can help. Therapy may be useful, too. You may also be able to get help from a sleep specialist. A Word From Verywell Many people with insomnia can learn to sleep normally without sleeping pills. In some cases, an underlying sleep disorder like sleep apnea may be contributing to your insomnia. These disorders need to be identified. Even if you've had insomnia for decades, an expert in sleep medicine may be able to help you resolve it. Reach out to get the help you need. Don't hesitate to look beyond the pills and prescription medications that are so often offered first as a way to improve insomnia. Frequently Asked Questions How common is insomnia? Insomnia is very common. Among American adults:30% have some symptoms of insomnia10% have symptoms severe enough to cause daytime problemsLess than 10% have chronic insomnia Learn More: Common Sleep Disorders What causes insomnia? Insomnia can be caused by several things, including:StressDepression, mental health problems, or emotional distressChronic pain or illnessShift workLong-distance travelAn inactive lifestyleHormone fluctuationsMedicationOther sleep disorders, such as sleep apnea Learn More: Insomnia Causes and Risk Factors What happens if chronic insomnia goes untreated? Lack of sleep or poor-quality sleep can eventually lead to other problems, including:Weight gain and obesityDiabetes and impaired glucose toleranceHeart disease and high blood pressureConcentration problemsMood disorders (e.g., depression, anxiety)Driving accidentsIncreased risk of falls and other injuries Learn More: Physical Effects of Sleep Deprivation 30 Sources Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy. Centers for Disease Control and Prevention. Sleep and sleep disorders. Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: An American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2017;13(2):307–349. doi:10.5664/jcsm.6470 National Institutes of Health, National Center for Complementary and Integrative Health. Melatonin: What you need to know. National Institutes of Health, National Center for Complementary and Integrative Health. Sleep disorders: In depth. Sleep Foundation. Natural sleep aids. Sutanto CN, Loh WW, Kim JE. The impact of tryptophan supplementation on sleep quality: a systematic review, meta-analysis, and meta-regression. Nutrition Reviews. 2022;80(2):306–316. doi:10.1093/nutrit/nuab027 Yamaguchi M, Sakai N, Muraki H, et al. 0201 effects of intraperitoneal injection of gingkolides and bilobalide on sleep study in mice. Sleep. 2017;40(1):A74. doi:10.1093/sleepj/zsx050.200 Colrain IM, Nicholas CL, Baker FC. Alcohol and the sleeping brain. Handb Clin Neurol. 2014;125:415-431. doi:10.1016/B978-0-444-62619-6.00024-0 National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Suvorexant. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Ramelteon. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Zaleplon. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Eszopiclone. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Zolpidem. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Doxepin (insomnia). National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Trazodone. Johnson B, Streltzer J. Risks associated with long-term benzodiazepine use. Am Fam Physician. 2013;88(4):224-6. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Triazolam. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Temazepam. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Estazolam. Yarnell E. Herbal medicine for insomnia. Altern Complementary Ther. 2015;21(4):173-9. doi:10.1089/act.2015.29011.eya Fakhr-Movahedi A, Mirmohammadkhani M, Ramezani H. Effect of milk-honey mixture on the sleep quality of coronary patients: a clinical trial study. Clin Nutr ESPEN. 2018;28:132-5. doi:10.1016/j.clnesp.2018.08.015 Sutanto CN, Loh WW, Kim JE. The impact of tryptophan supplementation on sleep quality: a systematic review, meta-analysis, and meta-regression. Nutr Rev. 2021 May 3. doi:10.1093/nutrit/nuab027 Johns Hopkins All Children's Hospital. Does eating turkey make me sleepy? National Institutes of Health, National Heart, Lung, and Blood Institute. Your guide to healthy sleep. National Alliance on Mental Health. Discovering new options: Self-help cognitive behavioral therapy. American Academy of Sleep Medicine. Insomnia. National Institutes of Health, U.S. National Library of Medicine: MedlinePlus. Insomnia. National Institutes of Health, National Center for Biotechnology Information. Sleep disorders and sleep deprivation: An unmet public health problem. Bianchi MT, Westover MB. Insomnia and morning motor vehicle accidents: a decision analysis of the risk of hypnotics versus the risk of untreated insomnia. J Clin Psychopharmacol. 2014;34(3):400-402. doi:10.1097/JCP.0000000000000134 Jiang Y, Xia Q, Wang J, et al. Insomnia, benzodiazepine use, and falls among residents in long-term care facilities. Int J Environ Res Public Health. 2019;16(23):4623. Published 2019 Nov 21. doi:10.3390/ijerph16234623 By Brandon Peters, MD Brandon Peters, MD, is a board-certified neurologist and sleep medicine specialist. See Our Editorial Process Meet Our Medical Expert Board Share Feedback Was this page helpful? Thanks for your feedback! What is your feedback? Other Helpful Report an Error Submit