In our approach to synthesize bioactive molecules, a series of novel N‐heterocycles were synthesized and evaluated for their in vitro antitumor activity against a panel of three human cancer cell lines, namely, human breast cancer cell line (MCF‐7), human cervical cancer cell line (HeLa), and human prostate cancer PC‐3. The majority of the tested compounds exhibited significant cytotoxic activity toward the tested tumor cell lines. Analogues 33, 34, 31, 38, 21, 23, 22, and 20 exhibited considerable cytotoxic activities comparable with standard drug 5‐fuorouracil. Compound 33 displayed superior cytotoxicity with IC50 value of 4.12 ± 1.21 μg/mL against HeLa tumor cell line.