How to Relieve a Stiff Neck: Stretches, Heat and More

Most stiff necks resolve on their own within a few days, but the right combination of stretches, temperature therapy, and simple habit changes can speed that timeline significantly. The culprit is almost always muscular. A muscle that runs from your upper back to the side of your neck, called the levator scapulae, is the most common source of that locked-up feeling. When it spasms or develops tight knots (trigger points), it restricts your ability to turn or tilt your head and sends pain radiating into your shoulder blade.

Why Your Neck Feels Locked Up

Neck stiffness is your body’s protective response. When a muscle is strained, overworked, or held in an awkward position for too long, surrounding muscles tighten to guard the area. This “muscle guarding” reduces your range of motion and creates that characteristic stiffness where turning your head feels impossible. The tension also compresses nerve endings in the muscle, which is why the pain can feel deep and achy rather than sharp.

Common triggers include sleeping in an unusual position, spending hours looking down at a phone or laptop, carrying a heavy bag on one shoulder, stress-related tension, or a sudden movement like turning your head too quickly. In most cases the cause is obvious, and that’s good news: it means the fix is straightforward.

Stretches That Work

Gentle movement is one of the fastest ways to loosen a stiff neck. Resist the urge to stay completely still. Immobility lets the muscles tighten further. Start slowly and never push into sharp pain.

Chin tucks: Sit or stand with good posture. Pull your chin straight back, as if making a double chin, without looking down. You can place a finger on your chin as a guide. Hold for 5 to 10 seconds, then release. Repeat 5 to 10 times. This stretch targets the deep muscles along the back of your neck that get overstretched from forward-head posture.

Side tilts: Tilt your ear toward one shoulder until you feel a stretch on the opposite side. Hold for 5 seconds, then repeat on the other side. Do 5 to 10 repetitions per side. This directly lengthens the levator scapulae and the upper portion of the trapezius, the two muscles most responsible for that stiff, stuck feeling.

Slow rotations: Turn your head to the left as far as comfortable, hold for a few seconds, then rotate to the right. Repeat 5 to 10 times. If one direction is significantly more restricted, spend a little extra time gently working that side, but don’t force it.

Do these stretches two to three times throughout the day rather than in one long session. Short, frequent bouts of movement are more effective at breaking up muscle tension than a single prolonged effort.

Ice, Heat, or Both

If your stiff neck just started in the last 24 to 48 hours, especially after a sudden movement or injury, reach for ice first. Cold reduces inflammation and numbs the area. Wrap an ice pack in a thin towel and apply it for 15 to 20 minutes at a time, with at least an hour between sessions.

After those first couple of days, or if your stiffness is the slow-building kind from poor posture or stress, switch to heat. A warm towel, heating pad, or hot shower directed at the back of your neck increases blood flow to the tight muscles and helps them relax. Apply heat for 15 to 20 minutes. Many people find a hot shower first thing in the morning is the single most effective way to break through overnight stiffness.

Over-the-Counter Pain Relief

Anti-inflammatory medications like ibuprofen or naproxen are the better choice for neck stiffness because they address both pain and the underlying inflammation driving the muscle spasm. Acetaminophen works for mild pain but does not reduce inflammation, so it’s less effective on its own for a stiff, swollen muscle. Taking acetaminophen alongside an anti-inflammatory can provide stronger relief than either alone, a combination supported by multiple clinical trials.

Whichever you choose, take the lowest dose that works for the shortest time you need it. Avoid combining two anti-inflammatory drugs (for example, ibuprofen and naproxen together), as this increases the risk of stomach and kidney problems without adding much benefit.

Check Your Magnesium Intake

If you get stiff necks frequently, low magnesium could be a contributing factor. Magnesium helps regulate muscle contraction and nerve signaling. When levels are low, calcium floods into nerve cells more easily, overstimulating the muscles and making them prone to cramps, twitches, and sustained tightness.

Adults generally need 310 to 420 mg of magnesium per day, depending on age and sex. Good sources include dark leafy greens, nuts, seeds, beans, and whole grains. If your diet is heavy on processed foods, you may not be getting enough. A magnesium supplement can help, but food sources are absorbed more reliably.

Fix Your Sleep Setup

Waking up with a stiff neck usually points to your pillow. The goal is to keep your spine in a neutral line from your head through your neck to your upper back, so your neck muscles aren’t working to compensate for a gap or a bend all night.

If you sleep on your side, aim for a pillow that’s 4 to 6 inches thick to fill the space between your ear and the mattress. Back sleepers do better with 3 to 5 inches. Stomach sleepers need a very thin pillow, under 2 to 3 inches, or no pillow at all. Sleeping on your stomach is the hardest position on your neck because it forces your head to rotate to one side for hours. If you can train yourself to sleep on your back or side, your neck will thank you.

Adjust Your Desk and Screen

Hours of looking at a screen positioned too low or off to one side is one of the most common reasons people develop recurring neck stiffness. OSHA guidelines recommend positioning your monitor directly in front of you with the top of the screen at or slightly below eye level. The center of your screen should sit about 15 to 20 degrees below your horizontal line of sight, and the monitor should never be more than 35 degrees to the left or right of center.

In practical terms, this means most laptop users are looking too far down. If you work on a laptop for extended periods, raising it on a stand and using a separate keyboard makes a real difference. Tilt the monitor back 10 to 20 degrees so the screen is roughly perpendicular to your line of sight, reducing the need to flex your neck forward.

When to Get Professional Help

If your stiff neck hasn’t improved after a few weeks of stretching, heat, and over-the-counter treatment, physical therapy is the logical next step. Manual therapy, where a therapist uses their hands to mobilize the joints and soft tissue in your neck, has strong evidence behind it. These techniques reduce pain both locally and in surrounding areas by changing how your nervous system processes pain signals. A typical course runs about three sessions per week for four weeks, and studies show significant improvements in range of motion, pain, and daily function within that window.

Trigger point release and myofascial techniques specifically target the tight knots in muscles like the levator scapulae that are often at the root of chronic stiffness. A skilled therapist can also identify whether poor movement patterns in your upper back or shoulders are contributing to the problem.

Red Flags That Need Immediate Attention

A standard stiff neck from muscle strain is uncomfortable but not dangerous. Rarely, neck stiffness signals something more serious. Go to an emergency room if your stiff neck comes with a high fever, a severe headache that won’t let up, confusion, vomiting, sensitivity to light, or a skin rash. This combination of symptoms can indicate meningitis, an infection of the membranes surrounding the brain and spinal cord that requires urgent treatment. In infants, watch for a stiff body and neck paired with a high fever, constant crying, poor feeding, or a bulging soft spot on the head.

Also seek care if your neck stiffness followed a fall, car accident, or other trauma, or if you notice numbness, tingling, or weakness radiating down your arms. These symptoms suggest a nerve or spinal issue that goes beyond simple muscle strain.