We confirm that the STIM1 gene promotes the occurrence of trigeminal neuralgia by regulating the SOCE pathway and releasing inflammatory factors in T lymphocytes. Here, STIM1 is linked to trigeminal neuralgia.