Why Do We Feel Pain? How Your Body's Alarm System Actually Works
Pain isn't a direct readout of tissue damage. It's a decision your nervous system makes, shaped by signals, context, and circuits built for survival.
Stub your toe and the pain feels immediate and obvious, like a direct wire running from your foot to your brain. It isn’t. What actually happens between the stub and the “ow” involves several relay stations, a spinal cord that can turn the signal up or down before it even leaves your back, and a brain that decides, in real time, how much of that signal deserves your attention. Pain is less like a fire alarm and more like a security team reviewing footage and deciding whether to sound one.
Nociception is not pain
The first thing to get straight is that the sensory signal and the experience of pain are two different things. The signal is called nociception, which is the nervous system’s process of detecting actual or potential tissue damage. Nociception is an input to the brain, while pain is an output of the brain, and the two can occur independently [1]. Nociception often happens below conscious awareness, triggering reflexes like pulling your hand off a hot stove before you’ve registered anything unpleasant [1]. Pain, by contrast, is defined as a conscious, multidimensional experience, and the International Association for the Study of Pain revised its official definition in 2020 to make this distinction explicit: pain is an unpleasant sensory and emotional experience associated with, or resembling that associated with, actual or potential tissue damage [1].
That “resembling” clause matters. It’s why phantom limb pain is real pain, generated in a limb that no longer exists, and why pain cannot be inferred purely from measuring activity in sensory neurons [1]. Whether nociception becomes pain, and how much, depends on a lot more than the strength of the original stimulus.
How the signal actually travels
Pain starts with nociceptors, specialized sensory neurons found in skin, muscle, joints, the cornea, dental pulp, and internal organs, tuned to detect mechanical, thermal, and chemical stimuli intense enough to threaten tissue [2]. When tissue is damaged, nearby cells release a cocktail of molecules, including bradykinin, histamine, prostaglandins, and ATP, that activate and sensitize these nerve endings, amplifying the signal at its source [2].
Two fiber types carry this information toward the spinal cord, and they carry very different messages. Aδ fibers are thinly myelinated and fast, conducting at around 20 meters per second, and they produce the sharp, well-localized pain you feel immediately after a cut or a burn [2]. C-fibers are unmyelinated, much slower at 0.5 to 2 meters per second, and they produce the duller, more diffuse ache that follows [2]. This is why stubbing your toe often produces two distinct waves of pain: a quick sharp jab, then a slower throb.
Both fiber types terminate in the dorsal horn of the spinal cord, where a dense network of interneurons processes the incoming signal before deciding what to pass along [1]. This is the first and most important checkpoint in the whole system, because the dorsal horn doesn’t just relay information, it actively filters it based on a running balance between excitatory and inhibitory input [1]. From there, signals travel to the brain along several parallel routes, including the spinothalamic, spinoparabrachial, and spinoreticular tracts, distributing nociceptive information across the medulla, pons, and midbrain rather than sending it up one single line [1]. A key relay point along the way is the thalamus, which doesn’t just pass the signal through but actively filters and integrates it using extensive connections to other brain regions [1].
Your spinal cord has a volume dial
Here’s the part that explains why pain feels so inconsistent depending on the situation. Pain signaling isn’t a one-way street from injury to brain. The brain sends signals back down to the spinal cord that can inhibit or amplify incoming nociceptive traffic before it ever reaches conscious perception [1][3]. This descending modulation is central to how opioid painkillers work, and it’s also the mechanism behind stress-induced analgesia, the well-documented phenomenon where injuries sustained during high-stakes, threatening situations are barely felt until the danger has passed [1].
The core circuit driving this is the pathway between the periaqueductal gray (PAG), a midbrain structure, and the rostral ventromedial medulla (RVM), which sits lower in the brainstem and projects directly to the spinal cord [1][3]. Functional imaging studies in humans have repeatedly found an inverse relationship between PAG activation and how much pain people report, and when researchers block opioid receptors with naloxone, both the brain’s placebo-driven pain relief and the PAG-RVM signaling drop off together, confirming that this pathway runs substantially on the body’s own opioid system [3]. Within the RVM, distinct neuron populations do opposite jobs: so-called ON cells facilitate pain signaling while OFF cells actively suppress it, meaning the same brainstem region houses both the accelerator and the brake [1].
Why context changes how much something hurts
Because descending modulation runs through the brain, it’s wide open to influence from things that have nothing to do with tissue damage. This is where pain stops being purely a hardware problem and starts looking a lot like psychology, though the effects are entirely measurable at the level of brain circuitry.
Distraction works, and not as a trick of willpower. Studies using spinal reflex measures have found that simply having someone imagine a calm, safe scene can reduce nociceptive processing at the level of the spinal cord itself, before the signal even reaches the parts of the brain responsible for conscious evaluation [3]. Music does something similar: participants who listened to their favorite songs while experiencing a painful stimulus reported measurably lower pain ratings than those who didn’t, an effect mediated by the prefrontal cortex shifting attention and reappraising the stimulus [3]. The direction of that effect depends heavily on the music itself. In one study, unpleasant music increased both the strength of a protective withdrawal reflex and reported pain intensity compared to pleasant music, showing that emotional valence of a sensory input, not just its presence, shapes descending pain control [3].
The opposite pattern shows up with catastrophizing, the tendency to ruminate on and magnify the threat of pain. People who score higher on catastrophizing measures show a reduced ability to engage the brain’s own pain-inhibiting circuits, and this appears to interfere specifically with the benefits that cognitive distraction would otherwise provide [3]. Anxiety produces a similar effect through a different route, correlating with weaker connectivity between the PAG and cortical regions responsible for pain inhibition [3]. None of this means pain is imaginary or that thinking positively will cure an injury. It means the nervous system was built to weigh threat, context, and priority when deciding how loudly to sound the alarm, and mental state is one of the inputs to that calculation, alongside the biology of the injury itself.
When the alarm won’t turn off
Acute pain resolves as tissue heals, which is exactly what you’d want from a warning system. Chronic pain, defined as pain persisting or recurring for more than three months, is a different phenomenon entirely, and as of the 11th revision of the International Classification of Diseases in 2022, it’s formally recognized as a disease in its own right rather than just a symptom of something else [1].
The underlying process is neuroplasticity, the same general capacity for change that allows the nervous system to learn and adapt, turned toward maintaining pain rather than resolving it. In the spinal cord, repeated high-frequency nociceptive input can trigger long-term potentiation (LTP), a lasting increase in synaptic strength between neurons that’s normally associated with memory formation in the hippocampus [4]. When it happens in the dorsal horn instead, researchers describe it as a kind of pain memory, a physical trace in the nervous system that keeps pain signals amplified long after the original stimulus is gone [4]. Nerve injury can also knock out local inhibitory control by reducing expression of a potassium-chloride transporter called KCC2 in dorsal horn neurons, which further ramps up excitability [4].
This combination of increased excitability and weakened inhibition is called central sensitization, and it’s the mechanistic thread running through a wide range of chronic pain conditions, from fibromyalgia to complex regional pain syndrome to chronic low back pain [1]. Sensitized neurons respond more strongly to normal input (hyperalgesia) and can start firing in response to stimuli that shouldn’t be painful at all, like light touch (allodynia) [1][2]. Non-neuronal cells get pulled into this process too. Glial cells in the spinal cord, once thought of as passive support tissue, are now understood to actively contribute to maintaining chronic neuropathic pain through their interactions with neurons [1].
Chronic pain also reshapes the brain regions tied to emotion rather than just sensation, with neuroplastic changes overlapping substantially with those seen in depression, which helps explain why the two so often occur together and can reinforce one another [1]. The IASP’s mechanistic framework distinguishes nociceptive pain, arising from ongoing tissue damage, from neuropathic pain, arising from a lesion in the nervous system itself, and nociplastic pain, arising from altered processing without clear ongoing damage or nerve injury, though in real patients these categories frequently overlap into what’s termed mixed pain [1].
The alarm system, working as intended
For all its complexity, most of what pain does is exactly what you’d want a warning system to do. It gets your attention, it changes your behavior, and then it stands down. The transduction of a noxious stimulus into an electrical signal, its relay through a spinal cord that’s actively filtering rather than just forwarding, and its final shaping by brain circuits tuned to context and threat, all of it is built around one job: helping you avoid damage and recover from it efficiently.
What makes pain worth understanding at this level of detail isn’t just curiosity about your last stubbed toe. It’s that so much of chronic pain treatment, from opioids to cognitive behavioral approaches to neuromodulation devices, targets these exact circuits rather than the original site of injury. The PAG-RVM pathway, the descending inhibitory system, the plasticity of the dorsal horn: these aren’t background trivia, they’re the actual targets of modern pain medicine. The alarm system is remarkably good at its job. The problems start when it forgets how to turn itself off.
Common Questions
Is pain the same thing as nerve signaling from an injury?
No. That signaling is called nociception, and it's just an input to the brain. Pain is the conscious experience the brain constructs from that input, and the two can happen independently. You can have nociception without pain, and pain without any current tissue damage, as in phantom limb pain.
Why does the same injury hurt more on some days than others?
Because pain perception is shaped by descending pathways from the brain that can dial nociceptive signals up or down before they even reach conscious awareness. Stress, mood, attention, and expectation all feed into these circuits, which is why identical stimuli can produce very different pain ratings depending on context.
What actually happens in chronic pain?
The nervous system undergoes lasting changes, called central sensitization, where neurons in the spinal cord and brain become more excitable and inhibitory control weakens. This can cause pain to persist, spread, or intensify even after the original injury has healed.
Can thinking about pain differently actually reduce it?
Yes, to a measurable degree. Functional imaging studies show that distraction, music, and reduced catastrophizing change activity and connectivity in the same descending pain-modulating circuits that opioids act on, producing real reductions in reported pain.
References
- [1]van Strien WWJ, Hollmann MW. Pain Perception and Modulation: Fundamental Neurobiology and Recent Advances. Eur J Neurosci. 2025
- [2]Dehghan B, et al. Deciphering pain: molecular mechanisms and neurochemical pathways. Front Mol Biosci. 2024
- [3]D'Souza C, et al. A review of descending pain modulation in humans. Front Pain Res. 2026
- [4]Song Q, et al. Neuroplasticity in the transition from acute to chronic pain. Neurotherapeutics. 2024
- [5]Li C, et al. Common and discrete mechanisms underlying chronic pain and itch. Pflugers Arch. 2021