Melatonin is released from intestinal enterochromaffin cells and from the pineal gland, but its role in gastrointestinal function is largely unknown. Our aim was to study the involvement of intestinal and central nervous melatonin in the neurohumoral control of the duodenal mucosa-protective bicarbonate secretion. Working in anesthetized rats, we cannulated a 12-mm segment of duodenum with an intact blood supply and titrated the local bicarbonate secretion with pH-stat. Melatonin and receptor ligands were supplied to the duodenum by close intra-arterial infusion. Even at low doses, melatonin and the full agonist 2-iodo-N-butanoyl-5-methoxytryptamine increased duodenal bicarbonate secretion. Responses were inhibited by the predominantly MT 2 -selective antagonist luzindole but not by prazosin, acting at MT 3 receptors. Also, luzindole almost abolished the marked rise in secretion induced by intracerebroventricular infusion of the adrenoceptor agonist phenylephrine. This response was also abolished by sublaryngeal ligation of all nerves around the carotid arteries. However, it was insensitive to truncal vagotomy alone or sympathectomy alone and was unaffected by removal of either the pineal gland or pituitary gland. Thus, melatonin stimulates duodenal bicarbonate secretion via action at enterocyte MT 2 -receptors and mediates neural stimulation of the secretion.