We describe a protocol for colorimetric detection of E. coli using a modified litmus test that takes advantage of an RNA-cleaving DNAzyme, urease, and magnetic beads.