Chronic social stress in mice induces the expression of virulent genes in the gut microbiota. The altered microbiota increases the presence of effector T helper cells in the lymph nodes and induces myelin autoreactive cells. Exposure to chronic stress, therefore, may increase the risk of developing autoimmune diseases for some individuals with a susceptibility.