Ear infections happen when bacteria, viruses, or fungi get trapped in part of the ear where they can multiply. The specific way this occurs depends on which part of the ear is affected. Middle ear infections, the most common type (especially in children), start when the small tubes connecting the middle ear to the throat become blocked, trapping fluid that becomes a breeding ground for germs. Outer ear infections develop when moisture or damage disrupts the ear canal’s natural defenses.
How Middle Ear Infections Develop
Your middle ear is a small, air-filled space behind the eardrum. It connects to the back of your throat through a pair of narrow passages called eustachian tubes. These tubes do three important jobs: they equalize air pressure in the ear, bring in fresh air, and drain fluid away from the middle ear.
When you get a cold, the flu, or allergies, the tissue lining these tubes can swell. Once swollen, the tubes can’t drain properly, and mucus starts pooling in the middle ear. That warm, stagnant fluid is an ideal environment for bacteria or viruses to multiply. The two bacteria most commonly responsible are Streptococcus pneumoniae and Haemophilus influenzae, though viruses like the ones that cause the common cold can trigger middle ear infections on their own.
This is why ear infections so often follow a cold. The cold virus inflames the throat and nasal passages, the eustachian tubes swell shut, and within a day or two, trapped fluid becomes infected. Swollen adenoids (the immune tissue near the opening of the eustachian tubes) can also block the tubes and set the same chain of events in motion.
Why Children Get Ear Infections More Often
Children’s eustachian tubes are shorter, narrower, and more horizontal than those of adults. That combination makes it harder for fluid to drain out of the middle ear by gravity and easier for germs from the throat to travel up into the ear. As children grow, the tubes lengthen and angle more steeply downward, which is why most kids outgrow frequent ear infections by age five or six.
Feeding position matters for babies. Laying an infant flat while bottle-feeding can cause milk or formula to flow backward up the eustachian tube and into the middle ear, introducing bacteria along with the liquid. Holding a baby at an angle during feeding helps prevent this.
How Outer Ear Infections (Swimmer’s Ear) Start
Outer ear infections affect the ear canal, the passage between the outer ear and the eardrum. Your ear canal has a built-in defense system: earwax. It’s slightly acidic, creating an inhospitable environment for bacteria and fungi. It also contains lysozyme, an enzyme that breaks down bacterial cell walls, along with immunoglobulins that help fight off pathogens. Earwax physically traps microorganisms, dead skin cells, and debris before they can reach deeper tissue.
Swimmer’s ear develops when something disrupts this protective barrier. The most common culprit is water that stays trapped in the ear canal after swimming or bathing. That lingering moisture dilutes the earwax, raises the pH, and gives bacteria and fungi an opening to colonize the skin. But swimming isn’t the only cause. Other things that break down the ear canal’s defenses include:
- Aggressive cleaning with cotton swabs or other objects, which strips away earwax and can scratch the canal lining
- Warm, humid environments that keep the ear canal moist
- Skin conditions like eczema or dermatitis that compromise the skin barrier
- Foreign objects in the ear canal, including hearing aids or earbuds worn for long periods
- Very dry ear canal skin, which can crack and allow bacteria entry
What Makes Some People More Susceptible
Beyond anatomy, several environmental and lifestyle factors raise the risk of ear infections. Secondhand smoke is one of the most significant. In one study, 68% of children with chronic middle ear fluid lived in homes with smokers, compared to 48% of healthy controls. Smoke irritates the mucous membranes lining the eustachian tubes, making swelling and blockage more likely.
Group childcare settings increase exposure to respiratory viruses, which in turn increases the chance of developing a secondary ear infection. Seasonal patterns reflect this: ear infections peak during fall and winter, when colds and flu circulate most widely. Allergies also contribute by causing the same kind of eustachian tube swelling that colds do, just through a different mechanism.
Pacifier use in children has been linked to higher rates of ear infections, possibly because the sucking motion affects pressure in the eustachian tubes. Breastfeeding, on the other hand, appears to offer some protection, likely through antibodies passed from mother to child.
Why Some Ear Infections Keep Coming Back
Recurrent ear infections are frustrating, and one reason they persist is surprisingly hard to treat. Bacteria can form biofilms on the surfaces of the middle ear. These are structured communities of bacteria that embed themselves in a protective matrix, making them resistant to antibiotics, heat, and even the body’s immune response.
Antibiotics typically kill only the free-floating bacteria on the outer edge of a biofilm. The dormant bacteria deeper inside survive treatment and can later break off, either seeding new infections in the same location or spreading to other parts of the respiratory tract. This cycle of apparent recovery followed by reinfection is a hallmark of biofilm-driven chronic ear disease.
How Doctors Identify an Ear Infection
A doctor diagnoses a middle ear infection primarily by looking at the eardrum with an otoscope. The key sign is a bulging eardrum. Moderate to severe bulging, or any new fluid draining from the ear, is enough to confirm the diagnosis. Mild bulging paired with ear pain that started within the last 48 hours, or a very red eardrum, also meets the diagnostic threshold. If there’s no fluid behind the eardrum, it’s not a middle ear infection, even if the ear hurts.
For outer ear infections, the diagnosis is usually straightforward: the ear canal appears red, swollen, and tender, and pulling on the outer ear or pressing near the ear canal causes pain.
How Vaccination Has Reduced Ear Infections
Since Streptococcus pneumoniae is one of the top bacterial causes of middle ear infections, pneumococcal vaccines have made a measurable dent. The newer version of the vaccine, introduced into the routine childhood schedule, was associated with a 25% reduction in ear infection rates among children under 10. Among children under two, where ear infections are most common, the reduction was similar. Emergency department visits for ear infections dropped by 16% to 41% after the earlier version of the vaccine became widespread. These vaccines don’t prevent all ear infections, since viruses and other bacteria also cause them, but they’ve meaningfully lowered the overall burden.

