Hospital-acquired pneumonia (HAP) is associated with high mortality and costs, and frequently caused by multidrug-resistant (MDR) bacteria. Although prior antimicrobial therapy is a major risk factor for HAP, the underlying mechanism remains incompletely understood. Here, we demonstrate that antibiotic therapy in hospitalized patients is associated with decreased diversity of the gut microbiome and depletion of short-chain fatty acid (SCFA) producers. Mice transplanted with patient gut microbiota reveal that these antibiotic-induced microbiota perturbations compromise pulmonary defense against MDR Klebsiella pneumoniae by compromising free fatty acid receptor (FFAR)2/3-controlled antibacterial activity of inflammatory monocytes (IMs). Collectively, we characterize how clinically relevant antibiotics affect antimicrobial defense in the context of human microbiota, and reveal a critical impairment of IMs. Our study provides additional arguments for the rational use of antibiotics and offers mechanistic insights for the development of novel prophylactic strategies to protect high-risk patients from HAP.