You're finally sleeping better because the food noise quieted down — and then a calf cramp wakes you at 2 a.m., toes curled, whole leg locked. If you've just started semaglutide and the weight is moving quickly, it's a natural leap to blame the medication. A provider's job is to slow that leap down and look at the whole picture first.
This article is educational and is not medical advice. It won't tell you what to take or how much. It's meant to help you ask better questions when you talk with an independent, licensed provider.
Why fast changes can nudge fluids and minerals
GLP-1 medications like semaglutide work partly by slowing how fast the stomach empties and by dialing down appetite, which is why many people eat and drink noticeably less [1]. Eat less, drink less, and lose weight quickly, and the body's fluid and mineral balance can shift. Nausea, occasional vomiting, or looser stools — common, well-documented GI effects of this drug class — can move more fluid and electrolytes out the door [1][2].
Why does this matter for a cramping calf? Muscle contraction and relaxation depend on a tightly managed set of minerals: sodium, potassium, calcium, and magnesium. When intake drops or losses rise, those levels can drift. That doesn't automatically mean semaglutide "caused" cramps — but the situation around rapid weight loss (less food, less water, some GI upset) is a reasonable place a provider starts looking.
Magnesium gets singled out because national survey data suggest many U.S. adults take in less than the recommended amount from food alone [3]. If someone was already running low and then starts eating much less, the margin gets thinner. Still — and this is the point — low magnesium is a hypothesis, not a diagnosis. It gets confirmed with information, not assumptions.
Source: [3] Magnesium — Health Professional Fact Sheet, NIH Office of Dietary Supplements
What a provider actually reviews before blaming the drug
The honest answer many people don't hear in a rushed seven-minute visit: most ordinary nighttime leg cramps have no identifiable cause, and they're extremely common — especially with age and during the night [4]. So a careful provider holds two ideas at once. Cramps might be plain old benign cramps that would've happened anyway. Or they might be a clue about hydration, minerals, or something less common.
Here's the kind of sorting an independent provider tends to work through:
- The story. When did cramps start relative to starting the medication? Any nausea, vomiting, or diarrhea? How much are you actually drinking and eating now versus before? Any new medications — including diuretics ("water pills") — which are a known contributor to cramps and electrolyte shifts [4]?
- Simple physiology. Rapid loss of appetite plus reduced fluids is the most common, most fixable explanation, and it usually doesn't require anything dramatic.
- Labs, when the picture warrants it. A basic metabolic panel can show sodium, potassium, calcium, kidney function, and glucose; magnesium is a separate add-on test because it isn't on the standard panel [5]. Thyroid testing may come up, since thyroid problems can show up as muscle complaints.
- The red flags. Cramps that come with swelling in one leg, redness, warmth, or shortness of breath are not "just cramps" — those can point to a blood clot and need prompt, in-person evaluation. Severe, spreading weakness, confusion, or fainting also change the plan entirely.
Notice what's missing: nobody responsible tells you to start loading up on a specific supplement over the phone before knowing your numbers and your kidney function. Magnesium and potassium can be harmful in the wrong amounts, particularly if the kidneys aren't clearing them well [3]. That's exactly why this belongs with a provider and, when indicated, a lab draw — not a guess.
Source: [4] Nocturnal Leg Cramps — Allen RE, Kirby KA. Am Fam Physician., [5] Basic Metabolic Panel — MedlinePlus, NIH
The magnesium question, kept honest
So does magnesium help nighttime cramps? The most rigorous look at the evidence is cautious. A Cochrane systematic review found that magnesium is unlikely to provide meaningful benefit for most people with ordinary muscle cramps, based on the available trials [6]. That's not a reason to ignore a genuinely low magnesium level found on a test — correcting a true deficiency is different from supplementing on a hunch. It's a reason to test before treating, and to let a provider interpret the result in context.
In plain terms: "I read magnesium helps cramps" is a fine thing to raise. "My provider checked my level and we made a plan" is the version that actually protects you.
Source: [6] Garrison SR, et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev.
What this looks like for real, busy lives
If you're early on this path — maybe the weight is finally moving after years of it not, maybe you're squeezing appointments between night shifts and a baby who doesn't sleep — the practical takeaways are calm ones. Sudden loud symptoms deserve a call, not a supplement order. Ordinary cramps deserve a conversation about how much you're drinking and eating now that your appetite is smaller. And any plan involving minerals deserves a look at your labs and kidney function first.
For anyone weighing an oral versus injectable starting point, or wondering how a medication choice interacts with breastfeeding or a chaotic schedule, those are provider conversations — the safest answer here is that these decisions belong with a licensed clinician who knows your history, and a prescription is never guaranteed. Some longevity and weight programs discuss compounded formulations. Compounded medications are not reviewed or approved by the FDA for safety, effectiveness, or quality. Compounded products are not equivalent to or interchangeable with any FDA-approved brand-name drug. Availability varies by state.
Where Velri fits
Velri is a technology and coordination company — it does not provide medical care. What Velri can do is make the pieces line up: help coordinate lab work so an electrolyte or magnesium question can be answered with real numbers, connect you with an independent, licensed provider who reviews your history and symptoms and decides what's appropriate, and — only if that provider writes a prescription — coordinate with an independent, licensed pharmacy. No promise of a specific medication, no shortcuts around the medical judgment that keeps you safe.
This article is educational and is not a substitute for personalized medical advice. If you have severe or unusual symptoms, contact a licensed provider promptly.


