Chemical and petrochemical wastewaters contain a host of contaminants that require different treatment strategies. Regulation of macropollutants and micropollutants in the final discharge from industrial wastewater treatment plants (WWTPs) have become increasingly stringent in recent decades, requiring many WWTPs to be upgraded. This article presents an analysis of a WWTP treating petrochemicals in Porto Marghera, Italy, that recently was upgraded following legislative changes. Because of strict legal limits for macropollutants and micropollutants and a lack of space necessary for a full-scale WWTP overhaul, the existing activated sludge tank was converted into a membrane biological reactor. The paper presents experimental data collected during a five-month investigation showing the removal rates achieved by the upgraded plant for macropollutants (particularly nitrogen compounds) and micropollutants (heavy metals and organic and inorganic toxic compounds).