Leg Cramps at Night: Why They Happen and How to Stop Them
Short answer: to stop a night-time calf cramp, straighten your leg and pull your toes and foot up toward your shin, or stand and press your heel into the floor. Hold the stretch until the muscle releases, then walk around, massage the muscle and apply warmth. To prevent cramps, Mayo Clinic and Cleveland Clinic suggest stretching the calves before bed, staying hydrated, keeping active during the day, wearing supportive shoes and keeping bedding loose around the feet. Most night cramps are harmless, but frequent cramps deserve a conversation with your doctor because medications and some medical conditions can contribute.
What are night leg cramps?
A sudden, involuntary, painful tightening of a muscle, most often the calf, sometimes the foot or thigh, lasting from a few seconds to several minutes. The muscle may feel hard and knotted and stay sore the next day. They are different from restless legs syndrome, which is an uncomfortable urge to move the legs without painful tightening.
What causes leg cramps at night?
Often no single cause is found. Things that make them more likely:
- Age. Tendons shorten and muscle mass declines. They are common after 50.
- Muscle fatigue from unusual exercise or long periods of standing on hard floors.
- Long periods of sitting and sleeping with the feet pointed down, which keeps the calf shortened.
- Dehydration.
- Pregnancy.
- Medications such as diuretics (water tablets), some blood pressure drugs and statins. Do not stop a prescribed medicine, but do ask your doctor.
- Medical conditions including diabetes, thyroid, kidney and nerve problems and poor circulation in the legs.
How do I stop a leg cramp quickly?
- Stretch it. For a calf cramp, keep the knee straight and pull the top of the foot toward you with your hand or a towel. Or stand facing a wall, cramping leg behind, heel pressed down. For a front-of-thigh cramp, hold a chair and pull the foot up toward your buttock.
- Walk for a minute or two and jiggle the leg.
- Massage the knot firmly with your hands or a massage roller.
- Apply heat: a warm towel, heating pad or warm shower relaxes the muscle. If it is sore afterwards, a cold pack can help. See heat or ice for pain.
How can I prevent leg cramps at night?
- Stretch before bed. Wall calf stretch, 30 seconds each leg, three times. Add a hamstring stretch. This is the best-supported preventive habit.
- Light activity in the evening, such as a few minutes on an exercise bike or a short walk.
- Drink enough fluids through the day and go easy on alcohol.
- Loosen the covers at the foot of the bed so your feet are not held pointing down, or sleep on your back with toes up or on your side with knees bent.
- Supportive shoes during the day. See foot pain from standing all day.
- Massage and warmth for tired calves in the evening. A leg massager or a warm bath both work.
- Compression socks during the day help some people whose legs feel heavy and tired by evening. See our compression socks guide.
What about magnesium? It is widely used, but trials in older adults have generally not shown a clear benefit. It may help in pregnancy. Ask your doctor or pharmacist before starting supplements, especially if you have kidney problems.
Browse our leg care range and massagers.
When should I see a doctor about leg cramps?
See a doctor if cramps are frequent or severe enough to disrupt your sleep regularly, if you have muscle weakness or wasting, numbness, or cramps that began after starting a new medication. Seek prompt care for leg pain with swelling, redness or warmth in one calf, or for calf pain that comes on when walking and eases with rest, which can indicate a circulation problem.
Key takeaways
- To stop a calf cramp, straighten the knee and pull your toes toward your shin.
- Follow with walking, massage and warmth.
- Stretch calves and hamstrings every night before bed.
- Stay hydrated, keep bedding loose and wear supportive shoes.
- Frequent cramps, weakness, swelling or a new medication mean talk to your doctor.
Sources
- Cleveland Clinic: Leg cramps at night
- Mayo Clinic News Network: What can I do to relieve or prevent leg cramps at night?
- NHS: Leg cramps
This article is general wellness information and is not medical advice. It does not replace an examination by a qualified healthcare professional. If your pain is severe, sudden or getting worse, please see a doctor.
Leg massagers, heat wraps and compression socks for less: PainRelief Care+ members pay 20% less on every product and get free shipping on every order. See how Care+ works.