A stool sample works by giving a lab a small amount of your bowel movement to analyze for signs of infection, inflammation, bleeding, or digestive problems. The process is straightforward: you collect a sample at home, deliver it to the lab, and technicians use a combination of microscopy, chemical tests, and DNA-based techniques to look for specific problems your doctor suspects. What they find (or rule out) depends on which tests were ordered.
How You Collect the Sample
Your doctor’s office or lab will give you a collection kit, which typically includes one or more small containers with screw-on lids. Some containers hold a liquid preservative inside. You’ll collect the stool at home, usually by placing a clean catch device (like a plastic “hat” or a sheet of plastic wrap) over the toilet bowl so the sample never touches toilet water. You then use the small spoon or scoop attached to the container lid to transfer stool into each vial, filling it to the marked line.
The most important rule is keeping the sample uncontaminated. Urine, toilet water, soap, and toilet paper can all invalidate results. You should urinate before collecting the stool, not during, and never scoop the sample from the toilet bowl itself. Recent use of antibiotics, bismuth-based diarrhea medications, enemas, laxatives, or barium contrast from an X-ray can also throw off results.
Storage and timing depend on what’s being tested. Samples for parasites and bacterial cultures are stable at room temperature and need to reach the lab within 72 hours. A sample being tested for C. difficile should be refrigerated if you can’t get it to a collection station within an hour, though it remains usable for up to three days refrigerated. Samples being checked for white blood cells need to arrive within one hour of collection, since those cells break down quickly.
What the Lab Looks For
A stool test isn’t one test. It’s a category of tests, and your doctor orders specific ones based on your symptoms. The most common reasons fall into a few groups.
- Infections. Labs test for bacteria like Salmonella, Shigella, Campylobacter, and toxin-producing E. coli, as well as parasites like Giardia and C. difficile (a common cause of severe diarrhea, especially after antibiotic use). A gastrointestinal pathogen panel can screen for multiple organisms at once.
- Hidden blood. A fecal occult blood test (or the newer fecal immunochemical test) detects blood you can’t see with the naked eye. This screens for lower GI bleeding from polyps, colorectal cancer, diverticulitis, or ulcerative colitis.
- Inflammation. Markers like calprotectin and lactoferrin measure how many white blood cells have migrated into the intestinal lining. These are especially useful for distinguishing inflammatory bowel disease (Crohn’s or ulcerative colitis) from irritable bowel syndrome, which doesn’t cause measurable inflammation.
- Malabsorption. A fecal fat test checks whether your body is properly absorbing dietary fat. Normal results for adults are 2 to 7 grams of fat per 24 hours, with fat making up less than 20% of the solid stool. Higher numbers suggest conditions like celiac disease or pancreatic insufficiency.
How Microscopy Works
Looking at stool under a microscope is one of the oldest and still most reliable methods. For a basic wet mount, a technician places a tiny smear of the sample on a glass slide, adds a drop of saline, and covers it with a coverslip. They may prepare a second smear stained with iodine, which makes certain structures easier to see. Scanning the slide at low magnification (10x), they look for parasite eggs, larvae, cysts, and the active feeding forms of protozoa. Anything suspicious gets examined at higher magnification.
For more detailed identification, labs prepare permanently stained slides. The technician spreads a thin, even layer of stool across the slide, processes it through a staining procedure, then examines at least 200 to 300 fields under 100x oil immersion, the highest magnification available on a standard microscope. This level of scrutiny is what lets them distinguish between species that look similar at lower power. For certain parasites like Cyclospora, labs use ultraviolet fluorescence microscopy. The oocysts glow an intense blue under UV light, making them far easier to spot than under normal bright-field viewing.
How DNA-Based Testing Works
When microscopy can’t make a definitive identification, or when the lab needs to screen for many pathogens quickly, molecular testing takes over. The workhorse technique is PCR (polymerase chain reaction), which works by copying tiny fragments of a pathogen’s DNA millions of times until there’s enough to detect.
The lab first extracts DNA from the fecal sample. In conventional PCR, they add short stretches of synthetic DNA called primers that match a sequence unique to the target organism. A heating-and-cooling cycle causes the machine to copy that DNA segment over and over. The amplified DNA is then separated on a gel, where it shows up as a visible band if the pathogen is present.
Real-time PCR is faster because it monitors the copying process as it happens. The machine measures a fluorescent signal that grows stronger with each cycle as more DNA accumulates. One method uses a dye that glows when it binds to double-stranded DNA. Another uses specially designed probes that release a fluorescent signal only when the target DNA is being copied. Both approaches deliver results in under an hour for some tests, compared to the days required for traditional bacterial cultures.
Gastrointestinal pathogen panels use this technology to test for dozens of bacteria, viruses, and parasites simultaneously from a single sample. For C. difficile specifically, labs may first run a rapid antigen test that detects an enzyme the bacterium produces, then confirm with PCR or a toxin-specific test that identifies the actual disease-causing toxins (toxin A, toxin B, or both).
How Inflammation Markers Are Measured
When your doctor suspects inflammatory bowel disease, the stool sample goes through an immunoassay rather than a microscope. Calprotectin is a protein released by white blood cells. When the intestinal lining is inflamed, white blood cells flood into the gut wall, and calprotectin spills into the stool in measurable quantities.
The diagnostic threshold is 50 micrograms per gram of stool. Below that level, IBD is considered unlikely because the test is highly sensitive: it catches nearly all true cases. A result above 50 doesn’t automatically mean IBD, but it strongly suggests real intestinal inflammation rather than the functional discomfort of irritable bowel syndrome. In children, doctors sometimes use a higher threshold of 250 micrograms per gram combined with blood tests to increase accuracy and avoid unnecessary colonoscopy. Lactoferrin, another white blood cell protein, works on the same principle and is sometimes tested alongside or instead of calprotectin.
How Long Results Take
Turnaround varies widely depending on the test. Rapid antigen tests for C. difficile can produce results in under an hour. Real-time PCR panels for gastrointestinal pathogens typically come back within one to three days. Traditional bacterial cultures, where the lab grows organisms on nutrient plates and waits for colonies to appear, can take two to three days or longer. Ova and parasite exams involving microscopy usually take one to three days as well, though your doctor may ask you to submit multiple samples collected on different days, since parasites shed intermittently and a single sample can miss them.
Fecal fat testing for malabsorption requires collecting all stool produced over a 72-hour period, making it the most involved collection process. You’ll need to eat a specific amount of dietary fat during those three days so the lab can measure how much passes through unabsorbed.

