cough-cold-icon
Leg cramps at night
My legs are getting cramps at night while sleeping and also when I wake up. Sometimes I feel heaviness while walking. I am not sure whether it is really there or just my doubt. There is no swelling in my legs. I work in a bank, so I sit for long hours. I have a mild spondylosis issue. I was going to the gym until December, but I stopped due to time constraints. Last month, I had a fever due to a urinary infection.
54 Views v

Answers (23)

20000+ health queries resolved in last month
Care AI Shimmer
If you want to discuss your problem in more detail, feel free to message me on WhatsApp at nine one one nine two five five six nine nine for a detailed free discussion
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?

Didn't find the answer you are looking for?

Talk to experienced doctor online and get your health questions answered in just 5 minutes.

doctor profile image doctor profile image doctor profile image doctor profile image +161
Consult with a doctor
Online now
Night leg cramps are common with long sitting, low activity, or mild vitamin deficiency. It is usually not serious if there is no swelling or redness. Do daily calf stretching, drink enough water, and restart light exercise slowly. Please consult me for proper diagnosis and treatment.
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Few lab tests needed.
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Hello dear Dr Om Prakash this side Please try to brisk walk daily & calf exercise Take nutrition rich food and adequate water intake & coconut water Take breaks every half an hour
Next Steps
Check vitamin D and B12 levels
Health Tips
Consult me anytime for proper diet and exercise plan
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Your symptoms could be due to poor circulation, immobility at work place, vitamin/mineral deficiency/insufficiency.Get your vitamin d and b 12 levels, magnesium levels.Apply warm water compress,take magnesium bisglycinate once a day , vitamin e 400 mg once a day for a few weeks.Keep your legs elevated with the pillow
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Dear Patient, Night leg cramps are quite common, especially in individuals with prolonged sitting, reduced recent physical activity, or mild spine issues like spondylosis. In most cases, they are benign and related to muscle fatigue, dehydration, or minor electrolyte imbalance. Possible Causes • Prolonged sitting (reduced calf muscle activity) • Deconditioning after stopping gym • Mild electrolyte imbalance (Potassium, Magnesium, Calcium) • Vitamin D deficiency • Dehydration • Mild nerve irritation from spondylosis • Post-infection weakness (recent UTI) Recommended Tests (if symptoms are recurrent/persistent) • Serum electrolytes (Sodium, Potassium) • Serum Magnesium • Serum Calcium • Vitamin D level • Thyroid function test (TSH) • Complete blood count (to rule out anemia) • Fasting blood sugar If heaviness while walking persists: • Lower limb Doppler (to rule out vascular cause) • Neurological evaluation if associated with back pain, tingling, or numbness What You Can Do • Drink 2.5–3 liters of water daily (unless medically restricted) • Reduce excess tea/coffee and other dehydrating drinks • Gentle calf stretching before sleep • Resume light regular exercise (walking, calf strengthening) • Avoid sitting continuously for long hours , take short breaks • During acute cramps: gentle massage, warm compress, or antispasmodic cream Seek Immediate Medical Attention If • One leg develops swelling, redness, warmth (rule out DVT) • Severe persistent pain • Progressive weakness • Significant numbness In the majority of office-going individuals, this condition improves with hydration, stretching, and activity correction. Follow up if symptoms persist beyond a few weeks despite lifestyle measures.
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Night cramp are caused by variety of causes , most commonly due to electrolyte def and improper hydration. If u also consume a vegetarian diet , there cud be a possibility of vit b12 deficiency which can cause leg cramping and neuropathic pain As u explained abt heaviness , due u also see any purplish striae over the leg or dilated veins over lower leg or calves? If so kindly visit a surgeon fr further assistance. If not u cud try having an adequate intake of water roughly 2.5/3 litres. Vit b12 and iron supplements too! If taking iron supplements, make sure to hv it with lemon juice / water before meal and keep a gap of atleast 2 hrs between the tablet and any milk related item.
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Dear Patient, Leg cramps might be due to vitamin & nutritional deficiency. You can get your levels checked & get treated with supplements.
Next Steps
Please do consult me or text me on Practo for further treatment
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Do the following, 1. Blood tests: CBP, Ferritin and vitamin D 2. Medication: Quinine sulphate 200mg at bed time for 2 weeks and if it is helping can continue. All the best. www.jgsr-health-education.in
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Get serum calcium,  vit d3 and b12 done and share results. . Take tab shelcal m one morning and one evening for 4 weeks, Tab evion 400mg one morning and one evening for 4 weeks. For cramps and pain, take tab dolocide m.r. every 8hours for 3 to 4 days, after meals. Drink enough water. After  sitting for 1 to 2 hours, get up and move around for few minutes. Sit with back supported and straight, avoid bending, lifting or pushing heavy weights.
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Investigation Vit B12 , vit D, calcium
Health Tips
For complete evaluation or further investigation and management, consult online with detailed history
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Assessment of vitamin d3 b12 mg
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
B 12 deficiency,  serum calcium,d3 level is required. For detailed information you need to consult me on practo for further management and evaluation.
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Hello. Based on your description, your symptoms are most likely due to muscle fatigue and circulation changes related to prolonged sitting, along with possible mild vitamin or mineral deficiency. Stopping gym activity and long working hours in sitting position can commonly lead to night cramps and a feeling of heaviness in the legs.
Next Steps
What you can do: • Restart light stretching exercises daily • Take short walking breaks every 45–60 minutes at work • Stay well hydrated • Gentle calf and hamstring stretching before sleep • Warm compress or light massage at night
Health Tips
It would also be useful to check: • Vitamin D • Serum calcium • Magnesium • Hemoglobin If your symptoms persist, worsen, or if you notice swelling, severe pain, numbness, or back pain radiating to legs, you should get evaluated in detail.
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Your symptoms: • Night-time leg cramps • Morning stiffness/heaviness • Long sitting hours (bank job) • Reduced exercise since December • History of mild spondylosis • Recent febrile illness (UTI) • No swelling This pattern most commonly suggests benign nocturnal leg cramps due to: ✔ Muscle deconditioning (stopping gym) ✔ Prolonged sitting → poor calf circulation ✔ Mild electrolyte imbalance ✔ Post-illness weakness ✔ Lumbar spondylosis causing nerve-related tightness The absence of swelling, redness, warmth, or one-sided severe pain is reassuring and makes serious conditions like DVT unlikely. The “heaviness” you describe is often: • Muscular fatigue • Venous pooling from prolonged sitting • Or mild nerve irritation from lumbar spine Given your sedentary work + stopped gym + mild spondylosis → mechanical and muscular causes are most likely.
Next Steps
✔ 1. Basic Lab Screening (if not done recently) Check: • Serum Vitamin DVitamin B12 • Serum magnesium • Serum calcium • Potassium • CBC Night cramps are commonly linked to: • Low magnesium • Low Vitamin D • Deconditioning ⸻ ✔ 2. Resume Gentle Physical Activity Not heavy gym immediately. Start with: • 30 minutes brisk walking daily • Calf stretching before bed • Hamstring stretches • Core strengthening (important for spondylosis) Movement improves: • Venous return • Nerve mobility • Muscle conditioning ⸻ ✔ 3. Office Ergonomics Since you sit long hours: • Stand up every 45–60 minutes • Do 1–2 minutes calf raises • Avoid crossing legs • Keep lumbar support ⸻ ✔ When to Worry Seek evaluation urgently if: • One leg becomes swollen • Calf becomes red and painful • Severe sudden pain • Numbness with weakness • Persistent progressive symptoms Right now, your symptoms sound functional and mechanical, not dangerous.
Health Tips
✔ Stretch calves before sleeping ✔ Hydrate adequately (2–2.5 L/day unless restricted) ✔ Warm compress at night ✔ Magnesium-rich foods (nuts, seeds, leafy greens) ✔ Restart strength training gradually ✔ Maintain proper posture for spondylosis Many working professionals with long sitting hours develop this pattern after stopping exercise — and it usually improves once routine activity is restored. If you’d like, we can review your spine symptoms and design a simple structured plan to prevent recurrence and protect your back long term. A focused consultation can help you address both cramps and spondylosis together effectively.
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Avoid fried and spicy food Water intake more Do connect and consult
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Long work hours in a sitting position can cause less blood circulation in the legs. So need to move away from the working desk after 60-90 minutes for 10-20 steps and again resume work.
Next Steps
Get a complete health check soon and find out about the Vitamin levels.
Health Tips
Start doing some exercise for 30 minutes in the morning in the form of walks
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Can help you, kindly consult and provide detailed history for proper diagnosis and further management
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
It's due vitamin b12 and d Deficiency
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Do consult
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
Dear Patient, Night leg cramps and heaviness are quite common and usually not dangerous, especially in people who sit for long hours. In your case, possible reasons include muscle fatigue, electrolyte imbalance (low magnesium/calcium), dehydration, prolonged sitting at work, reduced exercise after stopping gym, or mild nerve irritation from spondylosis. Recent infection can also temporarily increase weakness or cramps. What you should do: • Drink adequate water (2.5–3 liters/day unless restricted) • Start gentle stretching of calf muscles before sleep • Resume light exercise or walking daily (20–30 minutes) • Take breaks every 15-20 minutes during sitting at work • Include potassium- and calcium-rich foods (banana, coconut water, curd, nuts) • Warm compress or gentle massage at night if cramps occur Medicines/Supplements • Magnesium or calcium + vitamin D supplements • Muscle relaxant for short duration if severe pain Consult me if: • Cramps are severe or persistent • Leg swelling, redness, or warmth develops • Numbness, tingling, or weakness increases • Walking difficulty worsens For further guidance and treatment, text me on Practo anytime.
Answered
Flag this Answer
Flag this answer
1/1 people found this helpful
Was this answer helpful?
You need further evaluation
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Need a few more details please consult for further evaluation and treatment
Answered
Flag this Answer
Flag this answer
Let others know if this answer was helpful
Was this answer helpful?
Disclaimer : The content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding your medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this website.
Disclaimer : The content is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding your medical condition. Never disregard professional medical advice or delay in seeking it because of something you have read on this website.