The invention belongs to the technical field of medicines, and discloses a medicinal composition for treating hyperglycemia and hyperlipidemia. The composition is prepared from the following raw materials in parts by weight: 30 parts of hawthorn, 30 parts of typhae pollen, 28 parts of gordon euryale, 28 parts of platycodon grandiflorum, 27 parts of dodder, 26 parts of burdock root, 25 parts of rhizoma anemarrhenae, 25 parts of yam, 25 parts of lalang grass rhizome, 23 parts of Chinese angelica, 23 parts of chrysanthemum, 20 parts of purslane, 20 parts of salviae miltiorrhizae, 20 parts of radix ophiopogonis, 17 parts of atractylodes, 15 parts of mulberry leaves, 15 parts of dendrobe, 15 parts of polished round-grained rice, 15 parts of medlar, 15 parts of radices trichosanthis, 10 parts of red peony root, 10 parts of prepared ginger, 10 parts of cornus officinalis, 9 parts of polygonatum odoratum, 9 parts of myrrh, 9 parts of kudzuvine root, 5 parts of rhizoma chuanxiong, 5 parts of prepared rehmannia, and 5 parts of schisandra chinensis. The medicinal composition can effectively treat hyperglycemia and hyperlipidemia, does not have toxic or side effect, is simple in process and low in price, can reduce the economic burden of patients, and has a wide application prospect.