What a "code brown" actually is
"Code brown" is the informal name pool staff use for a fecal accident in the water — most often a young child, but sometimes an adult. When it happens, trained staff follow a specific protocol: clear the pool, remove what they can, and treat the water before anyone swims again. It looks dramatic, but it's simply infection control, and it exists because shared swimming water is a surprisingly efficient way to spread certain germs.
Why one accident shuts the whole pool
It seems like overkill to close an entire pool over a small accident. The reason comes down to a single, stubborn organism. Most germs that end up in pool water — the bacteria behind many stomach bugs — are killed by properly maintained chlorine within minutes. But Cryptosporidium (often shortened to "crypto") is different. This microscopic parasite, common in human stool, has a tough outer shell that lets it survive in correctly chlorinated water for days.
That means a quick skim and a splash of chlorine isn't enough. To be confident the water is safe, staff must raise the chlorine level and hold it there long enough to inactivate any crypto that may be present. Crypto is one of the most common causes of swimming-related illness outbreaks, and it spreads when someone swallows contaminated water. We cover the broader picture in recreational water illness prevention.
How long the closure lasts
Not every accident is treated the same, because the risk depends on what kind it is.
A formed (solid) stool is lower risk. Public-health guidance from the CDC's Model Aquatic Health Code calls for removing it promptly and disinfecting — typically raising free chlorine and holding it for roughly 30 minutes before reopening. Annoying, but relatively short.
A diarrheal accident is much higher risk, because diarrhea is exactly how crypto spreads and disperses germs widely. This requires a far longer hyperchlorination period — potentially many hours — to reach the level needed to inactivate crypto. That's why a diarrhea incident can close a pool for the rest of the day. The long wait is the pool protecting every swimmer, including your own kids.
What swim diapers really do (and don't)
Swim diapers are essential, and also widely misunderstood. A swim diaper or reusable swim pant is designed to contain solid stool and slow a leak long enough for an adult to react. That containment genuinely reduces accidents and is why most pools require them for children who aren't reliably potty-trained — some require a double layer for the very youngest.
What a swim diaper is not is watertight. It won't stop diarrhea, and it won't keep dissolved germs out of the water. Think of it as a helpful barrier, not a seal. That's the whole reason pools pair diaper rules with frequent breaks and quick changes rather than relying on the diaper alone. For more, see swim diapers for baby swim class.
How families prevent accidents
Closures are frustrating, and most are preventable with a few simple habits:
Frequent bathroom breaks. Take young children to the toilet on a schedule, before they say they need to go. Kids absorbed in play often wait too long.
Check and change often. Check swim diapers every 30 to 60 minutes and change them the moment they're soiled — always in a bathroom or changing area, never at the poolside, where germs can spread to surfaces and water.
Keep sick kids home. Anyone with diarrhea should stay out of the water for at least two weeks after symptoms stop, because crypto can keep shedding after a child feels better. This single rule prevents most outbreaks.
Teach kids not to swallow pool water. Illness spreads by ingestion, so "don't drink the pool" is a real safety lesson. Reinforce it with the other habits in our public pool hygiene guide.
Why a closure is a good sign
It's worth reframing the groan-inducing closure: a pool that closes and treats the water after an accident is a pool that's doing its job. The alternative — ignoring it and letting everyone keep swimming — is how outbreaks happen. When you see staff follow the protocol, that's evidence of a well-run facility that takes your family's health seriously. The same goes for a pool that strictly enforces swim-diaper and break rules.
The bottom line for parents
A "code brown" closure isn't bureaucratic overcaution — it's a precise response to a real germ that chlorine can't kill quickly. Solid accidents mean a short disinfection wait; diarrhea means a long one, because crypto is that tough. Swim diapers help but don't seal, so the real prevention is in your hands: regular bathroom breaks, frequent changes away from the water, keeping sick kids home, and teaching kids not to swallow the water. Follow those, support the lifeguards when they clear the pool, and everyone gets cleaner, safer water to enjoy. For shared-water rules overall, see our community pool safety rules.
Frequently Asked Questions
Why do pools close after a fecal accident?
Because some germs found in stool, especially the parasite Cryptosporidium, can survive in properly chlorinated water for a long time. After a solid stool accident, the CDC recommends raising chlorine and holding it at a set level for a period to disinfect; for diarrhea, the closure is much longer. Closing and treating the water protects every swimmer from recreational water illness.
How long does a pool stay closed for a code brown?
It depends on the type of accident. A formed stool is lower risk and typically requires removing it and disinfecting for around half an hour at a raised chlorine level before reopening. A diarrheal accident is far higher risk and can require many hours of elevated chlorination because of crypto, so closures can last much of a day.
Do swim diapers prevent contamination?
They help but do not seal. Swim diapers and reusable swim pants contain solid stool and slow leaks, which reduces accidents, but they are not watertight and do not stop diarrhea or dissolved germs from entering the water. That is why many pools require swim diapers, sometimes two layers for the youngest children, alongside regular bathroom breaks.
Why doesn't chlorine kill all germs instantly?
Chlorine kills most germs within minutes, but Cryptosporidium has a tough outer shell that lets it survive for days even in correctly chlorinated water. That single hardy parasite is the main reason fecal accidents trigger long closures and elevated chlorine treatment rather than a quick wipe-up.
How can families prevent fecal accidents at the pool?
Take young children on frequent bathroom breaks, check and change swim diapers away from the water every 30 to 60 minutes, never change diapers poolside, keep anyone with diarrhea out of the water for at least two weeks after symptoms stop, and teach kids not to swallow pool water. These habits dramatically cut the risk of an accident and illness.