To investigate the function of DUSP12 in macrophages in response to TLR activation and microbial infection, we established RAW264.7 cell lines stably overexpressing DUSP12 and found that overexpression of DUSP12 inhibited proinflammatory cytokine and chemokine production in response to TLR4 activation, heat-inactivated Mycobacterium tuberculosis stimulation as well as infections by intracellular bacteria including Listeria moncytogenesis and Mycobacterium bovis BCG by specifically inhibiting p38 and JNK. This evidence concerns the gene MAPK8 and infection.