What causes leg cramps during pregnancy, and can they be prevented?
Answer From Mary Marnach, M.D.
Leg cramps — painful involuntary muscle contractions that typically affect the calf, foot or both — are common during pregnancy, often striking at night during the second and third trimesters.
While the exact cause of leg cramps during pregnancy isn't clear, you can take steps to prevent them. For example:
- Stretch your calf muscles. Although evidence is lacking, stretching before bed might help prevent leg cramps during pregnancy. Stand at arm's length from a wall, place your hands on the wall in front of you and move your right foot behind your left foot. Slowly bend your left leg forward, keeping your right knee straight and your right heel on the floor. Hold the stretch for about 30 seconds, being careful to keep your back straight and your hips forward. Don't rotate your feet inward or outward. Switch legs and repeat.
- Stay active. Regular physical activity might help prevent leg cramps during pregnancy. Before you begin an exercise program, make sure you have your health care provider's OK.
- Take a magnesium supplement. Limited research suggests that taking a magnesium supplement might help prevent leg cramps during pregnancy. Make sure you have your health care provider's OK to take a supplement. You might also consider eating more magnesium-rich foods, such as whole grains, beans, dried fruits, nuts and seeds.
- Stay hydrated. Keeping your muscles hydrated might help prevent cramps. Your urine should be relatively clear or light yellow in color if you are properly hydrated. If your urine is darker yellow, it might mean that you're not getting enough water.
- Get adequate calcium. Some research suggests reduced levels of calcium in your blood during pregnancy may contribute to leg cramps. All women, including pregnant women, should get 1,000 milligrams of calcium a day.
- Choose proper footwear. Choose shoes with comfort, support and utility in mind. It might help to wear shoes with a firm heel counter — the part of the shoe that surrounds the heel and helps lock the foot into the shoe.
If a leg cramp strikes, stretch the calf muscle on the affected side. Walking and then elevating your legs might help keep the leg cramp from returning. A hot shower, warm bath, ice massage or muscle massage also might help.
April 23, 2021
Get the latest health advice from Mayo Clinic delivered
to your inbox.
Sign up for free, and stay up-to-date on research
advancements, health tips and current health topics,
like COVID-19, plus expert advice on managing your health.
ErrorEmail field is required
ErrorInclude a valid email address
To provide you with the most relevant and helpful information and to understand which
is beneficial, we may combine your e-mail and website usage information with other
information we have about you. If you are a Mayo Clinic Patient,
this could include Protected Health Information (PHI). If we combine this information
with your PHI, we will treat all of that information as PHI,
and will only use or disclose that information as set forth in our notice of privacy
practices. You may opt-out of e-mail communications
at any time by clicking on the Unsubscribe link in the e-mail.
Thank you for Subscribing
Our Housecall e-newsletter will keep you up-to-date
on the latest health information.
We’re sorry! Our system isn’t working. Please try again.
Something went wrong on our side, please try again.
See more Expert Answers
- Bermas BL. Maternal adaptations to pregnancy: Musculoskeletal changes and pain. https://www.uptodate.com/contents/search. Accessed May 7, 2019.
- Artal R. Exercise during pregnancy and the postpartum period. https://www.uptodate.com/contents/search. Accessed May 7, 2019.
- Madden CC, et al., eds. Exercise in the heat and heat illness. In: Netter's Sports Medicine. 2nd ed. Philadelphia, Pa.: Elsevier; 2018. https://www.clinicalkey.com. Accessed May 9, 2019.
- DeCherney AH, et al. Normal pregnancy and prenatal care. In: Current Diagnosis & Treatment: Obstetrics & Gynecology. 11th ed. New York, N.Y.: McGraw-Hill Education; 2013. https://accessmedicine.mhmedical.com. Accessed May 9, 2019.
- Schwalfenberg GK, et al. The importance of magnesium in clinical healthcare. Scientifica. 2017;2017. https://www.hindawi.com/journals/scientifica/2017/4179326/. Accessed May 9, 2019.
- Magnesium. Natural Medicines. https://naturalmedicines.therapeuticresearch.com. Accessed May 9, 2019.
- What the color of your urine means. The National Kidney Foundation. https://www.kidney.org/atoz/content/what-color-your-urine-means. Accessed May 9, 2019.
- Marnach ML (expert opinion). Mayo Clinic. Rochester, Minn. June 6, 2019.
- Frequently asked questions. Pregnancy FAQ001. Nutrition during pregnancy. American College of Obstetricians and Gynecologists. https://www.acog.org/Patients/FAQs/Nutrition-During-Pregnancy?IsMobileSet=false. Accessed June 6, 2019.