Most stiff necks come from muscle strain or spasm and will start improving within a few days with the right combination of movement, temperature therapy, and habit changes. The pain often peaks a day or two after it starts, then gradually fades over one to several weeks. Here’s how to speed that process along.
Use Heat or Ice (or Both)
Ice works best when your neck just locked up. It constricts blood vessels, slows circulation, and reduces swelling, which numbs the sharp pain from a fresh muscle spasm. Wrap an ice pack in a towel and apply it for about 20 minutes at a time.
Heat is better for stiffness that’s been hanging around for a day or more. It loosens tight muscles, improves blood flow, and delivers more oxygen and nutrients to the area to promote healing. A warm towel, heating pad, or a hot shower aimed at the back of your neck all work. Apply heat for about 20 minutes, several times a day as needed. Many people find alternating between ice and heat throughout the day gives the most relief.
Stretches That Target the Right Muscles
A stiff neck usually involves two muscles: the upper trapezius (the broad muscle running from your shoulders to the base of your skull) and the levator scapulae (a deeper muscle connecting your shoulder blade to the top of your spine). Gentle stretching can relieve tension in both, but the key word is gentle. You’re coaxing the muscle to release, not forcing it.
Upper trapezius stretch: Sit or stand upright. Place your right hand on the back of your head and tuck your left hand behind your lower back. Gently pull your head toward your right shoulder until you feel a stretch along the left side of your neck. Hold for 10 to 15 seconds, then repeat on the other side.
Levator scapulae stretch: Turn your head 45 degrees to the left, then bend your neck downward as if you’re looking into your shirt pocket. You should feel a stretch along the back right side of your neck. Hold for 10 to 15 seconds and repeat on the opposite side.
Cat-cow: Get on all fours. Inhale as you tuck your pelvis and round your mid-back upward, holding for 3 to 5 seconds. Exhale and return to a neutral spine, holding another 3 to 5 seconds. Repeat five times. This mobilizes the entire spine and relieves compensatory tension that builds up when your neck is locked.
Child’s pose: From all fours, sit your hips back onto your heels, extend your arms overhead, and let your upper body sink between your legs. Hold for at least 15 seconds. This gently decompresses the neck and upper back together.
Self-Massage for Trigger Points
Stiff necks often involve trigger points, which are small knots in the muscle that radiate pain when pressed. You can release these yourself without any special equipment. Place a racquetball or tennis ball between the tender muscles of your upper back (near and between the shoulder blades) and a wall. Lean into the ball and roll it slowly up and down over the sore spots for about 2 minutes per side. The pressure should feel like a “good hurt,” not sharp pain.
For muscles closer to your neck, use your fingertips. Press firmly into any tender spot along the base of your skull or the top of your shoulder, hold steady pressure for 20 to 30 seconds, and release. Repeat a few times. This is the same principle physical therapists use with manual trigger point release.
Over-the-Counter Pain Relief
Ibuprofen is the most commonly recommended option for neck muscle pain because it reduces both pain and inflammation. The standard adult dose for mild to moderate pain is 400 milligrams every four to six hours as needed. Taking it on a schedule for the first couple of days, rather than waiting until the pain is severe, tends to keep inflammation from building back up. Topical menthol or anti-inflammatory gels applied directly to the neck can also help without the systemic effects of oral medication.
Fix Your Sleep Setup
A surprising number of stiff necks start overnight. The culprit is almost always a pillow that’s the wrong height for your sleeping position, which forces your neck into an awkward angle for hours.
If you sleep on your side, you need a pillow tall enough to fill the gap between the mattress and the side of your head, keeping your spine in a straight line. For most side sleepers, that means a pillow loft of 10 to 14 centimeters (roughly 4 to 5.5 inches). Broader-shouldered people need the higher end of that range, while smaller-framed people do well closer to 10 centimeters. Memory foam and latex hold their height under pressure far better than down, which compresses significantly during the night and can leave your neck unsupported by 3 a.m.
Back sleepers need a medium-loft pillow, around 7 to 10 centimeters (3 to 4 inches), that supports the natural curve of the neck without pushing the chin toward the chest or letting the head tilt backward. If you’re a stomach sleeper and get frequent stiff necks, the sleeping position itself is likely the problem. Sleeping face-down forces your neck into full rotation for hours at a time.
Adjust Your Desk and Screen
If you work at a computer, poor screen positioning is one of the most common drivers of recurring neck stiffness. The top of your monitor should sit at approximately eye level so you’re not tilting your head up or bending your neck down to see the screen. Place it about an arm’s length away, roughly 20 to 28 inches. If you use a laptop, a laptop stand that raises the screen to the correct height eliminates the constant downward head tilt that leads to chronic neck strain.
If you wear progressive lenses, position the monitor slightly lower than eye level and tilt the screen back a bit. This lets you read through the correct part of the lens without craning your neck. Phone use creates the same problem. Holding your phone at chest height instead of in your lap can cut the strain on your neck muscles dramatically during the hours most people spend scrolling each day.
What a Normal Recovery Looks Like
A typical muscle strain in the neck gets worse for the first day or two after it starts, which can be alarming but is expected. After that initial spike, the pain and stiffness should gradually decrease. Most people feel significantly better within a week, though it can take a few weeks or longer to heal completely. Staying gently active rather than immobilizing your neck tends to produce faster recovery. Complete rest and neck braces can actually make stiffness worse by allowing the muscles to tighten further.
If the pain isn’t improving after a couple of weeks, or if it keeps coming back, that’s a reasonable point to see a physical therapist. They can identify specific movement patterns or muscle weaknesses contributing to the problem and give you targeted exercises.
Warning Signs That Need Immediate Attention
Rarely, a stiff neck signals something more serious than a muscle strain. A stiff neck combined with a high fever, severe headache, confusion, sensitivity to light, nausea, or a skin rash can be a sign of meningitis, which requires emergency medical care.
You should also seek prompt evaluation if you develop new numbness or tingling in your arms or legs, weakness in your hands or feet, or any loss of bladder or bowel control. These symptoms suggest nerve involvement rather than simple muscle strain. Cervical dystonia, a condition where the neck muscles contract involuntarily and pull the head into a twisted position, is a separate issue from typical stiffness and needs a neurologist’s evaluation, particularly if your head is being pulled persistently to one side or your chin is locked toward a shoulder.

