Nighttime Muscle Cramps: Foods That May Help and Foods to Limit
Nighttime muscle cramps—especially in the calves, feet, and thighs—are common and can have many causes. Diet can play a role, particularly when it affects hydration and electrolyte balance, but there is no single food that guarantees cramps will stop.
Foods and drinks that may help support muscle health
1. Potassium-rich foods
Potassium helps muscles function normally. Sources include:
- Bananas
- Sweet potatoes
- Beans
- Lentils
- Spinach
- Avocados
2. Magnesium-rich foods
Magnesium is involved in normal muscle contraction and relaxation:
- Nuts (such as almonds and cashews)
- Seeds
- Whole grains
- Leafy green vegetables
3. Calcium-rich foods
Calcium is important for muscle signaling:
- Yogurt
- Milk
- Cheese
- Fortified plant-based milks
4. Water-rich foods
Dehydration may contribute to cramps in some people:
- Watermelon
- Cucumbers
- Oranges
- Soups
Foods and habits to limit
1. Excess salty processed foods
High-sodium foods may contribute to fluid imbalance in some people:
- Chips
- Processed meats
- Fast foods
- Packaged snacks
2. Too much alcohol
Alcohol can affect hydration and sleep quality and may worsen muscle issues for some people.
3. Excess caffeine late in the day
Caffeine does not cause cramps in everyone, but large amounts may affect sleep and hydration habits.
Other ways to reduce nighttime cramps
- Stretch your calves and legs gently before bed.
- Stay active with regular walking or exercise.
- Avoid sudden increases in workout intensity.
- Wear comfortable, supportive footwear.
- Keep muscles warm if cold temperatures trigger symptoms.
When to check with a healthcare professional
Talk to a doctor if cramps:
- Happen often or are very painful
- Wake you up regularly
- Come with swelling, weakness, numbness, or changes in walking
- Started after a new medication
