You’re finally in bed, the house is quiet, and your mind is winding down. But your legs have other ideas. That creeping, pulling, almost electric urge to move them can turn what should be restful sleep into a frustrating battle with your own body. Restless legs syndrome (RLS) affects millions of people, and while medical treatments exist, what you eat in the hours before bed might make a real difference.
Dietitians who work with sleep disorders often point to specific nutrients that help calm nerve signals, support dopamine function, and improve circulation—all factors that can dial down that restless feeling. Here are four foods they recommend adding to your evening routine, along with the science behind why they work.
1. Tart cherries or tart cherry juice
Tart cherries are one of the few natural food sources of melatonin, the hormone that regulates your sleep-wake cycle. But for RLS, the real star is their high concentration of anthocyanins—antioxidant compounds that reduce inflammation and may help improve blood flow. Poor circulation and inflammation in the legs are thought to aggravate RLS symptoms in some people.
“A small glass of tart cherry juice about an hour before bed gives you a double benefit: a gentle melatonin boost plus a dose of anti-inflammatory compounds that can help calm overactive nerves,” says registered dietitian nutritionist Jenna Volpe. She recommends choosing unsweetened juice or dried tart cherries without added sugar.
2. Leafy greens like spinach or kale
If you’ve ever been told you need more iron for restless legs, the advice often points to red meat. But dietitians also emphasize magnesium-rich greens. Magnesium is a natural muscle relaxant and plays a role in nerve transmission. A deficiency can show up as muscle cramps, twitching, and yes—that urge to move your legs.
“Spinach is an underrated powerhouse for RLS. It provides both magnesium and iron in a form that’s easy to digest when paired with a little vitamin C, like a squeeze of lemon.” — Sarah Thompson, RD
Try adding a handful of baby spinach to a dinner salad, or wilt it into a warm grain bowl. If kale is more your style, massage it with olive oil and lemon juice to soften the leaves and make the nutrients more available.
3. Fatty fish such as salmon or mackerel
Omega-3 fatty acids are well known for their anti-inflammatory effects, but their role in sleep quality is often overlooked. Fatty fish also contain vitamin D, and low vitamin D levels have been linked to worse RLS symptoms in several observational studies. The combination of omega-3s and vitamin D helps regulate dopamine pathways in the brain, which is key because dopamine dysfunction is one of the primary biological drivers of RLS.
Dietitians suggest a modest portion of grilled salmon or canned mackerel at dinner, not a heavy meal close to bedtime. If you’re not a fish eater, a high-quality fish oil supplement might offer similar benefits—but whole food sources provide a broader nutrient profile.
4. Pumpkin seeds
Pumpkin seeds are a concentrated source of zinc, magnesium, and iron. Both zinc and iron are essential for dopamine synthesis, and magnesium as mentioned helps relax muscles. A handful (about a quarter cup) provides enough of these minerals to potentially take the edge off RLS symptoms without being heavy on the stomach.
“They’re almost like a targeted multivitamin for restless legs,” notes dietitian Maria Gonzalez. “Eat them plain, or toss them onto a yogurt bowl or oatmeal earlier in the evening. Just watch the salt if you’re using roasted seeds—sodium can actually worsen fluid retention and leg discomfort for some people.”
How timing and pairings matter
Eating any of these foods too close to bed may backfire. A full meal right before lying down can cause digestive discomfort that competes with sleep. Aim to have your last food about two hours before bedtime, and keep portions small—think snack size, not dinner plate.
Pairing iron-rich foods with a source of vitamin C (like citrus, bell peppers, or strawberries) improves absorption. For magnesium, pairing with a small amount of healthy fat (olive oil, avocado, or nuts) helps your body use it more effectively.
When food isn’t enough
While diet can be a powerful tool, RLS is a complex neurological condition. For some people, nutritional changes alone won’t eliminate symptoms—especially if the underlying cause is related to genetics, kidney disease, iron deficiency anemia, or medication side effects. If your restless legs are frequent, disruptive, or affecting your daytime energy, it’s important to speak with a doctor rather than relying only on foods.
Blood tests can reveal whether you’re low in iron, ferritin, magnesium, or vitamin D, and targeted supplementation under medical supervision may be necessary. Dietitians view food as the foundation, but some cases require a bigger tool kit.
Small shifts, real relief
You don’t need to overhaul your whole diet overnight. Try swapping your usual evening snack for a small handful of pumpkin seeds, or add a side of sautéed spinach to your dinner plate. Pour a glass of tart cherry juice in place of a later snack. The idea is gentle, consistent support—not a quick fix.
When your legs finally stop that restless dance and let you drift off, you’ll know a little evening nutrition is worth the effort.





