Infections with Gram-negative pathogens pose a serious threat to public health. This scenario is exacerbated by increases in antibiotic resistance and the limited availability of vaccines and therapeutic tools to combat these infections. Here, we report an immunization approach that targets siderophores, which are small molecules exported by enteric Gram-negative pathogens to acquire iron, an essential nutrient, in the host. Because siderophores are nonimmunogenic, we designed and synthesized conjugates of a native siderophore and the immunogenic carrier protein cholera toxin subunit B (CTB). Mice immunized with the CTB-siderophore conjugate developed anti-siderophore antibodies in the gut mucosa, and when mice were infected with the enteric pathogen Salmonella, they exhibited reduced intestinal colonization and reduced systemic dissemination of the pathogen. Moreover, analysis of the gut microbiota revealed that reduction of Salmonella colonization in the inflamed gut was accompanied by expansion of Lactobacillus spp., which are beneficial commensal organisms that thrive in similar locales as Enterobacteriaceae. Collectively, our results demonstrate that anti-siderophore antibodies inhibit Salmonella colonization. Because siderophore-mediated iron acquisition is a virulence trait shared by many bacterial and fungal pathogens, blocking microbial iron acquisition by siderophore-based immunization or other siderophore-targeted approaches may represent a novel strategy to prevent and ameliorate a broad range of infections.