An ear infection can occur in the middle, inner, or outer ear and is usually caused by a viral or bacterial infection. The most common type of ear infection occurs in the middle ear, which is the small pocket of air located directly behind your eardrum. Another type of ear infection, called an inner ear infection, occurs further inside the ear—just past the middle ear. Outer ear infections, sometimes called swimmer’s ear, affect the outside, visible portion of the ear.
Middle ear infections cause inflammation, fluid, and pain in the ear. They are categorized according to their severity: