Why Is My Poop Blue?

The short answer is usually no, according to Pratima Dibba, MD, a gastroenterologist with the Medical Offices of Manhattan in New York City. "Blue stools are mostly related to blue pigment, coloring, or dyes in foods," she says. "Rarely, blue-tinged stools can be due to medications … but mostly, they're related to what you've eaten."
Here's a look at what can lead your stool to change color, how long this might be expected to last, and when you should consult a doctor.
Causes of Blue Poop
Foods
- Blueberries, both fresh and dried
- Purple or black grapes
- Black plums
- Black currants
- Blackberries
Medications
Is Blue Poop Dangerous?
How to Treat Blue Poop
You can drink more water and eat high-fiber foods as a way to flush out your system faster, she says. But the duration of blue poop will likely be brief even if you do nothing.
When to See a Doctor
- Blood in your stool
- Poop that looks deep red, maroon, black, or tarry
- Pale, white, or clay-colored stools
- Persistent diarrhea or constipation that lasts longer than two weeks
- Nausea and vomiting that occur along with constipation and abdominal pain
"Basically, it's helpful to know what your stool looks like when you're healthy and there are no issues, so you know your baseline," says Dr. Farhadi. "That way, you can detect any issues, such as ongoing diarrhea or very loose stools, or color changes that don't resolve with diet changes."
The Takeaway
- Blue is not a common color for stools, but it can happen, especially if you eat certain foods that are naturally blue or contain blue dyes.
- You may experience blue-colored stools if you take certain medications.
- The blue tinge should resolve within a day or two, but if it persists, consult your doctor, especially if you're experiencing other issues like nausea or pain.
Resources We Trust
- Mayo Clinic: Stool Color: When to Worry
- Cleveland Clinic: What Does My Stool (Poop) Color Mean?
- National Institutes of Health: In Brief: How Do Bowel Movements Work?
- Canadian Digestive Health Foundation: Is My Poop Healthy/Normal?
- Johns Hopkins Medicine: 5 Things Your Poop Can Tell You About Your Health
- Is My Poop Healthy/Normal? Canadian Digestive Health Foundation. June 14, 2023.
- What Does My Stool (Poop) Color Mean? Cleveland Clinic. February 11, 2025.
- Can Food Change the Color of Your Poop? Cleveland Clinic. February 26, 2025.
- Zambia Food-Based Dietary Guidelines: Technical Recommendations. Food and Agriculture Organization of the United Nations. 2021.
- Prussian Blue (Oral Route). Mayo Clinic. February 1, 2025.
- Methylene Blue. Memorial Sloan Kettering Cancer Center. December 12, 2022.
- Baumgarten J et al. Fifty Shades of Green and Blue: Autopsy Findings After Administration of Xenobiotics. Forensic Science, Medicine, and Pathology. October 30, 2024.
- Bistas E et al. Methylene Blue. StatPearls. June 26, 2023.
- Uribel Tabs. National Institutes of Health. January 2024.
- Maheshwari N et al. Methylene Blue in Septic Shock: Emerging Evidence, Clinical Applications, and Future Directions. Cureus. June 24, 2025.
- How Long Does It Take Food to Digest? Britannica. September 19, 2025.
- Changes in Bowel Habits. Cleveland Clinic. September 21, 2023.
- Melena (Black Stool). Cleveland Clinic. June 8, 2023.

Ira Daniel Breite, MD
Medical Reviewer
Ira Daniel Breite, MD, is a board-certified internist and gastroenterologist. He is an associate professor at the Icahn School of Medicine at Mount Sinai, where he also sees patients and helps run an ambulatory surgery center.
Dr. Breite divides his time between technical procedures, reading about new topics, and helping patients with some of their most intimate problems. He finds the deepest fulfillment in the long-term relationships he develops and is thrilled when a patient with irritable bowel syndrome or inflammatory bowel disease improves on the regimen he worked with them to create.
Breite went to Albert Einstein College of Medicine for medical school, followed by a residency at NYU and Bellevue Hospital and a gastroenterology fellowship at Memorial Sloan Kettering Cancer Center. Working in city hospitals helped him become resourceful and taught him how to interact with people from different backgrounds.

Elizabeth Millard
Author
Elizabeth Millard is a Minnesota-based freelance health writer. Her work has appeared in national outlets and medical institutions including Time, Women‘s Health, Self, Runner‘s World, Prevention, and more. She is an ACE Certified Personal Trainer and a Yoga Alliance Registered Yoga Teacher, and is trained in obesity management.