Skip to main content

Free educational resource — not medical advice

Brain & Nervous System

The Science of Pain: How the Body Sends Warnings

Pain is not damage — it is a protective signal the brain builds. A beginner-friendly look at how pain really works.

The Science of Pain: How the Body Sends Warnings

What Is Pain, Really?

Most of us assume pain works like a smoke alarm: damage happens in the body, an alarm fires, and you feel it. That picture is appealingly simple — and mostly wrong.

Modern pain science describes pain as an output of the brain, not a signal that travels passively from injured tissue. The brain weighs up a huge range of inputs — nerve signals, memories, context, stress levels, and past experiences — and then decides whether to produce the sensation we call pain. Sometimes it produces pain when there is no tissue damage at all. Sometimes a person with serious injury feels nothing, because the brain judges that now is not a safe moment to be distracted by pain.

Pain is therefore best understood as a protective experience. Its biological purpose is to motivate you to protect a body part that might be at risk. That is an astonishing shift in perspective, and it has real practical consequences for how pain can be managed.

Nociceptors: The Body's Danger Detectors

The nervous system contains specialised nerve endings called nociceptors (from the Latin nocere, to hurt). They are found in skin, muscles, joints, and most internal organs, though the brain itself has none.

Nociceptors respond to stimuli that could cause damage: extreme heat or cold, strong mechanical pressure, and certain chemicals released when cells are injured. They are not pain receptors — they are danger detectors. The distinction matters: activating a nociceptor sends a signal, but that signal only becomes pain if the brain decides it should.

Two main types of nerve fibre carry these signals toward the spinal cord. A-delta fibres are lightly insulated and carry sharp, fast-onset pain — the first jolt when you stub a toe. C fibres are uninsulated and slower; they carry the deep, aching, lingering sensation that follows. Together they give pain its characteristic two-wave feeling.

The Spinal Cord's Gate

Before pain signals reach the brain they pass through the spinal cord, where they can be amplified or reduced. The influential gate control theory, first proposed in the 1960s, described a metaphorical gate in the spinal cord that can be opened or closed by competing signals.

This is why rubbing a sore area genuinely helps: touch signals from large A-beta fibres arrive faster and partially close the gate to pain signals. It is also why massage, heat, and gentle movement can ease discomfort — they flood the spinal cord with non-threatening information that competes with danger signals.

The spinal cord is also where the body's natural painkillers — endorphins and enkephalins — have some of their biggest effects. These molecules bind to the same receptors targeted by opiate medicines, reducing signal transmission at the spinal level.

The Two Main Pain Fibre Types Compared
FeatureA-delta fibresC fibres
SpeedFast (5–30 m/s)Slow (0.5–2 m/s)
InsulationLightly myelinatedUnmyelinated
Pain qualitySharp, well-localisedDull, aching, burning
OnsetFirst pain (immediate)Second pain (delayed)

How the Brain Processes Pain

No single "pain centre" exists in the brain. Instead, pain involves a widely distributed network of regions sometimes called the pain matrix. The key players include:

  • Somatosensory cortex — processes where on the body the signal originates and how intense it seems.
  • Anterior cingulate cortex — handles the unpleasant, emotional quality of pain: the suffering component.
  • Prefrontal cortex — involves higher-level appraisal, attention, and the expectation of pain.
  • Amygdala — links pain to fear, threat memory, and emotional associations.
  • Periaqueductal grey (PAG) — a key hub for descending pain control; it can send signals downward to suppress or amplify incoming messages.

Crucially, all these regions communicate constantly. Context changes pain: the same injury feels worse when you are anxious, sleep-deprived, or focused on it, and less intense when you are distracted, calm, or feel in control. This is not imagination — it reflects real differences in how the brain processes the signals.

Acute Pain vs Chronic Pain

Acute pain is the straightforward protective kind. You burn a finger; the brain produces pain to make you remove the finger from the heat and protect it while it heals. Once healing is complete, the pain fades.

Chronic pain persists beyond expected healing time — typically defined as pain lasting more than three months. In chronic pain, the nervous system itself has often changed. The spinal cord may become sensitised so it amplifies signals that were previously filtered out. Brain regions involved in pain appraisal can become hyperactive. These changes are sometimes called central sensitisation.

Understanding this distinction is important: chronic pain often involves a nervous system that has learned to be protective, even when the original tissue threat has resolved. This means that treating chronic pain requires approaches that address the nervous system itself, not just the original site of injury. If you live with chronic pain, working with a qualified healthcare professional is the most important step you can take.

What Makes Pain Better or Worse?

Because pain is created by the brain, a huge range of factors influence how intense it feels. These are not "in your head" in a dismissive sense — they are genuine biological influences on a real experience.

  • Attention: focusing on pain amplifies it; distraction reduces it. This is why dentists sometimes engage patients in conversation during procedures.
  • Expectation: expecting more pain tends to produce more pain (nocebo effect); expecting less pain or improvement can reduce it (placebo effect). Both are measurable in brain scans.
  • Sleep: even one night of poor sleep significantly lowers pain thresholds the next day.
  • Emotional state: anxiety, depression, and stress all amplify pain, while positive mood and social support have measurable pain-reducing effects.
  • Movement and exercise: regular moderate activity stimulates descending inhibitory pathways and reduces central sensitisation over time.
  • Knowledge: simply understanding that pain is a protective signal — not evidence of ongoing damage — can reduce pain intensity in some people with chronic conditions.

Referred Pain: Why Your Left Arm Warns of a Heart Problem

Referred pain is felt in a location different from where the problem actually is. The classic example is a heart attack causing pain in the left arm or jaw rather than — or as well as — the chest.

This happens because nociceptive fibres from different regions converge on the same spinal cord neurons. When signals arrive from the heart, the brain interprets them using its familiar map of body surface areas served by the same segment. Since heart attacks are rare but arm pain is common, the brain makes what seems like a plausible guess — and gets it wrong.

Other common examples include gallbladder problems causing right shoulder pain, and kidney stones causing pain radiating to the groin. Knowing that referred pain exists is clinically important: never assume a pain's location tells the whole story. If you experience unexplained pain — especially in the chest, arm, jaw, or back — seek medical advice promptly.

The Body's Own Pain-Relief Systems

The nervous system has built-in mechanisms for reducing pain, which is why injuries that initially seem serious sometimes feel tolerable after a few minutes.

The endogenous opioid system produces natural painkilling peptides — endorphins, enkephalins, and dynorphins — that bind to opioid receptors throughout the brain and spinal cord. Physical exercise, laughter, social bonding, and even certain foods can trigger their release.

The body also has a descending pain-control pathway running from the PAG in the midbrain down through the brainstem to the spinal cord. When activated, this pathway releases serotonin and noradrenaline at the spinal level, dampening incoming pain signals. This system is one reason antidepressant medications sometimes help with chronic pain — they increase serotonin and noradrenaline availability.

For more on how the nervous system coordinates these signals, visit our nervous system guide. If you want to explore pain as a topic more deeply, our dedicated pain explained guide goes further into the biology.

Phantom Limb Pain: Pain Without a Body Part

One of the most striking demonstrations that pain is generated by the brain — not simply transmitted from the body — is phantom limb pain. People who have had a limb amputated often continue to experience vivid, sometimes agonising sensations in the limb that is no longer there. The pain is completely real; it is simply being produced by the brain's representation of a body part that no longer exists.

The brain maintains a detailed internal map of the body called the somatosensory homunculus — a kind of body image written in neural circuitry. After amputation, the cortical area that once represented the limb does not simply go quiet. It remains active, and may even be "taken over" by adjacent regions. The brain may interpret this residual activity as sensation — or pain — from the missing limb.

Phantom limb pain has led to some creative treatments. Mirror therapy, developed by the neuroscientist V.S. Ramachandran, uses a mirror box to create the visual illusion that the absent limb is present and moving normally. For some people with phantom pain, this visual feedback reduces the brain's alarm signals and diminishes the pain — a remarkable demonstration of how visual input can modify the pain experience.

Central and Peripheral Sensitisation

After injury, the nervous system often becomes temporarily more sensitive to stimuli in the affected area. This is peripheral sensitisation: nociceptors in the damaged tissue lower their activation threshold, so lighter stimuli than usual trigger a signal. This is why sunburned skin is so sensitive — normally non-painful stimuli like a gentle touch or warm shower feel painful. This heightened sensitivity usually resolves as the tissue heals.

Central sensitisation is a more significant and longer-lasting process. It occurs in the spinal cord and brain, where pain-processing neurons become more excitable. This means that signals that would normally be filtered out are now amplified and experienced as pain. Central sensitisation is strongly associated with conditions like fibromyalgia, chronic low back pain, and irritable bowel syndrome.

In central sensitisation, the amplification is happening in the nervous system itself, not in the original tissue. This explains why people with these conditions may have pain that seems disproportionate to any identifiable tissue damage — the "volume control" on their pain system has been turned up. Effective treatment requires addressing the nervous system's sensitisation, not just the original site of pain.

The Role of Context, Culture, and Belief

One of the most fascinating aspects of pain science is how profoundly context shapes the experience. The same physical stimulus — exactly the same intensity of heat or pressure — can produce dramatically different pain experiences depending on what a person believes about it, what it means in their life, and the cultural framework they inhabit.

Studies of cultural differences in pain expression show wide variation in how people interpret and communicate pain — not because different cultures feel it differently at a sensory level, but because the meaning attributed to pain, and the norms around expressing it, differ substantially. Meaning matters biologically: a painful sensation that a person interprets as a sign of serious disease is typically experienced as more intense than the same sensation interpreted as harmless.

This is not about willpower or toughness. It reflects the way the brain integrates information. When the brain has evidence that a sensation is dangerous and requires urgent attention, it allocates more processing and produces a stronger pain experience. When it has evidence that a sensation is safe — perhaps because a doctor has examined you and found nothing serious — it can reduce the output. Pain education that provides this kind of reassurance can have genuine analgesic effects in some conditions.

Approaches to Pain Management

Because pain is multidimensional — involving sensory signals, emotional processing, memory, and expectation — effective management often needs to address several of these dimensions together. Healthcare professionals now frequently use a biopsychosocial model, recognising that biological, psychological, and social factors all contribute to a person's experience.

Evidence-based approaches include physiotherapy and graded exercise, psychological therapies such as cognitive behavioural therapy (CBT) and acceptance and commitment therapy (ACT), sleep improvement, stress management, and appropriate medication where prescribed by a doctor. No single approach works for everyone, and the right plan depends on the individual.

The role of sleep in pain management is often underestimated. Research consistently shows that sleep deprivation increases pain sensitivity and reduces the effectiveness of the body's descending pain-control pathways. Improving sleep quality is therefore a genuinely therapeutic step for many people living with chronic pain, not simply a nice-to-have.

Social connection also plays a measurable role. Loneliness and social isolation increase perceived pain intensity; feeling supported and understood reduces it. This is one reason peer support groups and therapeutic relationships are a meaningful component of comprehensive pain management, not just an emotional add-on.

If you are living with ongoing pain, the most helpful thing you can do — alongside learning about pain biology — is to work with a qualified pain specialist or your GP to develop a personalised plan. Understanding why pain works the way it does is a genuine tool in managing it, not just background knowledge.

You can use our anatomy quiz or explore the nervous system guide to build the foundation of knowledge that makes pain biology easier to understand. The human body flashcards tool is also a useful way to learn the terminology.

About the author — Maya Lindgren

Maya Lindgren develops BodySecretsHub's interactive learning tools and quizzes. A former classroom educator, she designs study material that helps students remember how the body actually works.

4.7 (273 ratings)
Rate this article:

Questions & Answers

Frequently asked questions

Not always. In many cases of chronic pain the original tissue has healed but the nervous system has become sensitised and continues to produce pain signals. This is a real biological change, not imagination.

Acute pain is short-term and usually linked to a specific injury or illness; it fades as healing occurs. Chronic pain persists beyond expected healing time — typically more than three months — and often involves changes in the nervous system itself.

Touch signals travel faster than pain signals and partially inhibit pain transmission at the spinal cord — a mechanism described by gate control theory. This is why rubbing an injury provides genuine, if temporary, relief.

Yes. Factors like attention, expectation, anxiety, and mood have measurable effects on pain intensity, visible in brain imaging studies. This is not the pain being imaginary — it reflects how the brain constructs the pain experience.

Endorphins are natural painkilling chemicals produced by the body. They bind to the same receptors targeted by opiate medicines, reducing pain signals especially in the spinal cord and brainstem. Exercise, laughter, and social connection all encourage their release.

This is referred pain. Nerve fibres from the heart and the left arm converge on the same spinal cord neurons, so the brain can misread cardiac signals as coming from the arm. It is a well-known example of the nervous system's mapping limitations.