The most common reason for neck pain is poor posture. Sitting for prolonged periods of time in a fixed position can lead to occasional stiffness or cramping. A poor sleeping position is another major culprit. Sleeping on a firmer mattress or changing to a thinner pillow will usually correct the problem.
Many people respond to emotional stress by tensing the neck muscles.
Over time this can lead to both neck pain and headaches. Neck pain also can be caused by blows to the head and neck, as in the case of falls and motor vehicle accidents. Sudden twisting or snapping of the head can lead to muscle strain and ligament damage. A pinched nerve also can be a consequence of neck injury or arthritis. In most cases of occasional neck pain, self-care, modifying your posture and taking periodic rest breaks usually will correct the problem and prevent recurrences.