Ask the doctor: How can I prevent leg cramps at night?

Ask the doctor

How can I prevent leg cramps at night?

Q. I have been having frequent foot and calf cramps at night that are quite painful. They come on when I first get into bed. What causes them? Can I do anything to prevent them?

A. Nocturnal leg cramps are common as people get older. Almost half of people over age 50 report some kind of leg cramps. Among those who have them, about 40% experience symptoms three times a week, and 5% to 10% report symptoms every night. Cramps occur when muscles in your feet, calves, or thighs tense so much that they cause pain. For reasons that aren't clear, most people experience cramps only at night. Often the only thing that brings relief is to stretch the muscles or get up and walk.

To continue reading this article, you must log in.

Subscribe to Harvard Health Online for immediate access to health news and information from Harvard Medical School.

  • Research health conditions
  • Check your symptoms
  • Prepare for a doctor's visit or test
  • Find the best treatments and procedures for you
  • Explore options for better nutrition and exercise
Learn more about the many benefits and features of joining Harvard Health Online »

I'd like to receive access to Harvard Health Online for only $4.99 a month.

Sign Me Up

Already a member? Login ».


As a service to our readers, Harvard Health Publishing provides access to our library of archived content. Please note the date of last review or update on all articles.

No content on this site, regardless of date, should ever be used as a substitute for direct medical advice from your doctor or other qualified clinician.

Free Healthbeat Signup

Get the latest in health news delivered to your inbox!

Sign Up
Harvard Health Publishing Logo

Thanks for visiting. Don't miss your FREE gift.

The Best Diets for Cognitive Fitness, is yours absolutely FREE when you sign up to receive Health Alerts from Harvard Medical School

Sign up to get tips for living a healthy lifestyle, with ways to fight inflammation and improve cognitive health, plus the latest advances in preventative medicine, diet and exercise, pain relief, blood pressure and cholesterol management, and more.

Harvard Health Publishing Logo

Health Alerts from Harvard Medical School

Get helpful tips and guidance for everything from fighting inflammation to finding the best diets for weight loss...from exercises to build a stronger core to advice on treating cataracts. PLUS, the latest news on medical advances and breakthroughs from Harvard Medical School experts.

BONUS! Sign up now and
get a FREE copy of the
Best Diets for Cognitive Fitness

Harvard Health Publishing Logo

Stay on top of latest health news from Harvard Medical School.

Plus, get a FREE copy of the Best Diets for Cognitive Fitness.