
Photo: Pexels
Leg cramps during pregnancy are sudden, tight calf pains, usually in the later months and often at night. They are common and usually harmless. A stretch before bed, daytime walking, and enough fluids help. A swollen, warm, red or painful calf on one side is different and needs same-day medical care, because it can be a blood clot.
What a pregnancy leg cramp actually is
The NHS describes a leg cramp as a muscle in the leg that tightens and causes a sudden pain, sometimes enough to make it hard to move. Most often it is the calf, the muscle below the knee at the back of the leg. Less often it is the foot or the thigh. A cramp can last from a few seconds to 10 minutes, and the muscle can feel sore for up to 24 hours afterward.
The NHS also says leg cramps are common, usually harmless, and most likely to strike at night or when you are resting. It lists pregnancy, usually in the later stage, among the things that can cause them. Other causes on its list include not drinking enough fluids and some medicines. It adds that the reason for some cramps is simply unknown, so if you have never found a tidy explanation for yours, you are in good company.
You will read confident explanations online, such as the baby pressing on nerves or low minerals. The pages we checked do not pin the cause down, so we will not either.
Calf cramp or restless legs? How to tell them apart
Two different night-time leg problems get mixed up in pregnancy, and the fix is not quite the same for each.
A calf cramp is a sharp, knotted pain in one muscle. You wake up with a rock-hard calf, your toes may curl, and you want to stand on it or pull your foot toward you. It passes, then leaves a soreness behind.
Restless legs syndrome (RLS) is a strong urge to move your legs. The NHS says people describe tingling, throbbing or itching, and sometimes pain. ACOG describes "crawling" or "twitching" feelings that make you want to move. Both sources say it is usually worse at night and when you are resting, and that moving the legs gives relief. The NHS notes that leg cramps and peripheral neuropathy can cause similar symptoms, so the two are easy to confuse.
- One tight muscle that locks up suddenly points toward a cramp
- An urge to keep moving your legs, with tingling or crawling feelings, points toward restless legs
- Relief from standing and putting weight on the leg fits a cramp, per the NHS
- Relief from walking, rubbing or stretching while the urge is there fits restless legs, per both the NHS and ACOG
- Both are usually worse in the evening or at night
You can have both. If you cannot tell, describe it to your provider in your own words.
When do they start, and why do nights feel worse?
The NHS places pregnancy-related cramps in the later stage of pregnancy. ACOG lists pregnancy, especially the third trimester, among the factors linked to restless legs. The NHS says restless legs symptoms are usually worse at night when resting, which is also when most cramps strike. So the pattern many people report, fine all day and miserable at 2 a.m., matches what the sources say.
Our guides to the third trimester and pregnancy insomnia cover what else shows up around then.
What may be behind restless legs, and the iron question
Both the NHS and ACOG say the exact cause of restless legs is not fully known. The NHS says it is thought to be linked to the levels of iron and the brain chemical dopamine in the body. ACOG lists iron deficiency and pregnancy among its risk factors, and the NHS lists pregnancy and iron deficiency anaemia among the things restless legs can be linked to. It adds that symptoms linked to pregnancy usually go away after giving birth.
The practical point is this. If restless legs are keeping you up, ask your provider whether your iron levels should be checked. The NHS says treatment depends on the cause, and that someone with low iron in the blood may need iron supplements. That decision belongs to a provider with a blood test in hand. Do not start iron on a hunch, because the right choice and dose depend on your results. Our pregnancy nutrition essentials guide covers eating for iron, and your provider can tell you whether food is enough.
Step by step: easing a cramp that is happening now
The NHS says most cramps go away by themselves, but stretching and massaging the muscle may ease the pain, and so may standing up and putting your weight on the leg. Here is a simple order to follow:
- Sit up, or stand beside the bed with a hand on the wall or nightstand for balance.
- Put your weight on the cramping leg if you can do so safely. The NHS lists this as something that may help.
- Gently stretch the calf. Many people find it easiest to sit with the leg straight and pull the toes toward the shin, or to lean toward a wall with the foot flat on the floor.
- Rub the muscle with your hand, using firm, slow strokes.
- Note how long it lasted. The NHS says to see a doctor if cramps last longer than 10 minutes.
The NHS says painkillers do not help during a cramp because they take too long to work. Ask your provider which pain relief is right in pregnancy before taking anything.
Step by step: a calf stretch before bed
The NHS says regular calf stretching may help reduce cramps, although it may not stop them completely. It describes the exercise like this:
- Stand facing a wall and stretch out your arms until your hands can just touch it.
- Make sure you can stand up straight and that your feet are flat on the floor.
- Lean forward, pressing your hands against the wall, until you feel your calf muscles stretch. Hold for 2 or 3 seconds.
- Stand up straight again.
- Repeat a few times for 5 minutes, 3 times a day, with the last time just before bed.
- If the number of cramps goes down, you may only need to do it once or twice a day.
Your balance shifts as your belly grows, so keep a sturdy chair within reach. If the stretch makes you dizzy, stop and ask your provider.
Everyday habits that may help
None of these is a guaranteed cure, and the sources we read do not promise results. They are low-risk habits that fit what the NHS and ACOG say about cramps, restless legs and sleep.
- Move during the day. The NHS suggests exercise during the day for restless legs. Walking is the easy option, and our safe exercise during pregnancy guide explains how much and what to avoid. Skip hard exercise late at night, as the NHS advises for restless legs.
- Drink enough fluids. The NHS lists not drinking enough as a cause of leg cramps. If your provider has asked you to limit fluids, follow that advice.
- Warm up your legs before bed. The NHS suggests a warm bath or heat pads on the legs before bed for restless legs. Keep the water comfortably warm, not hot.
- Massage your calves. A few minutes of gentle rubbing is something the NHS lists for both cramps and restless legs. Use light to moderate pressure, and do not press hard or knead deeply into the calf, for a reason covered in the clot section below.
- Wear shoes that support your feet. This is common sense, not something the NHS or ACOG pages spell out. A low, supportive shoe with room for swelling beats a flimsy slipper.
- Lie on your side with pillows. A pillow between your knees and another under your belly keeps your legs from folding into awkward positions. Also a comfort tip, not a source claim. Our guide to back pain during pregnancy shows more pillow setups.
If your feet and ankles are puffy as well, see our guide to swollen feet and ankles in pregnancy. The NHS says to see a doctor if cramps come with numbness or swelling in your legs, so mention it at your next visit.
Magnesium and other supplements
Magnesium comes up in almost every pregnancy forum thread about cramps. We could not find magnesium or any other supplement recommended for leg cramps on the NHS or ACOG pages we read, so we are not going to tell you it works or that it does not. What we can say is the safe part: ask your provider before starting any supplement. Doses matter, and supplements can overlap with your prenatal vitamin.
What to avoid
- Do not start new medicines on your own, including quinine, over-the-counter sleep aids and restless legs medicines. The NHS says treatment depends on the cause and that a doctor examines you to find it.
- Do not take iron or any supplement just because you heard it helps restless legs. Ask for a check first.
Pregnancy leg cramps vs blood clot: the one thing not to miss
Almost every cramp is just a cramp. A small number of leg pains are a deep vein thrombosis (DVT), a blood clot in a deep vein. ACOG says pregnancy and the 4 to 6 weeks after giving birth raise the risk. A clot can be dangerous because a piece can break off and travel to the lungs. ACOG says nearly 1 in 3 people who have DVT develop that lung clot, called a pulmonary embolism.
ACOG lists these signs of DVT in the ankle, calf or thigh:
- Warmth or tenderness
- Pain or sudden swelling
- Redness of the skin
- Constant pain in one leg while standing or walking
The pattern to watch for is one leg only, with swelling, redness or warmth, and pain that does not ease like a cramp does. A cramp comes in a wave and fades. A clot tends to stay. ACOG also notes that only about half of people with DVT have any signs, so do not wait for a perfect set of symptoms. If one calf looks or feels different from the other, call your provider the same day. If you cannot reach anyone, go to urgent care or the emergency room.
ACOG also lists calf pain or swelling among the warning signs to stop exercising and call your ob-gyn.
Go to the emergency room or call emergency services if you have
ACOG says that a clot reaching the lungs can be life-threatening and that if you have any of these signs you should contact your health care professional or go to the emergency room:
- Sudden shortness of breath
- Sharp chest pain, or a burning, aching or dull heavy feeling in the chest
- Pain in the ribs when breathing
- A sudden cough, which may produce blood
- Rapid breathing or a rapid heart rate
Do not drive yourself if you are struggling to breathe. Call for emergency help.
A realistic scenario
Picture a woman at 31 weeks. For two weeks her left calf has locked up around 2 a.m. She hops out of bed, hobbles to the kitchen, and lies awake for an hour afterward. By day she sits at a desk for six hours, and she has been skipping her evening walk because she is tired.
She keeps a water bottle at her desk, walks after dinner, does the wall stretch just before bed, and puts a pillow between her knees. The cramps do not vanish, but they come less often.
Then one afternoon her right calf aches, looks puffy, and feels warm. It does not feel like her cramps, and it is only one leg. She calls her provider that day and is told to come in. That is the right call whatever the result. Checking is the point.
Common mistakes
- Assuming every leg pain is a cramp. One-sided swelling, warmth or redness is not a normal cramp.
- Waiting until the morning with a swollen, red calf. Same-day care is the safer choice.
- Buying supplements first and asking later. Ask your provider before any supplement.
Myths vs. facts
Myth: Leg cramps mean you are doing something wrong. Fact: The NHS says cramps are common and usually harmless, and that pregnancy is one of the things that can cause them.
Myth: Restless legs is just a bad habit. Fact: ACOG describes it as a disorder of the nervous system, and the NHS links it to iron and dopamine levels. It deserves a conversation if it is costing you sleep.
Myth: A clot always looks dramatic. Fact: ACOG says only about half of people with DVT have any signs or symptoms. Report anything unusual in one leg.
Sleep tips for sore, restless legs
Do your wall stretch and a warm bath before bed, keep a steady bedtime, and keep the room dark and quiet. Skip caffeine after midday and big late meals. If the urge to move hits, get up and walk or rub your legs, then read or do a puzzle, as the NHS suggests. Lie on your side with a pillow between your knees.
After the baby arrives
For restless legs, the NHS says pregnancy-linked symptoms usually go away after giving birth. We did not find a source that gives a timeline for leg cramps afterward, so if they continue, mention it at your postpartum check. The clot warning also does not end at delivery. ACOG counts the 4 to 6 weeks after birth as a higher risk time, so keep treating one swollen, warm, painful calf as a same-day problem. Chest pain or sudden shortness of breath after birth also needs emergency care.
When to get help
Contact your provider the same day if you notice any of the following. Call emergency services for the lung symptoms listed above.
- Swelling, redness, warmth or constant pain in one leg, especially the calf
- Cramps lasting longer than 10 minutes, as the NHS advises
- Numbness or swelling in your legs
- Leg symptoms that keep you from sleeping or are hurting your mood
- Restless legs that do not improve at home (ask about an iron check)
- Calf pain or swelling while you are exercising
You can read the source pages yourself: the NHS leg cramps page and ACOG's Preventing Deep Vein Thrombosis FAQ.
Frequently asked questions
Are leg cramps during pregnancy normal?
Yes. The NHS says leg cramps are common and usually harmless, and it lists pregnancy, usually in the later stage, as one possible cause. See a doctor if they disturb your sleep, last longer than 10 minutes, or come with numbness or swelling in your legs.
How can I stop calf cramps at night when pregnant?
The NHS suggests regular calf stretches, 3 times a day with the last just before bed, though they may not stop cramps completely. Walking during the day, drinking enough fluids, a warm bath and side-lying with pillows are low-risk habits to try. During a cramp, stand on the leg or gently stretch and massage it.
What is the difference between leg cramps and restless legs in pregnancy?
A cramp is a sudden tight pain in a muscle, usually the calf. Restless legs is a strong urge to move your legs, often with tingling or crawling feelings, usually worse at night and when resting. The NHS and ACOG say moving or stretching the legs tends to help restless legs.
Are restless legs in pregnancy linked to low iron?
They can be. The NHS says restless legs is thought to be linked to iron and dopamine levels, and ACOG lists iron deficiency as a risk factor. Ask your provider to check your iron instead of starting a supplement on your own.
How do I know if a leg cramp is a blood clot?
A clot often affects one leg, with swelling, redness, warmth, tenderness or constant pain that does not fade like a cramp. ACOG says only about half of people with DVT have symptoms, so call your provider the same day about a calf that looks or feels different. Sudden breathlessness or chest pain needs emergency care.
Should I take magnesium for pregnancy leg cramps?
Ask your provider before starting any supplement, magnesium included. We did not find magnesium recommended for leg cramps on the NHS or ACOG pages we read, so we cannot promise that it works.



