Bioelectrochemical systems (BESs) have shown great potential in enhancing sulfamethoxazole (SMX) removal. However, electroactive biofilms (EBs) constructed with single potentials struggle due to limited biocatalytic activity, hindering deep SMX degradation. Here, we constructed a double-working potential BES (BES-D) to investigate its ability to eliminate SMX and reduce the levels of corresponding antibiotic resistance genes (ARGs). The preferable electrochemical activity of EB in BES-D was confirmed by electrochemical characterization, EPS analysis, physical structure and viability of the biofilm, and cytochrome content. BES-D exhibited a notably greater SMX removal efficiency (94.2%) than did the single-working potential BES (BES-S) and the open-circuit group (OC). Degradation pathway analysis revealed that the cooperative EB could accelerate the in-depth removal of SMX. Moreover, EB interaction in BES-D decreased the relative abundance of ARGs in biofilms compared to that in BES-S, although the absolute number of ARG copies increased in BES-D effluents. Compared to those in BES-S and OC, more complex cross-niche microbial associations in the EB of BES-D were observed by network analysis of the bacterial community and ARG hosts, enhancing the degradation efficiency of SMX. In conclusion, BES-D has significant potential for SMX removal and the enhancement of EB activity. Nonetheless, the risk of ARG dissemination in effluent remains a concern