Most stiff necks come from muscle strain or spasm and resolve on their own within a few days to a few weeks. The key is managing pain early, keeping the neck gently moving, and avoiding the habits that caused the problem in the first place. Here’s what actually helps.
Why Your Neck Feels Locked Up
The usual culprit is the levator scapulae, a muscle that runs along the back and side of your neck and connects to your shoulder blade. When this muscle goes into spasm, whether from sleeping in an awkward position, hunching over a screen, or turning your head suddenly, it tightens and restricts your range of motion. Trigger points in the levator scapulae are extremely common in people with neck pain, and they often develop asymmetrically, meaning one side of your neck may feel significantly worse than the other.
Other common triggers include stress (which causes you to unconsciously tense your shoulders), carrying a heavy bag on one side, holding your phone between your ear and shoulder, or spending hours looking down at a screen. The stiffness itself is your body’s protective response: muscles tighten to limit movement around what they perceive as an injured area.
Ice First, Then Heat
For the first 48 hours, use ice. Wrap a cold pack or bag of frozen vegetables in a thin towel and apply it to the stiff area for 15 to 20 minutes at a time. Cold reduces inflammation and numbs the pain signals traveling from the muscle. Give your skin at least an hour between sessions.
After those first two days, switch to heat. A warm towel, heating pad, or hot shower directed at the neck helps relax the muscle fibers and increase blood flow, which speeds healing. Heat applied too early can worsen swelling, so timing matters. Many people find alternating between the two (ice then heat) helpful once they’re past the initial 48-hour window.
Over-the-Counter Pain Relief
Ibuprofen works well for neck stiffness because it reduces both pain and inflammation. The standard over-the-counter dose is 200 to 400 mg every six to eight hours, up to 1,200 mg in a day. Acetaminophen is an alternative if you can’t take anti-inflammatory medications. The typical dose is 325 to 1,000 mg every four to six hours, with a hard ceiling of 4,000 mg per day. Either option is meant for short-term use while the muscle heals, not as a long-term strategy.
Gentle Stretches That Help
Rest is important in the first day or two, but prolonged immobility actually makes stiffness worse. Once the sharpest pain subsides, gentle movement helps restore range of motion and prevents the muscle from tightening further.
Neck retraction: Sit or stand looking straight ahead. Tuck your chin slightly and slowly draw your head straight backward, as if making a double chin. Don’t tilt your head up or down. Hold for 3 to 5 seconds, return to the starting position, and repeat 10 times. This stretch targets the deep muscles at the front of your neck that get weak from forward-head posture.
Side-to-side tilt: Sitting upright, slowly drop your right ear toward your right shoulder until you feel a stretch along the left side of your neck. Hold for 15 to 30 seconds, then repeat on the other side. Don’t force it. You’re looking for a gentle pull, not pain.
Trunk rotation: Lie on your back with both knees bent and feet flat on the floor. Slowly let your knees fall to one side while keeping your shoulders flat. Hold for 3 to 5 seconds, then rotate to the other side. Repeat 10 to 15 times. This loosens the muscles connecting your neck to your upper back, which are often involved in stiffness that radiates below the base of your skull.
Do these stretches two to three times a day. Stop any movement that causes sharp or shooting pain.
Fix Your Screen Setup
If your stiff neck keeps coming back, your workstation is a likely contributor. OSHA guidelines are specific: the top of your monitor should sit at or slightly below eye level, with the center of the screen about 15 to 20 degrees below your horizontal line of sight. The screen should be 20 to 40 inches from your eyes. If you’re looking down at a laptop on a desk, your neck is flexed forward for hours at a time, and the levator scapulae and surrounding muscles pay the price.
A laptop stand or stack of books that raises your screen to the correct height, paired with an external keyboard, is one of the simplest and most effective long-term fixes. If you use multiple monitors, keep them close together and within 35 degrees to either side of center so you’re not constantly rotating your neck to one direction.
Phone use matters too. Holding your phone at chest level forces your neck into 45 to 60 degrees of flexion. Raising it closer to eye level, even partway, significantly reduces the load on your neck muscles.
Sleep Position and Pillow Choice
Waking up with a stiff neck usually means your pillow isn’t supporting a neutral spine position. The goal is keeping your head, neck, and upper spine in a straight line while you sleep.
If you sleep on your side, you need a higher-loft pillow that fills the gap between your shoulder and the mattress. A quick test: have someone look at you from the front while you’re lying on your side. Your nose should line up with the center of your chest. If your head tilts up or down, the pillow height is wrong.
Back sleepers generally do better with a medium-loft pillow that supports the natural curve of the neck without pushing the head forward. Stomach sleeping is the hardest on the neck because it forces your head to rotate to one side for hours. If you can’t break the habit, using a very thin pillow or no pillow reduces the strain.
Adjustable pillows filled with shredded memory foam let you add or remove fill to dial in the right height. They also hold their shape better overnight than traditional polyester-fill pillows, which tend to compress and lose support.
How Long Recovery Takes
It’s normal for neck pain to get slightly worse in the first day or two after the initial strain. After that, you should notice gradual improvement. Most simple neck strains take a few weeks to heal completely, though the worst of the stiffness typically eases within the first five to seven days. If you’re still in significant pain after two to three weeks, or if the stiffness keeps returning, a physical therapist can assess whether specific muscle imbalances, joint restrictions, or postural habits are keeping you stuck. Manual therapy, targeted strengthening exercises, and sometimes dry needling of trigger points can help when home care plateaus.
Red Flags Worth Knowing
A stiff neck from muscle strain is uncomfortable but not dangerous. Rarely, neck stiffness signals something more serious. Seek immediate medical attention if your stiff neck comes with a sudden high fever, a severe headache that won’t let up, nausea or vomiting, confusion, sensitivity to light, or seizures. This combination of symptoms can indicate meningitis, an infection of the membranes surrounding the brain and spinal cord.
Also worth a prompt medical evaluation: numbness, tingling, or weakness radiating down one or both arms, neck stiffness following a car accident or fall, or pain that steadily worsens over weeks rather than improving. These patterns suggest nerve involvement or structural injury rather than a simple muscle strain.

