Leg Cramps at Night: Causes, Quick Relief and When to Worry
Calf seizing at 3 am? Why night leg cramps happen, how to ease one fast, which medicines can trigger them and the signs that need a doctor.

In this article(9 sections)
It is 3 am. You turn over in bed and your calf suddenly locks into a hard knot. Your toes curl down on their own. You sit up, grab your leg in the dark and try not to wake the house while you hop towards the wall. A minute later it lets go. The muscle stays sore all of the next day. Leg cramps at night are common and usually harmless. A simple stretch may ease one. If this sounds familiar, you have had a night leg cramp. A cramp is a sudden, painful tightening of a muscle that you did not ask to tighten. It most often hits the calf, sometimes the foot or thigh. The NHS says a cramp can last from a few seconds to 10 minutes and the muscle may feel sore for up to 24 hours after. This guide covers why they happen, what to do in the moment, what may reduce them and the signs that a cramp needs a doctor.
Why do leg cramps at night happen?
Often doctors do not find a single cause. These are called idiopathic cramps, which simply means cramps without a clear underlying disease. One common explanation is that a tired, shortened muscle fires off a burst of nerve signals it should not. When you lie in bed with your toes pointed down, the calf sits in a shortened position for hours. That may be one reason the calf is the usual target.
The NHS lists things that can sometimes cause them:
getting older
straining muscles during exercise, which can be worse in hot or humid weather
pregnancy, usually in the later months
some medicines, such as statins for cholesterol or diuretics (water pills) for blood pressure
not drinking enough fluids
liver disease from heavy drinking
Think about who gets these in India. A shopkeeper on his feet behind a counter for ten hours. A teacher standing through six periods. A homemaker in the kitchen through a festival week. A woman in her seventh month of pregnancy. An uncle who started a new blood pressure tablet last month. Long standing, heat and fluid loss through a Chennai or Nagpur summer all fit the pattern.
Could your medicine be behind it?
This is worth checking before anything else, especially if you are over 50. A study from Canada looked at prescription records for 4.2 million people. In adults aged 50 and above, it checked whether people started cramp treatment soon after starting certain medicines. New cramp treatment was about 47 percent more common in the year after starting a diuretic than in the year before. It was more than twice as likely after starting a long-acting inhaler for asthma or COPD (a lung disease that makes breathing hard). The link with statins was small.
This kind of study shows a link in timing. It does not prove the medicine caused every cramp. Still, if your cramps began after a new tablet or inhaler, tell your doctor. Do not stop a heart, blood pressure or lung medicine on your own. Your doctor can judge whether a dose change or a different medicine makes sense.
What to do when the cramp hits
The goal is to lengthen the muscle that has shortened. The NHS advice is to stretch and massage it. Standing up and putting your weight on the cramping leg may also help.
Pull your toes up towards your knee. If you are sitting in bed, grab your toes or wrap a dupatta or towel around the ball of your foot and pull gently.
If you can stand, put that foot flat on the floor and lean forward slightly so your heel stays down.
Rub the calf firmly with your palm once the worst of it eases.
Walk around the room for a minute.
A painkiller will not help during the cramp itself. The NHS notes that paracetamol or ibuprofen take too long to work, though they may ease the soreness afterwards. A warm water bag on the calf the next morning can feel good too.
Can stretching before bed prevent them?
Stretching is often the first thing doctors suggest. It is cheap, safe and takes five minutes. The research is mixed. In one Dutch trial, 80 adults over 55 stretched their calf and hamstring (the back of the thigh) muscles every night just before sleep for six weeks. They had about one cramp fewer per night than the group that did not stretch. Their cramps were also less painful. An earlier trial across 28 general practices in England found something different. Among 191 people who were taking quinine for night cramps, advice to do calf stretches made no clear difference to how often cramps came after 12 weeks.
So stretching may help some people more than others. It costs you nothing to try for a month while you keep a simple note of how many nights you were woken. The wall stretch the NHS describes is easy:
Stand facing a wall about an arm's length away with your feet flat.
Lean forward with your hands on the wall until you feel the calves stretch.
Hold for 2 or 3 seconds, stand straight, then repeat a few times for about five minutes.
Do it up to three times a day with the last round just before bed.
A few other habits may help, though they have less research behind them:
Drink water steadily through the day, more in summer or after sweating, rather than a big glass at night.
Keep the bedsheet loose at your feet so your toes are not pressed downwards all night.
Wear shoes with proper support if you stand for long hours. Take short sitting breaks too.
Do gentle leg work during the day. Our Aora guide to knee strengthening exercises at home has simple moves that also work the calves.
If cramps are breaking your sleep night after night, the poor rest itself adds up. Our piece on why you keep waking up at night covers other reasons worth ruling out.
What about cramps in pregnancy?
Pregnancy, usually in the later months, is on the NHS list above. If you are pregnant, do not start any supplement for cramps on your own. Ask your gynaecologist, who already knows your iron, calcium and other tablets.
Why quinine is no longer advised
Your grandparents may remember a doctor giving quinine tablets for cramps. Quinine is a malaria medicine. The problem is the risk. MedlinePlus, run by the US National Library of Medicine, carries a clear warning: quinine should not be used to treat or prevent nighttime leg cramps. It has not been shown to work for this and may cause serious or life-threatening side effects, including severe bleeding problems, kidney damage, an irregular heartbeat and severe allergic reactions. In the UK, the NHS says a GP may still consider it if stretching has not helped, after talking through the risks, because it is not suitable for everyone. That is a doctor's decision with monitoring. Do not buy quinine over the counter or take tonic water in large amounts hoping it will help.
When a leg cramp needs a doctor
Most night cramps are harmless. The NHS says to see a GP if:
leg cramps are disturbing your sleep
you also have numbness or swelling in your legs
cramps last longer than 10 minutes
If you have long-term diarrhoea, drink heavily or take a medicine known to lower magnesium, ask your doctor about a blood test. Our guide to magnesium deficiency symptoms explains who is at risk and what the test means. Some leg pain at night is not a cramp at all. It can be a blood clot in a leg vein, called deep vein thrombosis (DVT). The NHS lists throbbing pain in one leg (rarely both), usually in the calf or thigh, swelling in one leg, red, blue or darkened skin around the painful area and swollen veins. Ask for an urgent doctor's appointment if you think you have DVT. Call 112 or go to an emergency department if you have symptoms of DVT (such as pain and swelling) together with shortness of breath or chest pain. A doctor will examine you to try to find the reason. The NHS says treatment depends on the cause they find.
A calmer night
You may still get the odd cramp. Many people do. But you can stop treating it like a mystery. Stretch before bed for a month and keep a small note on your phone of the nights you are woken. Look at your medicine list with your doctor. Drink water through the day, not all at night. The next time your calf seizes at 3 am, pull those toes towards you, breathe and wait it out. You know now that it will pass.
Sources
Medical Disclaimer: This article is for general information and is not a substitute for advice from your doctor. Speak to a qualified healthcare professional before starting any supplement, especially if you are pregnant, breastfeeding or taking medication.
Continue this topic
Connected guides, ingredient explainers, product context, and tools chosen from this article's topic cluster.
Sleep quality, magnesium, stress, recovery, evening routines
Relevant for daily micronutrient coverage alongside sleep and stress routines.
Recovery problems are not always solved by another supplement. Sometimes the real issue is sleep, training load, food or simply not enough time between hard sessions.
Melatonin and magnesium are often sold for sleep, but they do different jobs. Learn which one may fit your situation, what the evidence says and when neither is the right answer.
Magnesium deficiency can cause weakness, cramps and abnormal heart rhythms when severe. Learn causes, testing, treatment and when to seek medical care.
Quick questions
Is it normal to get leg cramps at night every day?
An occasional cramp is common, especially after a long day on your feet. The NHS says to see a GP if leg cramps are disturbing your sleep. The doctor will examine you to try to find the reason and suggest treatment that fits the cause.
Does drinking more water stop night leg cramps?
Not drinking enough fluid is one known trigger, so staying well hydrated is sensible, especially in summer. Spread your water through the day so you are not waking up to pass urine. Water alone may not stop cramps that come from age, standing or medicines.
Can low calcium or vitamin D cause leg cramps?
Very low calcium can cause muscle spasms, along with signs such as tingling around the mouth or in the fingers. Many people with night cramps have normal levels. A blood test ordered by your doctor can check calcium and vitamin D.
Should I eat a banana before bed for leg cramps?
A banana is a healthy snack, but none of the sources in this guide show that it prevents night cramps. Low potassium is worth checking only if your doctor suspects it, for example on certain water pills. A balanced Indian meal with dal, vegetables and curd is a good base.
Are night leg cramps a sign of diabetes?
Cramps by themselves do not mean you have diabetes. Diabetes can damage nerves over time, which can cause burning, tingling or numbness in the feet along with cramps. If you have those symptoms or a family history of diabetes, ask your doctor for a sugar test.
6 linked sources checked against our citation and claim-safety process.
Reviewed 22 Oct 2026 for supplement-claim and medical-disclaimer boundaries.
Recommended from the Aora range
Aora Nutrivit Plus
19 Essential Nutrients with Zinc, Magnesium and Vitamins B Complex, C and D3
- Multivitamin
- Daily Foundation
- Made in India
From₹690.00
Try Aora - free
Put this article to work on you.
Health and safety notice
- This article is educational. It is not medical advice and is not a substitute for guidance from a qualified healthcare provider. Consult a physician before starting any supplement, especially during pregnancy or breastfeeding, with a medical condition, or while on medication.
- FSSAI compliance: Health supplements and nutraceuticals are not intended for medicinal use. Any supplement-related information is provided to describe nutritional or physiological support and should not be interpreted as a claim to diagnose, treat, cure, or prevent any disease. FSSAI regulates health supplements and nutraceuticals separately from medicinal products.
Read our full medical disclaimer and editorial policy.
Sources and editorial standards
Supplement content is educational only and should not replace medical advice from a qualified clinician. Product mentions are reviewed for claim safety before publication.
Plain-language research, one email a week.
Nutritionist Q&As, ingredient deep-dives, and the occasional first-look at a new launch. Free forever. Unsubscribe in one tap.
Want to see what a past issue looks like? Read the newsletter page.
Keep reading
How old is your body, really?
Answer a few quick questions and find your Aora Health Age. Free, about 90 seconds, no blood test.



