Over 450,000 Monthly Readers
IN FOCUS FOR PEOPLE Over 50
  • Home
  • Health
  • Money
  • Travel
  • Arts
  • Cover Stories
  • Housing
  • From the Publisher
  • Contact us
  • Silver Pages Dir.
  1. Home
  2. Health

Health

SEARCH Health

Tips to prevent nighttime leg cramps

Photo by Liana S | Unsplash
  • Share
PRINT
By Mayo Clinic Staff
Posted on November 30, 2026

You’re just drifting off — or maybe you’re already asleep — when a sudden, sharp cramp in your calf jolts you awake.

Nighttime leg cramps are common and can make it hard to fall or stay asleep. But there’s good news: There are things you can do to prevent or reduce leg cramps.

Why leg cramps happen

A leg cramp is a sudden, painful tightening of muscle, usually in the calf. It can last a few seconds or several minutes. The pain can continue even after the muscle relaxes.

It’s not always easy to identify the exact cause of a leg cramp, but common triggers include:

  • Tired or overworked muscles due to exercise or a long day of exertion
  • Not getting enough fluids (dehydration)
  • Low levels of certain nutrients, such as potassium or magnesium
  • Muscle stiffness from sitting or lying in one position too long

Certain health conditions, such as diabetes, nerve issues or sleep apnea and some medicines, also can increase your risk.

How to prevent leg cramps

If leg cramps are affecting your sleep, these small habits can help:

Move and stretch your legs before bed. Sitting or lying still for long periods can make muscles more likely to cramp. A few minutes of gentle movement and stretching can help your muscles relax before you lie down.

Take a short walk or bike ride in the evening.

Lightly massage any tight areas.

Stay hydrated during the day. Muscles need fluids to work properly. If you sweat a lot or exercise frequently — especially in the heat — drink more water than usual, and consider adding an electrolyte powder or drink. Avoid alcohol and caffeine, since both are diuretics.

Adjust your bed covers. Avoid tightly tucked blankets that push your toes down. Instead, loosen the sheets and covers at the foot of your bed.

Eat a healthy diet. Low levels of some minerals and vitamins can cause cramps. Include these in your diet:

  • Potassium: Bananas, potatoes and oranges are good sources.
  • Magnesium: Nuts, seeds and leafy greens can boost magnesium. Powdered supplements are also available.
  • Vitamin D: Fatty fish — such as trout, salmon and tuna — is rich in vitamin D. It’s also found in fortified foods like dairy milk, plant milk and breakfast cereal. Many people take vitamin D supplements.
  • B vitamins: B vitamins are found in a variety of vegetables, eggs, fish, meats, dairy products, nuts and legumes. They’re also in fortified foods such as breakfast cereals and grains.
  • Vitamin K: Early research suggests that vitamin K may reduce leg cramps. Good sources include green leafy vegetables like spinach and broccoli. Vitamin K also is found in vegetable oils, including soybean, canola and olive oils.

Know your medicines. Some medicines can make cramps more likely, including:

  • Some blood pressure medicines. Cramps are especially common with water pills, also called diuretics.
  • Statins. Statins help manage cholesterol and reduce the risk of heart attack and stroke.
  • Long-acting beta agonists. This type of medicine is used to treat asthma, COPD and other breathing conditions
  • Certain osteoporosis medicines used to treat bone thinning

If leg cramps are new or getting worse, ask your pharmacist or care team to review your medicines. Team members may be able to make adjustments that help. Don’t stop taking prescribed medicines on your own.

When a cramp wakes you up

If you get a leg cramp in the middle of the night:

  • Gently stretch the muscle by pulling your foot up toward your face.
  • Massage the area gently. Try using ice.
  • Walk around the room or shake your leg.
  • Soak in a warm bath. Or take a hot shower and direct the water to the cramped muscle.

Leg cramps are usually harmless and don’t need medical care. However, you should talk to your healthcare team if:

  • Cramps are affecting your daily life and aren’t getting better with these at-home remedies
  • Cramps are regularly disrupting your sleep
  • Your leg is swollen, warm or changing color. Reach out to your care team right away if you notice these changes.

In some cases, cramps can be linked to an underlying condition, such as restless legs syndrome, obstructive sleep apnea, diabetes or Parkinson’s disease. Treating the condition can improve your symptoms and your sleep.

© 2026 Mayo Foundation for Medical Education and Research. All rights reserved. Distributed by Tribune Content Agency LLC.

Health 2026

  • February
  • March
  • April
  • May
  • June
  • July
  • August
  • September
  • October
  • November
  • December

#Dear Pharmacist #Health Study #Recipes #Savvy Senior #Alzheimer’s Disease #health #vaccine #Nutrition #Mayo Clinic

2025
Health Archive

2026 Seniors' Resource Guide

CLICK HERE

to view the 2026 Montgomery County Seniors' Resource Guide.

Silver PagesDirectory

FIND WHAT YOU NEED, FAST.

This comprehensive, searchable directory covers
housing, homecare, elder law and financial planning

CommunityEvents

A CALENDAR JUST FOR YOU

Find fun, interesting, informative things to do.
Or post your upcoming event!

2026 Beacon 50+Expo

THANK YOU!

to all our exhibitors, sponsors and attendees.

Silver PagesDirectory

FIND WHAT YOU NEED, FAST.

This comprehensive, searchable directory covers housing, homecare, elder law and financial planning

Submit PrintClassifieds

ALL PRINT CLASSIFIEDS ARE SUBMITTED ONLINE

Click here to submit your classifieds for one of our upcoming print editions.

CommunityEvents

A CALENDAR JUST FOR YOU

Find fun, interesting, informative things to do. Or post your upcoming event!

About the Beacon

Over 50 or love someone who is? Then consider the Beacon your resource for trustworthy information on health, money, technology and travel topics, as well as entertaining features, arts and events.

The Beacon’s award-winning content covers health, financial, technology, housing, travel and arts topics, as well as local events and feature stories. Readers of our three print editions pick up more than 195,000 copies each month at more than 2,300 distribution sites. We also mail copies to subscribers throughout the United States.

Contact Us

THE BEACON NEWSPAPERS

3720 Farragut Ave., Suite 501 • Kensington, MD 20895

WASHINGTON, DC

TEL: 301-949-9766  •  FAX: 301-949-8966

HOWARD COUNTY & BALTIMORE, MD

TEL: 410-248-9101  •  FAX: 301-949-8966

More on our Website

  • About
  • Advertise with us
  • Staff
  • Resource Guide
  • Awards
  • The 50+Expos
  • Recipes
  • Puzzles
  • Community Events
  • Privacy Policy
Contact us Classified Form Subscription Form