A green chemistry method was applied in the synthesis of N2,N6-bis(6-iodo-2-methyl-4-oxoquinazolin-3(4H)-yl)pyridine-2,6-dicarboxamide. The desired compound was synthesized mechanochemically, using a choline chloride-based deep eutectic solvent as a catalyst. The synthesis took 20 min and the new compound was characterized using different spectral methods.