The results demonstrated that TLR2 deficit induced learning disabilities, decreased spontaneous activity, increased anxiety and depression, and led to white matter damage (WMD), brain atrophy, loss of neurons, and glial activation. Here, TLR2 is linked to depressive symptom measurement.