The digestive system is built around a single continuous tube, roughly 30 feet long in adults, that runs from your mouth to your anus. Along the way, six hollow organs form the main pathway: the mouth, esophagus, stomach, small intestine, large intestine, and rectum. Three solid accessory organs, the liver, pancreas, and gallbladder, support the process by delivering digestive juices into that tube. Together, these organs break food down mechanically and chemically, absorb nutrients into the bloodstream, and push waste toward the exit. The entire journey takes roughly two to three days from first bite to elimination.
The Mouth: Where Digestion Starts
Digestion begins the moment you chew. Your teeth tear and grind food into smaller pieces, a process called mechanical digestion, while your tongue mixes everything with saliva. Three major pairs of salivary glands produce that saliva: the parotid glands in front of each ear, the submandibular glands beneath the jawbone, and the sublingual glands under the tongue. Saliva contains an enzyme called amylase that immediately starts breaking starches down into simpler sugars. So even before you swallow, chemical digestion is already underway.
The Esophagus
Once you swallow, food enters the esophagus, a muscular tube about 10 inches long connecting the throat to the stomach. The esophagus doesn’t digest anything. Its job is transport. Rhythmic waves of muscle contraction called peristalsis push the food downward, which is why you can swallow even while lying on your side. At the bottom of the esophagus, a ring of muscle called the lower esophageal sphincter opens to let food into the stomach and then closes to keep stomach contents from washing back up into your throat. When this sphincter doesn’t close properly, the result is acid reflux.
The Stomach
Your stomach is a muscular, J-shaped pouch that serves two purposes: it stores food temporarily and breaks it down further. The stomach’s walls contract and churn, physically mixing food into a thick paste. At the same time, glands in the stomach lining release hydrochloric acid and an enzyme called pepsin, which works at an extremely acidic pH of about 1.5. That acidity is strong enough to dissolve small bits of metal, and it’s essential for breaking apart proteins into smaller chains your body can eventually absorb.
Food stays in the stomach for a few hours, depending on the meal’s size and fat content. A second sphincter at the stomach’s exit, the pyloric sphincter, controls how quickly that partially digested mixture moves into the small intestine. It releases small amounts at a time so the small intestine isn’t overwhelmed.
The Small Intestine
Despite its name, the small intestine is the longest organ in the digestive tract, measuring about 22 feet in adults. It’s where the majority of both chemical digestion and nutrient absorption take place. The small intestine has three sections: the duodenum (the first and shortest stretch), the jejunum (the middle), and the ileum (the final and longest portion).
In the duodenum, digestive juices from the pancreas and bile from the liver mix with food. These secretions finish breaking down carbohydrates, proteins, and fats into molecules small enough to cross the intestinal wall. Carbohydrates and proteins are primarily absorbed in the duodenum and jejunum, while fats are digested and taken up mainly in the upper jejunum. Bile salts, after helping with fat digestion, are reabsorbed at the end of the ileum and recycled back to the liver.
The inner lining of the small intestine is covered in millions of tiny, finger-like projections called villi and even tinier microvilli. These folds dramatically increase the absorptive surface area. If you could flatten the entire inner lining out, it would cover roughly the area of a tennis court. That massive surface is what allows your body to capture nearly all the usable nutrients from the food you eat. On average, food spends about six hours passing through the stomach and small intestine combined.
The Liver, Pancreas, and Gallbladder
These three accessory organs never touch food directly, but digestion would fail without them. Each one delivers secretions into the small intestine at precisely the right time.
The liver produces bile, a yellow-green fluid that breaks fats into tiny droplets so enzymes can access them more easily. Think of it like dish soap dispersing grease in water. Bile also helps with the absorption of certain fat-soluble vitamins. Bile travels from the liver through a network of small ducts, either heading straight to the small intestine or diverting to the gallbladder for storage.
The gallbladder is a small, pear-shaped sac tucked beneath the liver. Between meals, it stores and concentrates bile. When you eat, especially a fatty meal, the gallbladder contracts and squeezes bile through the bile ducts into the duodenum. People who have their gallbladder removed can still digest fat; the liver simply delivers bile directly without a storage step.
The pancreas produces a powerful digestive juice loaded with enzymes that break down all three macronutrients: carbohydrates, fats, and proteins. It delivers this juice into the duodenum through small ducts. The pancreas also releases bicarbonate, which neutralizes the acid coming from the stomach so those enzymes can work in a less acidic environment.
The Large Intestine
By the time food reaches the large intestine (also called the colon), most nutrients have already been absorbed. What’s left is mostly water, fiber, and waste products. The large intestine is about five feet long and considerably wider than the small intestine. Its primary job is absorbing water and electrolytes from the remaining material, compacting it into stool.
The large intestine also hosts an enormous community of bacteria, collectively known as the gut microbiome. These bacteria perform tasks your own cells cannot. They break down complex fibers that survived the small intestine and produce short-chain fatty acids as a byproduct, which nourish the cells lining your colon. Gut bacteria also synthesize several vitamins your body needs, including vitamins K, B1, B9, and B12. They even help metabolize leftover bile so it can be recycled by the liver.
Material typically spends 36 to 48 hours in the large intestine, making it the slowest segment of the entire digestive journey. This extended transit time allows thorough water recovery, which is why problems with the colon, like infections that speed up transit, often lead to watery diarrhea.
The Rectum and Anus
The rectum is the final six inches or so of the large intestine. It serves as a holding area for stool until you’re ready to have a bowel movement. Stretch receptors in the rectal wall signal your brain when it’s full. Two sphincters at the anus control the exit: an internal one that relaxes automatically and an external one you control voluntarily. Together, they coordinate the final step of a process that started in your mouth two or three days earlier.
How the Organs Work Together
Digestion isn’t a relay race where each organ finishes its job before the next one starts. The processes overlap considerably. Mechanical digestion begins in the mouth and continues in the stomach. Chemical digestion starts with salivary amylase in the mouth, intensifies in the stomach with acid and pepsin, and reaches peak activity in the small intestine with pancreatic enzymes and bile. Peristalsis, the rhythmic muscular contractions that push food along, occurs along the entire length of the tract.
Sphincters act as gatekeepers between sections, controlling the pace and direction of flow. Hormones released by the stomach and intestinal walls coordinate the timing, triggering the pancreas and gallbladder to release their secretions exactly when food arrives in the duodenum. This coordination is what makes the system efficient enough to extract nearly all available nutrition from a meal in roughly six hours, and handle waste removal over the following day or two.