The present invention discloses a traditional Chinese medicine formula Guiyuantangkang for the treatment of diabetes and the complications, the present invention takes membranous milkvetch root, common anemarrhena rhizome, swordlike atractylodes rhizome, raw common yam rhizome, kudzuvine root, Mongolian snakegourd root, stir-fried largehead atractylodes rhizome etc. as the raw materials. The present invention can not only effectively treat the hypertension, vascular diseases, renal damages, repeated infections, heart diseases and other various complications caused by diabetes, prevent the occurrence of the complications, but also can control the symptoms of the diabetes such as thirsty, starvation, emaciation and polyuria, stabilize the blood glucose fluctuations and tolerance caused by the western medicines for lowering blood glucose and effectively improve the quality of life of the patients with various diabetes without the diet control.