In this work, 5‐ferrocenyl‐dipyrromethane (Fc‐DPM) synthesized from the pyrrole and ferrocenecarboxaldehyde condensation was electrochemically deposited on a gold (Au) electrode and used to remove metal ions found in rural waters. The structural analysis of Fc‐DPM was recorded by means of nuclear magnetic resonance (NMR) techniques. The Fc‐DPM was electrochemically coated on an indium tin oxide‐polyethylene terephthalate (ITO‐PET) surface, and the resulting Fc‐DPM/ITO‐PET was characterized using scanning electron microscopy (SEM)–energy dispersive X‐ray (EDX) analysis. The heavy metal and mineral content of four real water samples from the same rural area were determined by inductively coupled plasma mass spectrometry (ICP‐MS) before and after electrochemical removal. The proposed Fc‐DPM/Au electrode was successfully applied for aluminum ion (Al3+) and barium ion (Ba2+) removal for the first time, and the limit of detection (LOD) was calculated as 0.003 and 0.217 ppb for Ba2+ and Al3+, respectively.