SymptomBones, joints & muscles
Back Cramps and Spasms
Back spasms are sudden, involuntary contractions of the muscles along the spine that cause sharp, gripping pain and stiffness, sometimes bad enough to stop you moving. Most are the muscles guarding an underlying strain, a disc or joint problem, or overuse, and they ease within days to a few weeks with gentle movement, heat and simple pain relief. Back spasms with leg weakness, numbness in the groin, or loss of bladder control need emergency care.
Also called: Back muscle spasms, back muscle cramps, lumbar spasm, muscle spasm in the back, back seizing up
At a glance
- What it is
- Sudden, involuntary tightening of back muscles with sharp, gripping pain and stiffness.
- Common causes
- Muscle strain, lifting or twisting, poor posture, a disc problem or facet joint irritation.
- How long it lasts
- An acute spasm usually eases in a few days; full recovery often takes 2 to 6 weeks.
- Treatment
- Keep moving gently, heat, OTC pain relief and gradual exercise.
- Red flags
- Numbness in the groin, bladder or bowel changes, leg weakness, fever or a history of cancer.
When to get help
Call 911 or go to the ER
- Numbness around the genitals, buttocks or inner thighs, or new difficulty passing urine or loss of bladder or bowel control
- Rapidly worsening weakness in one or both legs
- Severe back pain after a fall or crash, especially in an older adult or someone with osteoporosis
- Sudden severe back or belly pain with dizziness or fainting, especially in a smoker over 60 (possible aortic aneurysm)
See a doctor within a day or two
- Back pain or spasms with fever above 38 °C (100.4 °F), especially after injecting drugs, recent surgery or a recent infection
- Spasms with severe pain in the side that comes in waves, or blood in the urine
- Back pain with a history of cancer, or unexplained weight loss
- Constant pain that is worse at night and not eased by rest or changing position
Book a routine appointment
- Spasms that keep coming back or do not improve after 4 to 6 weeks
- Pain spreading below the knee with numbness or tingling in the foot
Usually safe to manage at home
- Spasms after lifting, twisting, gardening or a new activity, with pain easing on lying down or changing position
- Stiffness and tightness after sitting or sleeping awkwardly
What a back spasm feels like
People describe a back spasm as the back "seizing up" or "locking". Typical features:
- sudden, sharp or gripping pain, often after a simple movement like bending to pick something up
- a hard, tender knot in the muscles beside the spine
- difficulty standing straight, sometimes leaning to one side
- pain that comes in waves, then a constant ache and stiffness between spasms
- pain eased by lying still in a comfortable position
A spasm is usually the body's protective response. Muscles tighten to splint an injured area, which is why spasms often come with an underlying strain or joint or disc irritation.
Common causes of back spasms
- Muscle strain: overstretching or small tears from lifting, twisting or sudden movement. The most common cause.
- Overuse and fatigue: long gardening sessions, moving house, or a new sport.
- Prolonged posture: sitting at a desk or driving for hours, or sleeping awkwardly.
- Disc problems: a herniated disc can trigger strong muscle guarding, often with pain spreading down a leg (sciatica).
- Facet joint irritation: the small joints at the back of the spine can lock and cause sudden spasm.
- Dehydration and electrolyte imbalance: low potassium, calcium or magnesium make cramps more likely, especially with heavy sweating.
- Stress: emotional tension increases muscle tone in the neck and upper back.
Upper back vs lower back spasms
| Upper back (between the shoulder blades) | Lower back (lumbar) | |
|---|---|---|
| Common triggers | Desk posture, looking down at phones, carrying bags, stress | Lifting, bending, twisting, sitting long periods |
| Often linked with | Neck pain, tension headaches | Disc problems, sciatica |
| Things to rule out | Rarely, heart pain, which can be felt between the shoulder blades | Kidney stones or infection, aortic aneurysm |
For lower back spasms specifically, see low back cramps and spasms.
Less common and serious causes
- Kidney stones cause waves of severe pain in the side and back that do not ease with rest or position.
- Kidney infection causes back pain with fever and urinary symptoms.
- Compression fractures in people with osteoporosis.
- Infection or cancer in the spine, which causes constant pain that worsens at night.
- Cauda equina syndrome, compression of the nerves at the base of the spine, which is a surgical emergency.
- Fibromyalgia and other widespread pain conditions.
How doctors assess back spasms
Most back spasms are diagnosed with a history and examination. The doctor will ask how it started, where the pain spreads, and about red flags such as bladder changes, fever, weight loss and cancer history. They check how you move, feel for tender muscles and test leg strength, reflexes and sensation.
Imaging (X-ray, MRI) is not needed for most back spasms in the first 6 weeks, because results rarely change treatment. It is used when red flags are present or symptoms persist despite treatment.
Back spasm relief: what works
In the first few days
- Keep moving gently. Bed rest slows recovery. Short walks, even a few minutes at a time, help spasms ease.
- Heat: a heat pad or warm bath for 15 to 20 minutes relaxes tight muscles. Guidelines support heat more than ice for acute low back pain.
- Pain relief: an NSAID such as ibuprofen or naproxen is usually the first choice, following the label dose. Avoid NSAIDs if you have stomach ulcers, kidney disease or heart failure, or take blood thinners. Acetaminophen (paracetamol) is an alternative, although evidence for its effect on back pain is weaker.
- Find a comfortable position: lying on your back with a pillow under your knees, or on your side with a pillow between your knees.
- Gentle stretches such as knee-to-chest and pelvic tilts, stopping if pain sharpens.
Prescription options
Doctors sometimes prescribe a muscle relaxant for a few days for severe spasms. These can cause drowsiness and are not suitable for long-term use. Opioids are generally avoided for routine back pain.
Over the following weeks
- Physical therapy to restore movement and strengthen the core and back muscles.
- Massage, spinal manipulation and acupuncture help some people with short-term relief.
- Return to normal activity and work as soon as possible. This is linked with faster recovery.
Preventing back spasms
- Lift with your legs, keep loads close to your body, and avoid twisting while lifting.
- Take a break from sitting every 30 to 60 minutes.
- Set up your desk so the screen is at eye level and your feet rest flat.
- Strengthen your core and back muscles with regular exercise such as walking, swimming, Pilates or yoga.
- Warm up before sport and build up new activities gradually.
- Stay hydrated during long exercise in the heat.
Frequently asked questions
How long do back spasms last?
A severe spasm usually eases within a few hours to a few days. The soreness and stiffness that follow often take 1 to 6 weeks to settle fully. If pain is not improving after 4 to 6 weeks, or keeps returning, see a doctor or physical therapist.
What is the fastest way to relieve a back spasm?
Gentle movement, heat and an over-the-counter anti-inflammatory such as ibuprofen (if safe for you) give the quickest relief for most people. Lying in a comfortable position and gentle stretches help the muscle release. Avoid staying in bed for long periods.
Can dehydration cause back spasms?
It can contribute. Heavy sweating and low levels of potassium, magnesium or calcium make muscles more prone to cramping. Most back spasms, though, are caused by strain or an underlying spine problem rather than dehydration alone.
Are back spasms a sign of something serious?
Usually not. Most are linked to muscle strain or minor joint and disc problems. They need urgent attention if they come with numbness in the groin, bladder or bowel changes, leg weakness, fever, a history of cancer, or follow a significant fall or injury.
Should I use heat or ice for a back spasm?
Heat is usually more helpful for back spasms because it relaxes the muscle and improves blood flow. Some people prefer ice in the first day or two after a clear injury. Use whichever eases your pain more, for 15 to 20 minutes at a time.
Sources
This guide was written from current patient and clinical guidance, including:
- American College of Physicians: Noninvasive treatments for acute, subacute and chronic low back pain
- NICE: Low back pain and sciatica in over 16s (NG59)
- MedlinePlus: Back pain
- American Academy of Orthopaedic Surgeons (OrthoInfo): Low back pain
- NHS: Back pain