A surprisingly wide range of medications can cause muscle spasms, cramps, or involuntary contractions. Cholesterol-lowering statins are the most well-known culprits, but diuretics, antipsychotics, stimulants, asthma inhalers, and even some blood pressure drugs can trigger them too. Understanding which drug classes carry this risk helps you connect the dots between a new prescription and that charley horse that won’t quit.
Statins (Cholesterol Medications)
Statins are probably the first drug class people associate with muscle problems, and for good reason. Roughly 7% of people taking statins experience muscle pain, weakness, or cramping. The spasms happen because the drug can destabilize the outer membranes of muscle cells, especially during physical activity. This triggers the body to break down muscle proteins faster than normal. Statins may also reduce the number and size of mitochondria (the energy factories inside muscle cells), which can cause soreness and cramping even when standard blood tests come back normal.
Lovastatin is specifically flagged as a contributor to muscle cramps, but the effect is considered a class-wide risk. Symptoms can appear within weeks of starting the medication or months later, and they often worsen with exercise.
Diuretics (Water Pills)
Diuretics treat high blood pressure and fluid retention by flushing extra water and salt through your kidneys. The problem is they also flush out potassium, magnesium, and other electrolytes your muscles need to contract and relax properly. When potassium drops too low, muscles struggle to return to a resting state after firing, which leads to painful cramps, particularly in the calves and feet at night.
Magnesium depletion compounds the issue because magnesium helps regulate nerve signals to muscles. Without enough of it, those signals can misfire, producing involuntary twitches and spasms. This is why people on long-term diuretic therapy are often told to eat potassium-rich foods or take supplements.
Antipsychotics and Acute Dystonia
Antipsychotic medications can cause a dramatic form of muscle spasm called acute dystonia. This involves uncontrollable, often painful twisting or sustained contraction of muscles, most commonly in the neck, jaw, or eyes. An oculogyric crisis, where the eyes roll upward involuntarily, is one of the more alarming presentations.
These reactions typically appear suddenly within the first five days of starting an antipsychotic. Dystonic episodes can last anywhere from a few seconds to several hours and may be sustained, fluctuating, or come and go in episodes. Younger patients and those on higher doses face higher risk. The spasms respond quickly to treatment, but they’re frightening enough that many people stop their medication without guidance, which creates its own problems.
Asthma Inhalers and Bronchodilators
If you’ve ever noticed your hands trembling after using an albuterol inhaler, that’s a direct effect of beta-2 stimulation on your skeletal muscles. These drugs work by relaxing the smooth muscle in your airways, but beta-2 receptors also exist throughout your skeletal muscles. When those receptors are activated, the normal fusion of rapid muscle contractions becomes incomplete, producing visible tremor and sometimes spasms, particularly in the fingers and hands.
There’s a second mechanism at play: beta-2 agonists can lower potassium levels in the blood. This potassium drop, even when mild, correlates closely with increased tremor. The effect is usually dose-dependent, meaning a couple puffs from a rescue inhaler causes less trouble than nebulizer treatments or oral forms of the same drugs.
Stimulants
Stimulant medications used for ADHD, as well as caffeine, pseudoephedrine (found in many cold medicines), amphetamines, and even nicotine, are all linked to muscle spasms and increased muscle tension. These substances ramp up the sympathetic nervous system, your body’s fight-or-flight response, which raises baseline muscle tone throughout the body.
One of the most common complaints is jaw clenching and teeth grinding. Stimulants boost dopamine and norepinephrine activity, which can lead to unconscious, sustained contraction of the jaw and facial muscles. Many people don’t realize they’re clenching until they develop jaw pain or headaches. The same increased nervous system activation can cause tight shoulders, neck stiffness, and leg cramps.
Blood Pressure Medications
Two classes of blood pressure drugs appear on the list. Angiotensin II receptor blockers (ARBs) are specifically identified as contributors to muscle cramps. ACE inhibitors like lisinopril can also cause cramps, though this is considered a rare side effect rather than a common one. The mechanism isn’t as clearly understood as it is with diuretics, but these medications influence fluid balance and electrolyte handling in the kidneys, which may play a role.
Since many people with high blood pressure take both a blood pressure drug and a diuretic, the combined effect on electrolytes can make cramping worse than either drug alone would cause.
Other Medications to Be Aware Of
Several other drug categories round out the list:
- Oral contraceptives are associated with muscle cramps, possibly through their effects on fluid retention and electrolyte shifts.
- Chemotherapy drugs like cisplatin and vincristine can cause cramps and spasms as part of their broader effect on nerves and electrolyte balance.
- Raloxifene, used for osteoporosis, lists muscle cramps as a known side effect.
- Donepezil, prescribed for Alzheimer’s disease, can trigger cramps by increasing the activity of a chemical messenger involved in muscle contraction.
- Corticosteroids can disrupt electrolyte levels when used long-term, contributing to cramps and weakness.
- Certain antibiotics can cause involuntary muscle jerking (myoclonus), with symptoms appearing within days of starting the drug and resolving within days of stopping it.
Withdrawal Can Cause Spasms Too
It’s not only starting a medication that triggers muscle problems. Suddenly stopping certain drugs can cause spasms as well. Alcohol, barbiturates, benzodiazepines (like lorazepam or diazepam), and other sedative-hypnotics are all associated with muscle cramps and spasms during withdrawal. The nervous system rebounds from being suppressed, and that rebound can cause muscles to fire erratically. This is one reason abruptly stopping sedatives without medical guidance is dangerous.
What to Do If You Suspect Your Medication
Timing is one of the best clues. If muscle spasms started within days or weeks of beginning a new medication, that drug is a strong suspect. For some medications like antipsychotics, the timeline is very short (within five days). For others like statins or levodopa, symptoms can take weeks, months, or even longer to develop.
The typical approach is a dose adjustment rather than immediately stopping the drug. Many medications that cause spasms work best when started at a low dose and increased gradually, which can reduce muscle-related side effects. For diuretic-related cramps, correcting the underlying electrolyte imbalance with potassium or magnesium supplementation often resolves the problem without changing the prescription at all.
Stopping certain medications suddenly, especially sedatives, antispasmodics, or drugs you’ve taken for a long time, can actually make muscle spasms worse or cause new ones. Any changes to your regimen should be gradual and planned. If you’re experiencing persistent or painful spasms after starting a new drug, bring it up at your next appointment so the dose or medication can be reconsidered.

