Contrary to acute pain, chronic pain does not serve as a warning signal and must be considered as a disease per se. This pathology presents a sensory and psychological dimension at the origin of affective and cognitive disorders. Being largely refractory to current pharmacotherapies, identification of endogenous systems involved in persistent and chronic pain is crucial. The amygdala is a key brain region linking pain sensation with negative emotions. Here, we show that activation of a specific intrinsic neuromodulatory system within the amygdala associated with type 4 metabotropic glutamate receptors (mGlu4) abolishes sensory and affective symptoms of persistent pain such as hypersensitivity to pain, anxiety- and depression-related behaviors, and fear extinction impairment. Interestingly, neuroanatomical and synaptic analysis of the amygdala circuitry suggests that the effects of mGlu4 activation occur outside the central nucleus via modulation of multisensory thalamic inputs to lateral amygdala principal neurons and dorso-medial intercalated cells. Furthermore, we developed optogluram, a small diffusible photoswitchable positive allosteric modulator of mGlu4. This ligand allows the control of endogenous mGlu4 activity with light. Using this photopharmacological approach, we rapidly and reversibly inhibited behavioral symptoms associated with persistent pain through optical control of optogluram in the amygdala of freely behaving animals. Altogether, our data identify amygdala mGlu4 signaling as a mechanism that bypasses central sensitization processes to dynamically modulate persistent pain symptoms. Our findings help to define novel and more precise therapeutic interventions for chronic pain, and exemplify the potential of optopharmacology to study the dynamic activity of endogenous neuromodulatory mechanisms in vivo.