Opioids trace back to a single flowering plant: the opium poppy. The earliest confirmed seeds from this plant date to around 5,500 BCE in central Italy, found alongside the remains of some of Europe’s first farming communities. From that ancient beginning, humans spent thousands of years extracting the poppy’s milky sap for pain relief and pleasure before chemists learned to isolate its active compounds, then eventually build entirely new ones from scratch. That progression, from flower to pharmacy to crisis, is the full story of where opioids come from.
The Opium Poppy and Its Ancient Roots
Every natural opioid starts with Papaver somniferum, the opium poppy. When you score the unripe seed pod with a blade, it weeps a sticky white latex that dries into a brownish gum. That gum is raw opium, and it contains dozens of active compounds, the most important being morphine and codeine.
People figured this out remarkably early. The Sumerians, often called the world’s first civilization, had a written symbol for the poppy as far back as roughly 4,000 BCE. They combined two characters, “hul” and “gil,” which scholars have tentatively translated as “joy plant,” a name that captures the euphoria opium produces. Ancient Egyptians, Greeks, and Romans all used opium preparations medicinally, and Arab traders eventually carried the plant eastward into Persia, India, and China.
For most of recorded history, opium was consumed in its raw or dissolved form. People smoked it, drank it in tinctures, or ate it. It worked, but no one understood why. The chemistry inside the poppy remained a mystery until the early 1800s.
Isolating Morphine Changed Everything
In 1805, a German pharmacist’s apprentice named Friedrich Sertürner published a series of letters describing something no one had done before: he had extracted pure crystals from raw opium. After testing the substance on stray dogs and eventually on himself, he reported that it produced deep sleep and powerful pain relief. He named it “Morphium” after Morpheus, the Greek god of dreams, and suggested 15 milligrams as an effective dose. When chemists later coined the term “alkaloid” in 1818 to describe this class of plant-derived compounds, Morphium became morphine.
Morphine’s isolation was a turning point. For the first time, doctors could measure and control a precise dose rather than guessing how strong a batch of raw opium might be. With the invention of the hypodermic needle in the 1850s, morphine could be injected directly into the bloodstream, producing faster and more intense effects. It became a staple of battlefield medicine during the American Civil War, and widespread use brought the first large-scale wave of opioid addiction.
From Morphine to Heroin
In 1874, British chemist C.R. Alder Wright chemically altered morphine in his London laboratory, hoping to create a version that killed pain without causing addiction. What he produced was diacetylmorphine. The compound sat mostly forgotten until the German pharmaceutical company Bayer began marketing it in 1898 under the brand name Heroin, promoting it as a cough suppressant and a safer alternative to morphine.
It was neither safe nor non-addictive. Heroin crosses into the brain faster than morphine, which is precisely what makes it more euphoric and more habit-forming. Within a few decades, the scale of addiction forced governments to act. In the United States, the Harrison Narcotic Act of 1914 required anyone who sold or distributed narcotics, from importers to retail pharmacists to physicians, to register with the federal government, pay a tax, and keep detailed records of every transaction open to government inspection. It was the country’s first real attempt to control opioid distribution.
Why Opioids Work on the Brain
For most of history, nobody knew why a plant compound could eliminate pain and produce bliss. The answer came in 1973, when researchers at Johns Hopkins University demonstrated that mammalian brain tissue contains specialized binding sites, now called opioid receptors, that respond to these compounds with striking specificity. The potency of different opioids in the lab matched almost exactly how potent they were in patients, confirming that these receptors were the key.
Your body actually produces its own opioid-like chemicals, often called endorphins, that bind to these same receptors. They help regulate pain, stress, and reward under normal circumstances. What poppy-derived and synthetic opioids do is flood those receptors far more intensely than your body ever would on its own, creating powerful pain relief alongside the risk of dependence.
The Rise of Synthetic Opioids
Once chemists understood morphine’s molecular structure, they began designing new compounds that didn’t need a poppy plant at all. German researchers Martin Freund and Edmund Speyer synthesized oxycodone from thebaine, another naturally occurring poppy alkaloid, with key patents filed in 1914 and 1916. Oxycodone was intended to improve on morphine’s side effects, and it became a widely prescribed painkiller over the following decades.
The bigger leap came in 1959, when Belgian chemist Paul Janssen created fentanyl, a fully synthetic opioid roughly 100 times more potent than morphine and 50 times more potent than heroin. It was introduced in the 1960s as an anesthetic for surgery, where its rapid onset and short duration made it useful in controlled hospital settings. In legitimate medicine, fentanyl filled a real need. But its extreme potency also meant that tiny miscalculations in dosing could be fatal, a property that would later have devastating consequences.
How Prescription Opioids Fueled a Crisis
The modern opioid crisis didn’t begin with heroin or fentanyl. It began with prescription pills and a reassurance that turned out to be dangerously wrong. When OxyContin, a long-acting form of oxycodone, entered the market in 1996, its FDA-approved label stated that addiction was “very rare” when opioids were legitimately used to manage pain. Purdue Pharma aggressively marketed the drug to physicians on that basis, helping drive a massive increase in opioid prescribing throughout the late 1990s and 2000s.
Addiction was not very rare. Millions of patients prescribed OxyContin and similar medications developed dependence. As regulators tightened prescription access, many people who had become dependent turned to cheaper, more available alternatives: first heroin, then illicitly manufactured fentanyl. That sequence, from prescription painkillers to street heroin to synthetic fentanyl, is the three-wave pattern that public health officials use to describe the crisis. Each wave brought higher overdose rates than the last.
The throughline connecting a Neolithic poppy field in Italy to fentanyl-laced street drugs is a single biological fact: the human brain has receptors that opioids fit like a key in a lock. Every chapter of this story, from Sumerian “joy plants” to a German apprentice’s crystals to a Belgian chemist’s lab creation, represents another attempt to exploit that biological relationship. The benefits have been real. Opioids remain among the most effective pain relievers ever discovered. But so has the cost, because the same mechanism that dulls pain also rewires the brain’s reward system in ways that make these compounds extraordinarily hard to stop using.

