The most common functional disorders of the biliary tract and pancreas are associated with disordered motility of the sphincter of Oddi (SO). The SO is a neuromuscular structure located at the junction of the bile and pancreatic ducts with the duodenum. The primary functions of the SO are to regulate the delivery of bile and pancreatic juice into the duodenum, and to prevent the reflux of duodenal contents into the biliary and pancreatic systems. Disordered motility of the SO leads to the common and painful clinical conditions of SO dysfunction and acute pancreatitis. In order to understand normal SO motility, studies have been performed addressing SO function, control of spontaneous SO activity, responses to bioactive agents, SO innervation, and reflexes with other gastrointestinal organs. These studies have led to the current understanding of how the SO functions and may permit the development of targeted therapy for SO dysfunction and acute pancreatitis. This review summarizes the current knowledge regarding the control and regulation of SO motility, highlighting laboratory based and clinical research performed over the last 5 years.