Bacteria communicate with each other, in their surrounding medium, through the generation of chemical signaling molecules, chemotactic particles, or a pheromone known as quorum sensing (QS) molecules. It has been reported that there is a direct correlation between the chemical signaling molecules and bacterial concentration [1, 2]. In addition, the bacteria use the QS not only in communicating but also in regulating/synchronizing the expression of numerous genes that are necessary for bacteria to function as a community [3, 4]. Biofilms are defined as microbial communities characterized by bacterial cells that are attached to a substrate. These cells, when attached to a substrate, aggregate within a matrix of extracellular polymeric substances (EPS) that they produced, and exhibit variable phenotypes that influence the growth rate and gene replication [5, 6]. Key nutrients availability [7], chemotaxis in the surface direction [8], bacterial movement [9], attachment to the surface, and surfactant existence [10] are some impacts that affect the formation of the biofilm. Typically, Gram-negative bacteria generate a chemical signal molecule known as N-acylated homoserine lactones (AHLs). Recently, researchers discovered a valuable pathway to monitor bacterial activities and colony settlement size through the assessment of the AHLs [13–16]. Sulfate-reducing bacteria (SRB) as a group of Gram-negative bacteria have been recognized as one of the most harmful bacteria for iron metals utilized in oil and gas fields. [16, 17]. SRB induce microbially influenced corrosion (MIC) for iron metals by producing corrosive metabolites such as hydrogen sulfide gas (H2S), assumed electrochemical (cathodic depolarization) and microbial colonization (biofilm formation) [17]. SRB produce many AHLs including N-hexanoyl homoserine lactone (C6-HSL) and N-dodecanoyl homoserine lactone (C12-HSL [16]. Many efforts have been paid to detect SRB-AHLs signals to detect and inhibit such microbial communities. Many conventional techniques such as HPLC-MS/MS [18], HPLC/ESI-MS [19], LC-MS [20], GC–MS [21], and other chromatographic examinations are considered inadequate techniques due to they consume time and display a high cost [13, 14]. It has been noted that; few researchers were focused on the detection of SRB-biofilms using smart devices like sensors. In the last decade, a simple non-destructive technique like electrochemical impedance spectroscopy (EIS) was employed for this purpose [23]. The EIS has been employed to detect AHLs using a working electrode (WE) produced by a screen-printed electrode (SPE) technique [14]. The WE is fabricated based on metals [24], metal oxides (MOx) [13, 14] or metal/ metal oxide combination [25] which be utilized alone or embedded in a polymer matrix and/or one of the carbon forms materials. The research studies confirmed this method's accuracy, rapid response, and sensitivity for estimating the chemical signals resulting from bacterial assemblies compared with other electrochemical methods [14, 15, 26]. MOx including Zinc oxide (ZnO) [27], and Ferric oxide (Fe2O3) [1] displayed a good performance to sense the AHLs with high sensitivity, fast response, and ease to integrate into compact electronic devices like SPE. However, the MOx-based sensors suffered from low-limited selectivity [28] and confliction measurement with other dissolved ions in formation water as well as it is operated under a high-temperature process (> 100°C) [29]. Conductive polymers (CPs) are considered a successful alternative material to the MOx as a sensitizer of organic molecules [30, 31]. Indeed, the CPs present the advantages of easy preparation through chemical or electrochemical procedures, and they can sense the selective ion in various medium (basic, acidic, and neutral) at room temperature. Nevertheless, their long-term stability due to a moisture uptake need to be improved [32–35]. Conducting polyaniline (PANI) showed great potential in the field of electrochemical applications including sensors, biosensors, and supercapacitors. This can be attributed to its superlative characteristics, including its affordability, strong stability, electrical conductivity, and widespread availability [36–39]. In this article, promising nanomaterials with a high sensitivity to C6-HSL molecules were prepared depending on divalent nano metal oxides represented in ZnO and Fe2O3 doped in CPs matrix, polyaniline-dodecylbenzene sulfonic acid (PANI-DBSA). Afterwards, the synthesized composites were confirmed structurally and surface morphologically using several analyses including such as FT-IR, Raman, XRD, SEM, HR-TEM, GPC and DLS. The fabricated sensors were evaluated under the environmental conditions of oil wells infected with SRB by the EIS. In addition, the SRB-biofilm was detected by evaluating the corrosion rate (CR) of the carbon steel at ambient conditions and the results were confirmed with compatible colorimetric analysis.