Skip to main content

Health condition

Muscle spasms, their triggers - and when it’s more than a cramp.

From an overworked back to neurological spasticity - a sustained muscle contraction has many causes, and most respond well to the right approach.

A radiographer guides a patient onto the bed of an advanced 3 Tesla MRI scanner in a London imaging suite

Why trust this guide

  • 01

    Editorial team

    Written by our editorial team from the UK sources listed on each page.

  • 02

    Sourced from guidance

    Checked against NICE, NHS and peer-reviewed sources you can see at the end.

  • 03

    Current for 2026

    Reflects modern UK guidance including short-term muscle relaxants and botulinum toxin for spasticity.

Key facts

Muscle spasms at a glance.

The essentials, in plain English - what it is, why it happens, and how it’s treated in the UK today.

  • What it is

    An involuntary sustained or intermittent muscle contraction - distinguished from a brief cramp mainly by how long it lasts.

  • Common triggers

    Muscle overuse, poor posture, dehydration and low electrolytes are the everyday causes seen in clinic.

  • Neurological cause

    Spasticity from multiple sclerosis, cerebral palsy or spinal cord injury produces a different, ongoing pattern of spasm.

  • Where it strikes

    The back and neck are the most commonly affected areas, though any skeletal muscle can spasm.

  • First-line care

    Stretching, physiotherapy, heat or cold therapy and massage settle most everyday spasms.

  • When drugs help

    Short-term muscle relaxants such as diazepam or baclofen, or botulinum toxin for spasticity, are reserved for specific situations.

Why this guide matters

Not every spasm needs the same answer.

Muscle spasms range from a stiff neck after a long day to ongoing spasticity from a neurological condition. The three points below shape everything else on this page.

  • Most spasm is mechanical

    Overuse, poor posture and dehydration cause the majority of everyday spasm - and respond well to simple self-care.

  • Duration tells you something

    A brief cramp is different from a sustained spasm - how long it lasts helps point towards the right explanation.

  • Spasticity needs specialist input

    When spasm is neurological in origin, treatment moves beyond stretching towards baclofen or botulinum toxin under specialist care.

How the diagnosis is made

From a tight muscle to a clear plan.

The steps a UK GP or physiotherapist will normally follow, in order - so you know what to expect and why.

  1. 01

    Assessing

    Clinical history

    Onset, duration, frequency and what brings the spasm on - activity, posture, stress or a particular position.

  2. 02

    Assessing

    Physical examination

    Muscle tone, tenderness, range of motion and a look for asymmetry or wasting.

  3. 03

    Assessing

    Trigger and cause review

    Screening for overuse, poor ergonomics, dehydration, electrolyte imbalance and medication causes.

  4. 04

    Confirming

    Neurological assessment

    If spasticity is suspected - reflexes, tone and gait are checked for a pattern linked to MS, cerebral palsy or spinal cord injury.

  5. 05

    Confirming

    Red flag screen

    Questions about bladder or bowel change, saddle numbness, fever, trauma or unexplained weight loss - signs of structural spinal pathology.

  6. 06

    Preparing

    Imaging if indicated

    MRI or X-ray is reserved for red flags or spasm that fails to settle - not needed for straightforward, short-lived episodes.

  7. 07

    Preparing

    Management plan

    A stepped plan built around the cause found - self-care first, medical or specialist input where needed.

Typical timeline: a first visit to a settled plan in days, not months.

Symptoms

What a muscle spasm actually feels like.

The classic mix of tightness, pain and reduced movement. And the pattern that points towards a neurological cause.

  • Localised tightness

    A band of muscle feels hard, tense and difficult to relax - often the first thing people notice.

  • Pain

    Ranges from a dull ache to a sharp, gripping pain while the muscle is contracted.

  • Reduced range of motion

    The affected joint or region moves less freely while the spasm is active.

  • Activity-triggered spasm

    Brought on by exertion, repetitive movement or an awkward, sustained position.

  • Stress-triggered spasm

    Tension in the neck and shoulders that flares with anxiety or a stressful day.

  • Back muscle spasm

    The most commonly affected area - often paraspinal muscles guarding a strained or irritated back.

  • Neck muscle spasm

    Frequently linked to posture - long periods at a screen or sleeping awkwardly.

  • Red flag - spasticity

    Ongoing, velocity-dependent stiffness rather than an isolated spasm points to a neurological cause and needs assessment.

Treatment

How muscle spasms are treated in the UK.

Self-care and physiotherapy first, short-term medication where needed - and targeted options for spasticity linked to neurological conditions.

  • Stretching and physiotherapy

    Guided stretching and strengthening addresses the muscle imbalance behind recurrent spasm.

  • Heat therapy

    Warmth relaxes tight muscle and improves local blood flow - useful in the first day or two.

  • Cold therapy

    Ice reduces pain and inflammation after a strain-related spasm, particularly in the first 48 hours.

  • Massage

    Manual therapy eases tight muscle bands and can shorten how long an episode lasts.

  • Short-term muscle relaxants

    Diazepam or baclofen for a few days - useful for severe spasm, used briefly to avoid dependence and sedation.

  • Ergonomic and posture advice

    Workstation set-up, sleeping position and movement habits - addressing the root cause prevents recurrence.

  • Hydration and electrolytes

    Adequate fluid and electrolyte balance, especially around exercise or heat, reduces spasm frequency.

  • Botulinum toxin or baclofen

    For spasticity linked to MS, cerebral palsy or spinal cord injury - targeted injections or ongoing baclofen under specialist care.

What this guide is based on

The sources behind every claim on this page.

UK national guidance and specialist society standards, current at the time of last review.

Key references

Guidelines and standards we relied on.

A quiet reminder

This guide is for information, not medical advice.

Your GP or physiotherapist knows your history and can tell you which parts apply to you. If in doubt, get seen.

  • NICE. Spasticity in under 19s: management (CG145) and related adult guidance.

  • NHS. Muscle spasms and cramp - causes and self-care.

  • MS Society and NICE. Multiple sclerosis: management, including spasticity treatment.

  • British National Formulary (BNF). Baclofen and diazepam - prescribing guidance.

Red flags

When a spasm needs urgent attention.

Most muscle spasm is manageable in primary care. These are the situations that aren’t - and where urgent or specialist input is needed.

  • Cauda equina symptoms

    New bladder or bowel disturbance, saddle numbness or bilateral leg weakness alongside back spasm - a same-day emergency.

  • Progressive neurological deficit

    Worsening weakness, numbness or coordination problems need urgent assessment, not routine review.

  • Fever with muscle spasm

    Could indicate infection such as discitis or an abscess - needs prompt investigation.

  • Trauma with suspected fracture

    Spasm following significant injury, especially with deformity or severe pain, warrants same-day imaging.

  • Unexplained weight loss

    Combined with persistent back pain and spasm, this raises concern for malignancy and needs investigation.

  • Unremitting night pain

    Pain and spasm that wake you and aren’t eased by rest or position change deserve a closer look.

  • History of cancer

    New spinal spasm or pain in anyone with a cancer history should be assessed for possible spinal metastasis.

  • Sudden change in spasticity

    A rapid increase in spasticity in spinal cord injury can signal autonomic dysreflexia, infection or a new complication.

  • Muscle relaxant side effects

    Excessive sedation, breathing difficulty or confusion on diazepam or baclofen needs urgent medical review.

Living with it

Manageable day to day, with the right habits.

Four things that make the biggest difference - hydration, daily stretching, a sensible set-up, and knowing when to ask for more.

A quiet reminder

Small habits prevent most everyday spasm.

Water, movement and posture do more for recurrent spasm than any single treatment on its own.

  1. 01 Hydrate

    Stay hydrated

    Regular fluids and electrolytes, especially around exercise or hot weather, cut down on everyday spasm.

  2. 02 Stretch

    Build in daily stretching

    A short daily routine targeting the back, neck and calves reduces how often spasms recur.

  3. 03 Posture

    Fix your set-up

    An ergonomic desk, supportive pillow and regular movement breaks address a common root cause.

  4. 04 Escalate

    Know when to ask for more

    Frequent, severe or neurologically-driven spasm deserves a proper assessment rather than repeated self-treatment.

Frequently asked

Everything we get asked about muscle spasms.

Quick answers on causes, treatment and spasticity.

  • What is a muscle spasm?

    An involuntary sustained or intermittent contraction of a muscle. It causes tightness, pain and reduced movement, and can be triggered by overuse, poor posture, dehydration or an underlying neurological condition.

  • What is the difference between a muscle spasm and a cramp?

    A cramp is typically brief and intensely painful, resolving within seconds to a couple of minutes. A muscle spasm can be more sustained, lasting longer and sometimes recurring over hours or days.

  • What causes muscle spasms?

    Common causes include muscle overuse, poor posture, dehydration and electrolyte imbalance. Spasticity - a different, ongoing pattern - arises from neurological conditions such as multiple sclerosis, cerebral palsy or spinal cord injury.

  • How are muscle spasms treated?

    Stretching, physiotherapy, heat or cold therapy, massage and addressing the underlying trigger settle most episodes. Short-term muscle relaxants are used for severe spasm, and posture or hydration advice helps prevent recurrence.

  • When are muscle relaxants like diazepam or baclofen used?

    They are reserved for short-term use in severe spasm, because of sedation and dependence risks. Baclofen also has a specific, longer-term role in managing spasticity linked to neurological conditions.

  • What is spasticity and how is it treated?

    Spasticity is a velocity-dependent increase in muscle tone seen in conditions like MS, cerebral palsy and spinal cord injury. It is managed with physiotherapy, oral baclofen or targeted botulinum toxin injections under specialist care.