We have developed a lab-on-a-chip (LOC) platform for electrochemical detection and degradation of the pesticide atrazine (Atz). It is based on boron-doped diamond (BDD) electrodes and a competitive magneto-enzyme immunoassay (EIA) that enables high sensitivity. To detect the enzymatic reaction, we employed a BDD electrode modified with platinum nanoparticles (PtNPs), as a highly conductive catalytic transducer. Chronoamperometry revealed a limit of detection (LOD) of 3.5 pM for atrazine, which, to the best of our knowledge, is one of the lowest value published to date. Finally, we degraded Atz in the same platform, using a bare BDD electrode that features remarkable corrosion stability, a wide potential window, and much higher O2 overvoltage as compared to conventional electrodes. These characteristics enable the electrode to produce a greater amount of HO• on the anode surface than do conventional electrodes and consequently, to destroy the pollutant more rapidly. Our new LOC platform might prove interesting as a smart system for detection and remediation of diverse pesticides and other contaminants.