In order to investigate carbonate rocks during the deposition of ancient environment of instructions, geochemical analysis were taken for limestone and dolomite samples from the Cambrian Qingxudong Formation and lines layered dolomite samples from the Cambrian Gaotai Formation in the periphery of Limei mining area, Xiangxi, China. Results indicate that 1) In carbonates Sr is positively correlated with CaO, Si, Al, and K and Ti is positively correlated with Fe, Si, Al, K, and V, reflecting limited impact on terrigenous matter and diagenesis, during carbonate deposition period from Qingxudong to Gaotai; 2) Lower REE content, weak rare earth elements differentiation and the characteristic of a slight enrichment of light rare earth elements relative to heavy rare earth elements, are in accordance with typical characteristics of low content of rare earth elements in marine carbonate rocks; and 3) In the study area, it accords with petrology and geochemical characteristics of elements in the sedimentary environment, so the research on the geochemical characteristics of the rock is beneficial to the recovery of the ancient sedimentary environment and the discrimination and reconstruction of the ancient climate. The characteristic of petrology and geochemistry indicates the significance of marine carbonate sedimentary environment, which is from wet to dry climate change, the warm ancient sea water temperature, and the ancient seawater medium of the oxidation conditions, from Qingxudong stage to Gaotaiin the studies area.