Guide for patients & caregivers

Night Leg Cramps: Why Do They Happen and What Helps?

Night leg cramps in adults: what helps during and after a cramp, which medicines are linked to cramps, and the DVT, frequency and weakness signs to get checked.

By SameCase EditorialUpdated 6 min read

Prepared with AI assistance and checked against the cited sources. No independent clinician review has been completed. How we prepare articles

What are night leg cramps?

Night leg cramps happen when a leg muscle suddenly tightens, causing sharp pain that can make it hard to move. The NHS says they are common and usually harmless. Most people get them at night or while resting. A cramp lasts from a few seconds to about 10 minutes, and the muscle may feel sore for up to 24 hours afterwards.

They usually affect the calf. The feet or thighs are affected less often. Cleveland Clinic says night cramps are more common with age and during pregnancy. This guide is for adults. It explains the usual causes and when to get checked, but it cannot tell you the cause of your own cramps.

When should leg pain at night be checked urgently?

A cramp comes on suddenly and eases within minutes. Pain that stays, with swelling in one leg, is different. The NHS says deep vein thrombosis (DVT), a blood clot usually in a leg vein, can cause throbbing pain in one leg (rarely both), usually in the calf or thigh. It can also cause swelling, red, blue or darkened skin around the painful area (harder to see on brown or black skin), and swollen veins.

If you think you have DVT, the NHS advises asking for an urgent GP appointment or getting help from NHS 111. If you have DVT symptoms and also feel short of breath or have chest pain, call 999 or go to A&E, because a clot may have travelled to the lungs. Outside the UK, use your local urgent or emergency services. Cleveland Clinic advises emergency care for a cramp that lasts longer than 10 minutes or becomes unbearably painful.

What helps during a leg cramp at night?

The NHS says stretching and massaging the muscle may ease the pain, although most cramps stop on their own. Standing up and putting your weight on the leg with the cramp may also help. For a calf cramp, Cleveland Clinic suggests straightening the leg and pulling your toes up towards your shin. It also mentions walking around, warmth, or an ice pack wrapped in a towel.

The NHS notes that ordinary painkillers such as paracetamol or ibuprofen can ease soreness after a cramp. They do not help while the cramp is happening, because they take too long to work. Check with a pharmacist which painkiller is suitable for you, especially if you have other health conditions or take other medicines.

How can I stop leg cramps at night?

The NHS says regular calf-stretching exercises may reduce cramps, but may not stop them completely. It describes standing facing a wall, leaning forward with your hands on the wall and feet flat until you feel the calves stretch, and repeating this through the day, with the last stretch just before bed.

MedlinePlus suggests stretching your leg muscles before bed if you often get night cramps, and drinking enough fluids. Cleveland Clinic suggests gentle activity during the day, supportive shoes, and trying different sleeping positions. If self-help is not enough, the NHS says a GP will look for a cause. Treatment depends on what they find. It may be stretching exercises or, if exercise has not helped, quinine tablets, which the NHS says are not suitable for everyone. The GP will discuss the risks and side effects.

What causes night leg cramps, and is it restless legs instead?

Often no cause is found. The NHS lists ageing, straining muscles during exercise (worse in hot or humid weather), pregnancy (usually later on), dehydration and liver disease from drinking too much alcohol. MedlinePlus adds pressure on nerves, low levels of electrolytes such as magnesium, potassium or calcium, poor blood flow to the muscles, and dialysis.

Cleveland Clinic says long periods of sitting, overused muscles, standing on concrete floors and poor posture may play a part. It says cramps can sometimes be linked to conditions such as kidney failure, diabetic nerve damage, peripheral artery disease, low potassium, liver cirrhosis, heart failure, Parkinson's disease or other nerve and muscle conditions.

Cleveland Clinic explains that restless legs syndrome also tends to happen at night or at rest. However, it causes an uncomfortable crawling feeling and an urge to move rather than severe pain, and moving the legs relieves it. If that sounds more familiar, see our guide on restless legs with normal iron. Twitching during sleep that a partner notices may be a different condition, periodic limb movements.

Can medicines cause leg cramps?

Yes, some can. The NHS names medicines for lowering cholesterol (statins) and some medicines for high blood pressure (diuretics). Cleveland Clinic's list also includes certain antidepressants (sertraline, fluoxetine), gabapentin, pregabalin, clonazepam, zolpidem, the painkillers naproxen and celecoxib, conjugated oestrogens and a combination asthma inhaler (albuterol with ipratropium). It notes that some cancer treatments can damage nerves in a way that causes cramps.

Having one of these medicines does not prove it is causing your cramps. Do not stop or change a prescribed medicine without talking to the prescriber. Tell your GP or pharmacist when the cramps started and what medicines and supplements you take. They can weigh the benefits and side effects, and Cleveland Clinic notes a different medicine may sometimes be an option.

When should I see a GP about leg cramps?

The NHS and MedlinePlus advise seeing a GP or other health professional if:

  • Cramps are disturbing your sleep or happening often.
  • A cramp lasts longer than 10 minutes, or the cramps are severe.
  • You also have numbness or swelling in your legs.
  • There is redness or warmth, or muscle weakness (MedlinePlus).
  • Cramps do not improve with stretching and drinking enough fluids.
  • You have cramps in other parts of the body or changes to the skin of your leg (Cleveland Clinic).

Questions to ask your GP about night leg cramps

Write down how often the cramps happen, how long they last and anything that seems to trigger them. Then ask:

  • Could any of my medicines or supplements be contributing, and what are the options?
  • Do I need blood or urine tests to look for an underlying cause?
  • Can you show me the stretches that are most likely to help?
  • Which symptoms, such as one-sided leg swelling, should make me seek urgent care?
  • When should I come back if the cramps continue?

How comparing similar cases on SameCase can help

On SameCase, patients and verified doctors share de-identified cases. Reading how other people described their night cramps, the questions they asked and the checks their clinicians considered can help you prepare for your own appointment. Other cases cannot tell you the cause of your cramps or replace an examination.

Sources and further reading

For patients & caregivers

Share your case and learn from others

Learn from doctors and other people's cases to find a way forward with your health problem. New cases are public immediately. Don't add names or identifying details.

Keep learning