Leg cramps 


If you have leg cramps, the muscles in your leg will suddenly become tight and painful 

Who is affected by leg cramps?

It is difficult to estimate exactly how common leg cramps are because most people do not report their symptoms to their GP.

Two groups of people particularly affected by leg cramps are:

  • adults over 60 – it is thought that a third of people over 60 experience leg cramps; about 40% of these have three or more cramps a week
  • pregnant women – about a third of pregnant women have leg cramps, usually during the last trimester of pregnancy (week 27 to the birth)

However, people of all ages, including children, have reported having leg cramps. Both men and women are equally affected.

Pregnancy and baby

All you need to know about pregnancy, birth and looking after a baby, including feeding and trying to get pregnant

Leg cramps are a common and usually harmless condition where the muscles in your leg suddenly become tight and painful.

It usually occurs in the calf muscles, although it can affect any part of your leg, including your feet and thighs.

After the cramping has passed, you may have pain and tenderness in your leg for several hours.

Three out of four cases occur at night during sleep.

Read more about the symptoms of leg cramps.

What causes leg cramps?

Leg cramps can occur for no apparent reason, known as idiopathic leg cramps, or as a symptom or complication of a health condition, known as secondary leg cramps.

Causes of secondary leg cramps can include:

During a cramp, your muscles suddenly contract (shorten), causing pain in your leg. This is known as a spasm, and you cannot control the affected muscle.

The cramp can last from a few seconds to 10 minutes. When the spasm passes, you will be able to control the affected muscle again.

Read more about the causes of leg cramps.

When to see your GP

Speak to your GP if your leg cramps are affecting your quality of life; for example, if you have frequent leg cramps or they are interfering with your sleep.

Your GP will ask about your symptoms and examine your legs and feet. They may also ask if you have other symptoms, such as numbness or swelling, which may be a sign that you have secondary leg cramps caused by an underlying condition.

In this case, you may need further tests, such as blood tests and urine tests, to rule out other conditions.  

Treating leg cramps

Most cases of leg cramps can be relieved by exercising the affected muscles. Exercising your legs during the day will often help reduce how often you get cramping episodes.


To stretch your calf muscles, stand with the front half of your feet on a step, with your heels hanging off the edge. Slowly lower your heels so that they are below the level of the step. Hold for a few seconds before lifting your heels back up to the starting position. Repeat a number of times.

Medication is usually only needed in the most persistent cases where cramping does not respond to exercise.

If you have secondary leg cramps, treating the underlying cause may help relieve your symptoms.

Leg cramps that occur during pregnancy should pass after the baby is born.

Treating cramps that occur as a result of serious liver disease can be more difficult. Your treatment plan may include using medications such as muscle relaxants.

Read more about treating leg cramps

Preventing leg cramps

If you often get leg cramps, regularly stretching the muscles in your lower legs may help prevent the cramps or reduce their frequency.

You might find it useful to stretch your calves before you go to bed each night (see stretching advice above or try this post-exercise calf stretch).

The following night-time advice may also help:

  • If you lie on your back, make sure that your toes point upwards placing a pillow on its side at the end of your bed, with the soles of your feet propped up against it may help keep your feet in the right position. 
  • If you lie on your front, hang your feet over the end of the bed – this will keep your feet in a relaxed position and help stop the muscles in your calves from contracting and tensing.
  • Keep your sheets and blankets loose.

Page last reviewed: 11/09/2014

Next review due: 11/09/2016


How helpful is this page?

Average rating

Based on 916 ratings

All ratings

Add your rating


The 4 comments posted are personal views. Any information they give has not been checked and may not be accurate.

fatherxmas said on 29 October 2014

Helpful, thank you.
I did not realize that my low level statins could be involved in this. Might be worth mentioning the 10% increase in exercise rule too.

Report this content as offensive or unsuitable

raza1zaidi1 said on 22 August 2014

IV had this Cramp pain for about 8 months now and its constant, there is great pain when i walk, sit, to stand and even lay down, but the only time I dont feel this pain is when i lay down on my back. and this pain is all over my right leg, its not at any particular spot rather it is all over from the toes till my lower back. now its started in my back as well , is there something i can do as iv tried medicine that was given to me by GP it didnt help much, and after tht the medicines dont help.
needing for any reply tht would help

Report this content as offensive or unsuitable

Poolewe said on 09 July 2014

Excellent information. I had my hip replaced 8 months ago and I do tend to still sleep on my back a lot, so angle of foot and tight sheet could be the cause, will now leave sheet loose and support feet. Hope this works, thank you for giving me something to try.

Report this content as offensive or unsuitable

John Edgeller said on 20 April 2013

Got leg cramps again tonight three times in different muscles. Googled "leg cramp night cause" this site/page came up on first screen of hits. Read it and found under the list of possible causes Liver Disease. I was diagnosed with Hepatitis C six months ago. Brilliant!!! I found the cause and will speak to my liver doctors.

Top marks for this site. Whoever "designed" this page deserves a big-up. Thank you, your work has helped someone in pain. When looking for medical information on the net I always check to see if NHS is in the site address. I think you folks give the best,most trustworthy advice.

Report this content as offensive or unsuitable

How to stretch after a run

Stretching exercises to do after a run to gradually cool down and improve your flexibility

Men's health 60-plus

Healthy lifestyle information for men aged 60 and over

Women's health 60-plus

Healthy lifestyle information and advice for women aged 60 and over