Skip to content
Peptide Hormone

The antibiotic that kept time

Most gut hormones are about the meal. Motilin is about the gap between meals. Released in cyclic bursts during fasting, it paces the migrating motor complex — the slow “housekeeper” wave that sweeps leftover food, bacteria and debris out of the stomach and small intestine every hour or two when you are not eating. The strangest thing about it was found by accident: erythromycin, an ordinary macrolide antibiotic, turns out to be a motilin-receptor agonist, which is why it famously causes stomach cramps — and why a dose of it is used to force a sluggish stomach to empty in gastroparesis. The side effect was the pharmacology. Purpose-built motilin agonists followed, but turning that jolt into a durable drug has proved hard, and even erythromycin’s own prokinetic benefit is contested. Motilin keeps unexpected company, too: it is a structural cousin of ghrelin, the hunger hormone, a sibling pair of gut peptides on related receptors — one timing the empty gut’s housekeeping, the other asking you to fill it. A hormone most people have never heard of, hiding inside an antibiotic they have. Real motility signal, borrowed by an antibiotic, still hard to drug. No dosing.

10 min read · reviewed November 2026

The hormone of the gaps between meals

Nearly every hormone in this corner of the reference is about eating — the signals a meal sets off. Motilin is the exception that works in the silence between meals. Released in cyclic bursts during fasting, it paces the migrating motor complex (MMC): the slow wave of contractions that, every hour or two, sweeps leftover food, secretions and bacteria out of the stomach and small intestine (Kitazawa & Kaiya, Front Endocrinol, 2021; Mori et al., Peptides, 2023). It is the gut’s housekeeper, and it clocks on when you stop eating — which is also why that pattern largely halts once a meal arrives.

That makes motilin easy to overlook. It doesn’t curb appetite, lower glucose or build anything; it just keeps the empty gut in rhythm. The reason it is worth a deep-dive is the peculiar way medicine stumbled into its pharmacology.

The side effect that turned out to be the pharmacology

For decades, doctors knew that erythromycin — a common macrolide antibiotic — gave a lot of patients stomach cramps, nausea and diarrhea. The explanation, when it came, was elegant: erythromycin is a motilin-receptor agonist. It activates the very receptor the hormone motilin uses, and a dose of it induces the migrating motor complex in the human gut almost the way the hormone does (Tomomasa et al., Dig Dis Sci, 1986; Broad & Sanger, Br J Pharmacol, 2013). The famous gut side effect was not a nuisance to explain away — it was the antibiotic accidentally impersonating a hormone.

Motilinthe hormoneErythromycinan antibioticmotilin receptorthe housekeeper wave — the stomach empties
Two very different molecules, one receptor: the hormone built to pace the gut and an antibiotic built to kill bacteria both switch on the same motilin receptor — which is the whole reason erythromycin empties the stomach.

That accident became a tool. A low, sub-antibiotic dose of erythromycin is used as a prokinetic — a drug to make a sluggish stomach empty — in gastroparesis and in critically ill patients who can’t tolerate tube feeds (Sanger & Furness, Nat Rev Gastroenterol Hepatol, 2016). A molecule designed to kill bacteria earns a second job forcing the stomach to keep time.

Why it has been hard to make a good drug of it

If activating the motilin receptor empties the stomach, a clean motilin agonist should be a straightforward prokinetic. It hasn’t worked out that cleanly. Purpose-built motilin-receptor agonists — motilides such as camicinal — were developed for gastroparesis (Barshop & Kuo, Expert Opin Investig Drugs, 2015), but turning the receptor’s jolt into durable, day-after-day benefit has proved difficult, and drug designers have argued the problem is in how the receptor is engaged, not just which molecule engages it (Sanger, Neurogastroenterol Motil, 2014).

Even the original accidental drug is contested: a meta-analysis of intravenous erythromycin for feeding intolerance in critically ill adults questioned how much durable benefit it actually delivers (Chen et al., JPEN, 2022). The receptor is real and the acute push is real; a lasting therapy out of it is the part that keeps slipping.

The honest read

Motilin’s pharmacology is a genuine effect with a shrewd origin story — and a reminder that an acute physiological jolt is not the same as a drug. The stomach contracts; whether a patient is reliably better, for weeks, is a separate and harder question the motilin agonists keep running into.

Motilin's sibling: ghrelin

Motilin doesn’t sit alone. It is a structural cousin of ghrelin, the hunger hormone — related peptides acting on related receptors, close enough that part of ghrelin’s own structure has been borrowed to stabilize motilin (Morozumi et al., Peptides, 2012). The pair is often studied and targeted together as the motilin–ghrelin receptor family (Sanger & Furness, 2016) — two gut signals with a neat division of labor: one times the empty gut’s housekeeping, the other, as its own deep-dive tells, asks you to fill it.

One caveat worth keeping: motilin is hard to study in the usual lab animals. Standard mice don’t respond to it the way people do, and researchers have had to build mice carrying the human motilin receptor to model its effects (Kato et al., PLoS One, 2019). A hormone that is central in humans can be nearly invisible in the models drug development leans on — part of why its drug story has moved slowly.

  • The job. Pace the migrating motor complex — the between-meal housekeeper wave — not the fed-state response.
  • The accident. Erythromycin is a motilin-receptor agonist; its gut side effects are that pharmacology, repurposed as a prokinetic.
  • The difficulty. Purpose-built agonists (camicinal) and even erythromycin struggle to show durable benefit; the receptor is easier to jolt than to drug.

Questions readers actually ask

What is motilin?
Motilin is a 22-amino-acid peptide hormone released from endocrine cells of the upper small intestine. Unlike the meal hormones, it works between meals: it is released in cyclic bursts during fasting and paces the migrating motor complex, the wave of contractions that sweeps the stomach and small intestine clean while you are not eating.
Why does erythromycin cause stomach cramps and empty the stomach?
Because erythromycin — a macrolide antibiotic — happens to be a motilin-receptor agonist. It activates the same receptor the hormone motilin uses, triggering strong stomach contractions. That is why it commonly causes cramping and nausea, and why a low dose is used off-label as a prokinetic to force a sluggish stomach to empty in gastroparesis.
What is the migrating motor complex (MMC)?
The MMC is a recurring pattern of gut contractions during fasting, cycling roughly every one to two hours. Its strong phase acts as a 'housekeeper,' sweeping residual food, secretions and bacteria out of the stomach and small intestine. Motilin is the main hormone that initiates it, which is why the MMC largely stops once you eat.
Is there a motilin drug?
Sort of, and imperfectly. Erythromycin is used as a de facto motilin agonist, and purpose-built motilin-receptor agonists such as camicinal have been developed for gastroparesis. But turning the receptor's jolt into durable benefit has been difficult, and even erythromycin's prokinetic benefit is contested in the evidence. No motilin agonist has become a clearly established long-term therapy.
How is motilin related to ghrelin?
Motilin and ghrelin are structural cousins — related gut peptides acting on related receptors. Roughly, motilin times the empty gut's housekeeping while ghrelin signals hunger, so the pair is often studied and drugged together as the 'motilin–ghrelin' receptor family.

Educational reference on mechanism and the state of the evidence, summarized and simplified from the public record. Not individualized medical advice or a prescription. The prokinetic use of erythromycin is off-label and dose-dependent; compounds are named to explain the science, not to endorse use. Verify any claim against the linked primary sources.