SHORT ANSWERIf you wake with a stiff neck and a headache that starts at the base of your skull, a supportive pillow that keeps your neck level may help. Cleveland Clinic lists sleeping on a supportive pillow and mattress among the ways to help prevent headaches that come from the neck. Look for a cervical contour or latex pillow at the right height, and pair it with daytime posture changes. Sudden, severe or changing headaches need a doctor, not a new pillow.
Not every headache has anything to do with your pillow. Two types are the ones people usually mean when they search this:
Cervicogenic headache. Cleveland Clinic describes this as head pain caused by a problem in the neck. The pain is felt in the head but starts in the bones or soft tissues of the cervical spine. It is often on one side, may start at the base of the skull and spread forward, and can come with limited neck movement. Cleveland Clinic says it affects between 0.4% and 4% of people who have headaches.
Tension-type headache. Mayo Clinic calls this the most common type of headache. It often feels like a tight band around the head, with tenderness in the scalp, neck and shoulder muscles. Mayo notes the exact cause is not known and stress is the most commonly reported trigger.
A pillow is most relevant to the first type, and only one part of managing the second.
What to look for in a pillow
The goal is a neck that stays in a neutral line with your spine for the whole night. Cleveland Clinic says the pillow should keep your neck parallel to the mattress, rather than bent down or up, and warns that chin-to-chest positions can overstretch the neck.
A shape that supports the neck curve. Cleveland Clinic says cervical contour pillows work best for most people, with foam contour pillows next.
A material that stays put. It calls latex generally the best material, with memory foam as the alternative for latex allergy, and says feather pillows cause the most neck pain because the fill shifts.
The right height for your position. Back sleepers need less height than side sleepers. The Sleep Foundation suggests a small pillow at the base of the neck for back sleepers.
Sleep position matters as much as the pillow
Position
Headache-friendly setup
Common mistake
Back
Low pillow with neck support, pillow under knees
A tall pillow pushing the chin toward the chest
Side
Pillow that fills the space to the shoulder
A flat pillow letting the head tip toward the bed
Stomach
Best avoided for neck pain
Head twisted to one side for hours
The Sleep Foundation names side and back sleeping as best for neck pain and does not recommend stomach sleeping with the head turned. For a step-by-step setup, see pillow position for neck pain.
Daytime habits that work with the pillow
Cleveland Clinic lists adjusting posture to avoid slouching, regular exercise and massage alongside a supportive pillow for preventing cervicogenic headaches. It also reports that in one study, 72% of people had at least 50% fewer headaches 12 months after starting physical therapy. For tension headaches, Mayo Clinic notes regular exercise, stress management, adequate sleep and limiting alcohol and caffeine may help.
Simple stretches can fit into a workday. The guide to neck stretches for headaches walks through a short routine.
Red flags: when a headache is not a pillow problem
Mayo Clinic advises emergency care for a sudden, very severe headache, or a headache with fever, stiff neck, confusion, seizures, double vision, weakness, numbness or trouble speaking, or a headache after a head injury. It suggests seeing a doctor if you need headache medicine more than twice a week or your usual pattern changes. Cleveland Clinic adds headaches that do not go away or get worse, and headaches with no known cause.
What to look for when you buy
1
Cervical contour pillow with two heights
Best for: People who wake with neck stiffness and a headache at the base of the skull
Cleveland Clinic ranks cervical contour pillows as working best for most people. The lower edge suits back sleeping and the higher edge suits side sleeping, so the neck stays level when you change position.
Watch out: If the roll feels like it is pushing into your neck, the size is too big. Try the lower edge or a smaller size.
Comparison only: no exact Amazon offer is qualified for a buy button here.
2
Solid latex pillow, medium loft
Best for: Warm sleepers who want firm, springy support
Cleveland Clinic calls latex foam generally the best pillow material because it supports without retaining heat, so it holds the neck steady without the sink of memory foam.
Watch out: Not for anyone with a latex allergy.
Comparison only: no exact Amazon offer is qualified for a buy button here.
3
Adjustable shredded foam pillow
Best for: Back sleepers who need a lower, softer setup
Removable fill lets you lower the pillow until your chin is no longer pushed toward your chest, the position Cleveland Clinic warns can overstretch the neck.
Watch out: Shredded fill can drift during the night. Shape it so more fill sits under the neck than under the head.
Comparison only: no exact Amazon offer is qualified for a buy button here.
4
Small neck roll or bolster
Best for: Back sleepers who like a flat pillow but need neck support
The Sleep Foundation suggests back sleepers use a small pillow at the base of the neck to keep the head neutral.
Watch out: A roll that is too thick tips the head back. Start small.
Comparison only: no exact Amazon offer is qualified for a buy button here.
Pick details
1Best for neck stiffness on waking
Cervical contour pillow with two heights
Cleveland Clinic ranks cervical contour pillows as working best for most people. The lower edge suits back sleeping and the higher edge suits side sleeping, so the neck stays level when you change position.
Specs
Heights: Two, a lower edge and a higher edge
Back position: Lower edge
Side position: Higher edge
Shape: Cervical contour, supports the neck curve
Trade-off: If the roll feels like it is pushing into your neck, the size is too big. Try the lower edge or a smaller size.
2Best for warm sleepers
Solid latex pillow, medium loft
Cleveland Clinic calls latex foam generally the best pillow material because it supports without retaining heat, so it holds the neck steady without the sink of memory foam.
Specs
Material: Latex
Loft: Medium
Heat: Supports without retaining heat
Allergy: Not for anyone with a latex allergy
Trade-off: Not for anyone with a latex allergy.
3Best for a lower, softer setup
Adjustable shredded foam pillow
Removable fill lets you lower the pillow until your chin is no longer pushed toward your chest, the position Cleveland Clinic warns can overstretch the neck.
Specs
Fill: Shredded foam, removable
Height: Adjustable, by removing fill
Setup: More fill under the neck than under the head
Drift: Fill can drift during the night
Trade-off: Shredded fill can drift during the night. Shape it so more fill sits under the neck than under the head.
4Best with a flat pillow
Small neck roll or bolster
The Sleep Foundation suggests back sleepers use a small pillow at the base of the neck to keep the head neutral.
Specs
Placement: At the base of the neck
Use: With a flat pillow, for back sleepers
Purpose: Keep the head neutral
Size: Start small
Trade-off: A roll that is too thick tips the head back. Start small.
When to talk to a doctor: Get emergency care for a sudden, very severe headache, or one with fever, stiff neck, confusion, weakness, numbness, vision changes or trouble speaking, or after a head injury. See a doctor if you need headache medicine more than twice a week or your headaches change.
Questions people ask
Can the wrong pillow cause headaches?
A pillow that bends your neck all night can add to neck strain, and neck problems can cause cervicogenic headaches. Cleveland Clinic lists a supportive pillow among the ways to help prevent them.
Why do I wake up with a headache and neck pain?
Neck stiffness from a poor sleep position is one possibility. Other causes exist, so if morning headaches are frequent or new, mention them to your doctor.
Is a cervical pillow good for headaches?
It may help headaches that come from the neck, since Cleveland Clinic says contour pillows work best for most people with neck pain. It will not affect headaches that have other causes.
What sleeping position is best for headaches and neck pain?
The Sleep Foundation names back and side sleeping as best for neck pain and advises against stomach sleeping with the head turned.
Sources
Cervicogenic Headache: What It Is, Symptoms & Treatment (my.clevelandclinic.org), Cleveland Clinic
Tension headache: Symptoms and causes (mayoclinic.org), Mayo Clinic
Is Your Pillow Giving You a Stiff Neck While You Sleep? (health.clevelandclinic.org), Cleveland Clinic
Best Sleeping Position for Neck Pain (www.sleepfoundation.org/best-sleeping-positions/best-sleeping-position-for-neck-pain), Sleep Foundation