Sulfonamides are traditional synthetic antimicrobial agents used in clinical and veterinary medical settings. Their long-term excessive overuse has resulted in widespread microbial resistance, limiting their application for medical interventions. Resistance to sulfonamides is primarily conferred by the alternative genes sul1, sul2, and sul3 encoding dihydropteroate synthase in bacteria. Studying the potential fitness cost of these sul genes is crucial for understanding the evolution and transmission of sulfonamide-resistant bacteria. In vitro studies have been conducted on the fitness cost of sul genes in bacteria. In this study, we provide critical insights into bacterial adaptation and transmission using an in vivo approach.