The number of people suffering from scrub typhus, which is not of concern, is increasing year by year, especially in Yunnan Province, China. From June 1, 2021 to August 15, 2022, a total of 505 mammalian samples were collected from farm, forest, and residential habitats with high incidence of scrub typhus in Yunnan, China, for nPCR (nested PCR) and qPCR (quantitative real-time PCR) detection of Orientia tsutsugamushi. A total of 4 orders of murine-like animals, Rodentia (87.52%, n = 442), Insectivora (10.29%, n = 52), Lagomorpha (1.79%, n = 9) and Scandentia (0.40%, n = 2) were trapped. Comparing the qPCR infection rates in the three habitats, it was no significant difference that the infection rate of residential habitat (44.44%) and that of the farm habitat (45.05%, P>0.05), which is much larger than that of the forest habitat (3.08%) (P<0.001). Three genotypes (Karp-like, Kato-like and TA763-like) of O. tsutsugamushi were found from Yunnan, China in this study.