In the present investigation, we employed pyrrolo[2,3-d] pyrimidine, potassium amide, and liquid ammonia to synthesize pyrrolo[2,3-d]pyrimidin-2-amine derivatives (4a-n).Spectroscopic techniques and elemental analyses were used to determine the structure of the title compoundsFor their in vitro cytotoxic activity against the human cancer cell lines MCF-7 (breast), HCT116 (colorectal), and HepG2 (liver), all the synthesized compounds were evaluated.These compounds 4a-n were exhibiting moderate to significant cytotoxic effects against all of the cancer cell lines evaluated.Further, the inhibitory effects of potent compounds (4d, 4e, 4f, 4h, 4i, and 4m) on epidermal growth factor receptor tyrosine kinase (EGFR-TK) were examinedThree compounds, 4d, 4f, and 4h, exhibited good inhibitory effects with IC50 values of 0.107, 0.159, and 0.196μM, resp.When potent compounds (4d, 4f, and 4h) were docked into the EGFR-TK protein's active region, it became clear that this protein would be an excellent target for the creation of novel anticancer drugs.All the compounds are compiled with Lipinski's rule of five, which suggests promise for development as oral drug candidates.