Eating during sleep happens because parts of your brain wake up while others stay asleep. During an episode, the areas controlling movement and basic drives activate, but the regions responsible for judgment, decision-making, and memory remain in deep sleep. This creates a state where you can walk to the kitchen, open the fridge, prepare food, and eat it, all while having little or no awareness of what you’re doing. The behavior falls under a group of sleep disorders called parasomnias, and it’s more common than most people realize.
Two Conditions That Cause Sleep Eating
Sleep eating generally falls into one of two categories, and they’re quite different from each other. The first is sleep-related eating disorder (SRED), where you eat after falling asleep during a partial, confused awakening. You may appear awake to someone watching you, but your conscious brain is essentially offline. The next morning, you remember little or nothing about it. Some people discover the evidence (dirty dishes, missing food, wrappers in bed) before they ever catch themselves in the act.
The second is night eating syndrome (NES), where you’re fully awake and aware while eating. NES typically involves heavy eating in the evening after dinner, sometimes continuing until you go to sleep, along with a pattern of waking during the night and feeling compelled to eat before you can fall back asleep. Unlike SRED, you remember everything. Both conditions are chronic and can lead to weight gain, but the underlying mechanisms are different.
What’s Happening in Your Brain
SRED is classified as a disorder of arousal, meaning it occurs when your brain gets stuck between deep sleep and wakefulness. Brain imaging during sleepwalking episodes (the same category of parasomnia) shows that blood flow drops in the frontal and parietal regions responsible for reasoning, self-awareness, and memory formation. At the same time, blood flow increases in areas that govern motor control, emotional processing, and basic instincts. Your brain is essentially running on autopilot: you can navigate your home, open containers, and operate a stove, but the “you” that makes conscious decisions isn’t present.
This split-brain state explains why people with SRED sometimes eat bizarre combinations of food or even non-food items like raw ingredients, frozen meals straight from the freezer, or cleaning products mistaken for condiments. Without the prefrontal cortex acting as a filter, the drive to eat operates without any quality control.
Hormones That Shift Your Hunger Clock
For night eating syndrome, the problem is rooted in circadian rhythm disruption. A study at Johns Hopkins tracked hormone levels in women with NES over 25 hours and found that their hunger-regulating hormones were running on the wrong schedule. Leptin and insulin, two hormones that normally suppress appetite at night, were delayed by 1 to 2.8 hours. Meanwhile, ghrelin, the primary hormone that triggers hunger, was shifted forward by 5.2 hours. The body’s internal melatonin rhythm was also delayed.
The net effect is that your body’s hunger signals peak at the wrong time. Instead of appetite winding down in the evening and staying quiet through the night, it ramps up or persists. This isn’t a willpower problem. It’s a measurable hormonal misalignment where your body is genuinely signaling hunger when it shouldn’t be.
Common Triggers and Risk Factors
Several things can trigger or worsen sleep eating. One of the most well-documented is medication, particularly the sleep aid zolpidem (Ambien). A review of published cases found that sleep-eating episodes occurred nightly in 57.5% of patients who developed the behavior while taking it, and 95% of those cases involved daily doses of 10 mg or higher. Many of these patients had no history of sleep eating before starting the medication and stopped once they discontinued it.
Other factors that increase your risk include:
- Other sleep disorders. Sleepwalking, restless legs syndrome, and obstructive sleep apnea can all fragment your sleep in ways that trigger partial awakenings, creating opportunities for SRED episodes.
- Stress and sleep deprivation. Anything that destabilizes your sleep architecture makes disordered arousals more likely.
- Dieting or restrictive eating. Caloric restriction during the day can amplify nighttime hunger drives, particularly in people already prone to NES.
- Other parasomnias. If you have a history of sleepwalking or sleep talking, you’re at higher risk for SRED because the underlying arousal mechanism is the same.
What Gets Eaten During Episodes
People with SRED often eat high-calorie, high-carbohydrate, or high-fat foods during episodes. Think peanut butter eaten straight from the jar, bread with butter, sugary cereals, or ice cream. But the lack of conscious judgment can lead to stranger and more dangerous choices: raw meat, frozen food eaten unthawed, or bizarre combinations like ice cream mixed with cheese. In some cases, people have consumed inedible or toxic substances, mistaking dish soap for butter or eating raw eggs with their shells.
The diagnostic criteria for SRED specifically include consumption of peculiar food combinations or inedible substances, sleep-related injuries sustained while seeking or preparing food, and adverse health effects from repeated nighttime eating. Kitchen burns, cuts from knives, and injuries from stumbling in the dark are all reported complications.
How Sleep Eating Is Treated
Treatment depends on which type of sleep eating you have and what’s driving it. If a medication like zolpidem is the cause, stopping or switching that medication often resolves the problem entirely. If another sleep disorder like sleep apnea or restless legs syndrome is fragmenting your sleep, treating that underlying condition can reduce or eliminate SRED episodes.
For persistent SRED, a medication called topiramate (originally developed for seizures and migraines) has shown strong results. In a retrospective study of 25 patients with chronic SRED, 68% were considered treatment responders, with significant reductions in nighttime eating episodes. The medication appears to work by stabilizing sleep and reducing the confused arousals that trigger episodes.
For night eating syndrome, treatment typically involves a combination of approaches. Because NES involves conscious eating driven by shifted circadian hormones, cognitive behavioral therapy can help restructure eating patterns and address the anxiety that often accompanies nighttime waking. Bright light therapy in the morning may help reset the delayed circadian rhythms. Selective serotonin reuptake inhibitors have also been used, since serotonin plays a role in both mood regulation and appetite timing.
How to Tell Which Type You Have
The simplest distinction comes down to awareness. If you wake up to find evidence of eating you don’t remember, or if a partner tells you that you were eating in the middle of the night and you have no recollection, that points toward SRED. If you’re fully awake during your nighttime eating, know exactly what you’re doing, but feel unable to stop or fall back asleep without eating, that’s more consistent with NES.
A sleep study can confirm the diagnosis. SRED episodes typically arise out of deep, non-dreaming sleep in the first half of the night, and they can sometimes be captured during overnight monitoring. NES, on the other hand, doesn’t require a sleep study for diagnosis since the eating happens during full wakefulness, but tracking your eating patterns and timing over one to two weeks gives a clear picture. Either way, both conditions are treatable, and identifying which one you’re dealing with is the first step toward stopping it.

