Pregnancy Leg Cramps Relief: What Works Fast and at Night
14 min read

The fastest relief for a pregnancy leg cramp is to straighten your knee, gently pull your toes up toward your shin, and rub the calf firmly until it lets go. Most cramps ease within minutes, and a short stretching routine before bed is the best-supported way to make them less frequent. A cramp that comes with a red, warm, swollen leg is different and needs a call to your provider the same day. Below you will find what to do in the moment, what may help at night, and how to tell the two situations apart.
If you woke up at 2 a.m. clutching your calf, you are in very large company. A sudden, tight knot in the leg can feel alarming, especially in a first pregnancy, but it is one of the most common small discomforts of the second and third trimesters.
TL;DR
- During a cramp: straighten the leg, pull your toes up toward your shin, and rub the muscle firmly. Standing and putting weight on the leg helps too.
- To prevent night cramps: stretch your calves before bed, drink enough fluids, stay gently active, and wear supportive shoes.
- Calcium and magnesium: the evidence for magnesium is mixed, so talk to your doctor or midwife before taking any supplement.
- Call your provider promptly if one leg is red, hot, swollen or painful to stand on. That is not a typical cramp.
- Cramps are common, but patterns matter: logging when they happen gives you something useful to share at your next appointment.
Table of Contents
- What a pregnancy leg cramp feels like
- Why pregnancy brings leg cramps
- What to do the moment a cramp hits
- A bedtime routine that may make night cramps less frequent
- Calcium, magnesium and other supplements
- When a sore leg is not a cramp
- Making sense of your own pattern
- Bringing cramps to your prenatal appointment
- Your calm, prepared next step
- Our perspective
- FAQ
- Sources
What a pregnancy leg cramp feels like
Mayo Clinic describes a leg cramp as a painful muscle contraction that usually affects the calf, the foot or both. You may feel a sudden hard knot, a pulling in your foot, or your toes curling without your control. Ireland’s Health Service Executive (HSE) notes that these spasms can last up to 10 minutes and that the muscle can stay sore for up to 24 hours afterward. That lingering soreness is normal and does not mean something went wrong.
When they tend to happen
Cramps are common in pregnancy and often strike at night, mostly in the second and third trimesters, according to the same Mayo Clinic page. Australia’s Pregnancy, Birth and Baby service, a government-funded health information service, says leg cramps affect up to 3 in 10 pregnant people and are most common in the calf, though thighs and feet can cramp too.
If you are around the middle of pregnancy, you may start noticing them from about week 23 or week 27. Many people find them most frequent in the last weeks, around week 33 and beyond.
Why pregnancy brings leg cramps
The honest answer is that nobody is certain. The HSE says there is no single specific cause, but possible reasons include changes to your blood circulation and tired leg muscles. Pregnancy, Birth and Baby lists likely contributors as extra weight gain, pressure on nerves, reduced blood flow to the muscles and vitamin deficiency, and adds that doctors do not fully understand why cramps occur.
In plain terms, your body is carrying more weight, your circulation is working harder, and your legs are on their feet all day. A cramp is often the muscle’s way of saying it is tired. That is a reassuring way to think of it: in most cases a cramp is a nuisance, not a warning.
What to do the moment a cramp hits
These steps come from the public health guidance in several countries, and they agree closely. Try them in this order:
- Straighten your leg and pull your toes up. The HSE suggests gently pulling your toes upward with the knee straight for a deeper stretch. Pregnancy, Birth and Baby says to pull them hard up toward the front of your ankle.
- Rub the muscle firmly. Both sources recommend firm rubbing. A partner can do it for you if you cannot reach.
- Stand up and put weight on the leg. The UK’s NHS advises standing and pressing your weight onto the affected leg. Walking around for a minute can help the muscle release.
- Add warmth. A heat pack is one option from Pregnancy, Birth and Baby. Mayo Clinic mentions a hot shower, a warm bath or an ice massage, so use whichever feels better to you.
- Rest with your legs raised afterward. Mayo Clinic suggests walking and then sitting with your legs up to help keep the cramp from returning.
What about pain relief afterward?
If the calf stays sore, Pregnancy, Birth and Baby says paracetamol can be taken for the lingering soreness. Paracetamol is called acetaminophen in the US. Check with your doctor or midwife about which pain reliever and dose are right for you. The NHS also points out that pain relievers do not help during the cramp itself because they take too long to work, so stretching is your tool in the moment.
A bedtime routine that may make night cramps less frequent
Pregnancy, Birth and Baby is straightforward that there is no way to completely prevent cramps. Still, several habits are recommended by more than one health body, and they cost nothing.
Stretch your calves before bed
Mayo Clinic recommends calf stretches before bed, holding about 30 seconds per leg. The NHS gives a specific routine: stand facing a wall at arm’s length with your feet flat, lean forward until you feel the calf stretch, and hold for 2 to 3 seconds. The NHS suggests repeating this for 5 minutes, three times a day, with the last round just before bed. If cramps ease, once or twice a day may be enough.

Pregnancy, Birth and Baby adds one detail worth remembering: avoid stretching your leg with your toes pointed, since that position can bring a cramp on.
Drink enough, and keep moving
Mayo Clinic recommends drinking plenty of fluids and offers an easy check: your urine should be clear or light yellow. It also suggests staying active, after you have checked with your healthcare professional that your activity level suits your pregnancy. A short walk in the evening is a gentle option.
Wear shoes that support you
Mayo Clinic recommends comfortable, supportive shoes with a firm heel counter, which is the stiff part that cups the back of your heel. If your feet and calves are tired by afternoon, this is worth a look.
Warm up before sleep
A warm bath before bed is another suggestion from Pregnancy, Birth and Baby. Raising your legs on a pillow while you rest may also help your circulation.
A quick plan you can use tonight
| When | What to do | Why it helps |
|---|---|---|
| Evening | Short walk, then a glass of water | Keeps circulation moving and fluids up |
| 30 minutes before bed | Wall calf stretch, about 30 seconds per leg | Recommended by Mayo Clinic and the NHS |
| Bedtime | Warm bath or shower, legs raised | Relaxes tired muscles |
| During a cramp | Toes up, knee straight, rub firmly, stand | Eases the spasm in minutes |
Calcium, magnesium and other supplements
This is the question many pregnant people ask first, and it deserves a careful answer.
Calcium. Mayo Clinic recommends getting 1,000 mg of calcium a day if you are pregnant or could become pregnant. Your prenatal vitamin and your diet both count toward that, so ask your provider how much you are getting from each.
Magnesium. The research is mixed. Mayo Clinic says the evidence on magnesium is mixed and advises talking with a healthcare professional before taking a supplement. Pregnancy, Birth and Baby says there is no clear evidence that magnesium or calcium supplements work for cramps and recommends speaking to your doctor or midwife first. A 2024 study in Jordan on third-trimester cramps noted that earlier findings on magnesium and calcium conflicted.
The American Family Physician journal reviewed the trials in 2023. It reports that magnesium given for short courses of under 60 days is not recommended for nighttime or pregnancy-related cramps. It also notes that the pregnancy trials were small and gave inconsistent results, and that the most common side effect of magnesium was digestive upset such as diarrhea.
The practical takeaway: bring supplement questions to your prenatal visit rather than starting something on your own. Your provider knows your diet, your vitamins and your medical history.

When a sore leg is not a cramp
Most leg pain in pregnancy is harmless. A small number of cases are a blood clot in a deep leg vein, called deep vein thrombosis (DVT). It is uncommon: the Royal College of Obstetricians and Gynaecologists says it affects only 1 to 2 in 1,000 women during pregnancy or the first 6 weeks after birth. But because it can be serious, it is worth knowing the signs.
Contact your doctor or midwife right away if you notice:
- A leg that is red, hot and swollen, or swelling in all or part of one leg
- Heaviness, pain or tenderness in the leg, especially when you stand or walk
- Pain and swelling in one leg but not the other, which MedlinePlus lists as a possible sign of a blood clot
- Leg pain that does not go away, especially with swelling, as HealthLink BC advises
The HSE advises an urgent GP appointment or a call to your maternity hospital if your leg is red and swollen. The RCOG adds that sudden unexplained trouble breathing, chest tightness or pain, coughing up blood, or feeling very unwell or collapsing needs emergency help immediately. In the US, call 911.
MedlinePlus also says to have a provider check any numbness, tingling or weakness that persists in an arm or leg. Cramps come and go, and they feel like a tight muscle. A clot tends to feel like a constant ache, usually in one leg, with swelling or warmth.
Making sense of your own pattern
One cramp tells you very little. A few weeks of notes tell you a lot. Was it after a long day on your feet? Did it come on a day you drank less water? Did you skip your evening stretch? Which leg was it?
This is where a tracker earns its place. In Solesia, you can log symptoms as they happen, and you can ask a question in your own words at any hour, such as whether three cramps in a week is usual for your stage. Answers draw on official medical guidance and show the reason behind them. Because the app follows your week of pregnancy, you can also see what is typical for the stage you are in, whether that is week 18 or week 31.
If you are also dealing with heartburn at night, you are not alone. Both tend to arrive with the later months, and our guide to pregnancy heartburn relief covers what is safe and when to call.
Bringing cramps to your prenatal appointment
It is easy to forget the details when you are in the exam room. Before a visit, jot down:
- How often cramps happen and at what time of day
- How long they last and how sore the muscle is afterward
- What you have already tried, including any vitamins or supplements
- Any swelling, redness, warmth or one-sided pain, even if it passed
- Your questions about calcium, magnesium or exercise
Solesia builds a one-page summary for each appointment from your questions and logged symptoms, so these points are already together when you sit down.
Your calm, prepared next step
You do not need to wait for cramps to get worse before you have support. Solesia is a week-by-week pregnancy tracker that shows your baby’s development and how your body is changing, lets you log symptoms, checks foods and barcodes, and prepares you for appointments. You can get started on the Solesia Pro plan, or explore the week-by-week guide first.

If you are still working out where you are in pregnancy, the due date calculator gives you your week in a few seconds.
Our perspective
Most of what worries expectant parents is not the symptom itself, it is the silence around it. A cramp at 2 a.m. feels enormous when you have no one to ask and a search page full of worst-case results.
We built Solesia so that your questions get an answer grounded in official medical guidance, with the reason shown, at any hour. We also believe the answer should fit your pregnancy, your week and your own history, not an average one.
That is why we keep symptom logging, food checks and appointment summaries in one calm, private place. A cramp pattern you have written down is a conversation you can have with confidence at your next visit.
Roman
FAQ
Are leg cramps in early pregnancy normal?
Leg cramps are most common in the second and third trimesters, according to Mayo Clinic and the HSE. If you feel cramping in your legs earlier, it may still be an ordinary muscle cramp, but mention it at your next appointment. Pain in one leg with swelling or redness at any stage should be checked right away.
Do leg cramps hurt the baby?
A cramp is a muscle spasm in your leg, and the health bodies cited here describe it as a common discomfort of pregnancy rather than a danger. The reason to take note is the other kind of leg pain: a swollen, red, warm or tender leg should be assessed promptly by your provider.
Does drinking more water stop cramps?
Mayo Clinic recommends drinking plenty of fluids and suggests clear or light yellow urine as a guide. Pregnancy, Birth and Baby also lists drinking plenty of water among its tips. It may help, though no habit is guaranteed to stop every cramp.
Should I take magnesium for leg cramps in pregnancy?
Ask your doctor or midwife first. Mayo Clinic describes the evidence as mixed, and Pregnancy, Birth and Baby recommends speaking with a provider before taking calcium or magnesium supplements. Your provider can look at your prenatal vitamin, your diet and your history together.
When should I call about a leg cramp?
Call your doctor or midwife if the leg is red, hot, swollen or tender, if the pain is in one leg and does not go away, or if cramps are frequent enough to disrupt your sleep. Seek emergency help for sudden breathing trouble or chest pain.
Sources
- Leg cramps during pregnancy: Preventable? - Mayo Clinic
- Leg cramps during pregnancy - Pregnancy, Birth and Baby
- Leg cramps in pregnancy: causes, prevention and treatments - HSE
- Leg cramps - NHS
- Prevalence and Predictors of Leg Cramps in the Third Trimester - PMC
- Does Magnesium Supplementation Treat Nocturnal Leg Cramps? - American Family Physician
- Diagnosis and treatment of venous thrombosis in pregnancy and after birth - RCOG
- Aches and pains during pregnancy - MedlinePlus
- Leg Cramps During Pregnancy - HealthLink BC