Guides

Leg Cramps at Night: What Helps in the Moment and Before Bed

Why leg cramps at night grab the calf or foot, what to do while one is gripping, and the small bedtime movements and loose covers that may make them rarer.

6 minute read· beginner
leg crampsnight crampscalf crampssleepgentle movement

In short

Leg cramps at night are common, usually harmless, and often have no clear cause. When one grips, draw your toes toward you, rub the calf, then stand and walk. Before bed, a gentle calf stretch, small foot movements, and loose covers may make them less frequent.

Prefer to ease in gently?

See a few gentle exercises for stress and sleep to try.

Before you begin. This page is general information, not medical advice. See a doctor if a cramp lasts more than 10 minutes, if cramps keep returning and breaking your sleep, or if they come with numbness or weakness. One calf that is swollen, red, warm or tender needs urgent care, as it could be a clot.


Leg cramps at night are common, they are usually harmless, and most of the time nobody can say exactly why they happen. The calf is the usual place, sometimes the sole of the foot or the toes. If one has just woken you, you know the feeling: a muscle that locks hard and will not let go, and a pain sharp enough to make you afraid to move. One woman on a forum wrote that after a few rough nights she hardly dared move in bed. That fear is understandable, and it is also the first thing worth loosening, because gentle movement is what ends a cramp.

What a cramp actually is

A cramp is a muscle contracting on its own, hard, and refusing to let go. Normally a muscle tightens when you ask and softens when you stop asking. In a cramp the signal to soften does not arrive, so the calf bunches into a knot you can often feel under your hand. One cramp can be gone in seconds, or it can grip for as long as 10 minutes (NHS, 2023). Afterwards the muscle may feel bruised for a day, which is normal and fades by itself.

Night cramps like a pointed foot. On your back under a heavy duvet, or on your front, the toes get pushed downward. That shortens the calf, and a shortened calf cramps most easily. It is one reason cramps favour the night, and why loose covers help.

Why leg cramps at night happen

Often there is no clear cause at all, though a few patterns are well known. Cramps become more common as we get older. They are common in pregnancy, especially in the later months. A day with more walking, running or standing than usual can set them off, and so can being short of fluid in hot weather.

Some medicines can play a part too. Statins, taken for cholesterol, and diuretics, the water tablets used for blood pressure or swelling, both list cramps as a possible side effect. If you started a new medicine and the cramps began around the same time, mention it to your doctor or pharmacist. Please do not stop a medicine on your own. There is usually a sensible adjustment.

Less often, cramps point to something else, such as a circulation or nerve problem, which is why the red flags lower down matter. Cramps also get mixed up with two neighbours: legs that ache, and legs that feel restless and need to move. Our explainer on why legs ache at night covers the first, and the Feldypedia entry on restless legs and nighttime discomfort lays out the second.

What to do when a leg cramp at night wakes you

The instinct is to freeze and wait. In practice, slow lengthening ends a cramp sooner. Here is the order I suggest.

Breathe out first. One long, slow exhale takes a little of the panic out of the moment, and a calmer body lets go more readily.

Draw the toes toward you. Pull the front of the foot up toward your shin so the heel reaches away, using the ankle alone or a hand looped around the ball of the foot. The calf is being asked to lengthen, the opposite of what the cramp wants. Keep the pull steady rather than sharp.

Rub the calf. Use the flat of your hand, or your thumbs, and stroke along the muscle from the ankle toward the knee. Firm, slow pressure helps many people.

Stand and walk. If the cramp has not eased after a few breaths, swing your legs out of bed, put your weight through the sore leg, and walk a few steps on the whole foot. Your own weight lengthens the calf, and few cramps hold out against that for long.

Afterwards, a hot water bottle on the calf can soften the bruised feeling. Then get back into bed with the covers loose over your feet, the first of the bedtime habits below.

Before bed: making leg cramps at night less likely

No habit guarantees a cramp free night, but three cheap, gentle ones often make a difference over a few weeks.

Loosen the covers. A tucked sheet or a heavy duvet presses the feet into a pointed position all night. Untuck the end of the bed, or lie on your side with the knees bent, so the ankle can rest easy, neither pointed nor pulled up. Some people put a pillow at the foot of the bed to lift the covers off the toes.

A calf stretch, slowly. Stand facing a wall with both hands on it and one foot stepped back, that heel resting on the floor. Lean in until the back calf begins to lengthen, hold for about 20 to 30 seconds while breathing normally, then change legs. Keep the feeling at a mild pull, never a strain. Once or twice before you turn in is enough.

Small movements in bed. This is where the Feldenkrais Method® has something particular to offer. Lying on your back, let one foot slowly flex and point, moving the ankle only a centimetre or two each way. Pause between each movement. Then circle the ankle lazily, as if the big toe were tracing a small coin in the air. Notice whether the calf stays soft while the foot moves, or whether it joins in and grips. The calf is learning that the foot can move without the whole leg bracing. A minute or two per leg is plenty.

For a guided version, our lesson on somatic exercises for sleep does this for the whole body, with slow movement and long exhales, in bed. For legs that twitch and need to move rather than cramp, the restless leg exercises lesson is built for that feeling.

Magnesium, quinine and the things people try

A search for leg cramps at night turns up plenty of confident advice, so a plain word on the two best known remedies. Magnesium is popular and safe for most people, but the evidence that it reduces cramps is weak, with the possible exception of pregnancy. Quinine does reduce cramps for some people, yet the NHS does not routinely recommend it, because its side effects can be serious and the benefit is modest. Pickle juice, tonic water and a bar of soap under the sheet have their fans and little evidence. The useful next step is a conversation. A doctor or pharmacist can tell you whether a supplement makes sense for you, and whether anything you already take could be part of the picture.

Alongside clinical care and other methods

Everything on this page sits alongside your doctor, never in place of them. If your GP or physiotherapist has given you stretches or a plan, keep to it. The small movements here fit around that work. The Feldy program for stress and sleep is movement education: it teaches the leg to let go, which is a different job from finding out why it grips.

Other movement approaches reach the same calf by different routes. Yoga holds the calf at length in poses such as downward dog, with steady breath. Pilates builds control through the foot and ankle with repeated, precise movement. Tai Chi shifts weight slowly from leg to leg, which many people find keeps the calves supple. Static stretching simply lengthens the muscle for a set time. Feldenkrais work is smaller and slower than all of these, and it is organised around attention rather than effort. Each is a fair choice. Pick the one you will actually do at ten in the evening.

When to see a doctor about night cramps

Most night cramps need no appointment. These do.

Go the same day, or call an urgent care line, if one calf is swollen, red, warm, or tender to press on, with or without a cramp. That combination can mean a blood clot, especially after a long journey, an operation, or a spell of bed rest. Breathlessness or chest pain alongside it is an emergency.

Book a routine appointment if a single cramp lasts longer than 10 minutes, if cramps keep returning and are spoiling your sleep most nights, or if they come with numbness, weakness or pins and needles in the leg. The same goes if the cramps started soon after a new medicine, or if they affect both legs and are getting steadily worse. Your doctor may check your circulation, run a blood test or review your prescriptions.

Find where to start

If you do only one thing tonight, untuck the covers and give each foot a slow minute of movement before you sleep. If the cramps keep coming, let a doctor take a look while you keep the bedtime habits going.

Unsure which movement method would suit your evenings? Take the 60 second Movement Match quiz. Tell it how your nights go and it suggests one movement method to explore.

For stress and sleep

A calmer body, easier nights

Understanding it is calming, moving with it more so. The Feldy program is meditation in movement, slow Feldenkrais® lessons that help a busy body settle so sleep can arrive on its own. Gentle, guided, and self-paced.

Start my free 7-day trial

No credit card needed.

Common Questions about leg cramps at night (FAQ)

What is the best stretch for leg cramps at night?

For a calf cramp, the most useful move is to pull the toes up toward your shin, either with your hand or by pressing the heel away from you. That lengthens the gripping muscle directly. Standing and putting weight through the leg does the same job. Go slowly, and keep breathing out.

What should I avoid when a leg cramp wakes me?

Avoid pointing the toes, since that shortens the calf and feeds the cramp. Avoid yanking the muscle hard or holding your breath, which both tend to make it grip tighter. And avoid lying frozen and waiting it out. Gentle lengthening usually ends a cramp sooner than stillness does.

How often should I do the bedtime movements?

Most nights, if you can. A minute or two of slow foot and ankle movement under the covers is light enough to repeat every evening, and the habit matters more than any single session. If you miss a night, nothing is lost.

How long until night leg cramps ease off?

Nobody can promise a timeline, because the cause is often unknown. Some people notice fewer cramps within a week or two of regular bedtime stretching and looser covers. Others find the pattern shifts more slowly, or that a medicine review is what changes things. Give it three or four weeks before you judge.

How is slow movement in bed different from a calf stretch?

A calf stretch holds the muscle at length for a set time, and it works well for many people. Slow movement in bed goes the other way: tiny, unhurried motions of the foot and ankle that let the calf discover how to lengthen and soften without being pulled. Both can sit in the same evening. Many people stretch first and then move small.

Who should skip these movements or check first?

Skip home care and get the leg looked at if one calf is swollen, warm, red or sore to touch, especially after a long flight, an operation or days of bed rest. Check with your doctor before stretching if you have a known circulation or nerve problem, a recent injury to the leg, or if you are pregnant and the cramps are new and severe. For everyone else, slow movement within comfort is gentle enough to try.

When should I see a doctor about leg cramps at night?

Book an appointment if cramps last longer than 10 minutes, keep returning and are wrecking your sleep, or come with numbness, weakness or pins and needles. Mention any new medicine, since statins and water tablets can play a part. Seek urgent care the same day for a calf that is swollen, red, warm or tender, which can be a sign of a clot.

Do magnesium or quinine stop leg cramps at night?

The evidence for magnesium is weak, except possibly in pregnancy, so it may do little outside that. The NHS does not routinely recommend quinine, because its side effects can be serious and the benefit is modest. If you want to try a supplement, or have been given quinine in the past, ask your doctor or pharmacist rather than deciding alone.

A calmer body, easier nights

See the program

Ready to start moving better?

Gentle, guided lessons for your body. Try your first one free, no credit card required.