A novel and efficient Cu-catalyzed nitrogenation of alkynes and alkenes for the direct synthesis of sulfur-containing triazoles is described. Simple and readily available sulfoxides and azides are employed as the S- and N-source to prepare highly value N-,S-containing compounds from simple alkynes and alkenes.