Bananas are the most popular fruit for leg cramps, but they’re far from the only option. Leg cramps happen when a muscle involuntarily contracts and won’t relax, and low levels of key minerals like potassium, magnesium, and calcium are common culprits. Several fruits deliver these minerals in meaningful amounts, and some offer additional compounds that help with muscle recovery.
Why Minerals Matter for Muscle Cramps
Your muscles need a precise balance of electrolytes to contract and relax normally. Potassium regulates the electrical signals that tell muscles when to fire and when to stop. When potassium levels outside muscle cells shift too high or too low, those signals misfire. Moderately altered potassium changes how long each electrical impulse lasts and how much calcium floods into the muscle cell, while larger imbalances cause the signal to fail entirely. Calcium triggers the actual contraction, and magnesium helps the muscle release afterward. A shortage of any of these minerals can leave a muscle locked in a painful spasm.
The daily adequate intake for potassium is 2,600 mg for adult women and 3,400 mg for adult men. Most people fall short of these targets, which is one reason leg cramps are so common, especially at night or after exercise.
Bananas: The Classic Choice
Bananas earned their reputation for good reason. One medium banana delivers roughly 450 to 520 mg of potassium, covering about 13 to 20 percent of your daily needs depending on your sex. They’re also easy to eat on the go, require no preparation, and pair well with other foods. Plantains, a close relative, pack even more potassium at about 663 mg per cup, though most people cook them rather than eating them raw.
If you exercise regularly, dried plantain chips with a light sprinkle of salt can help maintain both potassium and sodium levels during long workouts, since you lose both minerals through sweat.
Watermelon for Hydration and Recovery
Watermelon stands out from other fruits because it contains an amino acid called L-citrulline that directly affects how muscles recover. In a study published in the Journal of Agricultural and Food Chemistry, athletes who drank 500 mL (about two cups) of natural watermelon juice before intense cycling reported significantly less muscle soreness 24 hours later compared to a placebo group. That amount of juice contained just 1.17 grams of L-citrulline, which was enough to produce measurable relief.
L-citrulline works by speeding up the removal of lactic acid from muscles, which helps them recover faster after exertion. Watermelon is also about 92 percent water, so it helps with the hydration side of cramp prevention. Dehydration concentrates the electrolytes in your blood and changes the fluid balance around muscle cells, making cramps more likely. Eating watermelon before or after physical activity covers both bases: mineral intake and fluid replacement.
Cantaloupe, Honeydew, and Other Melons
Cantaloupe and honeydew melon both provide more than 250 mg of potassium per half-cup serving, making them solid choices for cramp prevention. UCLA Health specifically recommends these melons alongside bananas and oranges as part of a high-potassium diet to prevent leg cramps. Melons also have high water content, which supports the hydration piece of the equation.
Cantaloupe has a slight edge over honeydew because it also contains more magnesium and vitamin C per serving. Cut it into cubes and keep it in the fridge for an easy snack, especially during warmer months when sweat-related mineral losses are higher.
Dried Apricots: A Concentrated Source
Dried apricots are one of the most potassium-dense fruits you can eat. Just 30 grams, roughly five or six dried apricot halves, delivers 453 mg of potassium. That’s comparable to an entire banana in a much smaller package. The drying process concentrates the minerals, which makes dried fruit a practical option when you need a portable, shelf-stable snack.
Dates, another dried fruit, also bring substantial potassium per serving. The tradeoff with dried fruit is sugar content. Because the water has been removed, the natural sugars are concentrated too. A small handful is plenty to get the mineral benefit without overdoing the calories.
Avocados, Oranges, and Other Options
Half an avocado contains about 364 mg of potassium, and avocados also supply magnesium, which many other fruits lack. Since magnesium is the mineral that helps muscles relax after contraction, getting both potassium and magnesium from the same food is a useful combination for cramp prevention.
Oranges are another reliable pick. They provide potassium along with plenty of fluid, and orange juice is one of the easiest ways to get a quick electrolyte boost. Nectarines and peaches each deliver more than 250 mg of potassium per half-cup serving, making stone fruits in general a good category to reach for. Even tomatoes, which are technically a fruit, contain 292 mg per medium-sized tomato, and concentrated tomato paste offers over 650 mg per quarter cup.
What About Tart Cherries and Pineapple?
Tart cherry juice has gained popularity as a recovery drink, but the evidence for cramp and soreness relief is mixed. A study of recreationally active women who took 1,000 mg of concentrated tart cherry supplement for eight consecutive days found no meaningful difference in muscle soreness, muscle power, or muscle activation compared to a placebo group. Tart cherries do contain anti-inflammatory compounds, but their effect on cramps specifically remains unproven.
Pineapple contains an enzyme called bromelain that some people take for muscle strains and soreness. While early research is promising, there isn’t strong evidence yet that eating pineapple reduces cramps. You’d likely need a concentrated supplement to get enough bromelain to have any effect, and even then, results are uncertain. Pineapple is still a healthy fruit with decent potassium, but don’t count on it as a cramp-specific remedy.
When and How to Eat Fruit for Cramps
If your leg cramps tend to strike at night, eating a potassium-rich fruit with dinner or as an evening snack can help top off your mineral levels before bed. For exercise-related cramps, eating fruit 30 to 60 minutes before activity gives your body time to begin absorbing the potassium. Pairing fruit with a small pinch of salt, as sports nutritionists often suggest, helps balance sodium and potassium together, which is more effective for cramp prevention than potassium alone.
No single fruit will fix leg cramps if the underlying cause is severe dehydration, a medication side effect, or a medical condition. But for the everyday cramps that come from mineral shortfalls and fluid loss, regularly eating a variety of potassium-rich fruits makes a real difference. Aim to include two or three servings of the fruits listed above throughout your day rather than loading up all at once, since your body absorbs minerals more efficiently in smaller, spread-out doses.