You’ve probably heard the tip before — eat a banana before bed to sleep better. But is there any truth to it, or is it just another wellness myth? As it turns out, science does support the idea, with a few important caveats worth knowing before you make it a nightly habit.
What’s Actually Inside a Banana?
Before diving into the sleep connection, it helps to understand what makes bananas nutritionally unique. A single medium banana contains:
Magnesium — about 32 mg per banana
Potassium — around 450 mg per banana
Tryptophan — an amino acid your body uses to produce serotonin
Vitamin B6 — essential for converting tryptophan into serotonin and melatonin
Fiber and resistant starch — for digestive support
Natural carbohydrates — for sustained energy and satiety
This combination of nutrients is what makes bananas stand out as a potential sleep-supporting snack.
How Bananas May Help You Sleep Better
1. They Boost Melatonin Production
Vitamin B6 in bananas plays a direct role in converting tryptophan into serotonin, which the body then uses to produce melatonin — the hormone that regulates your sleep-wake cycle. Low melatonin levels make it harder to fall asleep and stay asleep. A banana before bed gives your body the raw materials it needs to produce this hormone naturally.
2. Magnesium Calms the Nervous System
Magnesium helps the body maintain healthy GABA levels — the neurotransmitter responsible for slowing brain activity and promoting relaxation. It also helps regulate your circadian rhythm and lowers cortisol, the stress hormone that keeps your mind alert when you want it to shut down. Low magnesium is directly linked to difficulty falling asleep and staying asleep throughout the night.
3. Potassium Reduces Nighttime Disturbances