Definitions & Key takeaways

The gastrointestinal system starts to develop around week 3 of prenatal life. The earliest indication of gastrointestinal development is a thickening in the midline of the embryo that will become the gut tube. This thickening begins to form a groove along its length, and by week 5 of development this groove has divided into 3 sections: foregut, midgut, and hindgut. Each section will give rise to different parts of the gastrointestinal system.

The gastrointestinal system develops from all three germ layers (ectoderm, mesoderm, and endoderm). The ectoderm gives rise to the enteric nervous system; mesoderm gives rise to the connective tissue, including the wall of the gut tube and the smooth muscle, whereas the endoderm gives rise to the epithelial lining of the digestive tract, as well as to all of the associated glands and organs such as the liver, gallbladder, and the pancreas.

During week 3, the embryo is a flat disc made up of three germ layers: the endoderm, the mesoderm, and the ectoderm. From the endoderm, which you can think of as being the “belly side” of this three layered embryo pancake, a fluid filled bubble called the yolk sac forms and grows alongside the developing embryo.
The digestive system starts forming when the embryo folds along its vertical and horizontal axes – so it “rolls up” on itself, and turns into a tubular organism that looks a bit like a little shrimp.
Folding also pinches the yolk sac, kinda like squeezing a balloon through a ring, so a part of it goes inside the embryo, and forms the primitive gut tube.
The primitive gut tube is initially sealed off at both ends : the buccopharyngeal membrane at the top separates it from the primitive mouth, and the cloacal membrane at the bottom separates it from the primitive anus.
This tube is divided into three parts, based on the arterial blood supply. The first portion is the foregut, and it’s nourished by the celiac artery.
The middle portion, the midgut is nourished by the superior mesenteric artery. For a short while, the midgut communicates with the yolk sac mothership through the vitelline duct, which is eventually incorporated into the umbilical cord.
Finally, there’s the last portion, the hindgut, which is nourished by the inferior mesenteric artery. The hindgut ends with the cloaca, which is a primitive common drainage site for the urinary, genital, and digestive systems.
The foregut gives rise to the superior part of the digestive tube - up to and including the first half of the duodenum, as well as the liver, the gallbladder, and the pancreas.
At the very top of the foregut, starting at the buccopharyngeal membrane, there’s the primitive pharynx - which is initially just 5 sets of symmetrical pharyngeal arches.
These pharyngeal arches turn into various bones, muscles, and cartilages of the head and neck, and the last two arches give rise to the pharynx.
Below the pharynx, the foregut gives rise to the esophagus. In this region, there’s an outpouching of endoderm called the lung bud, and it sprouts from the anterior wall of the foregut.
During week 4, a tracheoesophageal septum forms a barrier that separates the lung bud from the foregut - the anterior compartment develops into the trachea and lungs, and the posterior compartment develops into the esophagus.
The esophageal epithelium and glands derive from the foregut endoderm, whereas the esophageal muscles derive from the surrounding mesoderm.
The epithelium proliferates and initially fills up the lumen of the esophagus, turning it into a solid rod of tissue, but by week 8, a process called recanalization occurs and the esophagus turns it into the hollow tube we know and love.
Under the esophagus, there’s the primitive stomach which starts out as a small dilation of the foregut. The stomach has a dorsal, or posterior border, and a ventral, or anterior border.
The dorsal border is anchored to the posterior body wall by a two-layered sheet of mesoderm tissue called the dorsal mesogastrium, and the ventral border is anchored to the anterior body wall by another two-layered sheet, the ventral mesogastrium.
Starting with week 5, the liver grows between the layers of the ventral mesogastrium, and the spleen between the layers of the dorsal mesogastrium.
The dorsal border of the stomach grows a lot faster and forms the greater curvature of the stomach, while the ventral border becomes the lesser curvature.
Alright so if we switch to a top-down view of this developing stomach, we see as it grows, it undergoes a 90 degree, clockwise rotation along its length, pulling the dorsal and ventral mesogastrium with it.
This moves the greater curvature to the left side of the body, and the lesser curvature to the right side, and the stomach now has an anterior and a posterior face.
As the stomach rotates, the ventral mesogastrium becomes the lesser omentum. The dorsal mesogastrium grows longer and bends as the stomach rotates, forming a peritoneal cavity derivative called the omental bursa between the stomach and the posterior body wall.
The omental bursa communicates with the great peritoneal cavity through a small opening known as the omental foramen. The omental bursa grows and fills with peritoneal fluid, developing two projections: the upper recess, that extends behind the developing liver, and the lower recess that extends downwards over the developing intestines.
Eventually, the sheets of dorsal mesogastrium that form the lower recess fuse and form the greater omentum. Finally, the stomach rotates once more, but this time in a frontal plane - so imagine looking at it from the front now.
This final rotation repositions the superior end of the stomach, which will become the cardiac sphincter, to the left, and a little bit lower, while the inferior end, the future pylorus, moves to the right, and a little higher.
Below the stomach, there’s the developing duodenum. The first two sections of the duodenum derive from the last part of the foregut.
The rotation of the stomach turns the duodenum into a C-shaped loop, with the middle of the C on the right side. The last portion of the foregut also has tiny tissue buds grow quite large and develop into the the liver, the gallbladder, and the pancreas.
The liver bud, also known as the hepatic diverticulum, gives rise to the liver, the gallbladder, and the biliary duct system.
This bud forms inside the ventral mesogastrium, and extends into the septum transversum - a sheet of mesoderm that separates the developing heart from the midgut.
The liver bud separates in two parts: a larger, superior portion that becomes the liver, and a smaller, inferior part that becomes the gallbladder.
Hepatocytes of the liver are derived from endoderm of the foregut, and they start producing bile during the 12th week. Kupffer cells on the other hand are derived from the mesoderm, and are special macrophage cells that play a role in local immune defense, hematopoietic tissue is also from mesoderm and starts forming red blood cells during week 6.
So the liver functions as the major hematopoietic organ up until the last month of pregnancy, when the bone marrow takes over.
Now, with the pancreas, there are actually two pancreatic buds, a ventral bud and a dorsal bud, and the two eventually unite to give rise to a single organ.
The dorsal bud appears first, and forms the body, the tail and most of the pancreatic head. The smaller ventral bud unites with the dorsal bud when the duodenum rotates, and it gives rise to the rest of the pancreatic head.
The pancreas begins secreting insulin during week 10. The midgut gives rise to the third and fourth sections of the duodenum, as well as the jejunum and ileum, which are parts of the small intestine, as well as the cecum, appendix, ascending colon and the proximal two thirds of the transverse colon, which are parts of the large intestine.
Now, taking a more three dimensional view of the midgut, it lengthens a lot over a short period of time, and the embryo’s abdominal cavity becomes too small to hold it all in.
So what happens is that the primary intestinal loop - the first loop of the intestines - herniates through the vitelline duct and develops inside the umbilical cord.
This is called physiologic gut herniation, and it lasts until week 10. The primary intestinal loop protrudes inside the umbilical cord like a bobby pin, with a superior mesenteric artery growing between the two limbs of the loop: the cranial limb of the primary intestinal loop initially develops above the superior mesenteric artery, and the caudal limb of the primary intestinal loop develops below the superior mesenteric artery.
First off, the loop rotates 90 degrees counterclockwise, around the axis of the superior mesenteric artery, and moves the cranial limb to the right side of the artery, and the inferior limb to the left - like a key inside a lock that’s turned counterclockwise.
The cranial limb becomes very convoluted, marking the future jejunal and ileal anses, whereas the caudal limb develops a small dilation that eventually develops into the cecum and appendix.
In week 10, when the abdominal cavity is big enough for the loop to go back inside the body, so the loop rotates a final 180 degrees, and moves into the abdominal cavity, now that the formerly caudal limb ends up framing the developing small intestine loops above and to the right, giving rise to the ascending colon and the right two thirds of the transverse colon.
The left one third of the transverse colon, the descending colon, sigmoid colon, and upper part of the anal canal derive from the hindgut, which begins after the caudal limb of the midgut and extends to the cloacal membrane.
The lower portion of the anal canal derives from the the primitive anus, or proctodeum, which is a pit of ectoderm that forms just below the cloacal membrane.
Also, during week 4, the urorectal septum forms, and it separates the cloaca into an anterior urogenital sinus and a posterior anal canal - which are covered by the urogenital and the anal membrane, respectively.
At the end of week 7, the separation is complete and the anal membrane ruptures, so the anal canal is now continuous, and opens in the tail-region of the embryo.
All right, as a quick recap: the digestive tract and associated organs develop from the primitive gut tube. Because the abdominal cavity doesn’t grow as fast as the developing organs, the intestinal loops protrude into the umbilical cord during week 6, but they go back into the body by week 10.
Initially, the tube is sealed off by the buccopharyngeal membrane superiorly and the cloacal membrane inferiorly, but the membranes disappear and continuity is established between the gut tube and the mouth, at the top, and anus, at the bottom.