Abstract An original one-pot ayntheais of 4, 7-diazaindoles is achieved by metalation of methylpyrazines or methylquinoxaline wich are then condensed with an aromatic nitrile: an intermediate imine-enamine is formed which leads, by intramolecular cyclization, to diazaindoles.