The discharge of wastewater into the sea causes damage to the coastline, bathing waters, and marine areas where the submarine outfalls used for this purpose discharge. These submarine outfalls may originate from Wastewater Treatment Plants (WWTPs, with complete treatment and high-quality effluent) that, for various reasons, are not reused on land, or from Wastewater Treatment Plants (WWTPs, with pre-treatment and/or primary treatment and lower-quality effluent). In addition to these "controlled" discharges, there may be "uncontrolled" discharges from wastewater pumping stations (WWPSs) located on the coastline, caused by failures or breakdowns (blockages, mechanical and electrical failures of the equipment) or by heavy rains that cause them to overflow, or other types of "uncontrolled" discharges into the sea, carried out with or without pipelines. Consequently, the biodiversity and natural balance of the sea and its seabed are affected by these discharges, as is the image projected to tourists and local users regarding the quality and management of the marine environment. While significant efforts have been made in recent years to reverse this situation, and data at the local, regional, and even national levels have improved considerably thanks to investments in Wastewater Treatment Plants (WWTPs) and Pumping Stations (PSSs), as well as the improvement and expansion of Wastewater Treatment Plants (WWTPs), there are still problem areas along the coastline that require attention. The Canary Islands have the longest coastline, along which approximately 500 wastewater discharge points into the sea are distributed. Of these, about 200 are direct discharges into the sea (without piping), and another 312 are discharged through pipelines to outfalls (submarine outfalls or emergency overflows from pumping stations), according to data from the Government of the Canary Islands. For its part, the Tenerife Hydrological Plan (PHIT) indicates that there are currently 89 wastewater pumping stations (EBARs) on the island, with 107 more planned for the future. In addition, there are 29 wastewater treatment plants (WWTPs) and 34 submarine outfalls (several with planned expansions) in operation, as well as 5 WWTPs and 10 submarine outfalls planned for the near future. This same PHIT foresees the construction of numerous wastewater conveyance and transport facilities to regional WWTPs, many of which are planned to operate using membrane bioreactor technology, thus increasing and improving the current treatment capacity. However, many EBARs and WWTPs receive wastewater with high salinity or a non-biodegradable component that prevents the biological treatments from operating efficiently. On the other hand, the economic and environmental costs of installing a network of pipelines to transport wastewater from existing pretreatment or pumping stations to regional wastewater treatment plants are a significant factor to consider. Furthermore, transporting this water to these plants means it cannot be treated or reused at the source, thus preventing the benefit of coastal communities. Analyzing these aspects, another option emerges for managing the problem of discharges that negatively impact the coastal landscape, the seabed, and bathing water quality: improving the existing network of discharge points (wastewater treatment plants and pumping stations) by incorporating more efficient treatment technologies. The current situation at many of these discharge points could be significantly improved with actions focused on reducing solids load, turbidity, and the presence of pathogens in the discharged water using more advanced technologies. In this regard, membrane filtration, a technology commonly used as an advanced treatment method for effluents from wastewater treatment plants where organic matter is typically degraded through aerobic biological processes, can be applied to concentrate this organic matter without degrading it, separating it from the effluent, which is primarily water. This liquid effluent, with a low organic matter content, can be of sufficient quality to be reused for irrigation, as demonstrated by previous laboratory work conducted by the applicant research group and by specialized literature, or it can be discharged with a significantly reduced environmental impact. The proposed project aims to develop and evaluate ultrafiltration (UF) using dynamic membranes with self-cleaning capabilities. These membranes are capable of retaining very small solids, including bacteria, present in domestic wastewater, generating an effluent that is less harmful to the receiving environment and, if the quality achieved is adequate, can even be reused. The stream concentrated in solids and organic matter could be used for energy recovery through anaerobic digestion or some other thermochemical process. The success of this proposal will depend on the sustainability of the membrane's operation. Membranes, due to constant exposure to various clogging substances, become fouled more or less irreversibly. To keep them clean for longer and maintain their permeability, turbulence promoters or chemicals are commonly used, but their efficiency can be limited under certain conditions. The development and evaluation of the self-cleaning UF membrane will be carried out on a demonstrative basis, incorporating a module already studied and validated for this same purpose at a laboratory scale. However, the change in scale from laboratory to semi-industrial necessitates studying the stability of the organic matter removal process obtained under different operating conditions (filtration flow rate, backwash flow rate, rotation speed, backwash assisted with aeration and/or rotation, etc.). The possibility of pre-clarifying wastewater before ultrafiltration is also being considered, in order to extend the process compared to direct ultrafiltration (UFD) of raw wastewater. The quality of the treated water will be evaluated in each case to determine its potential for reuse in gardens or parks located along coastal promenades and recreational areas. Finally, it is worth noting that recovering energy from concentrated organic matter can help minimize overall process costs, and this possibility should be explored.