How Pain Works
Pain begins when specialized nerve endings called nociceptors detect a threat — heat, pressure, or tissue damage — and send a signal up your nerves to the spinal cord and brain. But pain is not a simple readout of that signal. The spinal cord can turn the volume up or down, and the brain builds the final experience of hurting.
Written from primary sources. Built from the cited references below — independent medical review is pending. Educational information, not medical advice.
Last updated August 26, 2026
It feels obvious that pain comes straight from the part of you that hurts — that a stubbed toe sends “toe pain” up to the brain like a phone call. The real path is more interesting, and understanding it changes what you can do about pain.
Step 1 — Nociceptors detect a threat
Scattered through your skin, muscles, joints, and organs are the free endings of specialized nerves called nociceptors. They are threat detectors. They fire when they sense something that could harm tissue: strong heat or cold, harsh pressure, or the chemicals released when cells are damaged. Firing a nociceptor is not yet pain — it is the first link in a chain.
Step 2 — The signal travels
Two kinds of nerve fibers carry the message toward the spinal cord. Fast, insulated A-delta fibers carry the sharp, immediate “first pain” that makes you pull your hand back before you have even thought about it. Slower C fibers carry the dull, aching, burning “second pain” that follows. It is why a burn stings instantly and then throbs a moment later.
Step 3 — The spinal gate
The signal does not travel straight through. At the spinal cord’s dorsal horn it reaches a kind of checkpoint. In 1965, Ronald Melzack and Patrick Wall proposed the gate control theory: other nerve activity can open or close a “gate” that decides how much of the signal continues up to the brain.
This is not just theory — you use it every day. When you rub a banged knee, you fire large, fast touch nerves that help close the gate, so fewer pain signals get through and the knee feels better. The same principle is behind TENS units and some other treatments. The signal is filtered and adjusted, not simply relayed.
Step 4 — The brain builds the pain
Only now does pain appear. The signal reaches the brain, which weighs it against everything else it knows — where you are, what you expect, whether you are afraid, what has hurt you before — and constructs the experience you feel. That is why the same injury can be agonizing on a bad day and barely register in the heat of a game.
The world’s pain scientists put this plainly. The International Association for the Study of Pain notes that pain and the raw nerve signal, called nociception, are different things — pain cannot be read off from nerve activity alone. This is also why “the brain builds it” never means “you are imagining it.” Constructed pain is real pain.
When the volume gets stuck up
Here is the twist that matters most for lasting pain. A pain system that is asked to fire again and again can turn up its own gain — a process called central sensitization. Nerves in the spinal cord and brain become more responsive, so the same input produces a louder output.
When that happens, light touch can hurt (allodynia) and painful things hurt more than expected (hyperalgesia). It is a normal property of the nervous system, but when it persists it becomes a driver of long-term pain — the bridge from a passing injury to chronic pain, and the core of the third pain type, nociplastic pain.
Why this matters for you
If pain were only a damage readout, the only way to treat it would be to fix tissue. Because pain is a nervous-system process — detected, filtered at the gate, and built by the brain — there are many more points where it can be turned down: through the body, the nerves, and the brain together. That is the whole idea behind modern, multidisciplinary pain care, and it is the reason understanding pain is the first step toward changing it.
Frequently asked questions
- Does more pain always mean more damage?
- No. Pain is the nervous system's protective response, not a direct meter of tissue damage. Serious injuries can hurt little at first, and very real pain can persist long after tissue has healed. How much you hurt reflects how much threat your nervous system perceives — which many things can influence.
- If the brain makes pain, is it 'all in my head'?
- No. All pain is produced by the nervous system, and it is completely real. 'Made by the brain' is not the same as 'imagined.' The brain constructs pain from real signals and real biology — describing that process explains how pain works, it does not mean the pain is fake.
- Why does rubbing a sore spot make it feel better?
- Rubbing activates large, fast touch nerves that can partly 'close the gate' in the spinal cord, so fewer pain signals reach the brain. This everyday effect is the gate control theory in action, and it is part of why devices like TENS units are used for some kinds of pain.
References
- 1.IASP Announces Revised Definition of Pain (2020) — IASP
- 2.Melzack & Wall, gate control theory of pain — 50th-anniversary review — Science / PMC
- 3.Pain Theory — NCBI StatPearls
- 4.Everything you wanted to know about central sensitisation — IASP
- 5.Pain — patient information — NIH / NINDS
Keep reading
This page is educational and is not a substitute for professional medical advice. Talk with a qualified clinician about your own situation. Pain Medicine does not provide treatment or dosing guidance.