Facile synthesis of 5-substituted 1H-tetrazoles was achieved by treating nitriles with NaN₃ in water or toluene in the presence of tetrabutylammonium hydrogen sulfate (TBAHS). The reaction could be carried out in water as well as in toluene. The procedure is environment-friendly, practical, and provides excellent yield of tetrazoles.