To provide cytokine production inhibitors useful aspreventive or therapeutic medicines for diseasesaccompanied by hyperactivated immune functions.A cytokine production inhibitor containing, as anactive ingredient, a thioamide compound represented bythe formula (I) or a salt thereof:(see formula I)wherein A is N, NO, C-NO2 or C-CN; Hal is a halogen; M1is alkyl, alkenyl, alkynyl, cycloalkyl, cycloalkenyl,aryl, heterocyclyl, amino, O, S, SO or SO2; M2 is amino,O, S or a single bond; R1 is a halogen, alkyl or thelike; each of R2, R3, R4 and R5 is independently H, alkylor the like; R6 is a halogen, alkyl or the like; Cy iscycloalkyl, cycloalkenyl, aryl or heterocyclyl; each ofk, p and q is independently an integer of from 0 to 3;and r is an integer of from 0 to 5.