What Causes a Middle Ear Infection: Risks and Triggers

Middle ear infections happen when bacteria or viruses get trapped behind the eardrum, usually after a cold or upper respiratory infection causes the narrow tube connecting your middle ear to your throat to swell shut. About 40% of children experience at least one ear infection by age three, making it one of the most common reasons for pediatric doctor visits. The underlying cause is almost always the same: a blocked drainage pathway that lets fluid build up and become a breeding ground for germs.

How the Eustachian Tube Sets the Stage

Your middle ear is a small, air-filled space behind the eardrum. It connects to the back of your throat through a channel called the Eustachian tube. This tube has three jobs: equalizing air pressure on both sides of the eardrum, draining normal fluid away from the middle ear, and keeping bacteria from climbing up from the throat. You use it every time you swallow, yawn, or pop your ears on a plane.

When a cold, sinus infection, or allergies cause the lining of this tube to swell, it can close off partially or completely. Once that happens, air in the middle ear gets absorbed, creating negative pressure that pulls fluid from surrounding tissue into the space. That warm, stagnant fluid has nowhere to drain, and bacteria or viruses already present in the nose and throat can migrate into it. The result is infection, pressure, and pain.

Structural variations in the Eustachian tube also matter. Some people have tubes that are naturally narrower, angled differently, or partially obstructed. These anatomical differences make it harder for the tube to open and close normally during swallowing, which means fluid is more likely to accumulate even from mild congestion.

Why Children Get Ear Infections So Often

Children’s Eustachian tubes are shorter, narrower, and more horizontal than an adult’s. That geometry makes a big difference. In adults, the tube angles downward from the ear toward the throat, so gravity helps fluid drain. In young children, the nearly level tube offers little gravitational advantage, and its smaller diameter means even slight swelling can block it entirely. Nearly 19% of children have their first ear infection before their first birthday.

Children also have immature immune systems, so they catch more colds, and their adenoids (tissue at the back of the nose) are proportionally larger, which can physically crowd the tube opening. As children grow, the tube lengthens, steepens, and widens, which is why ear infections become far less common after age five or six.

Bacteria and Viruses Behind the Infection

Most middle ear infections involve bacteria, viruses, or both working together. The two most common bacterial culprits are Streptococcus pneumoniae and nontypeable Haemophilus influenzae. A third bacterium, Moraxella catarrhalis, also shows up frequently. These bacteria normally live in the nose and throat without causing problems, but when Eustachian tube blockage traps them in the middle ear with stagnant fluid, they multiply rapidly.

Viruses often play the opening role. A typical sequence starts with a common cold or respiratory virus that inflames the nasal passages and Eustachian tube. That swelling traps fluid, and bacteria already present in the upper airway take advantage. Research has found that bacterial cultures from middle ear fluid are more likely to be positive when viral genetic material, particularly from parainfluenza virus and rhinovirus, is also detected. In other words, the virus creates the conditions and the bacteria move in. RSV tends to be more associated with sudden, symptomatic ear infections, while other respiratory viruses contribute to the quieter fluid buildup that can linger for weeks.

Environmental Risk Factors

Several everyday exposures raise the odds of developing a middle ear infection, especially in children.

  • Secondhand smoke. Children living with smokers are significantly more likely to develop ear infections. One study found that 68% of children with fluid-filled middle ears lived in homes with smokers, compared to 48% of healthy children. Cigarette smoke irritates the lining of the Eustachian tube and nasal passages, promoting swelling and fluid retention.
  • Daycare and group settings. Close contact with other children means more frequent colds. More colds mean more chances for Eustachian tube blockage. Children in daycare or nursery school consistently show higher rates of ear infections than those cared for at home or in smaller groups.
  • Season. Ear infections peak during fall and winter, tracking closely with cold and flu season. The spike in respiratory viruses during colder months drives a corresponding spike in middle ear infections.
  • Bottle feeding while lying flat. In infants, feeding in a reclined position can allow milk to flow toward the Eustachian tube opening, introducing irritants and bacteria into the middle ear space.

Why Some Ear Infections Keep Coming Back

Some children and adults deal with infections that return repeatedly or fluid that never fully clears. One explanation involves bacterial biofilms. Instead of floating freely in the ear fluid where antibiotics can reach them, bacteria can organize into dense, layered communities coated in a protective slime. These biofilms cling to tissue surfaces and are highly resistant to antibiotics because only the outermost bacteria are exposed to the medication. The dormant bacteria deeper in the biofilm survive treatment and can later shed individual cells that restart the infection cycle.

Biofilms have also been found on adenoid tissue, the spongy tissue at the back of the nasal cavity. Colonized adenoids may act as a reservoir, continuously seeding bacteria toward the Eustachian tube and middle ear. This is one reason why removing the adenoids can reduce recurrent ear infections in children, as it eliminates a persistent bacterial source.

Ongoing Eustachian tube dysfunction also plays a role in recurrence. If the tube never functions well between infections, fluid never fully drains, and each new cold restarts the cycle before the ear has recovered.

How Doctors Confirm the Diagnosis

Doctors diagnose a middle ear infection by looking at the eardrum with a lighted scope. The key sign is a bulging eardrum. Moderate to severe bulging, or fluid visibly draining from the ear, confirms the diagnosis. Mild bulging combined with ear pain or intense redness of the eardrum can also point to infection, especially if symptoms have lasted less than 48 hours. In babies and toddlers who can’t describe their pain, pulling, tugging, or rubbing the ear is taken as a sign of discomfort.

Pain or fever alone isn’t enough. Doctors also need to confirm that fluid is actually present behind the eardrum. They do this using pneumatic otoscopy, which sends a small puff of air against the eardrum to see how well it moves, or tympanometry, which measures the eardrum’s response to pressure changes. A stiff, poorly moving eardrum signals trapped fluid. Without evidence of fluid, the diagnosis doesn’t hold, even if a child has ear pain and a fever.

The Role of Vaccination

The pneumococcal conjugate vaccine, given routinely to infants, targets Streptococcus pneumoniae, one of the top bacterial causes of ear infections. A review of 11 clinical trials covering more than 60,000 children found that the vaccine reduced pneumococcal ear infections by 11% to 53%, depending on the specific vaccine formulation and study. The range is wide because different versions of the vaccine cover different numbers of bacterial strains, and because ear infections have multiple possible causes. The vaccine doesn’t prevent all ear infections, but it has meaningfully reduced the number caused by the most aggressive pneumococcal strains.