Your preference has been updated for this session. To permanently change your account setting, go to My Account
As a reminder, you can update you preferred country or language anytime in My Account
> beauty2 heart-circle sports-fitness food-nutrition herbs-supplements pageview
Click to view our Accessibility Statement
Free Shipping over 390,00 kr
checkoutarrow

Best Vitamins For Cramps: A Deep Dive Into Natural Relief

EVIDENCE BASED

Evidence Based

iHerb has strict sourcing guidelines and draws from peer-reviewed studies, academic research institutions, medical journals, and reputable media sites. This badge indicates that a list of studies, resources, and statistics can be found in the references section at the bottom of the page.

anchor-icon Table of Contents dropdown-icon
anchor-icon Table of Contents dropdown-icon

If cramps are cramping your style — whether it’s period pain, leg spasms, or post-workout tightness — you’re not alone. These painful muscle contractions can sneak up on you during a workout, at night, or right before your period hits. 

The good news? The right combination of nutrients can make a big difference in both severity and frequency of cramps. Whether you're a runner, a busy mom, or someone just trying to get through their cycle without wincing, this one’s for you.

What Are Cramps?

At their core, cramps are involuntary, painful muscle contractions that can last anywhere from a few seconds to several minutes. They’re most common in the legs, abdomen (like period cramps), and legs — but can pop up just about anywhere you have muscles.

You’ve likely experienced one or more of these types of cramps:

  • Menstrual cramps: the uterus contracts as prostaglandins rise before and during your period
  • Muscle cramps: triggered by overuse, mineral loss, or poor hydration
  • Nighttime leg cramps: often caused by low magnesium, iron, or potassium levels, these can sneak in while you sleep

Cramps are usually a symptom of another underlying condition, rather than a standalone issue. Your body’s telling you something’s off.

Symptoms of Cramps

Wondering what cramps feel like? You’ll know them when you feel them. The most common symptoms of cramps include:

  • Sudden tightness or spasms in a muscle
  • Pain when trying to move or stretch a muscle
  • Persistent soreness or sensitivity after a cramp episode

And when it’s a period cramp? Expect lower abdominal pain, backaches, and, in some cases, referred pain down the legs. You’ll often notice this happening right before your period starts or during the first few days of your period. 

Causes Of Cramps

Often, when we experience cramps, they’re not due to one single cause. Cramps stem from a combination of various factors:

  • Mineral deficiencies: deficiencies in nutrients like magnesium, calcium, and potassium often lead to cramps
  • Dehydration: fluid loss can cause electrolyte imbalances, which increase cramp risk 
  • Hormonal shifts: A drop in estrogen before your period can increase cramping via prostaglandins
  • Overuse or strain: A new workout or a long day on your feet can tighten muscles
  • Poor gut absorption: When digestion is off, you may not be absorbing enough cramp-fighting nutrients
  • Poor circulation: Staying in one position for too long can cause issues with circulation that lead to cramping — having a desk job, laying in bed all day, or a sedentary lifestyle can all lead to cramps

Cramps and Hormones: What’s the Link?

Cramping during your menstrual cycle is driven by prostaglandins — hormone-like compounds that trigger uterine contractions. When prostaglandins are elevated (due to stress and inflammation), cramps can feel debilitating.

Low magnesium and calcium levels can also make the uterus more sensitive to these signals. And if your immune system and liver are burdened, shifting hormones throughout your cycle can trigger symptoms like cramping and pain. Low progesterone or elevated estrogen in the second half of your cycle (your luteal phase) can make cramps even worse.

Addressing your mineral status and inflammatory load through a balanced diet, lifestyle modifications, and targeted supplementation can significantly reduce pain associated with cramps.

Vitamins For Cramps

Eating a well-rounded diet that provides all essential nutrients can help you feel your best and reduce pain from cramps. If you deal with frequent muscle or menstrual cramping, focus on the nutrients below, which are some of the most effective for reducing the frequency and intensity of cramps:

Potassium

Potassium, one of the most abundant electrolytes in the body, is found in all cells and body tissues. It plays a critical role in regulating fluid balance and muscle contractions. Getting enough potassium through foods or supplements can help prevent nighttime and post-exercise cramps.1 

This essential mineral is available in a wide variety of plant and animal foods. However, most of us don’t get enough from the foods we eat. Some of the best sources of potassium include: 

Magnesium

Another abundant mineral in the body, magnesium is a natural muscle relaxant that supports over 300 bodily processes. It is critical for communication between nerve cells, muscle contractions, and normal heart rhythms.2 Magnesium supplementation may be especially effective for period cramps and restless leg syndrome.3,4 

Magnesium is available in many foods, but many of us aren’t consuming enough:

Calcium

While we often associate calcium with bones and teeth, it also partners with magnesium to regulate nerve and muscle signaling throughout the body. Low calcium levels have been shown to increase cramps and irritability associated with premenstrual syndrome (PMS).5

Beyond milk, yogurt, and cheese, which are all rich sources, calcium can be found in: 

  • Sardines
  • Leafy greens like spinach and kale
  • Tofu
  • Almonds

Vitamin D

Vitamin D, also known as the “sunshine vitamin” because our best source is exposure to the sun, offers a range of health benefits and helps the body absorb calcium and magnesium efficiently. Low levels of vitamin D may be associated with more frequent cramps and muscle weakness, though research is mixed.6 

Few foods are natural sources of vitamin D. Some of the best sources include: 

  • Fatty fish like rainbow trout and salmon
  • Mushrooms that have been exposed to UV light
  • Cod liver oil
  • Fortified milk and cereal

Zinc

Zinc helps enhance immune function, supports tissue repair, and may help reduce inflammation in the body. It is crucial for menstrual health, as it helps prevent period cramps and aids in healing muscle microtears that lead to soreness after intense exercise.7 

Some of the best sources of zinc include:

  • Oysters
  • Chickpeas
  • Pumpkin seeds

B Vitamins

The eight B vitamins are all important for health and energy metabolism. Vitamins B1 (thiamin), B6 (pyridoxine), and B12 (cyanocobalamin), in particular, help coordinate nerve and muscle function. They also support mood and may help reduce PMS symptoms. Studies suggest vitamin B6 supplements may also support the histamine responses associated with PMS.8 

B vitamins are found in a wide variety of foods, including: 

How To Prevent Cramps Naturally

Sometimes, cramps still pop up even if you’re eating well. Here are some practical ways to reduce them:

  • Hydrate: drink at least 8 to 10 glasses of water daily
  • Balance electrolytes: don’t just hydrate — add electrolytes (especially after exercise)
  • Stretch: stretching is especially important before bed and after workouts
  • Soak: try Epsom salt baths to soothe sore muscles and increase magnesium absorption
  • Focus on magnesium: load up on magnesium-rich foods like dark leafy greens, avocado, and legumes
  • Address stress: the stress hormone cortisol can deplete potassium and magnesium

Your Cramp-Proof Daily Routine

If you frequently experience muscle or menstrual cramps, follow these simple tips to adopt a cramp-proof routine into your daily rhythm: 

  • Eat a magnesium-rich breakfast — think chia pudding, greens, or oats — and drink electrolyte water throughout the day 
  • Take 10-minute walking breaks throughout the day 
  • Get up and do 10 squats every 60 minutes to keep up circulation
  • Soak in an Epsom salt bath or try dry brushing to support circulation 
  • Always stretch before bed and after exercise

When To See A Doctor

Most cramps are harmless. But if your cramps regularly wake you up at night or don’t respond to hydration, diet, or supplements, it might be worth a trip to the doctor. Severe period cramps that interfere with daily life could be a sign of endometriosis or fibroids and should be evaluated by your healthcare provider. 

Takeaway

Cramps are your body’s way of saying, “Hey, something’s off.” Whether it’s your mineral balance, hydration, stress load, or hormonal health, your cramps are worth listening to.

The good news? A few targeted nutrients, daily habits, and support from a provider can make all the difference. Adopt a cramp-proof daily routine to ease muscle cramping and period pain and feel your best. Always consult your healthcare provider before starting a new supplement to ensure it is safe for you and won’t interact with any medications you are taking. 

References: 

  1. Potassium - Health Professional Fact Sheet. Accessed June 24, 2025. 
  2. Magnesium - Health Professional Fact Sheet. Accessed June 24, 2025. 
  3. González-Parejo P, Martín-Núñez J, Cabrera-Martos I, Valenza MC. Effects of Dietary Supplementation in Patients with Restless Legs Syndrome: A Systematic Review. Nutrients. 2024;16(14). 
  4. Parazzini F, Di Martino M, Pellegrino P. Magnesium in the gynaecological practice: A literature review. Magnes Res. 2017;30(1):1-7. 
  5. Siminiuc R, Ţurcanu D. Impact of nutritional diet therapy on premenstrual syndrome. Front Nutr. 2023;10. 
  6. Weiker MK, Nielsen B, Waclawik AJ, Staples AC, Hansen KE. Muscle Cramps Do Not Improve With Correction of Vitamin D Insufficiency. WMJ. 2017;116(5):200. Accessed June 24, 2025. 
  7. Hsu TJ, Hsieh RH, Huang CH, et al. Efficacy of Zinc Supplementation in the Management of Primary Dysmenorrhea: A Systematic Review and Meta-Analysis. Nutrients . 2024;16(23):4116. 
  8. Vitamin B6 - Health Professional Fact Sheet. Accessed June 24, 2025. 

DISCLAIMER:This Wellness Hub does not intend to provide diagnosis... Read More