Depletion of CD4 + cells decreases the anxiety-like behavior of mice subjected to the endometriosis model, whereas abdomino-pelvic hypersensitivity, depressive-like behavior and cognitive deficits remain unaltered. Here, CD4 is linked to Cognitive impairment.