Ear infections are caused by bacteria, viruses, or fungi that take hold when fluid gets trapped in part of the ear. The specific culprit depends on which part of the ear is affected: the middle ear, the outer ear canal, or the inner ear. More than 80% of children experience at least one ear infection by age 3, making this one of the most common childhood illnesses, though adults get them too.
How Middle Ear Infections Develop
The middle ear sits just behind the eardrum and connects to the back of your throat through a narrow passage called the eustachian tube. This tube has two jobs: equalizing air pressure and draining fluid from the ear. When you get a cold, allergies flare up, or your sinuses swell, the tube can become blocked. Fluid accumulates in the middle ear with no way to drain, and that warm, moist, stagnant environment becomes a breeding ground for bacteria or viruses.
The two bacteria most commonly responsible are Streptococcus pneumoniae and nontypeable Haemophilus influenzae. Viruses that cause the common cold also trigger middle ear infections, often by creating the initial swelling that blocks the eustachian tube. In many cases, a viral cold comes first and a bacterial infection follows days later.
Why Children Get Ear Infections So Often
Children’s eustachian tubes are shorter, narrower, and more horizontal than those of adults. That geometry makes it harder for fluid to drain and easier for bacteria from the throat and nose to reach the middle ear. As children grow, the tubes lengthen and angle more steeply downward, which is why ear infections become far less frequent by school age. The immune system also matures, making it better at fighting off the respiratory viruses that set the process in motion.
Outer Ear Infections (Swimmer’s Ear)
Outer ear infections involve the ear canal rather than the space behind the eardrum. The ear canal has a natural protective layer of earwax and slightly acidic skin that keeps bacteria in check. When that barrier is disrupted by water exposure, aggressive cleaning with cotton swabs, or scratching, bacteria can invade. The dominant germs in outer ear infections are Pseudomonas aeruginosa and Staphylococcus aureus.
Fungi account for about 10% of outer ear infections, with Aspergillus responsible in 80 to 90% of fungal cases and Candida making up most of the rest. Fungal infections typically develop after someone has been treated for a bacterial ear canal infection with antibiotic drops for a prolonged period, which disrupts the normal balance of organisms in the ear. People with diabetes face a higher risk of severe outer ear infections that can spread into the surrounding bone.
Inner Ear Infections
Inner ear infections, called labyrinthitis, are less common but more disruptive. The inner ear controls both hearing and balance, so infection here causes vertigo, nausea, and sometimes hearing changes. Viral infections are the usual trigger. Common culprits include upper respiratory viruses, herpes simplex, Epstein-Barr virus, and stomach flu viruses. Bacterial infections can also reach the inner ear, though this is rarer. Head injuries and certain medications, including some antidepressants and anti-inflammatory drugs, can trigger inner ear inflammation as well.
Environmental and Lifestyle Risk Factors
Beyond germs, several environmental factors increase the likelihood of ear infections. Secondhand smoke is one of the most well-documented risks. Children whose parents smoke around them get more ear infections, have fluid in their ears more often, and are more likely to need surgical tube placement for drainage. The smoke irritates and swells the lining of the eustachian tubes, impairing their ability to drain.
Pacifier use also raises the odds. Research has found that children who use pacifiers have roughly a 43% higher risk of recurrent middle ear infections compared to those who don’t, even after accounting for other factors like mouth breathing. The mechanism likely involves changes in pressure and swallowing patterns that affect eustachian tube function. Group childcare settings increase exposure to the respiratory viruses that precede many ear infections, and bottle-feeding while lying flat can allow liquid to pool near the eustachian tube opening.
Why Some Ear Infections Keep Coming Back
Recurrent ear infections are a source of real frustration for parents and adults alike. One explanation that has gained significant support involves bacterial biofilms. These are organized communities of bacteria that attach to a surface (like the lining of the middle ear or adenoid tissue) and encase themselves in a protective matrix. Bacteria inside a biofilm enter a dormant-like state that makes them highly resistant to antibiotics. Standard antibiotics only reach the active bacteria on the outer edges of the biofilm, while the dormant core survives intact.
Periodically, individual bacteria break free from the biofilm and become active again, triggering a new round of infection. This cycle of dormancy and reactivation explains why ear cultures sometimes come back negative between episodes even though the bacteria never truly left. The adenoids, a patch of immune tissue at the back of the nose, can harbor these biofilms and act as a reservoir that seeds repeated infections in the middle ear. This is one reason adenoid removal sometimes reduces the frequency of ear infections in children who get them repeatedly.
The Role of Vaccines
Because Streptococcus pneumoniae is one of the two leading bacterial causes of middle ear infections, the pneumococcal vaccine offers some protection. It doesn’t prevent all ear infections since many are caused by other bacteria or viruses, but it reduces the overall burden. Keeping up with routine childhood vaccinations, including the flu vaccine, helps lower the number of respiratory infections that set the stage for ear problems in the first place.