- To achieve the Paris climate protection goals there is an urgent need for action in the energy sector. Innovative concepts in the fields of short-term flexibility, long-term energy storage and energy conversion are required to defossilize all sectors by 2040. Water management is already involved in this field with biogas production and power generation and partly with using flexibility options. However, further steps are possible. Additionally, from a water management perspective, the elimination of organic micropollutants (OMP) is increasingly important. In this feasibility study a concept is presented, reacting to energy surplus and deficits from the energy grid and thus providing the needed long-term storage in combination with the elimination of OMP in municipal wastewater treatment plants (WWTPs). The concept is based on the operation of an electrolyzer, driven by local power production on the plant (photovoltaic (PV), combined heat and power plant (CHP)-units) as well as renewable energy from the grid (to offer system service: automatic frequency restoration reserve (aFRR)), to produce hydrogen and oxygen. Hydrogen is fed into the local gas grid and oxygen used for micropollutant removal via upgrading it to ozone. The feasibility of such a concept was examined for the WWTP in Mainz (Germany). It has been shown that despite partially unfavorable boundary conditions concerning renewable surplus energy in the grid, implementing electrolysis operated with regenerative energy in combination with micropollutant removal using ozonation and activated carbon filter is a reasonable and sustainable option for both, the climate and water protection