For those of you who’ve just arrived in Barcelona, you might be like me, amazed by the city’s beauty and energy every day. But today, I discovered an even cooler, almost cyberpunk secret hidden right beneath our feet—specifically, in the sewers of the University of Barcelona! That’s right, you read that correctly. That place that might sound a bit… smelly is actually a goldmine of information.
I recently learned about wastewater at Spanish universities and discovered that the University of Barcelona has a dedicated research group called the ‘Water and Soil Quality Research Group.’ They are engaged in a fascinating long-term project: wastewater-based epidemiology. Simply put, they analyze chemical substances in the city’s wastewater to monitor the public health and lifestyle habits of the entire community in real-time. This is far more accurate than traditional surveys because, well, data doesn’t lie.

So, what exactly are they looking for? Everything we consume daily, whether it’s food, medicine, or other substances, eventually passes through our bodies and leaves metabolites in the sewage system. These researchers search for these trace chemical ‘fingerprints’ in the wastewater. For example, caffeine and nicotine levels can reflect lifestyle patterns; metabolites of drugs like cocaine and cannabis can help estimate community-level substance use; and even traces of antidepressants can indirectly indicate the mental health stress in a particular area. The entire process is completely anonymous, focusing on community trends rather than individual privacy.
What Can Wastewater Data Tell Us?
This technology might sound a bit abstract, but its applications are very concrete. I’ve put together a simple table to show you just how powerful it is:
| Detected Substance | Revealed Information |
| Viral genetic material | Early warning signals for community virus transmission |
| Drug metabolites | Real trends and scale of urban drug consumption |
| Alcohol metabolites | Drinking levels during holidays or large events |
| Prescription drug residues | Regional medication habits and public health status |
| Industrial chemicals | Tracking and locating sources of environmental pollution |
One of the most famous applications of this technology was during the COVID-19 pandemic. By monitoring the concentration changes of the coronavirus in wastewater, the UB research team could predict an outbreak or a decline days or even a week before clinical diagnoses confirmed it, buying precious response time for public health authorities. It’s truly our city’s ‘health barometer.’ I find it amazing that science can turn the most inconspicuous wastewater into a guardian for the city. What do you think—is this technology cool or a bit unsettling? Anyway, I’ll feel a sense of ceremony every time I flush the toilet from now on.