A high-calorie diet exacerbates pneumonia by depleting gut-derived propionate, which drives HDAC-mediated NETs overproduction and impairs neutrophil apoptosis. Here, HDAC9 is linked to susceptibility to pneumonia measurement.