The present work aimed to investigate the genetic diversity of Bartonella in mammals and ectoparasites in Pantanal wetland, Brazil. For this purpose, 31 Nasua nasua, 78 Cerdocyon thous, 7 Leopardus pardalis, 110 wild rodents, 30 marsupials, and 42 dogs were sampled. DNA samples were submitted to a quantitative real-time PCR assay (qPCR). Positive samples in qPCR were submitted to conventional PCR assays targeting other five protein-coding genes. Thirty-five wild rodents and three Polygenis (P.) bohlsi bohlsi flea pools showed positive results in qPCR for Bartonella spp. Thirty-seven out of 38 positive samples in qPCR were also positive in cPCR assays based on ftsZ gene, nine in nuoG-cPCR, and six in gltA-cPCR. Concatenated phylogenetic analyses showed that two main genotypes circulate in rodents and ectoparasites in the studied region. While one of them was closely related to Bartonella spp. previously detected in Cricetidae rodents from North America and Brazil, the other one was related to Bartonella alsatica, Bartonella pachyuromydis, Bartonella birtlesii, Bartonella acomydis, Bartonella silvatica, and Bartonella callosciuri. These results showed that at least two Bartonella genotypes circulate among wild rodents. Additionally, the present study suggests that Polygenis (P.) bohlsi bohlsi fleas could act as possible Bartonella vectors among rodents in Pantanal wetland, Brazil.