Yes, ear infections commonly cause headaches

An ear infection can trigger a headache because the infected ear and the surrounding tissues share nerves and blood vessels with your head and jaw. When the middle ear becomes inflamed—the space behind your eardrum where fluid builds up during infection—that swelling and pressure can radiate outward as head pain. The headache often feels like a dull ache on the side of the infected ear, though some people experience pain across the whole head.

The severity varies. A mild ear infection might produce a mild headache that comes and goes. A more serious infection, especially one that spreads or goes untreated, can cause a persistent, throbbing headache that interferes with sleep or daily activity. The headache typically improves as the infection clears, whether that happens on its own or with treatment.

Key Takeaways

  • Ear infections cause headaches through inflammation and pressure in the middle ear, which shares nerve pathways with your head.
  • The headache usually appears on the same side as the infected ear and may feel like a dull, constant ache or sharp pain.
  • A headache from an ear infection typically improves as the infection resolves, but severe or persistent headaches warrant a doctor's evaluation.
  • Over-the-counter pain relievers can reduce headache discomfort while your body fights the infection or while you wait for treatment to work.

Why the pain radiates from your ear to your head

Your ear, jaw, and head share a network of nerves—particularly the trigeminal nerve and branches of the cervical spine nerves. When infection inflames the middle ear, the swelling creates pressure inside a small, enclosed space. That pressure stimulates nearby nerves, which send pain signals not just to the ear itself but along their entire pathway, including to your head and temples.

The infection also triggers your body's inflammatory response. Blood vessels in and around the ear dilate (widen) to deliver immune cells to fight the infection. This increased blood flow and chemical inflammation can contribute to the headache sensation. In some cases, fluid buildup in the middle ear creates a feeling of fullness and pressure that people experience as head pain rather than ear pain alone.

What the headache typically feels like

Most people with an ear infection-related headache describe it as a dull, constant ache on the side of the infected ear. It may throb in rhythm with your heartbeat, or it may feel more like steady pressure. Some people notice the pain worsens when they chew, lie on the affected side, or press on the ear.

The intensity can range from mild discomfort that you notice mainly when you focus on it, to severe pain that makes concentration difficult. A headache from an ear infection is usually not the worst headache of your life—that pattern would suggest a different, more serious condition. If your headache is sudden, extremely severe, or accompanied by fever above 103°F, stiff neck, or confusion, contact a doctor or seek emergency care rather than assuming it is from the ear infection alone.

How long the headache lasts

The duration depends on how quickly the infection resolves. In a viral ear infection, which accounts for most cases, the headache typically peaks within the first few days and then gradually improves over one to two weeks as your immune system clears the virus. In a bacterial ear infection, the headache may persist until antibiotics reduce the infection, which usually takes several days to a week.

Some people experience a lingering mild headache even after the acute infection has cleared, as the middle ear drains and inflammation subsides. This residual discomfort usually resolves within a few days. If a headache persists beyond two weeks after the ear infection symptoms have improved, or if it worsens instead of improving, mention this to your doctor—it could indicate a complication or a separate issue.

Managing the headache while the infection heals

Over-the-counter pain relievers such as ibuprofen or acetaminophen can reduce both the ear pain and the associated headache. These medications also lower fever if that is present. Follow the dosage instructions on the package for your age and weight. Many people find that taking the medication at the first sign of pain, rather than waiting until it is severe, works more effectively.

A warm compress held against the ear can ease discomfort for some people, though others prefer cold. Avoid inserting anything into the ear canal, and be cautious about water entering the ear during bathing. Keeping your head elevated, especially when lying down, can reduce the sensation of pressure in the ear. If the headache is severe or does not improve with over-the-counter medication within a few days, your doctor may recommend stronger pain relief or prescribe antibiotics if a bacterial infection is confirmed.

When to see a doctor about the headache

Contact a doctor if the headache is severe, if it persists beyond what you would expect from a typical ear infection, or if it worsens despite treatment. You should also seek care if the headache is accompanied by signs of a more serious infection: high fever (above 103°F), stiff neck, confusion, hearing loss that does not improve, or drainage from the ear that is bloody or contains pus.

In children, watch for unusual drowsiness, difficulty waking, or inconsolable crying in addition to ear pain and headache—these can signal a more serious infection. If you have had recurrent ear infections with headaches, your doctor may want to investigate whether there is an underlying cause such as allergies, fluid buildup that is not draining properly, or structural issues in the ear.

Ear infection headaches versus other types of headaches

A headache from an ear infection usually has a clear trigger: you notice ear pain or fullness first, then the headache develops on the same side. The pain is typically localized to one side of the head rather than spreading across both sides. If you have other ear infection symptoms—ear pain, hearing difficulty, feeling of fullness, or drainage—the headache is likely connected to the infection.

If you have a headache without any ear symptoms, or if the headache is on the opposite side from ear pain, or if it feels different from your usual pattern, it may be a separate issue such as a tension headache, migraine, or sinus problem. Keeping track of when the headache started relative to ear symptoms, what makes it better or worse, and how it feels can help your doctor determine the cause.

Frequently Asked Questions

Can an ear infection cause a headache on the opposite side of my head?

Occasionally, yes. While the headache usually appears on the same side as the infected ear, referred pain can sometimes spread across the midline or to the opposite side, especially if the infection is severe or if inflammation affects nerves that cross over. If the pattern seems unusual or the headache is very severe, mention it to your doctor to rule out other causes.

Will antibiotics stop the headache faster?

Antibiotics can help if the ear infection is bacterial, but they do not work on viral infections. Even with antibiotics, the headache may take several days to improve as the infection clears. Over-the-counter pain relievers work independently of antibiotics and can reduce the headache while you wait for the infection to resolve.

Is a headache from an ear infection dangerous?

A headache caused by a typical ear infection is not dangerous on its own. However, if the infection spreads beyond the middle ear or if complications develop, the headache could signal a more serious problem. Severe headache, high fever, stiff neck, or confusion warrant immediate medical attention.

Can I prevent ear infection headaches?

You cannot prevent all ear infections, but you can reduce your risk by keeping water out of your ears during bathing, avoiding smoke and air pollution, managing allergies, and not inserting objects into your ear canal. If you get frequent ear infections, your doctor can help identify whether allergies, drainage problems, or other factors are involved.

What should I do if the headache does not improve after the ear infection clears?

Most headaches resolve as the infection clears. If yours persists beyond two weeks after ear symptoms have improved, or if it worsens, contact your doctor. This could indicate incomplete healing, fluid still draining from the ear, or a separate headache condition that needs different treatment.