Mechanical allodynia is a debilitating condition for millions of patients with chronic pain. Mechanical allodynia can manifest in distinct forms, including brush-evoked dynamic and filament-evoked static allodynia. In the nervous system, the forkhead protein Foxo1 plays a critical role in neuronal structures and functions. However, the role of Foxo1 in the somatosensory signal remains unclear. Here, we found that Foxo1 selectively regulated static mechanical pain. Foxo1 knockdown decreased sensitivity to static mechanical stimuli in normal rats and attenuated static mechanical allodynia in rat models for neuropathic, inflammatory, and chemotherapy pain. Conversely, Foxo1 overexpression selectively enhanced sensitivity to static mechanical stimuli and provoked static mechanical allodynia. Furthermore, Foxo1 interacted with voltage gated sodium Nav1.7 channels and increased the Nav1.7 current density by accelerating activation rather than by changing the expression of Nav1.7 in dorsal root ganglia neurons. In addition, the serum level of Foxo1 was found to be increased in chronic pain patients and to be positively correlated with the severity of chronic pain. Altogether, our findings suggest that serum Foxo1 level could be used as a biological marker for prediction and diagnosis of chronic pain. Moreover, selective blockade of Foxo1/Nav1.7 interaction may offer a new therapeutic approach in patients with mechanical pain.