The invention discloses an application of a cyclopeptide compound for preventing tumors, and a preparation method of the cyclopeptide compound, belonging to the technical field of biological medicines. The cyclopeptide compound CP-1 or CP-2 has the functions of inhibiting cancer cell growth and proliferation, adjusting and controlling cancer cell periods and adjusting and controlling cancer cell periodic protein expression, so that the cyclopeptide compound can be used for preparing anti-cancer medicaments and/or health care products. The invention further relates to the preparation method of the cyclopeptide compound CP-1 or CP-2. The preparation method comprises the following steps of: with streptomycete as a stain, optimizing the cultivation and fermentation conditions, treating the fermented product, separating the fermented product by using a silica gel column and a reverse phase silica gel column, and finally separating by using a preparative chromatography column so as to obtain the cyclopeptide compound with activity. Compared with the prior art, the preparation method is simple, feasible, environmental-friendly, low in cost and high in yield; and according to the preparation method, the yield of microbial activity secondary metabolite is effectively increased.