Ear infections are infections or inflammatory conditions affecting different parts of the ear, and their causes depend strongly on whether the problem involves the outer ear, middle ear or inner ear. Otitis externa affects the ear canal and is commonly caused by bacteria, although fungi and other organisms can occasionally be responsible.
Acute otitis media affects the air-filled middle-ear space behind the eardrum and commonly develops after a viral upper-respiratory infection, when inflammation and blockage of the Eustachian tube interfere with ventilation and drainage and allow bacteria or viruses to proliferate. Otitis media with effusion involves fluid behind the eardrum without necessarily representing an active infection. Inner-ear infections are less common and may involve viral inflammation of structures responsible for hearing and balance. The phrase “ear infection” therefore describes several distinct conditions rather than one single disease.
Middle-ear infections are particularly associated with dysfunction of the Eustachian tube, a passage connecting the middle ear with the upper throat. Normally, the tube periodically opens to equalise air pressure and allows secretions to drain from the middle ear. During a cold or other respiratory infection, swelling of the nasal and throat tissues can obstruct this passage. Negative pressure develops behind the eardrum, fluid can accumulate, and the stagnant fluid provides an environment in which microorganisms can multiply. Children are more susceptible because their Eustachian tubes are shorter, narrower and more horizontally oriented than those of adults, making drainage less effective. Enlarged adenoids can also obstruct the Eustachian tubes or harbour microorganisms, contributing to recurrent middle-ear disease.
Viruses and bacteria can both contribute to middle-ear disease. Respiratory viruses such as respiratory syncytial virus, influenza viruses and rhinoviruses can initiate the inflammatory process, while bacteria such as Streptococcus pneumoniae, Haemophilus influenzae and Moraxella catarrhalis are important bacterial causes of acute otitis media. A viral respiratory illness does not mean that a bacterial infection will necessarily follow; many cases resolve without antibiotics. Antibiotic decisions depend on age, severity, duration, examination findings and clinical circumstances. Recurrent infections may also reflect persistent Eustachian-tube dysfunction rather than repeated independent exposures to a new pathogen. This distinction matters because treating every episode as a bacterial infection can expose people to unnecessary antibiotics without addressing the underlying mechanism.
Outer-ear infections have different causes. Acute bacterial otitis externa, often called “swimmer's ear”, can develop when moisture remains in the ear canal, altering its normal protective environment and promoting bacterial growth. Small injuries caused by cotton buds, fingernails, hearing aids or attempts to remove earwax can damage the canal's skin barrier and facilitate infection. Skin conditions such as eczema, psoriasis or seborrhoeic dermatitis can also disrupt the protective lining. Frequent swimming, excessive cleaning and use of irritating substances can increase susceptibility. Fungal otitis externa, or otomycosis, is less common in many settings but can occur particularly after antibiotic ear drops, prolonged moisture exposure or in warm environments.
Several factors increase the likelihood of middle-ear infection. Young age is a major risk factor, particularly during the first years of life when respiratory infections are common and Eustachian-tube anatomy favours impaired drainage. Exposure to cigarette smoke can irritate respiratory tissues and increase susceptibility. Attendance at childcare can increase exposure to respiratory pathogens. Bottle feeding while lying flat has historically been associated with increased risk compared with breastfeeding, although feeding practices interact with many other factors. Craniofacial abnormalities, including cleft palate, can impair Eustachian-tube function. Genetic susceptibility, allergic or inflammatory nasal disease and recurrent respiratory infections can also contribute. These factors alter either exposure to microorganisms, drainage and ventilation, or the protective mechanisms of the ear.
Ear infections should be distinguished from non-infectious causes of ear inflammation and fluid. A blocked Eustachian tube can produce pressure and fluid without bacterial infection, while allergies, barotrauma and anatomical obstruction can cause similar symptoms. Earwax impaction can cause discomfort or hearing reduction without infection. Foreign bodies can irritate the canal and sometimes cause secondary infection. Perforation of the eardrum can allow infection to spread between the outer and middle ear, while skin disorders can cause inflammation without microorganisms being the primary cause. This distinction is clinically important because antibiotics are useful for susceptible bacterial infections but do not treat viruses, mechanical blockage or inflammatory skin disease.
Inner-ear inflammatory conditions such as labyrinthitis and vestibular neuritis are often associated with viral infection or post-viral inflammation, although their precise causes can vary and bacterial labyrinthitis can occur as a complication of middle-ear or other infections. Because the inner ear contains the cochlea and vestibular organs, inflammation there can produce hearing changes, vertigo or both. These conditions differ substantially from ordinary otitis externa and otitis media. Infection can also spread to nearby tissues in uncommon but serious cases, producing complications such as mastoiditis, facial nerve involvement or intracranial infection. Persistent severe symptoms, swelling behind the ear, marked systemic illness, neurological symptoms or significant deterioration therefore require prompt clinical assessment.
Overall, ear infections arise when microorganisms infect susceptible ear tissues or when inflammation and impaired ventilation create conditions that permit infection. The specific cause depends on anatomical location, with water and damaged canal skin prominent in otitis externa and respiratory infection plus Eustachian-tube dysfunction central to acute otitis media. Risk factors include age, respiratory infections, smoke exposure, anatomical differences, skin disease, moisture and local trauma. Not every earache or fluid-filled middle ear represents an active infection, and distinguishing infection from inflammation or obstruction is essential for appropriate management. Diagnosis generally depends on examination of the ear, particularly the ear canal and eardrum, rather than symptoms alone.