Pteridines are an important class of fused heterocycles found in natural products and drug molecules, and have shown diverse biological activities. A focused library of 5,8-dihydropteridine-6,7-dione derivatives were designed and evaluated for their antiproliferative activity against MGC-803, SGC-7901, A549 and PC-3 cancer cell lines. The SARs studies highlighted the importance of the piperazine substituted 5,8-dihydropteridine-6,7-dione frameworks for the activity and revealed essential structural elements. Among these compounds, compound 5n displayed the most potent and broad-spectrum antiproliferative inhibition against the tested cell lines and was sensitive to MGC-803 cell line, slightly more potent than 5-FU. Preliminary mechanistic studies showed that compound 5n could inhibit the colony formation and migration of MGC-803 cells. Besides, flow cytometry analysis showed that compound 5n concentration-dependently induced apoptosis of MGC-803 cells. Our studies suggest that the piperazine substituted 5,8-dihydropteridine-6,7-dione frameworks may be regarded as new chemotypes for designing effective antitumor agents targeting gastric cancer cells.