1. Home
  2. / Science and Technology
  3. / A city in southern Spain is making its sewage work for it: the Badajoz plant transforms wastewater into rich fertilizer for planting and into energy that powers the plant itself, without sending any waste out.
Reading time 6 min of reading Comments 0 comments

A city in southern Spain is making its sewage work for it: the Badajoz plant transforms wastewater into rich fertilizer for planting and into energy that powers the plant itself, without sending any waste out.

Written by Bruno Teles
Published on 07/05/2026 at 10:46
Updated on 07/05/2026 at 10:47
Be the first to react!
React to this article

The Badajoz station transforms dirty water into agricultural biofertilizers and bioenergy through a photobiorefinery considered unique in the world, developed in partnership with Aqualia, which uses solar radiation from Extremadura to convert urban sewage into reusable resources for agriculture and the station’s own energy supply.

The city of Badajoz, in the Extremadura region of southern Spain, has converted its sewage treatment plant into a model that transforms dirty water into two products with real economic value: biofertilizers rich in nitrogen, phosphorus, and potassium useful for sustainable agriculture, and bioenergy that powers part of the facility’s own operation. The innovation that differentiates Badajoz from other treatment plants in the world is the photobiorefinery incorporated into the station, a technology that combines bacteria, sunlight, and advanced biotechnological processes to extract nutrients and energy from dirty water that was previously only cleaned and returned to the environment without utilizing the waste generated in the process. The project, developed by the Badajoz city council in partnership with the company Aqualia over more than a decade of research, positions the city as an international reference in water innovation and circular economy, with facilities that those responsible for the project consider comparable only to the Brisbane station in Australia, in terms of integration between dirty water treatment and resource production.

Extremadura’s climate is a decisive factor for the technology’s operation. The region has one of the highest solar radiation indices in Europe, a condition that the photobiorefinery takes advantage of to intensify bacterial activity in dirty water treatment processes, accelerating the decomposition of organic matter and the capture of nutrients that will be converted into biological fertilizers. The abundance of sun makes Extremadura a strategic location for technologies that depend on natural solar energy, and the synergy between climate and biotechnology allows the Badajoz station to achieve efficiency levels that would be difficult to replicate in regions with lower solar incidence, a competitive advantage that the city intends to consolidate as a hub for the development of advanced solutions for water resource management.

How the Badajoz station transforms dirty water into fertilizer and energy

Badajoz station transforms dirty water into biofertilizers and bioenergy with a unique photobiorefinery in the world. Partnership with Aqualia and Extremadura sun.

The process that converts dirty water into reusable resources operates in stages that utilize each component of urban sewage. The photobiorefinery uses biological processes in which specialized bacteria consume the organic matter present in the dirty water and, with the aid of solar radiation penetrating the station’s reactors, accelerate the capture of nitrogen, phosphorus, and potassium dissolved in the sewage, nutrients that are then concentrated and processed to produce biofertilizers with a chemical composition suitable for agricultural use. The result is a biological fertilizer that can partially replace conventional chemical products in crops, reducing Extremadura farmers’ dependence on imported industrial inputs and closing a cycle where nutrients that left the soil through human food return to the soil through agriculture.

Bioenergy production is the second front for utilizing dirty water at the Badajoz station. The organic waste generated during biological treatment undergoes digestion processes that produce biogas, a fuel that the station uses to generate part of the electrical and thermal energy necessary for its own operation, reducing public grid electricity consumption and carbon emissions associated with the operation. The combination of biofertilizer production and bioenergy generation means that the Badajoz station is not just a sanitation infrastructure that spends resources to clean dirty water, but an installation that produces resources while cleaning, a reversal of logic that circular economy specialists point to as the future of urban treatment plants.

What makes Badajoz’s photobiorefinery unique on the international stage

The assertion that the Badajoz photobiorefinery is practically unique in the world is based on the specific combination of processes that the facility integrates. While there are wastewater treatment plants that produce biogas in several countries and others that recover nutrients for fertilizers, the integration of the two processes with a photobiorefinery powered by natural solar radiation in a single operational facility is what differentiates Badajoz from other projects, according to the plant’s managers. Brisbane, Australia, is cited as one of the few international examples with a comparable level of integration, which places a medium-sized city in Spanish Extremadura alongside capitals with much larger research budgets.

The development of the technology did not happen overnight. Research projects related to the photobiorefinery have been underway for over a decade in the partnership between the Badajoz city council and Aqualia, a period during which the technology was tested, adjusted, and scaled until it reached the level of maturity necessary to operate at a real wastewater treatment plant scale. The more than ten-year trajectory between initial research and commercial operation is relevant data for other cities considering investing in similar technologies: innovation in wastewater treatment is not a four-year political mandate project, but a long-term commitment that requires continuous investment and a stable technical partnership between public authorities and a specialized company.

What the circular economy has to do with how cities treat wastewater

The Badajoz plant is a concrete example of how the circular economy is changing the role that wastewater treatment plants play in cities. In the traditional model, the plant receives wastewater, expends energy to clean it, discards the solid waste generated in the process, and returns the treated water to the environment, an operation that consumes resources without producing anything beyond clean water. In the circular model that Badajoz implemented, the waste that was previously discarded is transformed into biofertilizers for agriculture, the energy that was previously purchased from the grid is now partially generated by the plant itself, and wastewater ceases to be a problem to be solved and becomes a raw material to be processed.

The European Union has been increasingly promoting projects related to circularity and environmental resilience in the water sector. The pressure on water and energy resources in Europe, exacerbated by recurrent droughts in the Mediterranean and rising energy costs, is accelerating the search for solutions that transform wastewater treatment plants into resource production centers, and Badajoz positions itself as a laboratory where this transformation is already in operation, not in the project phase. For Brazilian cities facing similar sanitation challenges and operating treatment plants with high energy costs and low waste utilization, the Badajoz model demonstrates that investing in circular economy technology can reduce operational costs, generate revenue from biofertilizers, and decrease the carbon footprint of urban sanitation.

What other cities can learn from Badajoz about wastewater treatment

The main lesson Badajoz offers is that wastewater treatment plants can be redesigned as productive infrastructure, not just sanitary. Cities that invest in photobiorefineries or equivalent technologies transform recurring expenses into investments with returns: the biofertilizers produced can be sold to local farmers, bioenergy reduces the plant’s electricity bill, and the reduction of carbon emissions generates credits that have financial value in regulated markets. The official inauguration of the Badajoz facility was attended by institutional representatives and environmental innovation specialists, a sign that the project is treated as a technological showcase by the Spanish administration.

The replication of the model depends on conditions that not all cities possess. The abundant solar radiation in Extremadura is a factor that specifically favors the Badajoz photobiorefinery, and regions with lower solar incidence would need to adapt the technology or compensate with alternative energy sources for biological processes, a limitation that does not invalidate the concept but requires engineering adapted to each climatic context. What is universalizable is the principle: treating wastewater does not have to be just a cost; it can be a source of resources that return to the local economy in the form of fertilizers for the fields and energy for the operation itself, a cycle that Badajoz has demonstrated to be viable after more than a decade of development and that other cities, including Brazilian ones, can study and adapt to their conditions.

And you, do you think Brazil should invest in treatment plants that transform sewage into fertilizer and energy? Leave your opinion in the comments.

Sign up
Notify of
guest
0 Comments
most recent
older Most voted
Built-in feedback
View all comments
Tags
Bruno Teles

I cover technology, innovation, oil and gas, and provide daily updates on opportunities in the Brazilian market. I have published over 7,000 articles on the websites CPG, Naval Porto Estaleiro, Mineração Brasil, and Obras Construção Civil. For topic suggestions, please contact me at brunotelesredator@gmail.com.

Share in apps
0
I'd love to hear your opinion, please comment.x