In our study, low CDC42 was associated with the occurrence of anxiety and depression to some extent in stroke patients. Here, CDC42 is linked to major depressive disorder.