Pharmacological activation of BK channels protects against LPS-induced pneumonia. Here, KCNMA1 is linked to susceptibility to pneumonia measurement.