Carnivores play key roles in maintaining ecosystem structure and function as well as ecological processes. Understanding how sympatric species coexist in natural ecosystems is a central research topic in community ecology and biodiversity conservation. In this study, we explored intra- and interspecific niche partitioning along spatial, temporal, and dietary niche partitioning between apex carnivores (wolf Canis lupus, snow leopard Panthera uncia, Eurasian lynx Lynx lynx) and mesocarnivores (Pallas's cat Otocolobus manul, red fox Vulpes vulpes, Tibetan fox Vulpes ferrilata) in Qilian Mountain National Park, China, using camera trapping data and DNA metabarcoding sequencing data. Our study showed that apex carnivore species had more overlap temporally (coefficients of interspecific overlap ranging from 0.661 to 0.900) or trophically (Pianka's index ranging from 0.458 to 0.892), mesocarnivore species had high dietary overlap with each other (Pianka's index ranging from 0.945 to 0.997), and apex carnivore and mesocarnivore species had high temporal overlap (coefficients of interspecific overlap ranging from 0.497 to 0.855). Large dietary overlap was observed between wolf and snow leopard (Pianka's index = 0.892) and Pallas's cat and Tibetan fox (Pianka's index = 0.997), suggesting the potential for increased resource competition for these species pairs. We concluded that spatial niche partitioning is likely to key driver in facilitating the coexistence of apex carnivore species, while spatial and temporal niche partitioning likely facilitate the coexistence of mesocarnivore species, and spatial and dietary niche partitioning facilitate the coexistence between apex and mesocarnivore species. Our findings consider partitioning across temporal, spatial, and dietary dimensions while examining diverse coexistence patterns of carnivore species in Qilian Mountain National Park, China. These findings will contribute substantially to current understanding of carnivore guilds and effective conservation management in fragile alpine ecosystems.