If you’ve felt a sudden, seizing pain in your calf that jolts you awake at 2 a.m. during pregnancy, you’re definitely not alone. Leg cramps are one of the most common discomforts of pregnancy, especially in the second and third trimesters.
The good news: They’re almost always harmless. The better news: There are real things you can do to prevent them and get relief when they hit.
Why Do Leg Cramps Happen During Pregnancy?
Leg cramps during pregnancy are very common, and there are a few reasons your body becomes more prone to them as your pregnancy progresses.
Your growing uterus puts pressure on nerves and blood vessels. As your baby grows, your uterus presses on the nerves and blood vessels that run down to your legs, which can cause cramping, especially at night when you’re lying down.
Changes in circulation. Blood flow patterns shift significantly during pregnancy. Your body is working hard to circulate more blood than usual, and your legs, being farthest from your heart, can feel the effects.
Muscle fatigue. Your body is carrying more weight than it’s used to, and the muscles in your legs are working overtime. Tired muscles cramp more easily.
Lower levels of certain nutrients. Some research suggests that shifts in calcium, magnesium, and potassium during pregnancy may play a role in cramping.
Dehydration. Not drinking enough water can make cramps more frequent and more intense. Pregnant people need more fluids than usual, and it’s easy to fall behind.
When Do Pregnancy Leg Cramps Usually Start?
Leg cramps most often become noticeable in the second trimester and tend to get more common in the third trimester, as your baby grows bigger and your body works harder. They’re especially likely to strike at night, causing the infamous 3 a.m. charley horse that wakes you from a dead sleep.
That said, some people experience leg cramps earlier in pregnancy. Every body is different.
How to Get Relief When a Leg Cramp Hits
When a cramp strikes, here’s what actually helps in the moment:
Flex your foot, not your toes. Pull your foot upward toward your shin and hold it. This stretches the calf muscle and is usually the fastest way to ease the cramp.
Stretch and massage. Stand up (carefully!) and gently put weight on the affected leg, or massage the cramped muscle with firm, slow strokes.
Apply heat. A warm towel or heating pad on the muscle can help it relax. Some people find alternating warm and cold helps, too.
Walk it off. A short walk can help restore circulation and loosen the muscle once the worst of the cramp has passed.
How to Prevent Leg Cramps During Pregnancy
You may not be able to eliminate leg cramps entirely, but these strategies can reduce how often they happen and how severe they are:
Stay hydrated. Drink water consistently throughout the day. During pregnancy, most people need around 8โ10 cups of water per day, though your provider may have specific guidance for you.
Stretch before bed. A gentle calf stretch before you go to sleep may help reduce nighttime cramps. Stand facing a wall, step one foot back, keep your heel on the floor, and lean forward slightly until you feel the stretch in your calf. Hold for 30 seconds on each side.
Stay active. Regular, gentle movement, like walking or prenatal yoga, keeps circulation going and muscles from getting stiff. Check with your provider about what level of activity is right for your pregnancy.
Elevate your legs. Putting your feet up during the day (and while you sleep, if possible) can help with circulation and reduce the buildup of swelling and fatigue in your legs.
Watch your diet. Eating foods rich in magnesium, calcium, and potassium may help. (Think leafy greens, bananas, dairy, nuts, seeds, and beans.) Talk to your provider before adding any supplements. They can check your levels and recommend what’s right for you.
Avoid sitting or standing in one position too long. Try to move and shift positions regularly throughout the day.
Choose comfortable shoes. Supportive footwear makes a real difference during pregnancy. Avoid heels when possible, especially as your center of gravity shifts.
Are Pregnancy Leg Cramps Ever a Sign of Something More Serious?
Usually, leg cramps during pregnancy are just one of those uncomfortable-but-normal things your body does. However, there are situations where you should contact your healthcare provider:
- The pain is severe and doesn’t go away after stretching and walking
- You have redness, swelling, warmth, or tenderness in your leg (not just muscle soreness)
- The cramping is in your upper thigh rather than your calf
- You have persistent leg pain even when you’re not cramping
These symptoms can sometimes indicate a deep vein thrombosis (DVT)โa blood clotโwhich is more common during pregnancy and requires prompt medical attention. This is rare, but worth knowing about.
When in doubt, call your provider. That’s what they’re there for.
A Note on Magnesium for Leg Cramps in Pregnancy
You may have heard that magnesium supplements can help with pregnancy leg cramps, and some research supports this. However, the evidence is mixed, and not all forms of magnesium are safe or appropriate during pregnancy. Always talk to your healthcare provider before starting any supplement, including magnesium. They can help you figure out whether it makes sense for you and recommend the right type and dose.
Questions to Ask Your Provider About Leg Cramps
- Are my leg cramps something I should be concerned about?
- Should I be checked for any nutritional deficiencies?
- Is it safe for me to take a magnesium supplement?
- Are there any stretches or exercises you recommend for my specific situation?
- What symptoms should prompt me to call your office right away?
The Bottom Line
Leg cramps are a very common part of pregnancy. Theyโre annoying, sometimes painful, but almost always harmless. Staying hydrated, stretching regularly, keeping up gentle movement, and eating a balanced diet can all help reduce how often they happen. And when one strikes in the middle of the night, flexing your foot toward your shin is your fastest friend.
Your body is doing something remarkable. A little extra TLC, and maybe keeping that water bottle close, goes a long way.
Want Personalized Pregnancy Support?
You May Qualify for a Free Doula.
Pregnancy comes with a lot of questions, and it helps to have someone in your corner. A doula is a trained support person who walks alongside you through pregnancy, birth, and those early weeks at home with your baby. They’re not a medical provider; they’re someone who listens, answers questions, helps you prepare, and supports you every step of the way.
If you’re pregnant and live in Linn, Benton, Lincoln, Lane, Marion, or Polk counties in Oregon, and you have Medicaid/OHP, you may be eligible for free, culturally-matched doula care through the Community Doula Program.
May 6, 2026
