An ear infection happens when fluid gets trapped behind the eardrum and bacteria or viruses multiply in that warm, moist space. The process usually starts with something mundane, like a cold or allergies, that causes swelling in the narrow tubes connecting your middle ear to the back of your throat. Once those tubes stop draining properly, the stage is set for infection.
The Eustachian Tube Is the Starting Point
Your middle ear is a small, air-filled chamber sealed off by the eardrum on one side and connected to the back of your throat by a channel called the eustachian tube. This tube has two jobs: it balances air pressure so your eardrum vibrates correctly, and it drains fluid away from the middle ear. Every time you swallow or yawn, the tube opens briefly to let a small puff of air in and let fluid out.
When a cold, sinus infection, or allergic reaction inflames the tissue lining this tube, the opening swells shut. Fluid that would normally drain away starts pooling behind the eardrum instead. At the same time, because no fresh air is getting in, a slight vacuum develops inside the middle ear, which can pull even more fluid from the surrounding tissue. That stagnant fluid becomes a breeding ground for germs that have traveled up from the nose and throat.
Which Germs Cause the Infection
Most middle ear infections are triggered by a virus first. The same viruses responsible for the common cold inflame the eustachian tube and set the process in motion. In many cases, bacteria then move in and make things worse. The two most common bacterial culprits are Streptococcus pneumoniae and nontypeable Haemophilus influenzae, both of which normally live in the nose and throat without causing problems until they reach the middle ear.
Some infections stay viral and resolve on their own. Others become bacterial superinfections, where bacteria take advantage of the inflamed, fluid-filled environment the virus created. This is why ear infections often show up a few days into a cold rather than right at the start.
Why Children Get Ear Infections Far More Often
Children under age three get ear infections at dramatically higher rates, and the reason is largely anatomical. In a newborn, the eustachian tube is roughly half the length of an adult’s and sits nearly flat, angled at only about 10 degrees from horizontal. An adult’s tube angles downward at a much steeper pitch, so gravity helps fluid drain. A young child’s tube is essentially level, which means fluid sits there instead of flowing out.
The tube also grows wider and longer as a child’s skull develops. A shorter, narrower tube is easier for germs to travel through and easier for swelling to block completely. On top of that, children’s immune systems are still learning to recognize common respiratory viruses, so they catch more colds, and each cold is another opportunity for the eustachian tube to swell shut.
Enlarged adenoids play a role too. The adenoids are a patch of immune tissue sitting right at the opening of the eustachian tube in the back of the throat. In young children, this tissue can swell significantly during infections. When it does, it physically blocks the tube’s opening and can also serve as a reservoir of bacteria that reinfect the middle ear repeatedly.
Allergies and Environmental Triggers
Respiratory allergies can cause the same chain of events as a cold. The lining of the eustachian tube is continuous with the lining of the nose and throat, so when allergies inflame nasal tissue, that inflammation extends into the tube. Chronic allergies can keep the tube partially blocked for weeks or months, leading to persistent fluid buildup even without an active viral infection.
Secondhand smoke is a well-documented risk factor for children. One study found that 68% of children with fluid-related ear problems lived in homes where someone smoked, compared to 48% of children without ear problems. Smoke irritates the respiratory lining and impairs the tiny hair-like cells that sweep mucus and fluid out of the eustachian tube.
Swimmer’s Ear Is a Different Process
Not all ear infections start behind the eardrum. Swimmer’s ear, or outer ear infection, happens in the ear canal itself, the passage between the outside world and the eardrum. Water that stays trapped in the canal after swimming or bathing creates a damp environment where bacteria and fungi thrive. The skin lining the ear canal normally acts as a barrier, but prolonged moisture softens it and breaks down its protective layer.
This type of infection can also happen without swimming. Scratching the ear canal with a cotton swab, fingernail, or earbud can create tiny breaks in the skin that let bacteria in. The pain tends to be sharp and worsens when you pull on the outer ear, which helps distinguish it from a middle ear infection.
Why Some Ear Infections Keep Coming Back
Recurrent ear infections often involve biofilms, communities of bacteria that attach to the surface of the middle ear lining and encase themselves in a protective matrix. Inside this structure, bacteria enter a slow-growth, dormant state that makes them remarkably tolerant to antibiotics. Some of these dormant cells, called persister cells, can survive antibiotic concentrations that would kill free-floating bacteria of the same species.
These biofilms are rarely made up of a single type of bacteria. Multiple species cooperate, sharing resources and chemical signals that strengthen the overall structure. When a course of antibiotics clears the active infection, the biofilm can reseed the middle ear with bacteria, restarting the cycle. This is one reason a child might finish antibiotics, feel better for a week or two, and then develop another infection. The initial inflammation also damages the mucus-clearing cells lining the middle ear, making it harder for the ear to clean itself out and easier for the biofilm to persist.
What Happens if an Infection Goes Untreated
Most ear infections resolve within a few days, either on their own or with antibiotics. For children between 6 months and 2 years with a mild, single-ear infection and a fever below 102.2°F, guidelines support a “watchful waiting” approach: observing for two to three days to give the immune system a chance to clear the infection before starting antibiotics. Children 2 and older with mild symptoms in one or both ears can also be watched initially.
Serious complications are rare. The most well-known is mastoiditis, an infection that spreads from the middle ear into the bone directly behind it. This causes redness and swelling behind the ear, the ear being pushed forward, and fever. In the United States, this complication occurs in roughly 0.004% of middle ear infections. Though uncommon, it requires prompt treatment because the infection has moved beyond the middle ear into bone.
Repeated or prolonged infections can also affect hearing. Fluid behind the eardrum dampens its ability to vibrate, causing temporary hearing loss that usually resolves once the fluid drains. In young children, months of reduced hearing during critical language development windows can delay speech, which is one reason pediatricians monitor recurrent infections closely.

