What Are Ostomy Bags For and How Do They Work?

An ostomy bag is a pouch worn on the outside of the abdomen to collect bodily waste when part of the digestive or urinary tract has been surgically rerouted through an opening in the abdominal wall called a stoma. The bag exists because conditions like cancer, traumatic injury, or inflammatory bowel disease sometimes make it impossible or unsafe for waste to follow its normal path to the rectum or bladder. What looks from the outside like a simple plastic pouch is actually a carefully engineered system designed to form a leak-proof seal against skin, handle corrosive digestive fluids, and stay comfortable under clothing for days at a time.

Why Someone Might Need an Ostomy

The most common reason is colorectal cancer. More than three-quarters of all intestinal stomas are created as part of cancer treatment, typically when a tumor needs to be removed along with the segment of bowel surrounding it.1PubMed Central. Intestinal Ostomy In other settings the picture shifts: a study of over 200 colostomy patients at a surgical center found that gangrenous bowel from a twisted colon accounted for nearly half of cases, followed by colorectal cancer and abdominal injuries.2PubMed Central. Types and Indications of Colostomy and Determinants of Outcomes of Patients After Surgery The list of conditions that can lead to a stoma is long and includes Crohn’s disease, ulcerative colitis, diverticulitis, birth defects, spinal cord injuries, and bladder cancer.

Not every ostomy involves the intestines. A urostomy diverts urine when the bladder has been removed or can no longer function. The surgeon uses a small piece of intestine to create a channel from the ureters to the skin surface, and urine drains continuously into a bag fitted with a tap valve at the bottom. A survey comparing two types of urinary diversion found that patients with a continent internal reservoir reported certain quality-of-life advantages over those with a standard external pouch, but both groups managed daily life successfully.3PubMed. Quality of life survey of urinary diversion patients: comparison of ileal conduits versus continent Kock ileal reservoirs

The Three Main Types

The word “ostomy” covers several distinct surgeries, and the type determines what kind of output the bag has to handle:

  • Colostomy: The stoma is fashioned from the colon. Because the colon has already absorbed most of the water from digested food, output tends to be semi-formed to formed, depending on how much colon remains upstream. A colostomy placed in the descending or sigmoid colon often produces stool similar to what a person would pass normally.
  • Ileostomy: The stoma is created from the ileum, the last section of the small intestine. Output here is liquid to pasty because it has not yet passed through the colon, where water absorption normally happens. Ileostomy output is also more chemically aggressive and can irritate skin quickly if it leaks.
  • Urostomy: The stoma diverts urine. The bag is designed with a drainage valve so the wearer can empty it frequently without removing the entire appliance.

A study that measured output consistency across ostomates found that ileostomy patients consistently reported loose or watery output, while colostomy patients reported a wider range from semi-formed to liquid.4PubMed Central. Output Consistency Scale to Standardize Ostomate Output Description in Clinical Practice and Studies This difference matters for bag design, skin protection, and how often the system needs to be changed.

Temporary Versus Permanent

An ostomy can be either temporary or permanent, and the distinction shapes the experience. A temporary stoma is created to divert waste while a downstream section of bowel heals after surgery, such as when a surgeon reconnects two ends of the colon and wants to protect the new join. Once healing is confirmed, a second operation reverses the stoma and restores normal bowel function. A permanent stoma is placed when the rectum, anus, or bladder has been entirely removed or is irreparably damaged.

Choosing between temporary and permanent depends on clinical circumstances, but the decision is not always straightforward. Research on rectal cancer patients has shown that the choice often involves trade-offs in complication rates and cost, and the line between the two is not always firm: some patients who receive a “temporary” stoma end up keeping it permanently because reversal surgery carries its own risks or because the underlying disease progresses.5PubMed. Temporary vs. permanent stoma: factors associated with the development of complications and costs for rectal cancer patients

How the Pouching System Actually Works

The bag itself is only one part of what clinicians call the “pouching system.” The system has two critical components: the skin barrier (also called a baseplate or wafer) and the collection pouch. Getting the barrier right is arguably more important than the bag, because a poor seal leads to leakage, skin damage, and a miserable daily experience.

The skin barrier is a flat or slightly curved adhesive wafer that sticks to the abdomen around the stoma. Most barriers are made from hydrocolloid, a material that absorbs moisture slowly while maintaining its grip on skin. Research into hydrocolloid adhesives has focused on balancing two competing demands: the barrier needs to absorb sweat and stoma output that seeps underneath, but it also needs to resist dissolving too quickly. Modifications to the polymer chemistry can improve how long the seal lasts before it breaks down.6London South Bank University Research Repository. Maintaining the Integrity Over Wear Time of a Hydrocolloid-based Ostomy Adhesive Whilst Maintaining Skin Barrier Function

The challenge of moisture is persistent. Sweat collects under the adhesive, and stoma output creeps along the skin toward the edges of the wafer. Research into skin adhesives under wet conditions has shown that moisture disrupts adhesive bonds, meaning that any pouching system needs to manage water transport within its own material rather than simply trying to block moisture entirely.7Technical University of Denmark. The Interplay of Viscoelasticity, Water Transport, and Adhesion in Skin Adhesives under Wet Conditions Newer experimental adhesives, such as a hydrogel made from a double-network polymer, have demonstrated the ability to maintain a fluid-tight seal for over 24 hours even during regular body movement.8MEDICAL DEVICES & SENSORS. Biocompatible hydrogel ostomy adhesive

The barrier comes in either a one-piece or two-piece system. In a one-piece system, the pouch is permanently attached to the skin barrier, and the entire unit is removed and replaced together. In a two-piece system, the skin barrier stays in place for several days while the pouch clips or snaps on and off for emptying or replacement. Two-piece systems let you change bags without disturbing the seal against your skin, which is gentler on the skin and often preferred by people with ileostomies whose output is more corrosive.

The Role of Convexity and Fit

Not all abdomens are flat, and not all stomas protrude neatly. Some stomas sit flush with the skin surface or even retract below it, especially in people with more abdominal tissue. This is where convex barriers come in. A convex barrier has a curved shape that presses gently into the skin around the stoma, encouraging it to protrude enough for output to flow into the bag rather than sliding under the wafer.

The range of convex products has expanded since the 1980s, when manufacturers first introduced firm convex barriers. Today there are soft convex options designed for comfort and flexibility, as well as barrier rings and inserts that add convexity to a flat barrier.9PubMed Central. Use of Convexity in Ostomy Care: Results of an International Consensus Meeting No standardized definitions exist for these categories, which can make it confusing when you are trying to choose the right product. Most people find the right fit through trial and error with the help of a stoma care nurse.

Surgical technique also shapes how well a pouching system fits. Creating a stoma that protrudes adequately, has good blood flow, and sits without tension requires careful preoperative planning, including marking the site on the abdomen beforehand while the patient is in different positions (standing, sitting, bending). Challenging situations like a thick abdominal wall or a short, thickened tissue fold around the intestine demand extra attention during surgery.10PubMed Central. Technical Considerations in Stoma Creation

Skin Problems and How to Prevent Them

The skin around a stoma takes a beating. It is exposed to adhesive, moisture, and potentially caustic intestinal output, sometimes all at once. Peristomal skin damage from effluent leakage can cause painful raw patches that make it even harder to get a secure seal, creating a cycle: damaged skin leaks more, and more leakage damages more skin. Clinicians have used cyanoacrylate liquid skin protectant, essentially a medical-grade skin glue, to treat raw peristomal skin and help restore a surface the adhesive can grip.11PubMed. Peristomal Moisture-Associated Skin Damage Treatment: Use of Cyanoacrylate Liquid Skin Protectant: A Case Series

Prevention is straightforward in principle but demanding in practice. Cutting the barrier opening to match the stoma size precisely is essential: too large an opening exposes skin to output, while too small an opening can put pressure on the stoma and restrict blood flow. Barrier paste or rings can be used to fill irregular contours and prevent output from creeping under the wafer. After removing a used barrier, a silicone-based adhesive remover can clear residual particles that might compromise the next seal.6London South Bank University Research Repository. Maintaining the Integrity Over Wear Time of a Hydrocolloid-based Ostomy Adhesive Whilst Maintaining Skin Barrier Function

Parastomal Hernia and Other Complications

Beyond skin breakdown, the most common structural complication is a parastomal hernia, where abdominal contents push through the muscle wall next to the stoma. This creates a visible bulge that can distort the stoma’s shape, making it harder to fit a pouch and increasing the risk of leaks. Research has found that the single strongest predictor of parastomal hernia is whether the stoma passes through the center of the rectus abdominis muscle: stomas placed off-center are significantly more likely to herniate.12PubMed Central. Risk factors for parastomal hernia of loop stoma and relationships with other stoma complications in laparoscopic surgery era That same study found that laparoscopic surgery was associated with more frequent stoma misplacement compared with open surgery, likely because the limited visualization makes precise placement harder.

Surgeons can reduce hernia risk by using specific techniques: bringing the intestine through an extraperitoneal path, keeping the muscle opening small (about 1.5 to 2 centimeters), or reinforcing the area with mesh at the time of stoma creation.13PubMed Central. Parastomal hernia Other complications include stoma prolapse (the intestine telescopes outward), retraction (the stoma sinks below skin level), and stenosis (the opening narrows). Each of these alters the stoma’s shape or position and usually requires a change in pouching strategy or, in severe cases, surgical revision.

Eating and Drinking With an Ostomy

Diet changes are one of the first adjustments after surgery, and the specifics depend heavily on the type of ostomy. People with ileostomies face the steepest learning curve because the colon is no longer available to absorb water and electrolytes. Evidence-based guidelines recommend a low-fiber, low-residue diet for the first four to six weeks, avoiding raw fruits and vegetables, nuts, corn, and high-fiber grains. Foods that thicken stool, like rice, bananas, pasta, potatoes, and cheese, are encouraged. New foods should be reintroduced one at a time, starting about six to eight weeks after surgery, in small amounts with close attention to how the stoma responds.14PubMed Central. Summary of Best Evidence for the Dietary Management in Patients with High-Output Ileostomy

Fluid management is surprisingly counterintuitive. When an ileostomy puts out too much fluid, a person feels thirsty and instinctively reaches for water, tea, or juice. But these are all hypotonic fluids that can actually make the problem worse: the sodium-poor liquid entering the gut pulls sodium from the blood into the bowel, increasing output and perpetuating a cycle of dehydration and kidney stress.15PubMed Central. Strategies for Managing Fluids and Electrolytes in High-Output Stomas: A Systematic Review and Evidence Summary The recommended approach is to limit plain water to about 0.5 to 1 liter per day when output is high and replace the rest with oral rehydration solutions that contain glucose, sodium, and potassium. Sports drinks, broth, and vegetable juice are more helpful than plain water for maintaining hydration.14PubMed Central. Summary of Best Evidence for the Dietary Management in Patients with High-Output Ileostomy

Blockages are another concern, particularly with ileostomies. Fibrous foods like mushrooms, popcorn, coconut, celery, and dried fruit can form a plug at the stoma opening if they are not chewed thoroughly. The standard advice is to chew every bite far more than you think necessary, eat smaller meals more frequently, and be cautious about reintroducing high-risk foods even after the initial recovery period.

Emotional and Social Impact

Living with a stoma reshapes more than meals. A review of the psychosocial literature found that the most commonly reported problems were poor body image, depression, sexual difficulties, and difficulty adapting socially.16PubMed Central. Overview of psychosocial problems in individuals with stoma: A review of literature A study of stoma patients found that more than half reported feelings of depression following surgery, around 70 percent had changed their eating habits because of the stoma, and only about a third had resumed sexual activity, with very few satisfied with it.17PubMed Central. Quality of Life in Patients Living with Stoma

Changes in clothing are common, since many people prefer to wear looser or higher-waisted garments that conceal the pouch. Concerns about odor, noise from gas passing into the bag, and the fear of a visible leak drive social withdrawal for some. Whether the stoma is temporary or permanent, and whether the person has adjusted their diet to manage gas and output, have significant effects on overall quality of life.17PubMed Central. Quality of Life in Patients Living with Stoma Access to support groups and specialized nursing help with adjustment, though in some healthcare settings these resources are scarce.

Ostomies in Newborns and Children

Babies sometimes need ostomies too, most often for conditions like necrotizing enterocolitis, Hirschsprung disease, or imperforate anus. The principles are the same as for adults, but the execution is far more delicate. A premature infant’s skin is thinner, more fragile, and reacts more easily to adhesives. The abdomen may be so small that standard products do not fit, and the stoma might sit in an awkward location because there simply is not much room to work with.18PubMed. Managing preemie stomas: more than just the pouch

Nurses caring for neonatal ostomies frequently modify adult pouching products to fit, using creative cutting and layering techniques to achieve a seal on a tiny, curved abdomen.19PubMed. Novel Pouching Techniques for the Neonate With Fecal Ostomies Best-practice guidelines emphasize that while many ostomy care principles carry across the lifespan, the clinical approach for children and adolescents should account for growth, developmental stage, and the different spectrum of underlying conditions that lead to stoma surgery in younger patients.20Journal of Wound, Ostomy, and Continence Nursing. Best Practice Guidelines for Ostomy Care in Neonates, Children, and Adolescents: An Executive Summary

Smart Sensors and Where Design Is Heading

One of the more practical innovations in recent years is digital leak detection. A system called Heylo places a thin adhesive sensor layer underneath the skin barrier. A small transmitter attached to the sensor communicates with a smartphone app via Bluetooth, analyzing real-time data on the condition of the baseplate and alerting the wearer when the seal begins to break down.21Mayo Clinic Proceedings: Digital Health. Effect of a Novel Digital Leakage Notification System (Heylo) for Ostomy Care on Quality of Life and Burden of Living With an Intestinal Ostomy: The ASSISTER Trial, A Randomized Controlled Cross-Over Trial The idea is to catch a failing seal before output reaches the skin, reducing both skin damage and the anxiety of unexpected leaks.

Material science is pushing in several directions at once. Hydrogel adhesives aim to stick reliably while being gentler on the skin than traditional hydrocolloids. Manufacturers are experimenting with different polymer blends to extend the wear time of barriers, keeping the system intact for longer periods so people need to change less often. The broader trajectory is toward pouching systems that are thinner, quieter, more adaptive to body movement, and capable of staying in place under conditions that would have defeated products from even a decade ago. The first ostomies date back to antiquity, but the commercial stomal appliance is largely a twentieth-century invention, and the pace of improvement has accelerated sharply.22PubMed. History of enterostomy devices: Yesterday, today, and tomorrow?