Taking the ancient village luoxinye village in Xin'anjiang River Basin as an example, this paper expounds its influence on the internal and external space layout of ancestral temple buildings through the comparison of the surrounding space and internal space of ancestral temple buildings, the analysis of the spatial location of ancestral temples outside the village and in the village, as well as the research on the functions of ancestral temples, combined with the seclusion concept in Confucianism and Taoism, Reveal the reclusive concept and culture in the Chinese traditional landscape and pastoral living environment contained in the spatial relationship and function of ancestral temple buildings.