Why Do I Eat in My Sleep? Causes and How to Stop

Eating during sleep is a real medical phenomenon, not just a quirk or a lack of willpower. It falls under two distinct conditions: sleep-related eating disorder (SRED), where you eat while partially asleep and may not remember it at all, and night eating syndrome (NES), where you’re fully awake but feel a powerful, almost irresistible urge to eat during the night. Both are more common than most people realize, affecting between 1% and nearly 5% of the general population, and both have identifiable causes and effective treatments.

Two Conditions That Look Similar but Aren’t

The key difference is consciousness. With SRED, you’re in a partial state of arousal during deep sleep. You may walk to the kitchen, prepare food, and eat it while still technically asleep. People with SRED often have no memory of the episode the next morning, or only a vague, dreamlike recollection. Some eat bizarre combinations, like raw meat, frozen food, or inedible substances like cleaning products, which can create real safety hazards. SRED is classified as a parasomnia, in the same family as sleepwalking.

Night eating syndrome is different. You’re fully awake and aware of what you’re doing. The defining feature is consuming more than 25% of your daily calories after dinner and before breakfast. People with NES typically have little appetite in the morning, eat increasingly more as the day goes on, and wake up during the night feeling like they can’t fall back asleep without eating. The compulsion feels physical, not emotional, because it is: the timing of hunger hormones has shifted.

What’s Happening in Your Body

Two hormones play central roles in regulating hunger and sleep, and disruptions to either can drive nighttime eating. Ghrelin is your body’s hunger signal. It stimulates appetite, promotes fat storage, and at higher doses triggers strong feelings of hunger, even at night. Leptin works in the opposite direction, suppressing appetite. These two hormones normally balance each other throughout the day in a predictable rhythm.

In people with nighttime eating problems, that rhythm gets disrupted. Leptin normally peaks during the night, helping keep hunger suppressed while you sleep. When that peak is blunted or mistimed, the brake on nighttime appetite weakens. Sleep deprivation makes things worse by altering ghrelin levels, which may explain why people going through periods of poor sleep are more vulnerable to these episodes. Ghrelin also has a dose-dependent relationship with sleep itself: at lower levels it actually promotes deep sleep, but at higher levels it triggers hunger. If your body is producing too much at the wrong time, you eat.

Stress, anxiety, and depression further complicate the picture. People with psychiatric conditions have significantly higher rates of SRED, and the relationship likely goes both ways: disrupted sleep and involuntary eating create distress, and existing mental health conditions destabilize the sleep-wake systems that keep eating confined to waking hours.

Medications That Trigger Sleep Eating

One of the most well-documented causes of sleep eating is the prescription sleep aid zolpidem (sold as Ambien). The drug is absorbed rapidly, causing a sharp spike in its concentration in the body, which can produce a disoriented, delirium-like state during deep sleep. In that state, people get up, eat, and return to bed with no memory of it. A second proposed mechanism involves the drug desensitizing certain receptors in the brain that regulate arousal during deep sleep, making partial awakenings more likely.

Zolpidem-induced sleep eating is more common in women, older adults, and people with other medical conditions. If you take a sleep medication and are finding evidence of nighttime eating you don’t remember (wrappers on the counter, a mess in the kitchen, food missing), your medication is the first thing to investigate. Other sedatives and some psychiatric medications can produce similar effects, though zolpidem is the most frequently reported culprit.

Other Sleep Disorders Increase Your Risk

SRED rarely exists in isolation. People with restless legs syndrome have a dramatically higher risk, with one study finding they were nearly 49 times more likely to experience sleep eating compared to healthy controls. Narcolepsy also raises the risk substantially: about 8% of people with narcolepsy type 1 experience SRED, compared to roughly 1% of the general population. Sleepwalking, obstructive sleep apnea, and other conditions that fragment sleep or cause partial arousals during the night all create opportunities for sleep-eating episodes to emerge.

This is important because treating the underlying sleep disorder often reduces or eliminates the eating episodes. If you have restless legs, frequent snoring, or a history of sleepwalking, those problems may be the root cause rather than the eating itself.

Who It Affects Most

The highest reported prevalence of SRED, at 4.6%, comes from a study of college-aged adults with an average age of about 27. Women made up roughly 69% of that group. Younger adults, people with psychiatric diagnoses, and those already dealing with another sleep disorder are the most commonly affected populations. That said, sleep eating can start at any age, and it often goes undiagnosed for years because people either don’t remember the episodes or feel too embarrassed to bring them up.

How Sleep Eating Is Treated

If a medication is causing the problem, stopping or switching that medication is the most straightforward fix. For cases without an obvious medication trigger, treatment typically starts with antidepressants in the SSRI class, which can help regulate both mood and the sleep-wake cycle.

When SSRIs aren’t enough, topiramate (a medication originally developed for seizures) has the strongest evidence. In a clinical trial of 34 patients, those taking topiramate had significantly fewer nights with eating episodes after 13 weeks compared to placebo. A larger retrospective review of 30 patients found that 68% were considered strong responders after about a year of treatment. Several case reports document complete resolution of sleep-eating episodes, with benefits lasting 8 to 10 months or longer at follow-up. Topiramate also has a side effect that works in its favor here: it tends to suppress appetite and promote modest weight loss, which can help offset weight gained during months or years of uncontrolled nighttime eating.

Clonazepam, a sedative sometimes used for other parasomnias like sleepwalking, is considered an alternative option, particularly when SRED occurs alongside other disruptive sleep behaviors.

Practical Steps to Reduce Episodes

While working with a provider on the underlying cause, a few environmental changes can help reduce harm and frequency. Locking the kitchen or placing an alarm on the door can alert a partner (or wake you enough to interrupt the episode) before you reach food. Removing sharp knives and keeping the stove inaccessible reduces injury risk, which is a real concern since people with SRED sometimes attempt to cook while asleep.

Eating enough during the day matters, too. Restrictive dieting and skipping meals can worsen both SRED and NES by amplifying hunger signals at night. Keeping a consistent sleep schedule, avoiding alcohol close to bedtime, and treating any coexisting sleep disorder all reduce the frequency of partial arousals that set the stage for sleep eating. If you’re taking a sleep aid, especially zolpidem, discuss the episodes with whoever prescribed it before your next dose.