We described the discovery and optimization of a novel series of pyrimidopyrimidine derivatives as G-protein coupled receptor 119 (GPR119) agonists against type 2 diabetes. Most designed compounds displayed significant GPR119 agonistic activities. Optimized analogues 15a and 21e exhibited highly potent agonistic activities with single digit EC50 values (2.2 nM and 8.1 nM, respectively). Therefore, 15a and 21e were evaluated for their oral glucose tolerance test (oGTT) in C57BL/6N mice. Compound 15a reduced the blood glucose area of under curve from 0 to 2 h (AUC0–2h) to 13.5% at the dose of 15 mg/kg comparing with Metformin reduced 18% of AUC0–2h at the dose of 300 mg/kg.