Leg cramps are very common and usually harmless. They can happen at any time, but most people have them at night or when resting.
Check if it's leg cramps
Leg cramps happen when a muscle suddenly shortens and becomes tight (spasms).
They can be very painful and make it hard for you to move. The cramps can last from a few seconds to 10 minutes.
They can affect the:
- calf muscle, below the knee at the back of the leg
- muscles in the feet or the thighs (less often)
After the cramp has stopped, the muscle might feel tender for up to 24 hours.
Things you can do yourself
During a cramp
Most cramps go away without you doing anything, but stretching and massaging the muscle can help to ease the pain.
Paracetamol or ibuprofen won't help when cramp is happening as they take too long to work. They can help to ease muscle tenderness afterwards.
Regular calf-stretching exercises might not completely prevent cramps, but may help to reduce them.
How to stretch calf muscles
See a GP if:
- leg cramps are disturbing your sleep
- you also have numbness or swelling in your legs
Ask for an urgent appointment if you have cramps and:
- they last longer than 10 minutes
- there's a chance you might have got a tetanus infection from a wound
Treatment for leg cramps
Your GP will examine you to try to find out the reason for your cramps.
They'll suggest a treatment depending on the cause.
This might be:
- stretching exercises
- quinine tablets if your cramps are very bad and exercise hasn't helped
Quinine isn't suitable for everyone. Your GP will discuss potential risks and side effects with you.
Causes of leg cramps
Cramps can sometimes be caused by:
- exercise – putting too much strain on muscles
- pregnancy – usually in the later stage
- medication for lowering cholesterol (statins) or high blood pressure (diuretics)
- not drinking enough fluid (dehydration)
- liver disease – because of too much alcohol
The reason for some cramps is unknown.
Page last reviewed: 16/11/2017
Next review due: 16/11/2020