Pain behind your ear, in the area of the mastoid bone, usually comes from one of a handful causes: a swollen lymph node, a middle ear infection spreading into the bone, nerve irritation in the upper neck, or jaw-related tension. The mastoid is the bony bump you can feel just behind and below your ear, and because several structures sit close together in that area, pinpointing the source of pain on your own can be tricky.
What the Mastoid Bone Actually Does
The mastoid isn’t a solid chunk of bone. Inside, it’s honeycombed with dozens of tiny, air-filled pockets called mastoid air cells, all connected to your middle ear. These air cells help regulate pressure inside the ear and may improve your hearing sensitivity to low-frequency sounds by dampening internal resonances. A thin, well-supplied lining of tissue coats the inside of each cell, exchanging gases to keep middle ear pressure stable. That same lining, though, makes the mastoid vulnerable to infection if bacteria travel backward from the middle ear.
Swollen Lymph Nodes Behind the Ear
The most common reason for pain in this spot isn’t the bone itself. It’s one or more lymph nodes sitting just behind your ear (called posterior auricular nodes) that have become swollen and tender. These nodes react to nearby infections, including colds, ear infections, scalp infections, and even viral illnesses caused by common pathogens like rhinovirus, adenovirus, or influenza. The swelling usually feels like a firm, moveable lump rather than pain deep in the bone, and it typically resolves on its own as the underlying infection clears.
Less commonly, cat scratch disease can cause a swollen, sometimes pus-filled lymph node behind the ear. This happens when bacteria from a cat scratch or bite enter through a wound on the head, face, or neck. The lymph node enlargement shows up anywhere from one to eight weeks after the scratch. In children especially, the head and neck are frequent sites for this kind of reaction.
Mastoiditis: When Infection Reaches the Bone
Mastoiditis is a bacterial infection of the mastoid air cells themselves, and it’s the most serious cause of pain in this area. It almost always develops as a complication of a middle ear infection (otitis media) that hasn’t fully cleared. Bacteria migrate from the middle ear into the connected air cells, where infection causes inflammation, fluid buildup, and eventually destruction of the thin bony walls separating the cells.
Children under five are at the highest risk. In a large study of 196 patients with acute mastoiditis, 133 were children, with most falling between ages one and five. Young age is the single most important risk factor, partly because children’s immune systems are still developing and their ear anatomy makes drainage more difficult.
What Mastoiditis Feels Like
In adults, the classic symptoms are severe ear pain, fever, and headache. The skin behind the ear becomes red, warm, swollen, and tender to touch. In more advanced cases, the swelling pushes the outer ear forward and away from the head, which is a hallmark sign. Looking inside the ear canal, a doctor would see the canal wall bulging inward and pus building behind (or draining through) the eardrum.
In young children who can’t describe their symptoms, the signs are irritability, lethargy, fever, ear pulling, and obvious swelling behind the ear.
How Mastoiditis Is Treated
Treatment begins with intravenous antibiotics targeting the bacteria most commonly responsible. If there’s no improvement within 24 to 48 hours, or if complications are suspected, surgery becomes necessary. The procedure (mastoidectomy) involves opening the mastoid bone to drain the infection and remove damaged tissue. Complications of mastoiditis are more dangerous in adults than in children. In one study, serious complications like meningitis, brain abscess, and blood clot formation in nearby veins occurred in 87% of affected adults compared to 17% of children.
Nerve Pain From the Upper Neck
Occipital neuralgia is a condition where irritated nerves in the upper neck send sharp, shooting, or stabbing pain up the back of the head and into the area right behind the ear. The lesser occipital nerve runs to a point roughly three centimeters above and inward from the tip of the mastoid process, which means irritation of this nerve can feel exactly like mastoid bone pain.
The pain tends to come in sudden bursts rather than being constant. One telling feature is the “pillow sign,” where lying on a pillow and turning or tilting your head backward triggers or worsens the pain. The underlying cause is usually compression of the nerve by tight muscles in the upper neck or wear-and-tear changes in the upper cervical spine. The greater occipital nerve is involved about 90% of the time, with the lesser nerve responsible for the remaining 10%. If you’re noticing pain that shoots or zaps from your neck up to the area behind your ear, especially when you move your head, this is a likely explanation.
Jaw Problems and Referred Pain
Your temporomandibular joint (the jaw joint) sits just in front of your ear canal. When this joint is inflamed, misaligned, or surrounded by tense muscles, the pain can radiate backward into the mastoid region. People with TMJ issues often notice the pain worsens with chewing, jaw clenching, or teeth grinding. You might also hear clicking or popping when you open your mouth. If your mastoid area pain seems to track with jaw activity or gets worse during stressful periods when you’re clenching, the jaw joint is worth investigating.
How to Tell What’s Causing Your Pain
A few features can help you and your doctor narrow down the source:
- Visible swelling, redness, and warmth behind the ear with fever and recent ear infection symptoms point toward mastoiditis. This needs prompt medical evaluation.
- A tender, moveable lump without redness spreading across the skin suggests a reactive lymph node. Think about whether you’ve had a recent cold, sore throat, or scalp wound.
- Sharp, shooting pain triggered by neck movement or pressure on the back of the skull suggests occipital neuralgia.
- Pain that worsens with chewing or jaw movement and is accompanied by clicking or popping sounds suggests a TMJ issue.
When mastoiditis is suspected, the standard imaging test is a contrast-enhanced CT scan, which can reveal whether the infection has started destroying the bony walls inside the mastoid. Radiologists look for demineralization or outright destruction of the internal walls and the outer bone surface. MRI can also be useful and has a strong ability to rule out the more advanced form of the disease: if certain MRI measurements come back normal, coalescent (bone-destroying) mastoiditis can be excluded with about 92% confidence.
Signs That Need Urgent Attention
Most mastoid area pain turns out to be a swollen lymph node or muscle-related issue and resolves without serious intervention. But certain combinations of symptoms signal something more dangerous. Fever with worsening pain and visible swelling behind the ear, especially following an ear infection, should be evaluated the same day. If the ear is draining pus, if the outer ear is being pushed forward by swelling, or if you develop a stiff neck, confusion, facial weakness on one side, or changes in vision, these are signs that infection may be spreading beyond the mastoid into surrounding structures.

