Epiglottitis is a medical emergency. It's an infection of the epiglottis, the small flap of tissue that covers the windpipe (trachea). This condition causes swelling that may close off the airway and make it hard to breathe. If not treated quickly, it can be fatal.