Your neck is made up of vertebrae that extend from the skull to the upper torso. Cervical discs absorb shock between the bones.
The bones, ligaments, and muscles of your neck support your head and allow for motion. Any abnormalities, inflammation, or injury can cause neck pain or stiffness.
Many people experience neck pain or stiffness occasionally. In many cases, it’s due to poor posture or overuse. Sometimes, neck pain is caused by injury from a fall, contact sports, or whiplash.
Most of the time, neck pain isn’t a serious condition and can be relieved within a few days.
But in some cases, neck pain can indicate serious injury or illness and require a doctor’s care.
If you have neck pain that continues for more than a week, is severe, or is accompanied by other symptoms, seek medical attention immediately.
Neck pain or stiffness can happen for a variety of reasons.
Muscle tension and strain
This is usually due to activities and behaviors such as:
- poor posture
- working at a desk for too long without changing position
- sleeping with your neck in a bad position
- jerking your neck during exercise
The neck is particularly vulnerable to injury, especially in falls, car accidents, and sports, where the muscles and ligaments of the neck are forced to move outside of their normal range.
Neck pain can also be a symptom of a heart attack, but it often presents with other symptoms of a heart attack, such as:
If your neck hurts and you have other symptoms of heart attack, call an ambulance or go to the emergency room immediately.
Meningitis is an inflammation of the thin tissue that surrounds the brain and spinal cord. In people who have meningitis, a fever and a headache often occur with a stiff neck. Meningitis can be fatal and is a medical emergency.
If you have the symptoms of meningitis, seek help immediately.
Other causes include the following:
- Rheumatoid arthritis causes pain, swelling of the joints, and bone spurs. When these occur in the neck area, neck pain can result.
- Osteoporosis weakens bones and can lead to small fractures. This condition often happens in hands or knees, but it can also occur in the neck.
- Fibromyalgia is a condition that causes muscle pain throughout the body, especially in the neck and shoulder region.
- As you age, the cervical discs can degenerate. This is known as spondylosis, or osteoarthritis of the neck. This can narrow the space between the vertebrae. It also adds stress to your joints.
- When a disk protrudes, as from a trauma or injury, it may add pressure on the spinal cord or nerve roots. This is called a herniated cervical disk, also known as a ruptured or slipped disk.
- Spinal stenosis occurs when the spinal column narrows and causes pressure on the spinal cord or the nerve roots as it exits the vertebrae. This can be due to long-term inflammation caused by arthritis or other conditions.
In rare instances, neck stiffness or pain occurs due to:
- congenital abnormalities
- cancer of the spine
If symptoms persist for more than a week, consult with your doctor. You should also see a doctor if you have:
- severe neck pain without apparent cause
- lump in your neck
- swollen glands
- trouble swallowing or breathing
- pain that radiates down your arms or legs
- inability to move your arms or hands
- inability to touch your chin to your chest
- bladder or bowel dysfunction
If you’ve been in an accident or fall and your neck hurts, seek medical care immediately.
You doctor will perform a physical exam and take your complete medical history. Be prepared to tell your doctor about the specifics of your symptoms. You should also let them know about all prescription and over-the-counter (OTC) medications and supplements you’ve been taking.
Even if it doesn’t seem related, you should also let your doctor know about any recent injuries or accidents you’ve had.
Treatment for neck pain depends on the diagnosis. In addition to a thorough history and physical exam by your doctor, you may also need one or more of the following imaging studies and tests to help your doctor determine the cause of your neck pain:
- blood tests
- CT scans
- MRI scans
- electromyography, which allows your doctor to check the health of your muscles and the nerves that control your muscles
- lumbar puncture (spinal tap)
Depending on the results, your doctor may refer you to a specialist. Treatment for neck pain may include:
- ice and heat therapy
- exercise, stretching, and physical therapy
- pain medication
- corticosteroid injections
- muscle relaxants
- neck collar
- antibiotics if you have an infection
- hospital treatment if a condition such as meningitis or heart attack is the cause
- surgery, which is rarely necessary
Alternative therapies include:
- chiropractic treatment
- transcutaneous electrical nerve stimulation (TENS)
Make sure you’re seeing a licensed professional when using these methods.
If you have minor neck pain or stiffness, take these simple steps to relieve it:
- Apply ice for the first few days. After that, apply heat with a heating pad, hot compress, or by taking a hot shower.
- Take OTC pain relievers, such as ibuprofen or acetaminophen.
- Take a few days off from sports, activities that aggravate your symptoms, and heavy lifting. When you resume normal activity, do so slowly as your symptoms ease.
- Exercise your neck every day. Slowly stretch your head in side-to-side and up-and-down motions.
- Use good posture.
- Avoid cradling the phone between your neck and shoulder.
- Change your position often. Don’t stand or sit in one position for too long.
- Get a gentle neck massage.
- Use a special neck pillow for sleeping.
- Don’t use a neck brace or collar without your doctor’s approval. If you don’t use them properly, they can make your symptoms worse.
Many people experience neck pain because of poor posture and muscle strain. In these cases, your neck pain should go away if you practice good posture and rest your neck muscles when they’re sore.
Make an appointment with your doctor if your neck pain isn’t improving with home treatments.
Healthline and its partners may receive a portion of revenues if you make a purchase using one of the the links above.