Foot cramps at night: Causes, treatment, and prevention (2022)

A foot cramp occurs when one or more muscles or muscle fibers involuntarily contracts. Like other types of muscle cramp, foot cramps at night can cause mild-to-severe pain and interfere with a person’s quality of sleep.

Nocturnal foot cramps are not the same as restless legs syndrome (RLS). RLS causes unpleasant sensations in the legs and the urge to move them.

This article will explore the different causes of foot cramps at night, as well as how to treat and prevent them.

Foot cramps at night: Causes, treatment, and prevention (1)Share on Pinterest

People develop foot cramps for various reasons, such as:

1. Muscle fatigue

Overexerting the muscles in the feet through strenuous exercise or working a job that requires standing or walking for long periods of time can cause foot cramps.

Muscle fibers contract and relax to create movement. However, forcing the muscles to work harder than usual or engaging in repetitive movements can lead to muscle fatigue.

According to the authors of a 2019 review article, muscle fatigue can dysregulate the nerve impulses that control muscle movements, which may result in muscle spasms or cramps.

2. Hypokalemia

If a person has low levels of potassium in their body, they may develop hypokalemia.

According to the National Institutes of Health (NIH), potassium is an essential nutrient that supports numerous bodily functions. It helps maintain cell membranes, promotes vital kidney functions, and regulates muscle contractions.

Muscle tissues release potassium during exercise, which dilates the blood vessels and increases blood flow to the muscles.

The increase in blood flow floods the muscles while removing toxic side products.

If a person’s potassium level falls below 3 millimoles per liter, the physical symptoms of hypokalemia — including muscle weakness and cramping — may begin to appear.

3. Low magnesium

Magnesium is another vital nutrient that supports various bodily functions, including blood pressure regulation, DNA synthesis, and muscle health.

(Video) STOP Foot & Leg Cramps while Sleeping at Night: HOME Remedy & Cure!

If a person has insufficient levels of magnesium in their body, they may develop foot cramps.

Certain medical conditions — such as celiac disease, chronic diarrhea, or chronic alcohol use — can lead to magnesium deficiency.

Some early signs of magnesium deficiency include:

  • nausea
  • vomiting
  • loss of appetite
  • fatigue
  • muscle weakness

Moderate-to-severe magnesium deficiency may cause:

  • involuntary muscle contractions
  • muscle cramps
  • numbness
  • heart arrhythmias
  • seizures

4. Pregnancy

People are more susceptible to nocturnal foot cramps during pregnancy. The exact reason for this remains unclear, but one theory is that pregnancy affects how the body uses calcium.

Low calcium levels may lead to muscular sensitivity and muscle cramps.

People can treat calcium deficiency by consuming calcium-rich foods or by taking a calcium supplement.

5. Side effects of medication

Certain medications — including beta-agonists, statins, and diuretics — can cause leg or foot cramps as a side effect.

People who receive dialysis may also have a higher risk of developing muscle cramps.

6. Footwear

Wearing tight shoes can put excessive pressure on the feet and toes, thus restricting blood flow to these areas.

High heels and shoes without arch support can force the feet into uncomfortable positions that may cause cramping later on.

Foot cramps at night can be very painful. However, gently massaging or stretching the cramped muscle may help loosen it up and relieve the pain faster.

Regularly stretching before and after exercising can help prevent muscle cramps in the future.

A person can also take medications or use topical ointments to ease the pain.

(Video) Foot Cramps at Night - The Home Treatment Guide!

The following sections describe some of these treatment options in detail.

According to the National Health Service (NHS), a person should repeat these exercises three times per day.

Consider the following stretches and exercises for relieving foot cramps:

Seated foot and heel raise

  1. Start with the feet flat on the floor, then raise the heels. Hold for 2 seconds.
  2. Place the feet back flat on the floor.
  3. Raise the toes and hold for 2 seconds. Place the feet back on the floor.
  4. Repeat this process five times.

Toe bend

  1. Start with the feet facing ahead. Bend the toes down for 2 seconds.
  2. Return the feet to the original position.
  3. Bend the toes up for 2 seconds, then relax the feet.
  4. Repeat this process five times.

Big toe lift

  1. Place the feet flat on the floor, facing straight ahead.
  2. Raise the big toe and hold for 2 seconds.
  3. Lower the big toe and relax the feet.
  4. Repeat this process five times.

Standing calf stretch

  1. Face a wall and place one foot on the wall.
  2. Lean into the stretch for 2 seconds.
  3. Swap the leg if necessary.
  4. Repeat this process five times.

People can treat most muscle cramps at home by resting the affected muscles, drinking water with electrolytes, and applying warm or cold compresses.

People can reduce foot cramps related to exercise by reducing the amount or intensity of their workouts. Getting a deep tissue massage and stretching may also help relieve tight muscles.

Muscle cramps related to mineral deficiencies may improve with dietary changes. Leafy green vegetables, legumes, and nuts are all rich sources of magnesium. Many fruits and vegetables also contain high quantities of potassium.

People can also treat mineral deficiencies using over-the-counter supplements.

People who experience frequent foot cramps may want to consider changing their shoes. Not wearing shoes with high heels and pointed toes may help prevent future foot cramps. People can also purchase shoe inserts with arch support.


(Video) Foot and Leg Cramps at Night (Nocturnal Cramps)

People who have severe or persistent foot cramps that do not improve with stretching or other at-home treatments can speak to their doctor about other treatment options.

A doctor may recommend medications such as topical pain relievers or muscle relaxants, or they may suggest another type of therapy.

According to a 2016 review, people have used quinine in the past to treat nocturnal muscle cramps.

However, the Food and Drug Administration (FDA) do not recommend using quinine for treating or preventing leg cramps due to the risk of severe side effects.

People can prevent foot cramps at night by:

  • stretching and exercising regularly
  • eating nutritionally dense foods, such as fruits, vegetables, and nuts
  • wearing shoes that fit properly
  • discussing any medication side effects with a doctor

Certain lifestyle factors and medical conditions are associated with nighttime muscle cramps.

Medical conditions include:

  • high blood pressure
  • diabetes
  • heart attack
  • arthritis
  • asthma
  • thyroid disease
  • depression

Other factors that could potentially increase a person’s risk of developing foot cramps include:

  • having poor overall health
  • being older
  • having overweight or obesity
  • being pregnant
  • smoking


(Video) Nocturnal Leg Cramps

People can develop foot cramps for many possible reasons.

Many people can treat cramps at home with stretches and rest. A doctor can help identify other underlying causes of foot cramps, such as nutritional deficiencies and medication side effects.

People who develop foot cramps after starting a new medication should discuss this and any other side effects with their doctor.

A person should not stop taking prescription medication without first consulting a healthcare professional.

Foot cramps at night can cause significant pain that may affect a person’s quality of sleep.

People who experience frequent foot cramps that impact their sleep or daily lives may want to speak with a doctor about possible causes.

People can also discuss treatment options with a doctor if their foot cramps do not improve after trying at-home methods.

If nocturnal foot cramps do not improve after 2 weeks, a person should see their doctor.

People can treat most causes of nocturnal foot cramps with rest and at-home treatments, such as stretching and making dietary changes.

People who experience severe or persistent foot cramps may want to speak with a doctor about possible treatment strategies.

Muscle relaxants and topical pain relievers may help reduce painful muscle cramps. A doctor may also recommend wearing different shoes or using shoe inserts for extra arch support.

(Video) Foot Cramps & Foot Spasms at Night [Home Treatment 2022!]


Foot cramps at night: Causes, treatment, and prevention? ›

Try forcefully stretching the affected muscle (for example, stretch your calf muscle by flexing your foot upward). Jiggle your leg, massage it, or force yourself to walk. It might also help to apply ice or heat – use a heating pad or take a warm bath. (Read the “Management and Treatment” section for more tips.)

What Vitamin stops foot cramps? ›

Essential vitamins you need in balanced levels in your diet in order to avoid foot cramps include Vitamin B6, D, and E; potassium; calcium; and magnesium.

What diseases cause foot cramps? ›

Cramps or spasms in the muscles often have no clear cause. Possible causes of hand or foot spasms include: Abnormal levels of electrolytes or minerals in the body. Brain disorders, such as Parkinson disease, multiple sclerosis, dystonia, and Huntington disease.

What food helps with foot cramps? ›

Foods That May Help With Muscle Cramps
  • Eat to Beat Them. 1/15. ...
  • Bananas: A Time-Tested Treatment. 2/15. ...
  • Sweet Relief From Sweet Potatoes. 3/15. ...
  • The Avocado: A Potassium Powerhouse. 4/15. ...
  • Beans and Lentils. 5/15. ...
  • Melons Are the Total Package. 6/15. ...
  • Watermelon for Hydration. 7/15. ...
  • Milk. 8/15.
Mar 6, 2022

Why do feet cramp at night? ›

When your body gets low in fluids and electrolytes, your muscles become more vulnerable to spasms and cramps. You continue sweating and losing fluids while you sleep. This is why your foot cramps may arise in the overnight hours.

Does lack of salt cause cramp? ›

When sodium levels are too low: The body's ability to send signals is interrupted so the brain overcompensates and sends too many electrical impulses. Eventually, these signals overwhelm the muscle, preventing it from relaxing and manifesting in muscle twitches or cramping.

Why is my foot cramping at night? ›

When your body gets low in fluids and electrolytes, your muscles become more vulnerable to spasms and cramps. You continue sweating and losing fluids while you sleep. This is why your foot cramps may arise in the overnight hours.

How do you get rid of foot cramps fast? ›

Foot Cramp Treatment
  1. If you're sitting or lying down, stand up and put weight on your cramping foot.
  2. Actively lift your foot and toes, pulling them up toward your nose. ...
  3. Rub your muscle gently as you stretch it. ...
  4. If ice is not working, put heat on the cramped muscle with a warm towel or heating pad.
Sep 10, 2020

What does cramps in your feet mean? ›

Low levels of potassium

Having low potassium can cause muscle cramping, particularly in your feet and legs. Chronic low potassium, or hypokalemia, can cause cramping in your muscles.

What causes toes to curl up and cramp? ›

Toe cramps have various triggers, but overuse, dehydration, and mineral deficiencies (mainly, potassium, calcium, and magnesium) are some of the most common culprits, according to Dr. Kim. When you exercise, you sweat out the minerals, or electrolytes, your muscles need to function properly.


1. Leg Cramps While Sleeping - How To Stop Leg Cramps / Calf Cramps At Night 🌙
(Liebscher & Bracht – The Pain Specialists)
2. Night Time Leg Cramps Causes and Cures
(Reddy Care Physical Therapy)
3. Stop Toe Cramps & Foot Cramps - Ask Doctor Jo
4. Night Time Leg Cramps Causes and Cures
(Reddy Care Physical Therapy)
5. Night leg cramps - Leg Cramps at Night: Causes, Pain Relief & Prevention
(Kote's Medical Animations)
6. Foot Cramps: Causes and Ways to Get Rid of Cramps in Foot and Toe

Top Articles

Latest Posts

Article information

Author: Sen. Emmett Berge

Last Updated: 01/19/2023

Views: 5833

Rating: 5 / 5 (60 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.