Smek1 deficiency exacerbates experimental autoimmune encephalomyelitis by activating proinflammatory microglia and suppressing the IDO1-AhR pathway. Here, IDO1 is linked to experimental autoimmune encephalomyelitis.