Transient depletion of the gut microbiome by antibiotics in early life reduces systemic levels of the metabolite indole-3-propionic acid, which causes long-lasting mitochondrial damage to lung epithelial cells and increases susceptibility to airway inflammation in adult mice.