Types

Muscle Spasm

Choose a preferred language

A muscle spasm is a sudden tightening of the muscle you can’t control. This may be caused by strain, overworking the muscle, or injury. It can also be caused by dehydration, electrolyte imbalance, diabetes, alcohol use, and some medicines. If it goes on long enough, the muscle spasm causes pain. Common areas for muscle spasm are the legs, neck, and back.


Home care

  • Heat, massage, walking, hot shower or bath, ice massage, and stretching exercises can all help relax muscle spasm.

  • When the spasm is in your arm or leg, stretch the muscle passively. To do this, have someone bend or straighten the joint above or below the muscle until you feel the stretch on the sore muscle. You can stretch the muscle actively by moving the affected body part. This will stretch the muscle that is in spasm. For instance, if the spasm is in your calf, bend the ankle so your toes point upward toward your knee. This will stretch your calf muscle.

  • You may use over-the-counter pain medicine to control pain, unless another medicine was prescribed. Talk with your health care provider before using these medicines if you have chronic liver or kidney disease, ever had a stomach ulcer or gastrointestinal bleeding, or take a blood thinner.


Follow-up care

Follow up with your health care provider as advised.


When to get medical advice

Contact your health care provider right away if:

  • Your fingers or toes become swollen, cold, blue, numb, or tingly.

  • You develop weakness in the affected arm or leg.

  • Your pain increases and isn't controlled by the above measures.

Online Medical Reviewer: Louise Cunningham RN BSN

Online Medical Reviewer: Raymond Turley Jr PA-C

Online Medical Reviewer: Thomas N Joseph MD

Date Last Reviewed: 02/01/2025

© 2000-2026 The StayWell Company, LLC. All rights reserved. This information is not intended as a substitute for professional medical care. Always follow your healthcare professional's instructions.
Suitcase Icon

Learn More About Health Services at PIH Health

Expert care for every stage of life. Explore the comprehensive services offered at PIH Health.

Explore Services
Newspaper Icon

Get Health Tips & Updates

Sign up for helpful health information, wellness tips and news from PIH Health, delivered straight to your inbox.

Subscribe
Related Articles
Read article
Orthopedics
Knee Sprain of the Collateral Ligaments

You have a knee sprain. A sprain is a tearing of a ligament. Learn how to take care of a knee sprain at home.

Read article
Orthopedics
Bone Cyst

A bone cyst is a hole, or cavity, inside your bone that is filled with fluid. Learn how to treat and care for a bone cyst.

Read article
Orthopedics
Sciatica

Sciatica is a condition that causes pain in the low back and down into the buttock, hip, and leg. Read on to learn more about this condition, along with helpful tips to care for yourself at home.

Read article
Orthopedics
Understanding Osteonecrosis

Osteonecrosis is a disease of the bones. Over time, the bone breaks down. Learn about the causes, symptoms, treatment, and possible complications of this condition.

Stethoscope Icon

Personalized Care Starts with the Right Provider

Search by specialty, location, and more.

Find A Doctor
Appointments Icon

Make an Appointment

Your health can't always wait. Schedule an appointment with a PIH Health provider.

Schedule an Appointment
Cross Icon

Find a PIH Health Urgent Care Location

Need care today?. Find the nearest PIH Health Urgent Care location.

Find Urgent Care