Abstract:A four-in-one courtyard ecological pattern has been established in Northern Shaanxi,being an ecologically micro-circled system composed of cheken,hog,biogas and vegetable.The structure,benefit and demonstration of the pattern as well as the construction of necessary technical system were expounded. The result showed that the pattern increased vegetable production by 16%~20%,decreased production cost by 11700~15600yuan/hm2 and raised income by 54700~58000 yuan//hm2;hogs grew quickly,growth rate reached 700g a day on average,feeding period was shortened by one month,feeding cost decreased by 150~170 yuan per hog,and income raised by 81~108 yuqn. The research provided a scientific basis for extensive use of this pattern in the hilly and gullied areas of Loess Plateau.