November 29, 2021/Chronic Pain

How to Get Rid of a Stiff Neck

Stretching or applying heat and ice can provide pain relief

Do You Have a Stiff Neck? Try These Simple Remedies

With so many of us gazing into computers or staring down at our smartphones most of the day, it’s no wonder we’re having neck pain. In fact, data from the Centers for Disease Control and Prevention’s 2018 National Health Interview Survey found that 16.1% of adults experienced neck pain within the past three months.


Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

stiff neck typically develops when your muscles weaken over time from poor posture or misuse, says chiropractor Andrew Bang, DC. “When your neck muscles become weak and you try to turn your head, the joint no longer moves smoothly because it’s now out of place,” Dr. Bang says. “Often the joint catches on something, either pulling a muscle or hitting the nerve irregularly, or maybe both.”

“Then you’ll have instant pain and your body has a protective spasm. Your body doesn’t want you to get hurt more, so it will clench, causing you to feel like you can’t even move — and leaving you wondering what you did to injure yourself.”

Looking down at your computer monitor all day can cause the muscles around the neck joints to tire and become overstretched. Driving for long periods of time, as well as looking at your smartphone, can have the same effect. And doing this day after day can add up and displace your neck joints.

Stiff neck remedies to try

For minor, common causes of neck pain, try these simple remedies:

Apply heat or ice to the painful area

Use ice for the first 48 to 72 hours, then use heat after that. Heat may be applied with warm showers, hot compresses or a heating pad. Be sure not to fall asleep with a heating pad or ice bag in place to avoid skin injuries.

Take over-the-counter pain relievers

Doctors recommend ibuprofen or acetaminophen.

Keep moving

However, avoid jerking or painful activities. This helps calm your symptoms and reduce inflammation.

Gentle massage

Have a partner gently massage the sore or painful areas. When doing this, communication is key. Have your partner try a variety of techniques until they land on one that feels good.


“You’ll want them to say, ‘How does this feel? Do you want more or less pressure?’ That’s what a massage therapist will do,” says Dr. Bang. “Then keep adapting until you both find the sweet spot.”

No matter what technique you choose, however, he advises that any massage movements should be directed toward the heart. This matches the way the blood flows in your veins, the bluish-purple lines visible under your skin. Too much pressure going in the wrong direction, away from your heart, has the potential to damage a valve.

Make sure you have the proper mattress or pillow

Try sleeping on a firm mattress without a pillow or with a special neck pillow.

Use a soft neck collar

Ask your healthcare provider about using a soft neck collar to relieve discomfort. Don’t use the collar for a long time. Doing so can make your neck muscles weaker.

Stretches to help a stiff neck

The key to relief for a stiff neck is proper stretching and manipulation, Dr. Bang says. Doing slow range-of-motion exercises, up and down, side to side, and from ear to ear, can help to gently stretch the neck muscles. Certain yoga poses can also help ease stiffness.

Here are some other specific stretches you can try at your desk or in the car that may help you avoid a stiff neck:

  • Roll your shoulders backwards and down 10 times.
  • Squeeze your shoulder blades together 10 times.
  • Push your head backwards into your car head rest or hands and hold for 30 seconds.
  • Bring your ear to your shoulder 10 times on each side.

Tips to prevent neck pain

Here are some ways to prevent neck pain that comes with a stiff neck.

Be mindful of your sleep positions

Dr. Bang says if your neck is bothering you, you should pay attention to your sleep positions. Sleep only on your side or on your back – never on your stomach, he says.


“When you sleep on your stomach, often you will end up twisting your head one way or the other for hours at a time,” Dr. Bang says. “Sleeping on your stomach also can affect your low back because your belly sinks into the bed if you don’t have enough support.”

Practice proper computer posture

To help you avoid neck pain, put your monitor at eye level, sit up straight and avoid tilting and twisting your head down or to the side while you’re on the computer. Also, be sure to take breaks from staring at your screen.

Be mindful of how you’re sitting in the car — or while using your phone

When you’re driving or using your smartphone, be sure to take frequent breaks and avoid having your neck bent forward for long periods of time, Dr. Bang says.

How long does neck pain last?

How long neck pain lasts depends on a variety of factors. This includes what kind of injury caused the acute (or sudden) neck pain—for example, a car accident, a sports injury or a muscle pull from working outside—and how you respond to the injury.

“Many times, symptoms can resolve over a period of months if you stop doing the offending behavior,” says Dr. Bang. “Neck pain from car accidents can last a long time. But if you don’t get in another car wreck, your pain will typically go away over a few months. However, if you don’t change a habit that causes neck pain, like using a computer monitor poorly, it’s going to last.”

If pain persists and gets in the way of your daily activities, or any treatment you try doesn’t seem to be working, further discussion might be necessary. “If you tried some things on your own and after two months it’s not gone away, then it’s probably time to see your doctor to figure out if there’s an underlying issue or if there’s some behavior you need to change.”

Learn more about our editorial process.

Related Articles

female looking down at smartphone, rubbing back of neck
December 18, 2023/Brain & Nervous System
How Your Smartphone May Be Giving You ‘Text Neck’

You can relieve this condition by improving your posture and using a variety of movements

Person sitting up straight in chair while checking smartphone.
July 13, 2022/Orthopaedics
How To Improve Your Posture When You Have Ankylosing Spondylitis

Ease pain and stay active by keeping your spine in its proper position

A person sitting up on a bed with a laptop on their lap.
January 20, 2022/Wellness
What’s Causing Your Neck Pain?

Here’s why it may be happening and how you can find some relief

man using roller on back
February 4, 2021/Wellness
Massage Rollers and More: How to Ease Neck, Back and Body Pain with Simple Tools

Foam tubes and rubber balls can help when you hurt

woman with headache while workingon laptop from couch
October 4, 2020/Brain & Nervous System
8 Things to Know About Cervicogenic Headaches

Neck problems can lead to head pain, but relief is possible

woman working from her bed
July 15, 2020/Chronic Pain
If You Simply Must Work From Bed, Here’s What to Consider

Here’s how working from bed impacts your health

man in home office with back pain
July 8, 2020/Chronic Pain
Here’s How to Set Up an Ergonomic Home Office to Avoid Aches & Pains

Avoid discomfort with the proper workstation

Trending Topics

Person in yellow tshirt and blue jeans relaxing on green couch in living room reading texts on their phone.
Here’s How Many Calories You Naturally Burn in a Day

Your metabolism may torch 1,300 to 2,000 calories daily with no activity

woman snacking on raisins and nuts
52 Foods High In Iron

Pump up your iron intake with foods like tuna, tofu and turkey