Opioids are the most potent analgesics we have, and they relieve the widest range of pain. Almost everything they do, good and bad, comes from one receptor: the mu (μ) receptor. Morphine, oxycodone, fentanyl and methadone all bind the same site on it and share very similar pharmacology; at equianalgesic doses they depress breathing to the same degree. What sets them apart is how fast they reach the brain, how long they last, what their metabolites do, and whether they activate the receptor fully or only partly. That idea organizes the whole module.
1. Receptors and endogenous peptides
An opiate is a compound from opium (morphine, codeine) or a semisynthetic derivative of one; an opioid is anything that binds the opioid receptor site, which includes fully synthetic drugs (methadone, fentanyl) and the peptides the body makes itself.
There are four receptors, all coupled to Gi/o proteins: mu, delta, kappa and the nociceptin receptor (NOP). When one is activated, the α subunit inhibits adenylyl cyclase and cAMP falls, while the βγ subunits close presynaptic Ca²⁺ channels, so less transmitter is released, and open K⁺ channels, so the neuron hyperpolarizes and fires less. Wherever the receptors are, the result is a neuron put on the brakes.
| Receptor | Endogenous ligand | Effects |
|---|---|---|
| μ | β-endorphin | Analgesia, euphoria, respiratory depression, sedation, miosis, constipation, cough suppression |
| κ | Dynorphins | Analgesia, dysphoria and psychotomimetic effects, diuresis (inhibits ADH) |
| δ | Enkephalins (δ > μ) | Analgesia and mood effects in animal models; proconvulsant, no clinical use |
| NOP | Nociceptin | Classic opioids and their peptides barely bind it; naloxone doesn’t block it |
β-Endorphin is cut from the same precursor protein as ACTH, proopiomelanocortin (POMC). The opioids used clinically are selective for the mu receptor, and that’s where both their analgesia and their adverse effects come from. Kappa agonists (pentazocine, butorphanol) relieve pain, but their dysphoria rules out long-term use.
2. How they relieve pain and why they feel good
Opioids act at three levels of the pain system:
- Brainstem: in the periaqueductal gray, tonically active GABA neurons hold back a descending pathway. The opioid inhibits those GABA neurons and releases the brake: the medulla then sends norepinephrine and serotonin down to the dorsal horn, which damps its excitability. It is disinhibition.
- Spinal cord: in the substantia gelatinosa of the dorsal horn, where pain-carrying C fibers end, the opioid acts on both sides of the synapse. On the C-fiber terminal it closes Ca²⁺ channels, so less glutamate is released; on the second-order neuron it opens K⁺ channels and hyperpolarizes it. That’s why intrathecal or epidural opioids give powerful analgesia at tiny doses.
- Periphery: in inflamed tissue, a locally injected opioid reduces hyperalgesia.
The analgesia is selective: touch, proprioception and consciousness are spared. Continuous dull pain from tissue injury responds better than sharp intermittent pain, and neuropathic pain responds less well and needs higher doses. Beyond lowering intensity, opioids change how pain feels: many patients say it’s still there, but it no longer bothers them.
Reward uses the same disinhibition trick. In the ventral tegmental area, the opioid quiets the GABA interneurons that restrain dopamine neurons, and dopamine rises in the nucleus accumbens. The “rush” depends on speed: IV or smoked use delivers the drug to the brain all at once and produces it; oral or transdermal routes give analgesia without the high.
3. Acute effects
Breathing
Respiratory depression is what kills in an overdose. Opioids depress the rhythm generators in the medulla and, above all, blunt the ventilatory response to CO₂ at brainstem chemoreceptors; they also blunt the response to hypoxia. The first thing to fall is the respiratory rate, which can drop to 3–4 breaths per minute after a toxic dose. If a patient is breathing only on hypoxic drive, giving oxygen can tip them into apnea.
At standard analgesic doses, serious respiratory depression is rare unless something adds to it:
- Other depressants: alcohol, benzodiazepines, anesthetics. The combination with benzodiazepines should be avoided, especially in outpatients.
- Sleep and obstructive sleep apnea.
- The extremes of age: the newborn whose mother received opioids within 2–4 hours of delivery, and the older adult.
- COPD, chronic cardiopulmonary or kidney disease, and kyphoscoliosis or severe obesity.
- Pain relief itself: pain drives breathing, and taking it away removes that drive.
The peak comes 5–10 minutes after IV morphine and 30–90 minutes after an IM or subcutaneous dose. On the ward, opioid respiratory depression shows up as a slow rate with sedation; once the saturation falls, the patient is at a critical level. The same ability to quiet respiratory drive is put to use to relieve dyspnea in advanced COPD and palliative care.
Pupils, cough, nausea and the CNS
- Miosis: the opioid removes GABA inhibition of the Edinger-Westphal nucleus and increases parasympathetic outflow to the pupil. At high doses the pupils are pinpoint; they dilate only once asphyxia has injured the brain.
- Cough: suppressed at a center in the medulla. Codeine is the classic antitussive.
- Nausea and vomiting: from direct stimulation of the chemoreceptor trigger zone in the area postrema, plus heightened vestibular sensitivity; that’s why they’re more common in ambulatory patients (nausea in ~40%) than in those lying down.
- Sedation: common when starting or raising the dose, with tolerance within a few days.
- Rigidity: the high doses used for anesthetic induction cause muscle rigidity, and rigidity of the chest wall can make ventilation impossible.
Gut and urinary tract
The most consistent adverse effect is constipation (40%–95% of patients). The gut is full of opioid receptors: the opioid reduces propulsive contractions, raises nonpropulsive tone, cuts secretion and tightens the anal sphincter. Contents move slowly, more water is absorbed and the stool dries out. Opioids also slow gastric emptying, which delays the absorption of other oral drugs.
They constrict the sphincter of Oddi: common bile duct pressure can rise more than 10-fold within 15 minutes, and some patients with biliary colic get worse instead of better. In the bladder they inhibit the voiding reflex and tighten the external sphincter, causing urinary retention, more often with spinal administration.
Histamine, circulation and hormones
Morphine and meperidine degranulate mast cells through a receptor that isn’t the mu receptor (MRGPRX2), so naloxone doesn’t reverse it. The histamine causes pruritus, flushing of the face and neck, hives and, in asthmatics, bronchoconstriction; it adds to vasodilation and blunted baroreflexes to produce orthostatic hypotension. Fentanyl doesn’t release histamine, which makes it the better choice in asthma and explains why it barely disturbs hemodynamics. The itch of epidural opioids is different: it’s central, and naloxone does reverse it.
If breathing is depressed, retained CO₂ dilates cerebral vessels and raises intracranial pressure. In the endocrine system, cortisol, LH, FSH and testosterone fall (chronic use can cause hypogonadism, with low libido or menstrual irregularity), and prolactin rises.
High-yield: coma + pinpoint pupils + very slow breathing → opioid until proven otherwise.
4. Tolerance, dependence and withdrawal
With repeated use, the same effect takes a bigger dose: that’s tolerance. It doesn’t develop equally for every effect:
| Tolerance | Effects |
|---|---|
| Rapid | Euphoria |
| Moderate | Analgesia, sedation, nausea and vomiting, constipation |
| Almost none | Miosis |
That’s why a highly tolerant user still has small pupils. Tolerance to constipation is only partial: patients on chronic opioids stay constipated. Cross-tolerance between opioids exists but is incomplete, which is the basis of opioid rotation.
The cell adapts to push back against the brake. In the locus coeruleus, chronic use upregulates adenylyl cyclase and the cAMP pathway; when the opioid is withdrawn, that upregulated system is left unopposed and the noradrenergic neurons fire hard. That sympathetic surge is a large part of withdrawal, and it explains why clonidine (an α2 agonist) relieves it. In the dorsal horn, chronic use activates NMDA receptors, which contribute to tolerance and to opioid-induced hyperalgesia: a paradoxical increase in pain that worsens as the dose goes up.
Withdrawal is, point by point, the opposite of the opioid’s effects. With heroin it starts 8–10 hours after the last dose with lacrimation, rhinorrhea, yawning and sweating; then come restless sleep, chills and gooseflesh, dilated pupils, nausea, vomiting and diarrhea, muscle aches, hypertension and tachycardia. The acute phase lasts 7–10 days. If the patient is also coming off alcohol or sedatives, recognize it: that withdrawal can be more dangerous and harder to manage.
Physical dependence is not opioid use disorder. Anyone who takes opioids for several weeks develops tolerance and dependence; the patient with cancer on high doses is the example. Opioid use disorder is something else: compulsive use that continues despite harm. DSM-5 diagnoses it with problems in at least two areas within 12 months (tolerance, withdrawal, using more than intended, craving, use despite consequences).
Pearl: in a tolerant patient, miosis is still a reliable sign of overdose, because it shows almost no tolerance.
5. Full agonists
Morphine
Morphine is the prototype. Only ~25% of an oral dose reaches the blood because of first-pass metabolism, which is why 30 mg by mouth matches 10 mg parenterally. It’s hydrophilic and enters the brain more slowly than lipid-soluble opioids. It’s cleared by glucuronidation: morphine-6-glucuronide is active, more potent than morphine itself, and excreted by the kidney. In kidney failure it accumulates and causes prolonged sedation and respiratory depression. Morphine’s half-life is 2–3 hours.
Codeine, prodrugs and CYP2D6
Codeine is morphine with its 3-position methylated: that makes it bind the mu receptor poorly but absorb better by mouth. Its analgesia depends on CYP2D6 converting ~10% of the dose to morphine, and that gene varies a lot:
- Poor metabolizers (~10% of White people) get no analgesia.
- Ultrarapid metabolizers make too much morphine; breastfed infants have died when their mothers took codeine.
Think the same way about other prodrugs activated by CYP2D6: hydrocodone, oxycodone and tramadol. Heroin (diacetylmorphine) is also a prodrug: it becomes 6-monoacetylmorphine and then morphine, but it’s more lipid-soluble and reaches the brain faster.
Oxycodone and hydrocodone are taken orally, often combined with acetaminophen or an NSAID, and are among the opioids most often diverted for misuse. Hydromorphone is more lipid-soluble and several times more potent than morphine.
Fentanyl and its congeners
Fentanyl is ~100 times more potent than morphine and highly lipid-soluble: it reaches the brain within minutes, and after a bolus its effect ends quickly as it redistributes to muscle and fat. With long infusions or high doses it accumulates and lasts longer. It doesn’t release histamine and barely depresses the heart, so it’s used as the main anesthetic in cardiac surgery. High doses cause chest wall rigidity (“wooden chest”), treated with a neuromuscular blocker and ventilation.
The transdermal patch (48–72 h) is for stable chronic pain in patients who are already opioid-tolerant (more than 60 mg of oral morphine a day); it’s contraindicated for acute pain. Fever or external heat increases absorption and can cause an overdose. Remifentanil is broken down by plasma esterases within minutes, independent of the liver and kidney: ideal as an infusion during a procedure, poor as the only postoperative analgesic.
Meperidine
Meperidine has a toxic metabolite, normeperidine, with a half-life of 15–20 hours versus 3 hours for the parent drug. When it builds up (repeated doses, kidney failure) it causes tremor, myoclonus and seizures that naloxone doesn’t reverse. So meperidine isn’t used for chronic pain or for more than 48 hours. With an MAO inhibitor it causes serotonin syndrome (hyperthermia, rigidity, delirium, coma), because it blocks serotonin reuptake. It keeps one niche: postanesthetic shivering and the rigors of some infusions, such as amphotericin B.
Methadone
Methadone is a full mu agonist that works well by mouth, with a long half-life (15–40 h) and accumulation in tissues over several days. Two consequences follow: respiratory depression comes later and lasts longer than analgesia, so the dose is raised slowly; and its withdrawal is milder but longer. Its main use is maintenance treatment of opioid use disorder. Unlike other opioids, it prolongs the QT interval, and enzyme inducers (rifampin, phenytoin, carbamazepine) lower its levels and can precipitate withdrawal.
Tramadol and tapentadol
Tramadol is a weak mu agonist that also inhibits norepinephrine and serotonin reuptake; its active metabolite depends on CYP2D6. It’s used for mild to moderate pain. Its two risks are seizures and serotonin syndrome with SSRIs or MAO inhibitors. Tapentadol is similar, with more mu activity, and shares the serotonergic risk.
Opioids that aren’t used for pain
- Loperamide: a mu agonist that is barely absorbed and is pumped out of the brain by P-glycoprotein. It treats diarrhea without central effects at usual doses (maximum 16 mg a day).
- Diphenoxylate: a meperidine congener that does reach the brain; it’s sold with atropine, whose anticholinergic effects discourage abuse.
- Dextromethorphan: an antitussive that doesn’t act at opioid receptors. It inhibits serotonin reuptake (avoid with MAO inhibitors) and at very high doses acts at NMDA receptors and causes hallucinations.
6. Partial and mixed agonists
A partial agonist activates the receptor, but not fully: its effect has a ceiling. That protects against respiratory depression and, at the same time, means it competes with a full agonist and pushes it off the receptor. In a patient dependent on morphine or heroin, a partial agonist precipitates withdrawal.
Buprenorphine is the key example. It’s a very high-affinity partial mu agonist that comes off the receptor very slowly (about 170 minutes, versus 7 for fentanyl). Its features follow from that:
- An overdose of buprenorphine alone is almost impossible because of the ceiling; deaths have occurred when it was combined with benzodiazepines.
- Naloxone given beforehand prevents its effects, but reverses them poorly once established: 10 mg or more may be needed.
- To start it for opioid use disorder, the patient must already be in withdrawal.
- It’s combined with naloxone (4:1) to reduce misuse and diversion.
Pentazocine, nalbuphine and butorphanol are partial agonists at kappa and mu receptors. They relieve mild to moderate pain, have a ceiling on respiratory depression and, through kappa, can cause dysphoria and psychotomimetic effects at high doses (less so with nalbuphine). Pentazocine and butorphanol increase cardiac work; intranasal butorphanol is used for migraine.
High-yield: a patient on methadone or heroin gets buprenorphine, pentazocine or butorphanol and within minutes has rhinorrhea, gooseflesh and diarrhea → withdrawal precipitated by a partial agonist.
7. Antagonists
Naloxone and naltrexone are competitive antagonists at mu, delta and kappa receptors, with no activity of their own. They displace the agonist and reverse all of its central and peripheral effects.
| Naloxone | Naltrexone | Methylnaltrexone, naloxegol, alvimopan | |
|---|---|---|---|
| Route | IV, IM, SC, intranasal (first-pass metabolism destroys it orally) | Oral or monthly IM | SC (methylnaltrexone) or oral (alvimopan) |
| Duration | Short: half-life ~1 h, effect 1–4 h | Long: up to 24 h orally | — |
| Reaches the brain | Yes | Yes | No |
| Use | Overdose | Relapse prevention: opioids and alcohol | Opioid-induced constipation, postoperative ileus |
Naloxone works within 1–2 minutes, and a response is virtually diagnostic of an opioid. Its problem is that it wears off sooner than nearly every opioid: once it’s cleared, the patient can drift off and stop breathing again (renarcotization). In a dependent patient it also precipitates withdrawal within minutes, with a catecholamine surge (hypertension, tachycardia, sometimes arrhythmias or pulmonary edema).
Naltrexone blocks opioid euphoria and reduces drinking. Because it’s an antagonist, the patient must wait 7–14 days after the last opioid before starting it; while on it, opioids won’t provide analgesia either. At excessive doses it’s hepatotoxic and is avoided in hepatitis and liver failure.
The peripheral antagonists don’t cross the blood-brain barrier: they undo constipation without removing analgesia or triggering central withdrawal. Alvimopan, for ileus after abdominal surgery, is used for only a few days because prolonged use was linked to more myocardial infarctions.
8. Acute toxicity
The triad is coma, pinpoint pupils and respiratory depression. It comes with bradycardia, hypothermia, cold skin and flaccid muscles; the tongue falls back and blocks the airway, and aspiration pneumonia is common. Death is nearly always respiratory. Dilated pupils don’t rule out an opioid: mydriasis appears once anoxia has injured the brain. Reactive pupils smaller than 1 mm are also seen with pontine hemorrhage; the response to naloxone tells them apart.
Treatment follows an order:
- Airway and ventilation, with intubation if needed.
- Naloxone 0.4–2 mg IV or IM (4 mg in the nasal spray), repeated every 2–3 minutes if there’s no response. Fentanyl analogues may need several times the usual dose.
- Naloxone infusion if the opioid outlasts it: each hour, one-half to two-thirds of the dose that reversed the respiratory depression, for 24–72 hours depending on the opioid (longer with methadone).
- If naloxone does little, think of another depressant, especially benzodiazepines.
The goal is breathing, not a fully awake patient: too much naloxone in a dependent patient triggers abrupt withdrawal.
Pearl: a methadone overdose wakes up with naloxone, and an hour later is breathing 6 times a minute → renarcotization; naloxone lasts 1–4 h and methadone more than a day.
9. Opioid use disorder
Stopping is easier than not relapsing. Detoxification alone fails in most patients, and the most effective treatment is agonist maintenance combined with psychosocial support.
| Drug | How it works | Key features |
|---|---|---|
| Methadone | Long-acting full agonist; at 80–150 mg the cross-tolerance blocks the euphoria of other opioids | One oral dose a day; certified treatment programs; long QT |
| Buprenorphine (with naloxone) | High-affinity partial agonist: controls craving and blocks full agonists | Sublingual once daily; can be prescribed in an office; ceiling on respiratory depression; start once in withdrawal |
| Naltrexone | Antagonist: opioids stop working | After 7–14 days without opioids; monthly depot preferred because oral adherence is poor |
| Clonidine, lofexidine | α2 agonists: damp the noradrenergic surge | Only for withdrawal symptoms (lacrimation, rhinorrhea, aches, restlessness, GI symptoms); not opioids |
Detoxification follows the same logic for every drug: substitute a long-acting, pharmacologically equivalent drug (methadone or buprenorphine), stabilize, then taper slowly.
10. Opioids for pain
The most common mistake with severe acute pain is an inadequate dose: don’t hesitate to use opioids, titrating the dose while watching sedation and respiratory rate. The WHO ladder organizes treatment:
- Mild to moderate pain: acetaminophen or an NSAID, with or without an adjuvant.
- Pain that persists: add a short-acting opioid as needed.
- Moderate to severe pain: a sustained-release opioid around the clock, with a short-acting opioid for breakthrough pain.
Some practical rules:
- PCA: the patient gives themselves small boluses (1 mg of morphine, 0.2 mg of hydromorphone or 10 μg of fentanyl) with a lockout period; the pain must first be brought under control with a loading dose. Adding a basal infusion increases respiratory depression without improving analgesia.
- Spinal route: 0.1–0.3 mg of intrathecal morphine matches 5–10 mg IV, with less sedation and nausea; it still causes pruritus and urinary retention.
- Combinations: an opioid plus acetaminophen or an NSAID adds analgesia, but escalating a fixed combination can push acetaminophen to a hepatotoxic dose. For neuropathic pain, add amitriptyline, duloxetine or gabapentin. Don’t combine a full agonist with a partial one.
- Constipation: nearly universal and persistent with chronic use; treat it from the start.
- Extended-release forms: only for patients already taking opioids, not as a first opioid.
Morphine milligram equivalents
To compare doses of different opioids, use morphine milligram equivalents (MME): multiply each opioid’s daily dose by its conversion factor.
| Opioid (daily dose) | Factor |
|---|---|
| Oral morphine | 1 |
| Codeine | 0.15 |
| Hydrocodone | 1 |
| Oxycodone | 1.5 |
| Oxymorphone | 3 |
| Hydromorphone | 4 |
| Transdermal fentanyl (μg/h) | 2.4 |
| Methadone | 4 (1–20 mg/day) to 12 (61–80 mg/day) |
Methadone’s factor rises with the dose because it accumulates. MMEs are for comparison; when rotating to another opioid, start the new one well below the calculated dose, because cross-tolerance is incomplete.
Precautions
| Situation | Why |
|---|---|
| COPD, sleep apnea, severe obesity | They already rely on compensatory mechanisms; blunted response to CO₂ |
| Asthma | Morphine releases histamine; fentanyl is a better choice |
| Head injury | CO₂ retention raises intracranial pressure; miosis, vomiting and sedation mask the neurologic course |
| Kidney failure | Morphine-6-glucuronide and normeperidine accumulate |
| Hypovolemia | Vasodilation worsens shock |
| Biliary colic | They constrict the sphincter of Oddi |
| Older adults | More sensitive and longer duration; lower doses |