The functional disorder of the gallbladder (GB) is a motility disorder caused initially either by metabolic abnormalities or by a primary motility alteration. The functional disorders of the sphincter of Oddi (SO) encompass motor abnormalities of either the biliary or the pancreatic SO. Dysfunction of the GB and/or biliary SO produce similar patterns of pain. The pain caused by a dysfunction of the pancreatic SO can be similar to that of acute pancreatitis. The symptom-based diagnostic criteria of motility dysfunction of the GB and biliary SO are episodes of moderate to severe steady pain located in the epigastrium and right upper abdominal quadrant that last at least 30 minutes. GB motility disorder is suspected after gallstones and other structural abnormalities have been excluded. This diagnosis should then be confirmed by a decreased GB ejection fraction induced by cholecystokinin at cholescintigraphy and after disappearance of the recurrent biliary pain after cholecystectomy. Symptoms of biliary SO dysfunction may be accompanied by features of transient biliary obstruction, and those of pancreatic SO dysfunction are associated with elevation of pancreatic enzymes and even pancreatitis. Biliary-type SO dysfunction is more frequently recognized in postcholecystectomy patients. SO manometry is valuable to select patients with sphincter dysfunction; however, because of the high incidence of complications, these patients should be referred to an expert unit for such assessment. Thus invasive tests should be performed only in the presence of compelling clinical evidence and after noninvasive testing has yielded negative findings. The committee recommends that division of the biliary or pancreatic sphincters only be considered when the patient has severe symptoms, meets the required criteria, and other diagnoses are excluded.