How to Relieve Stiff Neck Pain: Stretches and Remedies

Most stiff necks come from muscle strain or spasm in the upper back and neck, and they typically resolve within a few days to a couple of weeks with simple self-care. The two muscles most often responsible are the trapezius, which runs from your skull down to your mid-back, and the levator scapulae, a smaller muscle connecting your neck to your shoulder blade. When either one tightens up from poor posture, stress, or sleeping at an awkward angle, turning your head becomes painful. Here’s what actually works to speed up relief.

Heat, Ice, or Both

The choice between heat and ice depends on how your stiff neck started and how long you’ve had it. Ice is best right after an injury, for sudden-onset pain, or when there’s visible swelling. It 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.

Heat works better for the more common type of stiff neck: the dull, achy tightness that builds up from tension, poor posture, or a bad night’s sleep. Heat increases blood flow to tight muscles, helping them relax and loosen. A warm towel, heating pad, or hot shower directed at the back of your neck for 15 to 20 minutes can provide noticeable relief. If your stiffness started with a specific injury, use ice for the first 48 hours, then switch to heat.

Stretches That Target the Right Muscles

The levator scapulae stretch is one of the most effective movements for a stiff neck because it directly lengthens the muscle that connects your neck to your shoulder blade, which is the one that locks up most often.

To do it: sit up straight and raise your right arm forward, reaching behind you to grasp the top of your right shoulder blade. Press gently downward. This rotates the shoulder blade and pre-stretches the muscle. Then, keeping your body still, turn your head about 45 degrees to the left and tilt your chin down until you feel a stretch along the back right side of your neck. For a deeper stretch, place your left hand on the back of your head and pull down gently. Hold for 30 to 60 seconds, then repeat on the other side. If reaching behind your back is too difficult, skip that step and just do the head rotation and chin tilt.

Perform this stretch in the morning and afternoon, or whenever tightness starts building. Two other helpful movements are chin tucks (pulling your chin straight back to create a “double chin,” which decompresses the cervical spine) and chest stretches (opening the front of the shoulders in a doorway), which counteract the forward-head posture that contributes to neck tightness in the first place.

Over-the-Counter Pain Relief

Anti-inflammatory medications like ibuprofen or naproxen reduce both pain and the inflammation that keeps muscles in spasm. They’re a reasonable short-term option for the first few days of a stiff neck. Interestingly, a Johns Hopkins study comparing a prescription muscle relaxant alone to the same muscle relaxant combined with ibuprofen found no significant difference in outcomes after seven days. Both groups improved at roughly the same rate. This suggests that for most people, a simple over-the-counter anti-inflammatory is enough, and adding a prescription muscle relaxant may not provide additional benefit.

Fix Your Workstation

If your stiff neck keeps coming back, your desk setup is a likely culprit. OSHA recommends placing your monitor directly in front of you so your head, neck, and torso all face forward. The top of the screen should sit at or slightly below eye level, with the center of the monitor about 15 to 20 degrees below your horizontal line of sight. Position the screen 20 to 40 inches from your eyes. A monitor that’s too low forces you to tilt your head forward, loading the muscles at the back of your neck with extra weight for hours at a time. Even a few degrees of forward head tilt dramatically increases the strain on your cervical spine.

If you use a laptop, a separate keyboard with a laptop stand (or even a stack of books) makes a significant difference. Take brief breaks every 30 to 60 minutes to look away from the screen and gently roll your shoulders.

Sleep Position and Pillow Height

Waking up with a stiff neck usually means your pillow isn’t supporting your head in a neutral position. The goal is to keep your spine in a straight line from your skull through your neck and into your upper back. Back sleepers generally need a pillow around 5 inches in loft. Side sleepers need more, typically 5 to 7 inches, to fill the gap between the shoulder and the head.

A quick way to check: lie on your side with both arms relaxed in front of you. If your top shoulder rolls forward toward the bed, the pillow is too low. If it rolls backward, the pillow is too high. When your shoulders stay stacked vertically, perpendicular to the mattress, the height is right. Stomach sleeping is the hardest position on the neck because it forces your head to rotate fully to one side for hours. If you can’t break the habit, using an extremely thin pillow or no pillow at all reduces the strain.

Dry Needling and Hands-On Therapy

For stiffness that doesn’t fully resolve with stretching and heat, dry needling is worth considering. A 2023 review of high-quality clinical trials found it provided safe, effective short- and mid-term improvement in chronic neck pain and functional range of motion. Some participants experienced benefits lasting up to six months. The treatment was especially effective in people over 40, outperforming traditional approaches like stretching and manual therapy alone. The best results came from combining dry needling with physical therapy exercises. About 6% of people report discomfort during the procedure, but serious side effects are rare.

Massage therapy and chiropractic manipulation can also provide relief by releasing trigger points and restoring joint mobility, though the evidence is strongest when these are paired with active exercises rather than used on their own.

How Long a Stiff Neck Should Last

A simple muscle-related stiff neck typically improves within a few days and resolves within one to two weeks. If your pain is disrupting your routine and hasn’t improved after several days, it’s worth getting evaluated. Waiting too long increases the chance of developing a chronic pattern that can linger for months. Even in cases of cervical radiculopathy, where a nerve root in the neck is irritated and sends pain or tingling into the arm, 75% to 90% of people recover with conservative treatment alone. Imaging like X-rays or MRI is generally unnecessary for straightforward neck stiffness without other concerning symptoms.

When a Stiff Neck Signals Something Serious

Rarely, neck stiffness is a symptom of meningitis, an infection of the membranes surrounding the brain and spinal cord. The difference is unmistakable: meningitis produces a stiff neck alongside sudden high fever, severe headache, nausea or vomiting, confusion, sensitivity to light, and sometimes a skin rash. If you or someone near you has neck stiffness combined with any of these symptoms, that requires emergency medical attention. In infants, warning signs include high fever, constant crying, a bulging soft spot on the head, and unusual sleepiness or irritability.

Other red flags that warrant prompt evaluation include neck stiffness after a traumatic injury, unexplained weight loss, weakness or numbness in your arms or hands, or fever without an obvious cause like a cold or flu.