Electrochemical sensors have a broad range of industrial applications due to their sensitivity, speed, and cost-effectiveness. These sensors enable the continuous monitoring and control of critical parameters in various industrial processes. For instance, they are essential in food safety, environmental monitoring, biomedical applications, and pharmaceutical production. In the food industry, electrochemical sensors facilitate the rapid and reliable detection of contaminants and pathogens in food products, thus enhancing product quality and consumer safety. An electrochemical sensor was developed with the molecularly imprinted polymer (MIP) technique to detect deltamethrin with high sensitivity and selectivity. The sensor was fabricated by electrodeposition of Co3O4 on indium tin oxide (ITO), followed by electropolymerization of o-phenylenediamine with deltamethrin as a template molecule. The template molecules were then removed from the modified electrode by a methanol. The MIP-based electrochemical sensor exhibited high sensitivity and selectivity towards deltamethrin. Under the optimized conditions, the LOD values for the MIP/Co3O4/ITO electrode in the first and second linear regressions were 1.53 nM for linear range of 2.82 nM to 56.5 nM and 0.34 μM for linear range of 0.25 μM to 3.98 μM. Moreover, the LOD values for the NIP/Co3O4/ITO electrode in the first and second regressions were 2.43 nM for the linear range of 3.91 nM to 65.0 nM and 726.0 nM for the linear range of 0.023 μM to 4.5 μM. The developed electrochromic pesticide sensor, being an electrochemical-based molecularly imprinted polymer (MIP) sensor incorporating electrochromic materials, enables both target-specific pesticide detection and visual pesticide identification based on color changes dependent on pesticide concentration. Consequently, this system is more advantageous compared to electrochemical-based MIP sensors, as it provides both qualitative and quantitative determinations. The qualitative assessment aims to enhance the ease of use of the sensor, thereby increasing the potential for it to become a commercially viable product by reducing the need for instrumental devices.