Foodborne pathogens are perpetual threats to human and animal health. Detection of pathogens requires accurate, sensitive, rapid and point-of-care diagnostic assays. In this study, we described a simple and sensitive electrochemiluminescent (ECL) assay to detect the deadly bacteria Escherichia coli O157:H7 by [Formula: see text]-coated ZnO nanorods arrays (NAs). The [Formula: see text]-coated ZnO NAs were fabricated by immobilizing [Formula: see text] on ZnO NAs with a large specific surface area and good conductivity. An [Formula: see text]-2-(dibutylamino)-ethanol (DBAE) system coated on ZnO NAs exhibits high ECL intensity, rapid response and good stability. This system was further developed as an ECL immunosensor used in the detection of E. coli O157:H7. The proposed ECL immunosensor exhibits a broad detection range within the scope of 200-100 000 CFU ml-1 and quite a low detection limit of 143 CFU ml-1. The high specificity, remarkable reproducibility and good stability offer a sensitive, selective, and convenient pathway for detecting E. coli O157:H7 in the field of food safety and clinical diagnosis.