Cell immobilization is an effective method to prolong the lifetime of a microorganism and has proven feasibility in some other biosensors. Thus, we studied the use of Escherichia coli immobilized by agar, gelatin, an agar/gelatin mixture, chitosan, and polyvinyl alcohol (PVA) to screen toxicity electrochemically. The E. coli immobilized by PVA gel showed the highest apparent bioactivity and the longest storage time in pH 7.0 phosphate-buffered saline solution. Furthermore, the E. coli immobilized by different gels was applied in the toxicity determination via a reported ferricyanide-mediated electrochemical method, where 3,5-dichlorophenol (DCP) was used as a model toxin. The E. coli immobilized by PVA showed the highest sensitivity to DCP, and the corresponding value of 50% inhibition concentration was 9.62 mg L . Inhibition concentrations were in the range of 6.32 to 13.75% when the E. coli immobilized by PVA was challenged by wastewater, which were comparable with values obtained with the standard luminescent bacteria method (effective inhibition were in the range 7.96-25.42% for the same samples). Given the apparent bioactivity, storage ability, and sensitivity to toxin, PVA was the best polymer to confine cells among the polymers used in the present study. Environ Toxicol Chem 2018;37:329-335. © 2017 SETAC.