Alpha-hydroxyketones undergo MnO2-mediated oxidation followed by in situ trapping with aromatic or aliphatic 1,2-diamines to give quinoxalines or dihydropyrazines, respectively, in a one pot procedure which avoids the need to isolate the highly reactive 1,2-dicarbonyl intermediates. Modifications of the procedure allow the formation of pyrazines and piperazines.