What Are Endorphins and How Do They Work?

Endorphins are natural painkillers your body produces on its own. They belong to a family of chemical messengers called neuropeptides, and they work by binding to the same receptors in your brain that prescription opioids like morphine target. The name itself is a shorthand for “endogenous morphine,” meaning morphine that originates inside the body. Your brain makes and releases them in response to stress, pain, and certain pleasurable activities.

How Your Body Makes Endorphins

Two small structures deep in your brain handle endorphin production: the pituitary gland and the hypothalamus. The process starts when your body encounters a stressor, particularly pain. The hypothalamus sends a chemical signal to the pituitary gland, which then builds endorphins from a larger precursor protein. Think of that precursor as a master molecule that gets cut into several smaller active pieces, one of which is beta-endorphin, the most studied and potent form.

Once released, beta-endorphin enters the bloodstream and cerebrospinal fluid. In the blood, it has a relatively short life: the average half-life is about 37 minutes, meaning half of it is broken down in that time. In cerebrospinal fluid, which bathes the brain and spinal cord, it lasts longer, with a half-life of roughly 93 minutes. This gives the brain a wider window to use it for pain control and mood regulation.

How Endorphins Block Pain

Endorphins reduce pain by docking onto opioid receptors scattered throughout the brain and nervous system. These are the same receptors that drugs like morphine and codeine bind to, which is why the effect is similar: a dulling of pain signals and, at higher levels, a feeling of mild euphoria. When endorphins attach to these receptors, they essentially turn down the volume on pain messages traveling from the body to the brain.

Your body ramps up endorphin production in direct proportion to how much stress or pain it detects. Injury, surgery, intense physical effort, and even emotional distress can all trigger a surge. This is part of why people sometimes feel surprisingly calm or even numb immediately after an acute injury. The pain catches up later, once endorphin levels drop.

The Runner’s High: Not Quite What You Think

For decades, endorphins got credit for the “runner’s high,” that wave of euphoria and reduced anxiety some people feel during sustained aerobic exercise. The idea took hold in the 1980s and became one of the most popular facts in fitness culture. The problem is that the science never strongly supported it.

Beta-endorphins are water-soluble molecules, which means they have a hard time crossing the blood-brain barrier. Studies from the late 1980s and early 1990s found no clear link between the rise in endorphin levels in the blood during exercise and any change in mood. More tellingly, when researchers blocked opioid receptors with a drug called naltrexone in a double-blind study of 63 recreational exercisers, participants still experienced the same euphoria and anxiety relief after running. If endorphins were responsible, blocking their receptors should have killed the high. It didn’t.

The leading explanation now involves endocannabinoids, a different class of molecules your body produces. Unlike endorphins, endocannabinoids are fat-soluble and cross into the brain easily. Aerobic exercise consistently raises levels of these compounds, and their increase tracks closely with the mood boost people report. Endorphins likely still play a supporting role in exercise-related pain relief, but the feel-good sensation itself appears to come primarily from the endocannabinoid system.

Endorphins and the Wider Opioid System

Beta-endorphin is the most well-known member of your body’s internal opioid system, but it’s not alone. The system includes at least three other families of similar molecules: enkephalins, dynorphins, and nociceptin. Each family has slightly different jobs and binds to different combinations of opioid receptors (classified as mu, delta, and kappa). Beta-endorphin has a particular affinity for mu receptors, which are the ones most closely linked to pain relief and feelings of reward.

This overlap with the brain’s reward circuitry is why endorphins feel good. When they activate mu receptors, they influence the same pathways involved in pleasure from food, social connection, and other rewarding experiences. It’s a built-in incentive system: your body rewards you for behaviors that help you survive, like pushing through pain or bonding with others.

Everyday Activities That Trigger Release

Exercise gets the most attention, but several other activities trigger meaningful endorphin release.

  • Laughter. A brain-imaging study published in The Journal of Neuroscience found that social laughter triggered endorphin release in multiple brain regions, including the thalamus and anterior insula. Participants who watched comedy clips had significantly higher pain thresholds afterward compared to those who watched drama, and the effect depended on actual laughter, not just being around other people. Laughter also lowered cortisol (a stress hormone) and boosted natural killer cell activity, part of the immune system.
  • Spicy food. Capsaicin, the compound that makes chili peppers hot, activates pain receptors on the tongue. Your brain interprets this as a mild injury and releases endorphins in response, which is part of why some people find spicy food genuinely pleasurable rather than just painful.
  • Physical touch. Massage, acupuncture, and even hugging can stimulate endorphin release. The mechanism ties into the same stress-response pathway: gentle physical stimulation sends signals that prompt the hypothalamus to initiate production.
  • Music. Listening to music you enjoy, particularly songs that give you chills, has been linked to opioid system activation. When researchers have blocked opioid receptors during music listening, the emotional intensity of the experience drops noticeably.

What Happens When Levels Are Low

There’s no standard blood test to check your endorphin levels the way you’d check cholesterol or blood sugar. But chronically low endorphin activity is associated with a recognizable pattern: increased sensitivity to pain, persistent low mood, difficulty experiencing pleasure, anxiety, and trouble sleeping. People with fibromyalgia and certain chronic pain conditions often show lower-than-expected endorphin levels in their cerebrospinal fluid, though it’s not always clear whether that’s a cause or a consequence of ongoing pain.

Depression has long been linked to disruptions in the opioid system, and some researchers believe that low endorphin tone contributes to the emotional flatness and anhedonia (the inability to feel pleasure) that characterize certain types of depression. This isn’t the whole picture, since depression involves many neurotransmitter systems, but it helps explain why physical activity, social connection, and laughter can have genuine antidepressant effects. They’re all endorphin triggers.

Endorphins vs. Other Feel-Good Chemicals

Endorphins often get lumped together with dopamine, serotonin, and oxytocin as “happy chemicals,” but they serve distinct roles. Dopamine drives motivation and the anticipation of reward. Serotonin regulates mood stability, appetite, and sleep. Oxytocin strengthens social bonds. Endorphins specifically blunt pain and create a brief sense of well-being in response to physical stress or certain social experiences.

These systems overlap and influence each other. Endorphin release can trigger downstream dopamine activity in reward circuits, which is part of why the line between them feels blurry. But the simplest way to think about it: endorphins are your body’s emergency comfort system, evolved to keep you functional when you’re hurt, stressed, or pushing your physical limits.