
Spanish Researchers Make Farm Fertilizer from CO2 and Soil
Scientists in Spain have successfully built a system that produces fertilizer directly on farms using only renewable energy, carbon dioxide, and nitrates from the soil. The breakthrough could eliminate the need for energy-intensive fertilizer factories while turning pollution into something useful.
Imagine if farms could make their own fertilizer from the carbon dioxide in the air and nutrients already in their soil, all powered by sunshine and bacteria. That future just got a lot closer thanks to researchers in Spain who've been running exactly that kind of system all summer long.
The CONFETI project team from Barcelona's Autonomous University spent three years developing a fertilizer-making machine that sits right in the field where crops grow. Unlike traditional fertilizer factories that burn massive amounts of fossil fuels, this system runs on solar panels and special batteries powered by microbes living in the dirt.
The prototype in Viladecans has been producing urea, one of agriculture's most widely used nitrogen fertilizers, since spring. It works by combining carbon dioxide with nitrates through a chemical reaction inside a small reactor. The entire process happens on site, meaning farmers could eventually make fertilizer exactly when and where they need it.
Getting the technology out of the lab proved harder than the science itself. "The main challenge has been moving the device from the laboratory to an agricultural setting," explains Professor Gonzalo Guirado, who coordinated the project. The team had to ensure their equipment could handle real weather, from summer heat to heavy autumn rains.
The system actually tackles two environmental problems at once. It captures CO2, a greenhouse gas warming our planet, and removes excess nitrates from soil and water that crops don't absorb. Both pollutants get transformed into useful fertilizer instead of harming the environment.

The setup includes three key parts working together. The main reactor produces urea from CO2 and nitrates. The biobatteries generate electricity from organic matter and soil microbes while solar panels add extra power. A third component uses sunlight to convert nitrates into ammonia, another ingredient in fertilizer production.
The Ripple Effect
This invention could reshape how the world grows food. Traditional fertilizer manufacturing requires enormous facilities, burns fossil fuels, and ships products thousands of miles to reach farms. Local production would cut all that out while giving farmers more control over their supply.
The technology also offers hope for reducing agriculture's carbon footprint. Fertilizer production currently accounts for a significant chunk of farming's greenhouse gas emissions. A system that uses renewable energy and actually consumes CO2 flips that equation completely.
Rural communities could particularly benefit. Farmers in remote areas often struggle with fertilizer costs inflated by transportation. On-site production using free sunlight and soil bacteria could make farming more affordable and sustainable in places that need it most.
The research team continues studying how the prototype performs under different conditions. They need more data on technical reliability, environmental benefits, and whether the system makes economic sense before farmers can actually buy and use it. But the fact that it's already working in a real field, surviving real weather, and producing real fertilizer shows the concept works.
The researchers envision a future where every farm has its own small fertilizer maker, producing exactly what's needed without waste or storage problems. That day isn't here yet, but it's growing closer with every sunny day in Viladecans.
More Images




Based on reporting by Phys.org
This story was written by BrightWire based on verified news reports.
Building Something New? Try the BrightWire Tech Stack Advisor
Compare modern frameworks, cloud hosting, and AI tools tailored to your project budget and scale.
Spread the positivity!
Share this good news with someone who needs it


