Syntheses of some N-substituted thiocarbamylpiperidines (I-VIII) and thiocarbamylμiorpholines (IX-XVIII) from piperidine or morpholine and the corresponding isothiocyanaites are described. The substances were tested for their tuberculostatic activity