The metal-free regioselective preparation of 1,5- and 1,4-disubstituted triazoles is reported through a cycloaddition–elimination sequence. Reactions were carried out in environmentally friendly deep eutectic solvent (DES) and pure products were isolated without the need for chromatographic techniques.