The development of nanofiber electrodes could lead to the efficacy of cleaning wastewater and could make it inexpensive, too.