3D Medical Animation by Hurd Studios depicting how cranberry juice prevents urinary tract infections. Most urinary tract infections are caused by the bacteria, e. Coli. The bacteria’s fimbriae attach to receptors on the bladder wall. Components in cranberry juice attach to the bacteria, preventing their attachment to receptors and thus preventing infection.