An unexpected oxidative radical cyclization of 3(5)-aminoazoles and aromatic aldehydes with Di-tert-butyl peroxide (DTBP) is described. This established protocol enables the assembly of the privileged 7-methylpyrazolo[1,5-a]pyrimidines as well as 7-methyl-[1,2,4]triazolo[1,5-a]pyrimidines...