To provide cytokine production inhibitors useful as preventive or therapeutic medicines for diseases accompanied by hyperactivated immune functions. A cytokine production inhibitor containing, as an active ingredient, a thioamide compound represented by the formula (I) or a salt thereof: wherein A is N, NO, C-NO 2 or C-CN; Hal is a halogen; M 1 is alkyl, alkenyl, alkynyl, cycloalkyl, cycloalkenyl, aryl, heterocyclyl, amino, O, S, SO or SO 2 ; M 2 is amino, O, S or a single bond; R 1 is a halogen, alkyl or the like; each of R 2 , R 3 , R 4 and R 5 is independently H, alkyl or the like; R 6 is a halogen, alkyl or the like; Cy is cycloalkyl, cycloalkenyl, aryl or heterocyclyl; each of k, p and q is independently an integer of from 0 to 3; and r is an integer of from 0 to 5.