This study addresses the pressing issue of bilge water pollution from ships, a highly oily and hazardous wastewater source. The research employs the electrooxidation/flotation process, known for its effectiveness in organic matter removal. Key parameters, such as initial pH, current density and flow rate, were investigated for their impact on the removal of chemical oxygen demand (COD) and oil‐grease (OG) from bilge water. Initial pH showed minimal effects on COD and OG removal, while current density significantly enhanced removal efficiency by influencing anodic electrochemical reactions. Conversely, higher flow rates reduced residence time and lowered removal efficiency. Optimal conditions, with a current density of 10 mA/cm2, pH 7.5 and a flow rate of 20 ml/min, achieved impressive results, removing approximately 80% of COD and 99% of OG from bilge water. These findings highlight the potential of this method for effective bilge water purification.