Neck & back problems
Stiff neck after sleeping
Waking up unable to turn your head is common and usually settles within days. Here is what is known about why it happens, and the signs that it is more than a crick.
A stiff neck after sleeping usually makes itself known the moment you try to sit up. You went to bed feeling fine. Now turning your head to one side hurts, you twist your whole upper body to look over your shoulder, and there is a tight, sore spot at the side or back of the neck. It is one of the most common ways neck pain starts, and in most cases it settles within days.
That does not make it pleasant, and it does raise questions: is it the pillow, the mattress, the way you slept, or the day you spent at your desk? The honest answer is that research on this is thinner than you might expect. Here is what is known.
What a stiff neck after sleeping is
The NHS lists “the neck becoming locked in an awkward position while sleeping” as one of the most common causes of neck pain (NHS).
At the more dramatic end is an acute wry neck, also called acute torticollis. An NHS emergency department leaflet describes it as a twisted neck, with the head tipped to one side and the chin turned to the other, caused by the muscles that support the neck going into spasm. “Acute” means it develops over hours or overnight, and the leaflet notes that it is not unusual to go to bed feeling fine and wake up with it. It is a common cause of neck pain in young people. Typical symptoms include a limited range of movement, neck pain, stiff and swollen neck muscles, a headache, and one shoulder sitting higher than the other (Royal Berkshire NHS Foundation Trust, 2024).
Many morning stiff necks are milder than that: you can still move your head, just not far, and not without wincing. Among the muscles that hold and turn the head are the levator scapulae, which runs from the upper neck down to the shoulder blade, and the sternocleidomastoid, which runs from behind the ear to the breastbone and collarbone.
Why do you wake up with a stiff neck?
Often nobody can say for sure. The NHS leaflet is candid that the cause is often not known, and that it can happen to people with no previous neck problems. Where there is a trigger, it lists sitting or sleeping in an unusual position without neck support, poor posture while looking at a computer screen, and carrying heavy or unbalanced loads (Royal Berkshire NHS Foundation Trust, 2024).
Researchers have not studied it much. When a team at Curtin University searched the literature for studies on sleep posture and back or neck symptoms, they started with 4,186 articles and found only four that met their criteria. Those four suggested that lying on your side was generally linked with fewer waking symptoms, but the authors concluded that there were not enough high-quality studies to say much more (Cary et al., 2019).
So the usual explanations are reasonable, but most of them rest on clinical experience rather than trials.
How you sleep
NHS advice on preventing neck pain is mostly about the night: keep your head at the same height as the rest of your body, use a firm mattress, avoid sleeping on your front, and avoid twisting your neck in bed (NHS). Sleeping on your front means keeping the head turned to one side for hours, which fits with the NHS’s description of a neck “locked in an awkward position”.
Your pillow
The NHS suggests a low, firm pillow when your neck hurts (NHS). Beyond that, the trials give a modest picture.
A 2021 review of pillow studies found nine high-quality trials with 555 participants. The pooled results favoured rubber pillows for reducing neck pain, and the authors concluded that rubber and spring pillows reduced neck pain and waking symptoms. The effects were small, and no pillow design changed sleep quality. The authors also reported that the alignment of the neck in bed seemed to depend more on a pillow’s shape and height than on what it was made of (Pang et al., 2021). A 2025 review of five studies published since 2015, with 239 people with long-term neck pain, found only limited evidence for special pillows, and no type (latex, foam or standard) clearly better than the others (Ghosh et al., 2025).
In practice, the evidence does not support paying a lot for a particular material. What seems to matter more is a pillow that keeps your head roughly level with your body in the position you actually sleep in. Our guide to sleeping position and pillows for neck pain goes through how to judge that.
How well you sleep
Poor sleep and neck pain seem to feed each other. Long-term neck pain disturbs sleep (Ghosh et al., 2025), and several studies suggest it works the other way too:
- In a Finnish study of 5,277 employees aged 40 to 60, women with frequent sleep problems were more likely to develop long-term neck pain over the following years (odds ratio 1.5) (Kääriä et al., 2012).
- In a Brazilian study that followed 396 adults without neck pain for a year, low sleep quality raised the odds of new neck pain (odds ratio 1.76), while the angle of the neck when using a phone did not (Correia et al., 2025).
- In 2,059 people living in areas hit by the Great East Japan Earthquake, sleep disturbance came before new neck pain, and the longer the sleep problems lasted, the stronger the link (Yabe et al., 2022). That group lived through unusual stress, so the result may not apply directly to everyone.
These studies measure longer-term neck pain rather than a single stiff morning, but they are a reminder that the quality of your night can matter as much as the pillow.
The day before
Your neck does not start the night fresh. The NHS leaflet names poor posture while looking at a computer screen as one trigger for a wry neck, and the NHS advises not keeping your neck in the same position for a long time when sitting at a desk (Royal Berkshire NHS Foundation Trust, 2024; NHS). In a study that filmed 1,334 workers and followed them for three years, those who sat for more than 95% of their working time had more than twice the risk of developing neck pain (Ariëns et al., 2001). We found no study that tested whether a long desk day makes a stiff morning more likely, but if you notice the pattern in yourself, it is a fair guess.
How long does a stiff neck last?
Usually not long. The NHS leaflet says the symptoms of an acute wry neck usually get better on their own after a few days, but sometimes take a little longer (Royal Berkshire NHS Foundation Trust, 2024). For neck pain in general, the NHS says most only lasts a few weeks (NHS), and NHS inform expects the biggest change in the first couple of weeks, with most problems improved within 8 weeks (NHS inform).
What generally helps a stiff neck
The aims, in the leaflet’s words, are to reduce pain and muscle stiffness. The advice from NHS sources is consistent:
- Keep it moving, gently. The NHS advises against a neck collar unless a doctor tells you otherwise, because it is better to keep your neck moving. The NHS leaflet says gentle neck exercises are usually advised (NHS; Royal Berkshire NHS Foundation Trust, 2024).
- Use heat or cold. The NHS suggests a hot water bottle wrapped in a tea towel for 20 minutes, two to three times a day, or a pack of frozen peas wrapped in a tea towel for 5 minutes, three times a day (NHS). The leaflet notes that heat often helps with muscle stiffness. NHS inform adds: never put heat or ice straight onto skin, leave a few hours between treatments, and stop if you see increasing redness or blistering. What the studies say about heat and cold for the lower back is in heat or ice for back pain.
- Simple painkillers. The NHS mentions paracetamol, ibuprofen tablets or ibuprofen gel. The leaflet’s point is that they can make gentle movement possible, not that they fix anything.
- Carry on with your day, carefully. NHS inform recommends staying at work or returning quickly, even if you are not yet pain free (NHS inform). The NHS does warn against anything that could be dangerous while you cannot turn your head, such as driving or cycling.
It is worth knowing the limits of the evidence here. When a Cochrane review pooled 27 exercise trials for neck pain, it found no evidence on exercise for acute neck pain on its own, which leaves the question open rather than answered (Gross et al., 2015). The “keep moving” advice comes from clinical guidance rather than from trials on wry neck itself. For neck pain that lasts longer, there is more research, and Do stretches help neck pain from desk work? looks at what it found.
If it keeps happening
One stiff morning a year is bad luck. If it happens every few weeks, a few things are worth looking at.
Your bed. Check the pillow height in the position you actually sleep in, and whether you end up on your front. The sleeping position and pillow guide covers this.
Your sleep. Given the studies above, regular poor sleep is worth taking seriously in its own right.
Your days. If your neck is already sore by the end of a workday, the stiff mornings may be part of a wider pattern of neck pain from desk work. Breaking up long spells in one position, with microbreaks and a screen set at a sensible height, is a reasonable place to start, and the page on forward head posture explains what is and is not known about how you hold your head.
Your age. Two conditions that cause neck stiffness become more common as you get older. Cervical spondylosis, the age-related wear of the cervical spine, is common in people over 40 and can cause neck and shoulder pain or stiffness that comes and goes, although many people with it have no symptoms at all (NHS). Polymyalgia rheumatica causes pain and stiffness in the muscles around the shoulders, neck and hips. Its main symptom is morning stiffness that lasts longer than 45 minutes. Most people diagnosed are over 65, and it is very rare under 50 (NHS).
When to see a doctor
Most stiff necks after sleeping are a nuisance, not a danger. But a stiff neck is also one of the classic signs of meningitis, so it is worth knowing the difference. This page does not replace a doctor.
Call 999 or go to A&E if a stiff neck comes with any of these (NHS):
- a very high or very low temperature, feeling hot or cold to the touch, or shivering
- a very painful headache
- being unable to look at bright lights
- confusion, slurred speech or not making sense
- a rash that does not fade when you press a glass against it
- a first seizure (fit)
Meningitis symptoms come on suddenly, and not everyone gets a rash. Fever is not among the usual symptoms of a wry neck listed in the NHS leaflet, so a stiff neck with a fever is the combination to act on quickly.
Contact your GP practice urgently, or call 111 if it is closed, if (NHS inform):
- numbness, pins and needles, clumsiness or weakness in one or both arms is getting worse
- you have had problems with balance or walking since the neck pain started
- the neck pain comes with a severe headache
See a GP if (Royal Berkshire NHS Foundation Trust, 2024; NHS):
- the pain is severe, or spreads down your arm into your hand
- you have numbness or weakness in your hands or feet
- it is not improving after a few days
- you have had pain and stiffness for more than a week, especially stiffness in the neck and shoulders that lasts long into the morning
If you have been diagnosed with polymyalgia rheumatica, or think you might have it, and you develop a new headache with a tender scalp, jaw pain when eating or talking, or problems with your sight, contact a GP immediately or call 111. These can be signs of temporal arteritis, which needs urgent treatment (NHS).
And if the stiffness started after a fall or a blow to the head or neck, get it checked rather than putting it down to the pillow (NHS inform). If you want a physiotherapist’s view and are wondering about private care, see how much physiotherapy costs.
Where Bavelu fits
The first painful morning is a time for heat, gentle movement and patience, or a doctor if anything above applies. The weeks after are when it helps to keep your neck moving through long days at a desk. Bavelu’s neck sessions are designed and filmed by physiotherapists, come in a short and a full version each day, and can be done on a chair or a mat with no equipment, alongside two to four minute desk routines guided by your AirPods. It is exercise guidance, not a diagnosis or treatment.
Questions people ask
How long does a stiff neck from sleeping last?
An acute wry neck usually gets better on its own after a few days, according to an NHS emergency department leaflet, although it sometimes takes a little longer. The NHS says most neck pain only lasts a few weeks. If it is not improving after a few days, or you are worried, see a GP.
Is heat or ice better for a stiff neck?
The NHS suggests either, wrapped in a tea towel to protect your skin, and an NHS hospital leaflet notes that heat often helps with the muscle stiffness of a wry neck. Neither is a cure, but they can ease symptoms while you keep your neck moving.
What is the best pillow for a stiff neck?
No pillow has been proven best. The NHS suggests a low, firm pillow and keeping your head at the same height as the rest of your body. Reviews of pillow trials found small benefits for some designs, and suggest the height and shape of a pillow matter more than what it is made of.
When is a stiff neck an emergency?
Call 999 or go to A&E if a stiff neck comes with a fever or feeling very hot or cold, a very painful headache, being unable to look at bright lights, confusion, or a rash that does not fade when you press a glass against it. These can be signs of meningitis, and fever is not one of the usual symptoms of a neck that is simply stiff from sleeping awkwardly.
Why do I keep waking up with a stiff neck?
Common reasons include a pillow that holds your head too high or too low, sleeping on your front, poor sleep and long days in one position at a desk. If you are over 50 and wake with stiffness in your neck and shoulders that lasts more than 45 minutes most mornings, see a GP, as this can be a sign of polymyalgia rheumatica.
Terms on this page
- Cervical spineThe seven vertebrae of the neck, C1 to C7, from the base of the skull to the top of the chest.
- Levator scapulaeThe strap-like muscle from the side of the neck to the upper corner of the shoulder blade.
- SternocleidomastoidThe two cord-like muscles at the front and sides of the neck that turn and tilt the head.
- Wry neckA painful, twisted neck from muscle spasm that comes on quickly, often overnight, and usually settles in days.
Sources
- NHS. Neck pain.
- Royal Berkshire NHS Foundation Trust, Emergency Department. Acute torticollis (wry neck). Patient leaflet, 2024.
- NHS inform. Neck problems.
- Cary D, Briffa K, McKenna L. Identifying relationships between sleep posture and non-specific spinal symptoms in adults: a scoping review. BMJ Open, 2019.
- Pang JCY, Tsang SMH, Fu ACL. The effects of pillow designs on neck pain, waking symptoms, neck disability, sleep quality and spinal alignment in adults: a systematic review and meta-analysis. Clinical Biomechanics, 2021.
- Ghosh S, Goyal M, Goyal K. Effect of pillow on pain, disability and sleep quality in patients with chronic neck pain: a systematic review. Rehabilitación, 2025.
- Kääriä S et al. Risk factors of chronic neck pain: a prospective study among middle-aged employees. European Journal of Pain, 2012.
- Correia IMT et al. Cervical flexion posture during smartphone use was not a risk factor for neck pain, but low sleep quality and insufficient levels of physical activity were. A longitudinal investigation. Brazilian Journal of Physical Therapy, 2025.
- Yabe Y et al. Sleep disturbance is associated with neck pain: a 3-year longitudinal study after the Great East Japan Earthquake. BMC Musculoskeletal Disorders, 2022.
- Gross A et al. Exercises for mechanical neck disorders. Cochrane Database of Systematic Reviews, 2015.
- Ariëns GA et al. Are neck flexion, neck rotation, and sitting at work risk factors for neck pain? Results of a prospective cohort study. Occupational and Environmental Medicine, 2001.
- NHS. Cervical spondylosis.
- NHS. Polymyalgia rheumatica.
- NHS. Meningitis.
This page explains a topic in general terms. It is not a diagnosis and does not replace a doctor or physiotherapist. If something hurts badly, keeps getting worse or comes with numbness, weakness or fever, see a doctor.