An ear infection, also called acute otitis media, is a sudden infection in your middle ear. The middle ear is the air-filled space between your eardrum and inner ear. It houses the delicate bones that transmit sound vibrations from your eardrum to your inner ear so you can hear.