The title heterocyclic compound, C(20)H(27)N(3)O(2)S, was synthesized from 2-(4-methyl-cyclo-hex-3-en-yl)-6-methyl-hepta-2,5-dien-4-one, which was isolated from the essential oil Cedrus atlantica. The thia-diazole ring is essentially planar [maximum deviation 0.006 (2) Å] and it forms a dihedral angle of 18.08 (9)° with the benzene ring. The dihedral angle between the thia-diazole ring and the acetamide plane is 7.62 (10)°. In the crystal, mol-ecules are linked into chains running along the c axis by inter-molecular N-H⋯O hydrogen bonds.