A stiff neck is most often caused by muscle strain , poor posture, sleeping in an awkward position, or staying in one position too long. It can also come from stress, a minor injury like whiplash, arthritis, or—more rarely—a serious infection such as meningitis.

Common causes

  • Poor posture, especially looking down at phones or hunching over a desk.
  • Sleeping in an unusual position or without proper neck support.
  • Muscle tension from stress.
  • Injury or trauma, including sports injuries, falls, or whiplash.
  • Arthritis or age-related wear in the neck joints.

When to worry

A stiff neck is usually temporary, but seek medical care quickly if it comes with fever, severe headache, confusion, rash, numbness, weakness, or trouble moving your arms or legs, since those can be warning signs of a more serious problem like meningitis or nerve compression.

Simple relief

Gentle movement, rest, heat, and improving posture often help mild stiffness. If the pain is severe, keeps coming back, or lasts more than a few days, it is worth getting checked.

TL;DR: Most stiff necks come from strain, posture, or sleep position, but fever or neurologic symptoms need urgent attention.