Tympanoplasty is a surgical procedure to repair a perforated eardrum. The eardrum is a thin membrane that separates the outer ear from the middle ear. A perforated eardrum can be caused by infection, trauma, or noise exposure. Tympanoplasty is typically performed to improve hearing, reduce the risk of infection, and prevent further damage to the middle ear.