Most ear infections involve bacteria, but viruses play a significant role too, and many infections involve both at the same time. In studies of middle ear fluid taken from children with acute ear infections, bacteria were found in 55 to 92 percent of cases, while viruses alone accounted for 5 to 22 percent. The real picture is messier than an either/or answer: a viral cold often sets the stage for bacteria to move in, making the two causes deeply intertwined.
How Bacteria and Viruses Work Together
A middle ear infection (otitis media) typically starts with a common cold or upper respiratory virus. The virus causes swelling and congestion in the nose and throat, which blocks the eustachian tube, the small channel that drains fluid from behind the eardrum. When that tube swells shut, fluid gets trapped in the middle ear, creating a warm, moist environment where bacteria thrive.
This is why so many ear infections show both bacterial and viral pathogens at the same time. Depending on the study, anywhere from 5 to 66 percent of middle ear fluid samples contain both bacteria and a virus simultaneously. The virus is the trigger, and the bacterial overgrowth is what usually causes the painful, pus-filled infection that brings a child (or adult) to the doctor. In 16 to 25 percent of cases, no pathogen can be detected at all, likely because the infection cleared before testing or because inflammation alone caused the symptoms.
The Most Common Bacterial Culprits
Two bacteria cause the majority of middle ear infections: Streptococcus pneumoniae and nontypeable Haemophilus influenzae. These bacteria commonly live in the nose and throat without causing problems, but when fluid gets trapped behind the eardrum, they can multiply rapidly and trigger infection. Other bacteria can be involved, but these two are responsible for most cases that end up needing antibiotics.
When a Virus Is the Main Cause
In roughly 5 to 22 percent of ear infections, only a virus is found in the middle ear fluid with no bacteria present. These cases matter because they help explain why some ear infections don’t improve with antibiotics. If the infection is purely viral, antibiotics won’t do anything. Respiratory syncytial virus (RSV), influenza, and other common cold viruses are the usual suspects. Viral ear infections tend to cause milder symptoms and often resolve on their own within a few days.
Outer Ear Infections Are Different
The infection most people call “swimmer’s ear” (otitis externa) is a completely separate condition affecting the ear canal rather than the space behind the eardrum. Its causes are different too. Pseudomonas aeruginosa is responsible for about 41 percent of outer ear infections, and Staphylococcus aureus causes around 15 percent. Up to 10 percent of cases are fungal rather than bacterial, with some infections involving a mix of bacteria and fungi. Viruses rarely cause outer ear infections. The typical triggers are moisture trapped in the ear canal, small skin breaks from cotton swabs or earbuds, or frequent swimming.
How Doctors Decide on Treatment
Because most middle ear infections have a bacterial component, antibiotics are the standard treatment for many cases. But not every ear infection needs them right away. Current guidelines distinguish between cases that clearly warrant antibiotics and milder ones where waiting a couple of days is reasonable.
For children older than 2 with mild, one-sided symptoms, a “watchful waiting” approach is appropriate. This means managing pain for 48 to 72 hours to see if the infection clears on its own, which it frequently does. For children between 6 and 23 months, watchful waiting is only considered if symptoms are mild and affect one ear. Younger children, kids with severe symptoms like high fever or intense pain, and anyone with fluid draining from the ear generally start antibiotics promptly. Amoxicillin is the first-choice antibiotic for most uncomplicated cases.
This wait-and-see strategy exists precisely because of the viral question. Since a meaningful percentage of ear infections are viral or will resolve without treatment, jumping to antibiotics every time leads to unnecessary medication and contributes to antibiotic resistance.
What Happens if an Infection Goes Untreated
Most ear infections, whether viral or bacterial, resolve without lasting damage. The concern is with bacterial infections that persist or recur frequently. A bacterial infection that spreads beyond the middle ear can reach the bone behind the ear, a condition called mastoiditis. This is uncommon but serious and requires prompt medical attention.
Repeated or chronic ear infections can also damage the small structures inside the ear that transmit sound, leading to hearing loss. In young children, even temporary hearing loss during a critical period of language development can delay speech. This is why recurrent infections in toddlers are taken seriously, even when individual episodes seem mild.
Reducing the Risk
Since viruses are the usual starting point for middle ear infections, the same habits that prevent colds also reduce ear infections: regular handwashing, keeping sick children home from daycare when possible, and staying up to date on vaccinations. The pneumococcal vaccine, given routinely to infants, targets one of the two main bacteria behind ear infections and has meaningfully reduced the number of cases since its introduction. Annual flu vaccines also help by cutting down on the respiratory infections that trigger ear problems in the first place.
For outer ear infections, prevention is more straightforward. Drying your ears thoroughly after swimming, avoiding cotton swabs inside the ear canal, and using swimmer’s ear drops (a mild acidic solution) after water exposure all lower the risk substantially.

