Is It Normal to Have Diarrhea After Endoscopy?

Loose stools after an endoscopy, particularly a colonoscopy, are common and almost always temporary. The main reason is straightforward: the bowel preparation you drank before the procedure is a powerful laxative, and its effects can linger for a day or two afterward. In one study, about a fifth of colonoscopy patients reported minor complications like diarrhea, bloating, or abdominal pain in the week following the procedure, and most of those symptoms resolved within 24 hours. That said, the picture is more nuanced than “drink the prep, expect loose stools for a day,” and understanding the different reasons diarrhea can follow an endoscopy helps you know when it is truly harmless and when it warrants a phone call to your doctor.

Bowel Preparation Is the Main Reason

If you had a colonoscopy, the bowel preparation is almost certainly what is still affecting you. The most widely used prep solutions contain polyethylene glycol, or PEG, a substance your body cannot absorb. It works by pulling water into the intestine through osmotic pressure, which is what creates that dramatic flushing effect the night before your procedure. Research on healthy volunteers showed that stool volume correlated directly with how much PEG was consumed, and the solution accounted for roughly 40 to 60 percent of the osmotic activity in stool water, with the rest driven by electrolytes, dietary remnants, and bacterial byproducts.1JCI Insight. Studies of osmotic diarrhea induced in normal subjects by ingestion of polyethylene glycol and lactulose In plain terms, the PEG drags a lot of water along with it, and even after the main cleanout is over, residual PEG in the colon can keep drawing fluid into the bowel for another day or so.

Your colon also needs time to reabsorb water at its normal pace again. During the prep, the intestinal lining gets stripped of much of its mucus layer, and transit speeds up dramatically. Once the procedure is done and you start eating again, the colon has to rebuild that mucus barrier and resettle into its usual rhythm. For most people, this takes one to two days. If you are eating very lightly or mostly liquids on the day of the procedure, the small volume of food moving through an essentially empty colon can exit faster than normal, giving the impression that diarrhea is continuing when in reality it is just your gut recalibrating.

Your Gut Bacteria Take a Temporary Hit

The bowel preparation does more than flush waste. It also washes out a significant portion of the bacteria that normally live in your colon. These microbes play an important role in water absorption, fermentation of fiber, and general digestive stability, so losing a chunk of them can leave the gut less efficient at forming solid stool for a while. A study that tracked the gut microbiome before and after colonoscopy prep found that bacterial composition and metabolic byproducts shifted immediately after the prep but returned to baseline within about 14 days.2Scientific Reports. Effects of bowel preparation on the human gut microbiome and metabolome That two-week recovery window lines up well with what many patients experience: stools may be a bit softer or more frequent for a week or two before everything normalizes.

Several factors during the process contribute to this microbial disruption. The rapid evacuation itself physically removes bacteria, the high osmolality of the prep solution creates an inhospitable environment for many species, and the thinning of the protective mucus layer exposes bacteria to conditions they would not normally encounter.3PubMed Central. Alteration in gut microbiota after colonoscopy: proposed mechanisms and the role of probiotic interventions Oxygen exposure during the colonoscopy itself may also play a role, since many gut bacteria are anaerobic and do not tolerate oxygen well. The reassuring finding across multiple studies is that these changes are transient and the ecosystem bounces back on its own in most healthy people.4PubMed Central. Bowel preparation before colonoscopy: Consequences, mechanisms, and treatment of intestinal dysbiosis

People with pre-existing inflammatory bowel disease or other chronic gut conditions may be more vulnerable to a prolonged disruption, though. The same review noted that bowel prep can affect these vulnerable populations more substantially, which is worth knowing if you have Crohn’s disease or ulcerative colitis and notice your symptoms flaring after a colonoscopy.4PubMed Central. Bowel preparation before colonoscopy: Consequences, mechanisms, and treatment of intestinal dysbiosis

Gas and Bloating from Air Insufflation

During a colonoscopy, the doctor inflates the colon with gas so the camera can see the walls clearly. Traditionally, this was done with room air, which the body absorbs slowly. That trapped air can cause bloating, cramping, and urgency to pass gas or stool afterward. Many endoscopy centers have switched to carbon dioxide, which the body absorbs much more quickly through the intestinal wall and exhales through the lungs. A meta-analysis of randomized trials in pediatric patients found that carbon dioxide insufflation led to significantly less abdominal pain immediately after the procedure compared with air.5Clinical Endoscopy. Insufflation of Carbon Dioxide versus Air During Colonoscopy Among Pediatric Patients: A Systematic Review and Meta-Analysis of Randomized Controlled Trials By 24 hours, the difference evened out, suggesting the main benefit is in those first uncomfortable hours after waking up.

If you experienced gassy, crampy diarrhea in the hours right after your colonoscopy, trapped insufflation gas is a likely contributor. Walking around and passing gas helps speed its exit. This is one of the reasons recovery rooms encourage you to move before going home.

Diarrhea After an Upper Endoscopy

Most of the discussion about post-endoscopy diarrhea centers on colonoscopy because the bowel prep is such an obvious trigger. But some people notice loose stools after an upper endoscopy (also called an EGD or gastroscopy), where no bowel prep is involved. This is less common but not unheard of.

The sedation medications used during upper endoscopy can sometimes speed up gut motility or alter fluid balance in the intestines temporarily. Many patients also fast for eight hours or more before the procedure and then eat cautiously afterward, which can lead to softer stools simply because the digestive system is restarting after a period of emptiness. Some upper endoscopies include biopsies of the stomach or small intestine, and a small amount of blood or irritation at the biopsy site can occasionally cause a brief change in stool consistency. In most cases, any looseness after an upper endoscopy resolves within a day and does not require treatment.

Biopsies and Polypectomies

If your doctor took tissue samples or removed polyps during a colonoscopy, you may wonder whether that contributes to diarrhea. The short answer is that biopsies themselves rarely cause diarrhea, but the overall procedural disruption does seem to matter. In one small study that followed 24 colonoscopy patients closely, about a fifth reported minor complications in the week afterward, including abdominal pain, bloating, constipation, or diarrhea.6PubMed Central. Effect of gut microbiome on minor complications after a colonoscopy For most, the symptoms did not last beyond 24 hours. An interesting detail from that study was that the people who developed complications tended to have a different baseline gut microbial balance before the procedure even began, suggesting that your pre-existing gut ecology may partly determine how smoothly you recover.

Large polypectomies, where a sizable polyp is removed using cautery, can occasionally cause localized inflammation at the removal site. This might lead to a brief change in stool frequency or the appearance of mucus. Blood-tinged stools are a more common concern after polypectomy than diarrhea, and if you notice significant bleeding, that is a reason to contact your doctor promptly regardless of what your stool consistency looks like.

Is Infection a Realistic Concern?

One worry that crosses many patients’ minds is whether the endoscope itself could have transmitted an infection that is now causing diarrhea. Modern reprocessing standards are rigorous, and the risk of infection from a properly cleaned endoscope is extremely low. That said, the concern is not entirely unfounded in principle. Incomplete rinsing of disinfectant solutions from the endoscope’s channels has been documented as a potential cause of abdominal pain and diarrhea.7Scientific Reports. Current management status of cleaning and disinfection for gastrointestinal endoscopy: a meta-analysis This is a reprocessing failure rather than an infection per se, but it can produce similar symptoms.

A specific organism that sometimes comes up in this context is Clostridioides difficile, which causes a distinctive watery diarrhea, often with cramping and sometimes fever. Several plausible mechanisms have been considered: contamination through the scope, disruption of the normal gut flora by the bowel prep, and antibiotic exposure around the time of the procedure.8American Journal of Infection Control. Gastrointestinal endoscopy is not a significant risk factor for Clostridium difficile-associated diarrhea However, research that specifically looked at this question concluded that endoscopy itself is not a significant risk factor for C. difficile diarrhea. So while the theoretical pathways exist, in practice the risk is very small, and routine post-endoscopy diarrhea is overwhelmingly caused by the prep and procedural factors described above rather than by any infection.

When Diarrhea Lasts Longer Than Expected

If your loose stools persist for more than two weeks after a colonoscopy, the explanation probably goes beyond residual bowel prep effects. One possibility is that the procedure and its preparation have unmasked or triggered something that was brewing under the surface.

A large retrospective study examined whether antibiotic exposure around the time of colonoscopy increased the risk of being diagnosed with irritable bowel syndrome in the months and years that followed. The researchers found a modest increase in a composite outcome that included IBS diagnosis, new prescriptions for IBS medications, and new defecatory symptoms among people who received antibiotics, though the increase in IBS diagnosis alone was not statistically significant.9PubMed Central. Risk for Post-Colonoscopy Irritable Bowel Syndrome in Patients with and without Antibiotic Exposure: A Retrospective Cohort Study This suggests that in some patients, especially those who receive antibiotics for reasons related to the procedure, colonoscopy may be an inflection point where a latent tendency toward IBS becomes clinically noticeable. Whether the colonoscopy itself “causes” IBS or simply serves as the stressor that tips the balance remains debated.

Another condition worth knowing about is microscopic colitis, which causes chronic watery diarrhea but looks completely normal during colonoscopy because the inflammation is only visible under a microscope. If biopsies were taken during your procedure and the results come back showing microscopic colitis, the diarrhea you thought was from the prep may actually have been happening before the colonoscopy and was part of the reason the procedure was ordered in the first place. In one cohort of patients investigated for chronic diarrhea, about a third turned out to have microscopic colitis.10PubMed Central. Chronic Diarrhea Owing to Microscopic Colitis: A Cohort Study with Insights into Diagnostic Challenges and Size of the Problem The condition is treatable, and catching it is one of the reasons gastroenterologists take random biopsies even when the colon lining looks normal.

A broader survey of post-endoscopy symptoms found that new physical or psychological symptoms after gastrointestinal endoscopy, including diarrhea, could last anywhere from one month to three years in some patients.11PubMed. Persistent psychological or physical symptoms following endoscopic procedures: an unrecognized post-endoscopy adverse event That three-year figure sounds alarming, but the researchers described these as underrecognized adverse events in a relatively small number of patients, not the typical outcome. Still, it highlights the point that endoscopy is not always the completely benign event it is presented as, and persistent symptoms deserve follow-up rather than dismissal.

What You Can Do to Speed Recovery

There is no magic fix for post-colonoscopy diarrhea, but a few practical steps can help your gut bounce back faster. First, reintroduce food gradually. Many people are ravenous after fasting and immediately eat a large or rich meal, which can overwhelm a colon that is still essentially empty and has lost much of its mucus barrier. Start with bland, easily digested foods and work your way back to normal meals over a day or two.

Staying well-hydrated matters more than usual, because the bowel prep can leave you mildly dehydrated and continued loose stools compound the fluid loss. Water is fine; broth or electrolyte drinks can help if you feel lightheaded or weak. Avoiding alcohol and caffeine for the first day is sensible, since both can stimulate the gut and worsen diarrhea.

Some gastroenterologists suggest probiotics after colonoscopy, on the theory that replenishing beneficial bacteria might shorten the recovery window. The evidence for this is mixed. Multiple studies confirm that the microbiome recovers on its own within about two weeks without supplementation, so probiotics may slightly accelerate a process that is already happening naturally. They are unlikely to hurt, but whether they meaningfully help the average healthy person remains unproven.

Over-the-counter anti-diarrheal medications like loperamide are generally safe to use after a routine colonoscopy if diarrhea is bothersome, though you should check with your doctor if you had polyps removed or if there are any specific post-procedure instructions that apply to your case.

Signs That Warrant a Call to Your Doctor

Most post-endoscopy diarrhea is a nuisance, not a danger. But certain features signal something that needs medical attention:

  • Blood in the stool: A small amount of spotting after biopsies or polypectomy can be normal, but significant bleeding, repeated bloody stools, or blood mixed into watery diarrhea should prompt a call.
  • Fever above 100.4°F (38°C): Fever alongside diarrhea after a colonoscopy raises the possibility of perforation or infection, both of which need urgent evaluation.
  • Severe or worsening abdominal pain: Mild cramps and bloating are expected. Sharp, persistent, or escalating pain is not.
  • Diarrhea lasting beyond two weeks: At this point, the bowel prep and microbiome disruption should have resolved, and ongoing symptoms suggest something else is going on.
  • Signs of dehydration: Dizziness when standing, dark urine, a dry mouth, or a racing heart mean you are losing more fluid than you are replacing.

If you had an upper endoscopy and develop new diarrhea that was not present before the procedure, mention it at your follow-up appointment. While rarely serious, new gastrointestinal symptoms that appear after any endoscopic procedure are worth documenting, since they may point to a reaction to sedation, an undiagnosed food intolerance that the fasting period and dietary restart made apparent, or one of the less common post-procedural effects that occasionally get overlooked.

Individual Differences in Recovery

Not everyone rebounds at the same speed, and the variation can be surprising even among people who had the same procedure on the same day. Some of this comes down to the baseline state of your gut bacteria. The small study that tracked minor post-colonoscopy complications found that patients who developed symptoms had a measurably different microbial profile before the prep was ever started.6PubMed Central. Effect of gut microbiome on minor complications after a colonoscopy This does not mean some people are destined for a rough recovery, but it does suggest that factors like diet, prior antibiotic use, and existing digestive conditions all shape how resilient your colon is to the disruption of a colonoscopy.

Age and overall health play a role too. Older adults tend to have less diverse gut microbiomes and may take longer to recover normal bowel function. People who were already prone to loose stools, whether from IBS, food sensitivities, or medication side effects, often find that the colonoscopy amplifies that tendency for a few days. Conversely, some patients swing the other way and experience constipation rather than diarrhea afterward, especially if they eat very little in the days following the procedure. Both ends of the spectrum are within the range of normal, as long as they resolve within that two-week window and are not accompanied by the warning signs described above.