Klebsiella pneumoniae(Kp) is an important cause of healthcare-associated infections, which increases patient morbidity, mortality, and hospitalization costs. Gut colonization by Kp is consistently associated with subsequent Kp disease, and patients are predominantly infected with their colonizing strain. Our previous comparative genomics study, between disease-causing and asymptomatically colonizing Kp isolates, identified a plasmid-encoded tellurite (TeO3-2)-resistance (ter) operon as strongly associated with infection. However, TeO3-2is extremely rare and toxic to humans. Thus, we used a multidisciplinary approach to determine the biological link betweenterand Kp infection. First, we used a genomic and bioinformatic approach to extensively characterize Kp plasmids encoding theterlocus. These plasmids displayed substantial variation in plasmid incompatibility type and gene content. Moreover, theteroperon was genetically independent of other plasmid-encoded virulence and antibiotic resistance loci, both in our original patient cohort and in a large set (n = 88) of publicly availableteroperon-encoding Kp plasmids, indicating that theteroperon is likely playing a direct, but yet undescribed role in Kp disease. Next, we employed multiple mouse models of infection and colonization to show that 1) theteroperon is dispensable during bacteremia, 2) theteroperon enhances fitness in the gut, 3) this phenotype is dependent on the colony of origin of mice, and 4) antibiotic disruption of the gut microbiota eliminates the requirement forter. Furthermore, using 16S rRNA gene sequencing, we show that theteroperon enhances Kp fitness in the gut in the presence of specific indigenous microbiota, including those predicted to produce short chain fatty acids. Finally, administration of exogenous short-chain fatty acids in our mouse model of colonization was sufficient to reduce fitness of atermutant. These findings indicate that theteroperon, strongly associated with human infection, encodes factors that resist stress induced by the indigenous gut microbiota during colonization. This work represents a substantial advancement in our molecular understanding of Kp pathogenesis and gut colonization, directly relevant to Kp disease in healthcare settings.