Background: Previous studies have reported that electrical stimulation of the motor cortex is effective in reducing trigeminal neuropathic pain; however, the effects of optical motor cortex stimulation remain unclear. Objective: The present study aimed to investigate whether optical stimulation of the primary motor cortex can modulate chronic neuropathic pain in rats with infraorbital nerve constriction injury. Methods: Animals were randomly divided into a trigeminal neuralgia group, a sham group, and a control group. Trigeminal neuropathic pain was generated via constriction of the infraorbital nerve and animals were treated via selective inhibition of calcitonin gene-related peptide in the trigeminal ganglion. We assessed alterations in behavioral responses in the pre-stimulation, stimulation, and post-stimulation conditions. In vivo extracellular recordings were obtained from the ventral posteromedial nucleus of the thalamus, and viral and α-CGRP expression were investigated in the primary motor cortex and trigeminal ganglion, respectively. Results: We found that optogenetic stimulation significantly improved pain behaviors in the trigeminal neuralgia animals and it provided more significant improvement with inhibited α-CGRP state than active α-CGRP state. Electrophysiological recordings revealed decreases in abnormal thalamic firing during the stimulation-on condition. Conclusion: Our findings suggest that optical motor cortex stimulation can alleviate pain behaviors in a rat model of trigeminal neuropathic pain. Transmission of trigeminal pain signals can be modulated via knock-down of α-CGRP and optical motor cortex stimulation.