Skip to main content
Sleep

Neck Pain From Sleeping? The Best Sleeping Positions, According to Experts

Kim Grundy, PTMandy Armitage, MD
Written by Kim Grundy, PT | Reviewed by Mandy Armitage, MD
Updated on September 10, 2026

Key takeaways:

  • Muscle strain, age-related changes, and sleeping in an awkward position may cause neck pain. 

  • Research shows that sleeping on your back or side may ease neck pain. A supportive pillow can help keep your neck in a neutral position, which may prevent new or worsening pain.

  • Neck pain from muscle tension can be relieved with heat, massage, proper posture, and stretching exercises.

A stiff, painful neck can make it hard to get a good night’s sleep. Certain sleeping positions can also cause or worsen neck pain. Neck pain affects over 200 million people worldwide every year. So if you’re having trouble “catching some Z’s” because of neck pain, you’re probably not alone.

The good news is that neck pain caused by a sore muscle, tendon, or ligament will usually go away within 1 to 2 weeks. But some people develop chronic neck pain, which can come and go for weeks, months, or even years. Knowing the best sleeping positions for neck pain may help you get a better night’s sleep. It may also help your neck heal faster and prevent long-term pain.

Tips to help you relieve neck pain after sleeping

If you have chronic or recurring neck pain, it’s important to find out what’s causing it and make changes to address it. Try these tips to relieve some of your discomfort: 

  • Consider replacing your pillows. Some sleep experts recommend replacing your mattress every 6 to 8 years and your pillows every 1 to 2 years. But there isn’t strong evidence for these timelines. Studies do suggest that pillow height can affect spinal alignment (more on this below). Try a different pillow that keeps your neck and head aligned with the rest of your spine.

  • Adjust your workstation. If you work at a desk, make sure your workstation is set up properly to keep your head, neck, and spine aligned. A supportive chair and a desk and computer at the correct height can promote good posture and avoid aches and pains. 

  • Do gentle stretches and targeted exercises. Take breaks throughout the day to stand up and move around. You can also do gentle neck stretches that move your head through its full range of motion, like side to side, up and down, and in circles. These movements can help keep your neck muscles loose and prevent knots.

  • Try physical therapy. A physical therapist can evaluate your posture and recommend strengthening exercises to correct muscle imbalances. They can also use various techniques to reduce pain and promote healing. Hands-on treatment, including trigger point release and massage, can also help.

  • Try stress-relieving practices. Make stress-relieving techniques part of your routine. You can get a massage, meditate, or try yoga to help decrease daily stress. Activities such as walking in nature or listening to your favorite song can also help you relax. If you need more support, consider talking to a therapist about ways to manage stress.

  • Apply heat or cold. Both heat and ice can help decrease neck pain. Cold helps decrease inflammation and can be the most helpful during the first 48 to 72 hours after an injury. Warm compresses or heating pads may help improve circulation and help relax tight muscles or calm muscle spasms.

  • Use pain relievers when necessary. Try a short course of over-the-counter pain relievers, such as ibuprofen (Advil, Motrin), acetaminophen (Tylenol), or aspirin. You can also talk to your healthcare team about prescription pain relievers.

What are the best sleeping positions for neck pain?

Your body needs sleep to heal and recharge. But sleeping in certain positions can cause neck pain, making it harder to get the rest you need. Consider the following sleep postures to help prevent or relieve neck pain. 

1. Sleep on your side

People who slept on their sides were less likely to report neck and back pain, according to a 2019 review.

Side sleeping helps keep your head and neck aligned with the rest of your body. To keep your head and neck in this neutral position, choose a pillow that isn’t too fluffy or too flat.

A 2021 study compared feather and rubber pillows, which are filled with memory or latex foam. The researchers concluded that spring and rubber pillows may reduce neck pain. But another study found that latex pillows didn’t decrease neck pain in people with arthritis in their neck.

The height of your pillow may be more important than the material it’s made from. That’s because pillow height affects the alignment of your cervical spine. The evidence is mixed on the best pillow height, so you may need to try different pillows to find what works best for you.

You can also get extra neck support by rolling up a small towel and placing it inside your pillowcase, underneath your neck. This can fill in any low or empty space and help keep your neck aligned.

Add GoodRx as a trusted source

2. Sleep on your back

If you can’t sleep on your side, sleeping on your back (supine) may be the next best option for dealing with neck pain. This position can help if you have conditions that make sleeping on your side difficult, such as shoulder pain. Sleeping on your back with a pillow under your knees is also recommended for people with low back pain.

To keep your spine aligned while sleeping on your back, make sure your neck stays in a neutral position. As with side sleeping, you can experiment with different pillows or place a rolled-up towel inside your pillowcase for extra neck support. Placing a pillow or two under your knees can also help support the natural curve of your spine.

What is the worst sleeping position for neck pain?

Reviewed by Mandy Armitage, MD | July 2, 2025

In one small study, stomach sleepers reported more neck pain and stiffness than those who slept on their side or back. But another study didn’t find the same results.

In theory, sleeping on your stomach can affect your spinal alignment because you have to turn your head to one side. You typically stay in this position for long periods, which can cause pain and stiffness. Sleeping on your stomach can also affect your overall body alignment that puts extra weight on your neck, which can lead to additional strain.

Experts say you can train yourself to sleep in a better position. Try placing large pillows around your body to help you stay on your back or side. This may make it easier to avoid turning onto your stomach while you sleep.

Causes of neck pain

Whether you have a sore, stiff neck in the morning or neck pain that wakes you up during the night, neck pain from sleeping is fairly common. Here are some possible causes of neck pain related to sleeping. 

Muscle strain

Sleeping in the wrong position can put extra strain on your neck muscles. For example, when you sleep on your stomach, your head stays turned to one side for long periods. This can cause pain, stiffness, and difficulty turning your head in the morning.

Using the wrong pillow can also cause muscle strain. Whether you use a memory foam or feather pillow, make sure it isn’t too high or too low. Your pillow should keep your head and neck in a neutral position and support the natural curves of your neck.

Lastly, poor posture during the day, such as slouching at your computer, can also cause muscle strains that cause neck pain at night.

Stress

Stress and anxiety can cause muscle tension during the day and at night. This tension can lead to painful muscle knots and spasms in your neck and shoulders. It could also cause neck pain and stiffness while you sleep.

Previous injuries

If you’ve injured your neck in the past, sleeping in the wrong position or using the wrong pillow can cause neck pain while you sleep. One common neck injury is whiplash. It happens when your head forcefully jerks forward and then backward, often during a car accident or while playing a sport. Whiplash can injure the muscles, ligaments, and small joints in your neck.

Age-related changes

As you get older, changes in your spine can lead to musculoskeletal problems that affect your neck in a few ways:

These conditions can contribute to neck pain while sleeping. 

Temporomandibular joint (TMJ) disorders

People with temporomandibular joint (TMJ) disorders often clench and grind their teeth at night. They may also have jaw pain or popping. But TMJ disorders don’t just affect your jaw. In research studies, 70% of people with TMJ also had neck pain. If you wake up with jaw and neck pain, TMJ treatment may help relieve both.

When should you see a doctor about neck pain?

Most neck pain gets better within a few days and eventually goes away on its own. However, neck pain can sometimes be a sign of another medical condition or a more serious injury.

If you’ve been in an accident or had a head or neck injury, don’t wait to get medical attention.

You should also see a healthcare professional if you have: 

  • Neck pain that gets worse when you lie down 

  • Pain that wakes you up at night

  • Pain that doesn’t get better for a few hours after taking an over-the-counter pain medication

  • Numbness, tingling, or weakness in your arm or hand

  • Additional symptoms, such as swollen lymph nodes in your neck, difficulty swallowing, or difficulty breathing

Seek emergency medical care if you have any of the following symptoms: 

  • Neck pain with jaw pain, arm pain, shortness of breath, sweating, or nausea, which can all be signs of a heart attack

  • Neck pain with a headache, fever, and neck stiffness, which could be signs of meningitis

Frequently asked questions

Nerve compression in your neck can happen when a bone or intervertebral disc puts pressure on a nerve. In many cases, symptoms improve over time and with physical therapy. But in severe or long-lasting cases, surgery may be needed to relieve the pressure on your nerves.

Neck pain after a night of sleep — often called a crick in the neck — tends to get better on its own. If you have pain for more than a few days or a week, it’s best to get it checked out by a healthcare professional.

The bottom line

Sleeping in certain positions can cause or worsen neck pain. Keeping your spine aligned is important for treating and preventing neck pain. Sleeping on your side or back may help, as well as switching to a more supportive pillow. Good posture, a properly set up workstation, and stretching and strengthening exercises can also ease neck pain and improve sleep quality. 

why trust our exports reliability shield

Why trust our experts?

Kim Grundy, PT
Written by:
Kim Grundy, PT
Kim Grundy, PT, is a writer, editor, and licensed physical therapist. She worked at an outpatient orthopedic facility, where she treated patients with chronic conditions and post-surgical athletes working towards recovery.
Sophie Vergnaud, MD, is the Senior Medical Director for GoodRx Health. A pulmonologist and hospitalist, she practiced and taught clinical medicine at hospitals in London for a decade before entering a career in health education and technology.
Mandy Armitage, MD
Reviewed by:
Mandy Armitage, MD
Mandy Armitage, MD, has combined clinical medicine with her passion for education and content development for many years. She is co-executive director at Nonclinical Physicians Network and has served as medical director for the health technology companies HealthLoop (now Get Well) and Doximity.

References

GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.

Was this page helpful?

Latest articles