Ozempic and Muscle Cramps: Causes and Solutions

Reading time
8 min
Published on
March 16, 2026
Updated on
March 16, 2026
Ozempic and Muscle Cramps: Causes and Solutions

Muscle cramps don’t get as much attention as nausea or fatigue in conversations about Ozempic side effects, but they’re a real and often frustrating experience for a meaningful subset of patients. They tend to show up in the legs, feet, and calves, often at night, and they’re almost always connected to the same cluster of physiological changes that drive other early side effects. Here’s what’s causing them and what actually helps.

Why Muscle Cramps Happen on Semaglutide

Muscle cramps have a well-established connection to electrolyte imbalances and dehydration. When the concentration of key minerals in your bloodstream drops below the threshold your muscles need for normal contraction and relaxation, cramping is a predictable result. On semaglutide, several things happen simultaneously that make this more likely.

Reduced Food and Fluid Intake

When appetite is suppressed, people eat and drink less overall. Less food means less dietary intake of the minerals that prevent cramps: magnesium, potassium, sodium, and calcium. Less fluid means reduced blood volume and higher concentration of metabolic byproducts in muscle tissue. Both of these factors set the stage for cramps, particularly during periods of physical activity or overnight when circulation naturally slows.

This is the same mechanism behind cramps that endurance athletes experience during prolonged exercise and that people on very low calorie diets have dealt with for decades. Semaglutide creates those conditions as a downstream effect of its appetite suppression rather than through any direct action on muscle tissue.

Accelerated Weight Loss and Metabolic Shifts

Rapid weight loss, regardless of the method, is associated with electrolyte shifts. As fat tissue breaks down and the body excretes the byproducts, potassium and magnesium levels can dip. If you’re also losing water weight in the early weeks of treatment, as is common, electrolyte losses are compounded further. People losing weight quickly on higher doses of semaglutide are at higher risk of cramps than those on lower doses with more gradual loss.

Reduced Carbohydrate Intake

Many people on GLP-1 medications reduce their carbohydrate intake alongside the medication, either intentionally as part of a dietary strategy or simply because appetite suppression makes high-carb foods less appealing. Lower carbohydrate intake causes the kidneys to excrete more sodium, which in turn affects fluid balance and the retention of other electrolytes. This is a well-documented phenomenon in low-carb dieting and contributes directly to the cramping pattern many people experience in the first weeks of GLP-1 treatment.

Muscle Loss From Insufficient Protein

If protein intake isn’t kept high enough during weight loss on semaglutide, the body loses lean muscle mass alongside fat. Muscles that are losing mass are more prone to cramping, fatigue, and weakness. This is a longer-term risk than the electrolyte-driven cramps that show up early, but it’s worth addressing from the beginning.

Where Cramps Typically Show Up

Leg cramps, particularly in the calves, are the most commonly reported location. Foot cramps and toe cramps are also frequent, especially at night or upon waking. Some people experience cramps in the thighs or around the knees. Abdominal cramping is a separate issue and is more often related to GI motility changes than to electrolyte imbalances, though the distinction isn’t always obvious to patients experiencing both.

If abdominal cramps are your primary concern rather than skeletal muscle cramps, the GLP-1 medications and bowel changes article covers what’s driving GI discomfort and how to differentiate normal adjustment from something worth investigating.

How to Prevent and Treat Muscle Cramps on Ozempic

Prioritize Magnesium

Magnesium is the most underappreciated electrolyte in conversations about muscle cramps. It’s one of the most common nutritional deficiencies in the general population, and it becomes more pronounced when food intake drops. Magnesium plays a direct role in muscle relaxation. When magnesium is low, muscles contract more easily and relax more slowly, creating the conditions for cramping.

Magnesium glycinate or magnesium citrate are the most bioavailable forms and are generally well tolerated. Magnesium oxide is widely available but poorly absorbed. A dose of 200 to 400 mg taken in the evening is a reasonable starting point for most adults, but check with your provider before adding any new supplement, particularly if you have kidney disease.

Dietary sources of magnesium include leafy greens, nuts, seeds, legumes, and dark chocolate. Getting adequate magnesium through food is possible but can be challenging when overall intake is reduced.

Keep Sodium in Your Diet

As discussed in the dizziness article, dramatically reducing sodium intake is a common unintended consequence of eating less processed food on semaglutide. Sodium is essential for fluid balance and plays a role in preventing muscle cramps. You don’t need to add large amounts of salt, but completely eliminating dietary sodium is counterproductive, particularly in the first few months of treatment when electrolyte imbalances are most likely.

An electrolyte supplement that includes sodium, potassium, and magnesium covers multiple bases efficiently. Low-sugar options like LMNT or similar products are popular in the GLP-1 community for exactly this reason.

Stay Consistently Hydrated

Hydration and electrolyte balance are interdependent. Drinking adequate water throughout the day, targeting at least eight cups with more if you’re physically active or experiencing GI symptoms, supports both fluid volume and the transport of minerals to muscle tissue. Plain water alone doesn’t fully address electrolyte imbalance, which is why pairing hydration with electrolyte intake is more effective than water alone for preventing cramps.

Maintain Protein Intake

Keeping protein intake high enough to preserve muscle mass is a long-term cramp prevention strategy as much as it is a body composition strategy. Aim for at least 1.2 grams of protein per kilogram of body weight daily. On days when appetite is most suppressed, protein shakes, Greek yogurt, and eggs are efficient ways to meet this target without large volumes of food.

For a broader look at why protein matters specifically on semaglutide, the GLP-1 and bodybuilding article covers the muscle preservation question in depth, including the role of resistance training alongside adequate protein.

Gentle Stretching Before Bed

For people experiencing nocturnal leg cramps specifically, a brief calf and foot stretching routine before sleep is a simple and effective preventive measure. Stretching the gastrocnemius and soleus muscles by standing with the ball of your foot on a step and lowering your heel, or by doing a standing calf stretch against a wall, reduces the resting tension in these muscles and makes cramping less likely overnight.

When a cramp does occur, the immediate response is to stretch the affected muscle in the opposite direction of the contraction. For a calf cramp, flex your foot upward toward your shin and hold. For foot cramps, spread your toes and flex the foot. Applying gentle heat to the area after the cramp resolves can reduce lingering soreness.

When Cramps Warrant a Clinical Conversation

Most muscle cramps on Ozempic are a nuisance rather than a medical concern, and they respond well to the measures above. A few patterns suggest something worth investigating more formally.

Cramps that are severe, frequent (occurring multiple times per day), or accompanied by muscle weakness rather than just pain may indicate a more significant electrolyte abnormality. If you’re also on diuretics for blood pressure or heart conditions, the combination of diuretic-driven electrolyte loss and semaglutide-driven reduced intake can push levels low enough to require lab monitoring and supplementation guided by results rather than general recommendations.

Let’s say a patient on semaglutide is also taking hydrochlorothiazide for hypertension. They develop nightly calf cramps within the first month of starting Ozempic. A basic metabolic panel reveals potassium at the low end of normal. Potassium supplementation and dietary adjustments resolve the cramps within two weeks. This kind of interaction is manageable but needs to be identified first.

Consider discussing a basic metabolic panel with your provider if cramps are significant or persistent. Checking sodium, potassium, magnesium, and calcium gives a clear picture of where the deficiency lies and allows targeted correction rather than guesswork.

How Long Cramps Typically Last

For most people, muscle cramps are most pronounced in the first one to three months of treatment and improve as eating patterns stabilize, electrolyte habits catch up, and the body adapts to its new metabolic state. Patients who address hydration and electrolyte intake proactively tend to experience cramps for a shorter duration and with less severity than those who don’t.

If you’re managing multiple adjustment symptoms alongside cramps, the how to manage Ozempic side effects in the first month guide is worth revisiting, since the shared root causes of dehydration and reduced nutrient intake connect most of these experiences.

Ready to start a program with clinical support built in from day one? You can take the TrimRx intake assessment here.


This information is for educational purposes and is not medical advice. Consult with a healthcare provider before starting any medication. Individual results may vary.

Transforming Lives, One Step at a Time

Patients on TrimRx can maintain the WEIGHT OFF
Start Your Treatment Now!

Keep reading

8 min read

Ozempic and Bloating: Why It Happens and How to Reduce It

Bloating is one of the most consistently reported GI side effects of Ozempic, and it’s one that tends to linger longer than nausea for…

7 min read

Ozempic and Dizziness: Causes and When to Call Your Doctor

Dizziness is one of those Ozempic side effects that tends to catch people off guard. Unlike nausea, which most patients expect going in, dizziness…

7 min read

Ozempic and Headaches: Why They Happen and How to Prevent Them

Headaches show up often enough in the early weeks of Ozempic treatment that they’re worth addressing directly. They’re listed as a reported side effect…

Stay on Track

Join our community and receive:
Expert tips on maximizing your GLP-1 treatment.
Exclusive discounts on your next order.
Updates on the latest weight-loss breakthroughs.