Bile is secreted in two stages by the liver:
1. The initial portion is secreted by the principal functional cells of the liver, the hepatocytes; this initial secretion contains large amounts of bile acids, cholesterol, and other organic constituents. It is secreted into minute bile canaliculi that originate between the hepatic cells.
2. Next, the bile flows in the canaliculi toward the interlobular septa, where the canaliculi empty into terminal bile ducts and then into progressively larger ducts, finally reaching the hepatic duct and common bile duct. From these ducts the bile either empties directly into the duodenum or is diverted for minutes up to several hours through the cystic duct into the gallbladder, shown in Figure 1.

Fig1. Liver secretion and gallbladder emptying.
In its course through the bile ducts, a second portion of liver secretion is added to the initial bile. This additional secretion is a watery solution of sodium and bicarbonate ions secreted by epithelial cells that line the ductules and ducts. This second secretion sometimes increases the total quantity of bile by as much as 100 percent. The second secretion is stimulated especially by secretin, which causes release of additional quantities of bicarbonate ions to supplement the bicarbonate ions in pancreatic secretion (for neutralizing acid that empties into the duodenum from the stomach).
Storing and Concentrating Bile in the Gallbladder. Bile is secreted continually by the liver cells, but most of it is normally stored in the gallbladder until it is needed in the duodenum. The maximum volume that the gall bladder can hold is only 30 to 60 milliliters. Nevertheless, as much as 12 hours of bile secretion (usually about 450 milliliters) can be stored in the gallbladder because water, sodium, chloride, and most other small electrolytes are continually absorbed through the gallbladder mucosa, concentrating the remaining bile constituents that contain the bile salts, cholesterol, lecithin, and bilirubin.
Most of this gallbladder absorption is caused by active transport of sodium through the gallbladder epithelium, and this transport is followed by secondary absorption of chloride ions, water, and most other diffusible constituents. Bile is normally concentrated in this way about 5-fold, but it can be concentrated up to a maximum of 20-fold.
Composition of Bile. Table 1 lists the composition of bile when it is first secreted by the liver and then after it has been concentrated in the gallbladder. By far the most abundant substances secreted in the bile are bile salts, which account for about one half of the total solutes also in the bile. Also secreted or excreted in large concentrations are bilirubin, cholesterol, lecithin, and the usual electrolytes of plasma.

Table1. Composition of Bile
In the concentrating process in the gallbladder, water and large portions of the electrolytes (except calcium ions) are reabsorbed by the gallbladder mucosa; essentially all other constituents, especially the bile salts and the lipid substances cholesterol and lecithin, are not reabsorbed and, therefore, become highly concentrated in the gallbladder bile.
Cholecystokinin Stimulates Gallbladder Emptying. When food begins to be digested in the upper gastrointestinal tract, the gallbladder begins to empty, especially when fatty foods reach the duodenum about 30 minutes after a meal. The mechanism of gallbladder emptying is rhythmical contractions of the gallbladder wall, but effective emptying also requires simultaneous relaxation of the sphincter of Oddi, which guards the exit of the common bile duct into the duodenum.
By far the most potent stimulus for causing the gall bladder contractions is the hormone CCK. This is the same CCK discussed earlier that causes increased secretion of digestive enzymes by the acinar cells of the pancreas. The stimulus for CCK entry into the blood from the duodenal mucosa is mainly the presence of fatty foods in the duodenum.
The gallbladder is also stimulated less strongly by acetylcholine-secreting nerve fibers from both the vagi and the intestinal enteric nervous system. They are the same nerves that promote motility and secretion in other parts of the upper gastrointestinal tract.
In summary, the gallbladder empties its store of concentrated bile into the duodenum mainly in response to the CCK stimulus that is initiated mainly by fatty foods. When fat is not in the food, the gallbladder empties poorly, but when significant quantities of fat are present, the gallbladder normally empties completely in about 1 hour. Figure 1 summarizes the secretion of bile, its storage in the gallbladder, and its ultimate release from the bladder to the duodenum.