Living in arid environments presents unique challenges to organisms, including limited food and water, extreme temperatures, and UV exposure. Reptiles, such as the South American leaf-toed gecko (Phyllodactylus gerrhopygus), have evolved remarkable adaptations to thrive in such harsh conditions. The gut microbiome plays a critical role in host adaptation and health, yet its composition remains poorly characterized in desert reptiles. This study aimed to characterize the composition and abundance of the gut microbiome in P. gerrhopygus inhabiting the hyperarid Atacama Desert, taking into account potential sex differences. Fecal samples from adult female and male geckos were analyzed by 16S rRNA gene amplicon sequencing. No significant differences in bacterial alpha diversity were observed between the sexes. However, the phylum Bacteroidota was more abundant in females, while males had a higher Firmicutes/Bacteroidota ratio. The core microbiome was dominated by the phyla Bacteroidota, Firmicutes, and Proteobacteria in both sexes. Analysis of bacterial composition revealed 481 amplicon sequence variants (ASVs) shared by female and male geckos. In addition, 108 unique ASVs were exclusive to females, while 244 ASVs were unique to males. Although the overall bacterial composition did not differ significantly between the sexes, certain taxa exhibited higher relative abundances in each sex group. This study provides insight into the taxonomic structure of the gut microbiome in a desert-adapted reptile and highlights potential sex-specific differences. Understanding these microbial communities is critical for elucidating the mechanisms underlying host resilience in Earth's most arid environments, and for informing conservation efforts in the face of ongoing climate change.