A composition for treatment of diabetes mellitus, and a preparation thereofand an use of the composition in preparation of a medicament for treating diabetesmellitus, wherein the active ingredients of the composition consist of 10-100parts by weight of the powders of pumpkin, 6-200 parts by weight of spirulina and2-90 parts by weight of the powders of Semen Litchi.