Peatlands deliver a variety of beneficial ecosystem services, particularly serving as habitats for a diverse array of species. Hynobius amjiensis is a critically endangered amphibian initially discovered in a Sphagnum-dominated peatland in Anji, China. The unique habitat requirements of H. amjiensis make it highly vulnerable to environmental changes. Here, we investigated the different breeding pools of H. amjiensis in the Sphagnum-dominated peatland (the type locality) for a one-year period to evaluate the interactions among the egg sacs present, water quality, and microbial communities (16S and 18S rRNA gene amplicon). The numbers of egg sacs were higher in the breeding pools located at the marginal area than those at the core area of the peatland. Similarly, the α-diversity of bacteria, fungi, and protists were lower in the core region compared to those at the edge of the peatland, perhaps due to water eutrophication. The microbial communities and water quality differed significantly among breeding pools and sampling months. The simpler microbial networks of the breeding pools in the core wetland may impact the numbers and health of the egg sacs. This study contributes to a better understanding of the effect of water quality on biodiversity in peatlands, and it can also guide regulations for wetland conservation and the protection of endangered species.