Syntheses of 1-alkyl-1,2,4-triazoles and the formation of quaternary 1-alkyl-4-polyfluoroalkyl-1,2,4-triazolium salts leading to ionic liquids.