Cholesterol-lowering statins, blood pressure medications, and diuretics are among the most common medications that cause muscle cramps. But the list extends well beyond those three categories, touching everything from asthma inhalers to osteoporosis drugs to chemotherapy agents. If you’ve started a new medication and noticed cramping that wasn’t there before, there’s a good chance the drug is involved.
Statins (Cholesterol Medications)
Statins are probably the most widely recognized culprit. In a study of over 300 statin users, roughly 73.5% reported muscle pain of some kind. The rates varied by specific drug: rosuvastatin users reported the highest prevalence at 79.5%, followed by atorvastatin at 70.5% and simvastatin at 68.2%. For many people, the symptoms are mild soreness or stiffness. But a meaningful percentage experience moderate to severe cramping. Among rosuvastatin users, about 34% reported moderate or severe muscle cramps. For atorvastatin, that figure was around 37%.
Statins work by blocking an enzyme your liver needs to produce cholesterol, but that same pathway is involved in producing a molecule called coenzyme Q10, which your muscles use for energy. The resulting depletion may explain why muscle symptoms are so common. Higher doses tend to cause more problems, and the risk increases if you’re also taking certain other medications that interact with statins.
Diuretics (Water Pills)
Diuretics prescribed for high blood pressure or fluid retention cause cramping through a different route: they flush out electrolytes along with excess water. The primary mechanism involves depletion of potassium and magnesium, two minerals essential for normal muscle contraction and relaxation. Volume contraction, meaning the overall reduction in fluid in your body, also plays a role, sometimes alongside a shift in blood chemistry called metabolic alkalosis.
Loop diuretics like furosemide are the more aggressive type. They can also lower calcium levels, adding another electrolyte imbalance to the mix. Thiazide diuretics are less likely to cause calcium loss because they actually help your kidneys retain calcium, but they still deplete potassium and magnesium. If you’re taking a diuretic and getting leg cramps, especially at night, low electrolytes are the most likely explanation.
Blood Pressure Medications Beyond Diuretics
ACE inhibitors, a widely prescribed class of blood pressure drugs, have a subtler connection to muscle pain. These medications block an enzyme that, as a side effect of doing its main job, also breaks down two inflammatory signaling molecules: bradykinin and substance P. When ACE inhibitors prevent that breakdown, levels of both rise. Substance P promotes inflammation in muscles and joints, while bradykinin activates pain receptors, particularly a receptor that becomes more sensitive over time and contributes to chronic pain.
In one pharmacy-based analysis, about 24.5% of long-term ACE inhibitor users were also filling prescriptions for chronic pain medications, compared to 20.5% of people taking a related but different class called ARBs. That roughly 4% gap wasn’t statistically significant in the study, but the researchers noted it could be clinically meaningful at a population level, translating to about 1 in 25 ACE inhibitor users developing additional pain that might have been avoided with a different blood pressure drug. ARBs don’t raise bradykinin levels as much, which may explain the difference.
Asthma Inhalers and Bronchodilators
Albuterol, the most commonly used rescue inhaler for asthma and other breathing conditions, stimulates a type of receptor found in both your airways and your skeletal muscles. That’s why trembling or shaking of the hands and feet is listed as one of its more common side effects. Muscle cramps are also a recognized side effect, though they occur less predictably. People who use albuterol frequently, through a nebulizer or multiple inhaler puffs daily, are more likely to notice these effects because the cumulative dose is higher.
Osteoporosis and Hormone Medications
Raloxifene, a medication used to prevent and treat osteoporosis in postmenopausal women, causes leg cramps at notably higher rates than placebo. In prevention trials, 5.5% of women taking raloxifene reported leg cramps compared to 1.9% on placebo, nearly triple the rate. In treatment studies involving women who already had osteoporosis, the numbers were higher across the board: 9.2% with raloxifene versus 6.0% with placebo. Over an eight-year follow-up period, leg cramps remained consistently more common in the raloxifene group, and the difference was statistically significant.
The mechanism isn’t fully understood, but raloxifene acts on estrogen receptors throughout the body, including in blood vessels and muscles. Its effects on circulation, particularly the known increase in blood clot risk, suggest it alters vascular function in ways that could reduce blood flow to muscles during rest, triggering cramps.
Chemotherapy Drugs
Certain cancer treatments, particularly taxanes (like paclitaxel) and vinca alkaloids (like vincristine), cause peripheral neuropathy that often includes muscle cramping and pain. These drugs kill cancer cells by interfering with structures called microtubules that cells need to divide. The problem is that your nerve cells also rely on microtubules to transport nutrients along their long fibers. When the drugs disrupt that transport system, the nerve endings in your skin and muscles begin to degenerate.
This nerve damage is actually the dose-limiting side effect of these drugs, meaning it’s often the reason oncologists have to reduce the dose or stop treatment. The resulting neuropathy can include not just cramping but also burning, tingling, and chronic pain. Research has shown that these drugs damage the terminal branches of sensory nerves in the skin and may impair the energy-producing structures inside nerve cells, which could explain why the damage sometimes persists long after treatment ends.
Alzheimer’s Medications
Donepezil, one of the most commonly prescribed medications for Alzheimer’s disease, lists muscle cramps as a “more common” side effect in clinical trial data. This drug works by increasing levels of a chemical messenger called acetylcholine, which is involved in memory but also plays a central role in triggering muscle contractions. Boosting acetylcholine throughout the body, not just in the brain, can lead to excessive muscle activation and cramping. Caregivers and family members should be aware of this connection, since patients with Alzheimer’s may not be able to clearly report or describe the discomfort they’re experiencing.
Managing Medication-Related Cramps
If you suspect a medication is causing your cramps, the first step is identifying which drug is most likely responsible. Timing is the strongest clue: cramps that started within days or weeks of beginning a new medication, or after a dose increase, point strongly to that drug.
For diuretic-related cramps, the fix is often straightforward. Replenishing potassium and magnesium through diet or supplements can resolve the problem without changing the medication. Foods like bananas, potatoes, spinach, and nuts are rich in both minerals.
For statin-related muscle symptoms, your doctor may try switching to a different statin, lowering the dose, or adding coenzyme Q10 supplements, though evidence for Q10 is mixed. Some people tolerate one statin well while having significant problems with another.
One option that has shown strong results in a small but rigorous trial is vitamin B complex supplementation. In a randomized, double-blind, placebo-controlled study of elderly patients with high blood pressure who suffered from severe nocturnal leg cramps, 86% of those taking a B-complex supplement experienced prominent remission of their cramps after three months. The placebo group saw no significant improvement. The supplement significantly reduced the frequency, intensity, and duration of cramps, and the researchers suggested it as a safer alternative to quinine, which was previously the go-to treatment but carries its own serious side effects.
Stretching the affected muscles before bed, staying well hydrated, and gentle movement throughout the day can also help regardless of which medication is involved. If cramps are severe or persistent, switching to a medication in the same class or an alternative class is often possible without sacrificing the therapeutic benefit you need.

