In order to discover new anticancer agents, 25 novel 2,4-diamino-5-methyleneaminopyrimidine derivatives were designed and synthesized based on our previous work via a ring-opening strategy. Among them, compared with 5-FU, compound 7i exhibited 4.9-, 2.9-, 2.1-, and 3.0-fold improvement in inhibiting HCT116, HT-29, MCF-7, and HeLa cells proliferation with IC<sub>50</sub> values of 4.93, 5.57, 8.84, and 14.16 μM, respectively. Moreover, further mechanistic studies indicated that compound 7i could concentration-dependently induce cell cycle arrest and apoptosis in HCT116 cells. These findings revealed that 2,4-diamino-5-methyleneaminopyrimidine scaffold has potential for further investigation to explore novel anticancer agents.