Thus, the present study is the first to indicate that phycocyanin mediates antidiabetic function via activating the AKT and AMPK pathway in high glucose high fat diet induced T2DM mice and insulin-resistant SMMC-7721 cells, which lays a scientific theoretical basis for the potential treatment of diabetes and the utilization of marine natural products. This evidence concerns the gene AKT1 and diabetes mellitus.