The gut microbiota promotes host health by maintaining homeostasis and enhancing digestive efficiency. The gut microflora in wild birds affects host physiological characteristics, nutritional status, and stress response. The relict gull (Larus Relictus,a Chinese national first-class protected species) and the black-necked grebe (Podiceps Nigricollis, a secondary protected species) bred in the Ordos Relic Gull National Nature Reserve share similar feeding habits and living environments but are distantly related genetically. To explore the composition and differences in the gut microbiota of these two key protected avian species in Erdos Relic Gull National Nature Reserve and provide a basis for their protection, 16S rRNA gene high-throughput sequencing was performed and the gut microbial diversity and composition of the relict gull (L. Relictus) and black-necked grebe (P. Nigricollis) was characterized. In total, 445 OTUs (operational taxonomic units) were identified and classified into 15 phyla, 22 classes, 64 orders, 126 families, and 249 genera. Alpha diversity analysis indicates that the gut microbial richness of the relict gull is significantly lower than that of the black-necked grebe. Gut microbe composition differs significantly between the two species. The most abundant bacterial phyla in these samples were Proteobacteria, Firmicutes, Fusobacteria, and Bacteroidetes. The prominent phylum in the relict gull was Proteobacteria, whereas the prominent phylum in the black-necked grebe was Firmicutes. The average relative abundance of the 17 genera identified was greater than 1%. The dominant genus in the relict gull wasEscherichia-Shigella, whereasHalomonaswas dominant in the black-necked grebe. Microbial functional analyses indicate that environmental factors exert a greater impact on relict gulls than on black-necked grebes. Compared with the relict gull, the black-necked grebe was able to use food more efficiently to accumulate its nutrient requirements, and the gut of the relict gull harbored more pathogenic bacteria, which may be one reason for the decline in the relict gull population, rendering it an endangered species. This analysis of the gut microbial composition of these two wild avian species in the same breeding grounds is of great significance, offers important guidance for the protection of these two birds, especially relict gulls, and provides a basis for understanding the propagation of related diseases.