Person holding their calf due to a leg cramp while standing next to a prescription pill bottle.

6 Medications That Cause Leg Cramps and How to Find Relief

Updated on
September 3, 2026

Is My Medication Causing Leg Cramps?

Leg cramps are sudden, involuntary muscle contractions that commonly affect the calves, thighs, or feet. Dehydration, muscle overuse, and changes in electrolyte levels can cause cramps, but certain medications can also contribute to leg cramps. Medicines such as diuretics are among the medications associated with muscle cramping.

If your leg cramps started or became more frequent after beginning a new medication or changing your dose, talk with your healthcare provider. Do not stop taking a prescribed medication without medical guidance.is it

1. Antipsychotics

Some antipsychotic medications can affect movement and muscle control, potentially causing muscle stiffness, spasms, or other movement-related side effects.

If muscle symptoms begin after starting an antipsychotic medication, discuss them with the healthcare professional who prescribed it.

2. Loop Diuretics

Loop diuretics, commonly called water pills, help the body remove excess salt and fluid. They may be prescribed for conditions such as high blood pressure, swelling, or congestive heart failure.

Some diuretics can contribute to dehydration or electrolyte imbalances, including low potassium. Low potassium can cause muscle weakness or spasms, and muscle cramps are a recognized potential effect of some diuretic medications.

3. Thiazide Diuretics

Thiazide diuretics are another type of water pill commonly used to treat high blood pressure. Like other diuretics, they change how the kidneys handle salt and water and can affect electrolyte levels.

If you take a diuretic and develop persistent leg cramps, your healthcare provider may determine whether your medication or electrolyte levels could be contributing.

4. Beta-Blockers

Beta-blockers are commonly prescribed for cardiovascular conditions, including high blood pressure and certain heart conditions. Some people taking cardiovascular medications may experience muscle-related symptoms, but leg cramps can have many possible causes.

If cramps develop after starting or changing a blood pressure medication, discuss the timing and symptoms with your healthcare provider rather than stopping the medication yourself.

5. Beta₂-Agonists

Beta₂-agonists are commonly used to open the airways in people with conditions such as asthma and COPD. Some beta-agonist medications can lower potassium levels, and muscle cramps have been reported as a potential side effect.

6. ACE Inhibitors

ACE inhibitors are commonly used to treat high blood pressure and certain heart conditions. These medications can affect potassium balance in some patients.

Because electrolyte abnormalities can contribute to muscle symptoms, new or persistent cramping while taking a blood pressure medication should be discussed with your healthcare provider.

Can Medications Cause Leg Cramps at Night?

Yes. Medications can contribute to leg cramps at night, although medication is only one possible cause of nighttime cramping.

Diuretics are particularly important to consider because some can contribute to fluid and electrolyte changes. Low levels of minerals such as potassium, sodium, or calcium can make muscle cramping more likely.

If nighttime leg cramps started after you began a new medication, increased a dose, or changed prescriptions, keep track of when the cramps occur and discuss the pattern with your healthcare provider.

Can High Blood Pressure Medication Cause Leg Cramps?

Some high blood pressure medications may be associated with leg cramps, depending on the medication and the individual.

Diuretics are commonly used to lower blood pressure and can affect fluid and electrolyte balance. Other blood pressure medications can also affect potassium levels or cause other side effects that may contribute to muscle symptoms.

Leg cramps do not necessarily mean your blood pressure medication is the cause. Your healthcare provider can review your prescriptions, symptoms, hydration, electrolyte levels, and other possible causes.

Can Congestive Heart Failure Cause Leg Cramps?

People with congestive heart failure may experience leg symptoms for several reasons, including the condition itself, changes in circulation or fluid balance, and medications used as part of their treatment.

Diuretics are frequently used in heart failure to help the body remove excess fluid. Some diuretics can also remove potassium and magnesium, and low potassium may contribute to muscle weakness or cramping.

Because new or worsening leg symptoms in someone with heart failure may have several possible causes, they should be discussed with the patient's healthcare team.

What Else Causes Chronic Calf Cramps?

Medication is not the only possible cause of chronic calf cramps. Recurring leg cramps may also be associated with:

Dehydration, electrolyte abnormalities, medications, and muscle overuse are recognized causes of muscle cramping.

Persistent calf cramps should be evaluated if the cause is unclear or if other symptoms are present.

What Is the Medical Treatment for Leg Cramps?

There is no single medicine or pill for leg cramps that is appropriate for everyone. Medical treatment depends on what is causing the cramps.

A healthcare provider may:

  • Review medications that could be contributing to the cramps
  • Check for dehydration or electrolyte abnormalities
  • Review possible medication interactions
  • Adjust a prescription when medically appropriate
  • Evaluate circulation and vascular health
  • Investigate other underlying medical conditions

Treatment should address the underlying cause rather than simply trying to stop the cramp. Do not take supplements or stop prescribed medications without discussing the change with your healthcare provider.

When Should Severe Leg Cramps Be Evaluated?

Occasional muscle cramps are common, but severe, chronic, or recurring leg cramps deserve further evaluation when they continue without an obvious cause.

Talk with your healthcare provider if cramps:

  • Occur frequently or repeatedly at night
  • Become increasingly painful or severe
  • Began after starting or changing a medication
  • Do not improve with basic measures
  • Occur with persistent swelling, visible veins, skin changes, or other leg symptoms

Keeping track of when your cramps occur, which muscles are affected, and any recent medication changes can help your healthcare provider identify possible causes.

Could My Leg Cramps Be Related to Poor Circulation?

Sometimes.

Leg cramps have many potential causes, and not every recurring cramp is related to vein disease. However, if cramping occurs along with symptoms such as leg heaviness, swelling, aching, or varicose veins, an evaluation may help determine whether an underlying vascular condition is contributing.

BASS Vein Center Can Help

If you experience recurring leg cramps along with swelling, varicose veins, leg heaviness, or other symptoms of poor circulation, the issue may involve your vascular system.

The specialists at BASS Vein Center evaluate vascular conditions and offer minimally invasive treatment options when appropriate.

Call 925-477-3030 or request a consultation.

Note: Coverage varies between insurance plans. Please check with your insurance provider before scheduling. BASS Vein Center will verify your benefits so you understand any out-of-pocket costs ahead of treatment.

Medical Disclaimer: The information provided in this blog is for educational and informational purposes only and is not intended as medical advice, diagnosis, or treatment. BASS Medical Group does not endorse any specific tests, treatments, procedures, or opinions referenced in this content. Individual results may vary. Always consult with your physician or a qualified healthcare provider regarding any medical concerns or before making changes to your health regimen.