The most common cause of a perforated eardrum is middle ear infections, or otitis media.