Every single cup of coffee you brew leaves behind a wet, sludgy clump of grounds that almost always heads straight into the food waste caddy.
When you consider the millions of flat whites and espressos knocked back across the UK each day, that adds up to staggering piles of waste rotting away in landfill. Instead of treating those soggy dregs as pure rubbish, researchers have come up with a clever way to pull serious value out of the kitchen bin. They’ve figured out a gentle process to extract high-quality biofuel and valuable chemicals from spent grounds, all while keeping the remaining solid material completely intact so it can still be reused for things like soil nutrients or eco-friendly materials.
Coffee grounds are worth more than you’d think.
Those damp grounds sitting in your bin after brewing still carry a fair bit of oil inside them, oil that can actually be turned into biodiesel. Additionally, the leftover fibrous bits contain carbohydrates and other compounds that could be used to make things like renewable fuel, bioplastics and various industrial chemicals.
Given how much coffee the world gets through, roughly 10 million tonnes of beans every year, and only a fraction of each bean actually ends up in your cup, that leaves an enormous pile of leftover material getting thrown away daily. As it turns out, it’s nowhere near as useless as it looks.
There was a tricky balance that scientists had to solve.
Spent coffee grounds are roughly 15% oil, which makes them a promising source for biodiesel. But getting that oil out cleanly isn’t as simple as it sounds. Go in too hard with the extraction process, and you risk damaging the other useful stuff left in the grounds, things like cellulose and lignin, which are valuable in their own right for other purposes. So, researchers at a Spanish university set out to find the sweet spot, a method that pulls out as much oil as possible while keeping the rest of the material intact and usable for something else afterwards.
How they cracked the extraction process
The team tested different combinations of temperature, extraction time and the amount of solvent used, settling on hexane, a common solvent already used for separating fats and oils from other materials. After running through various combinations, they landed on a clear winner.
Heating the grounds to 45 °C for 60 minutes, using 35 millilitres of hexane per gram of dry grounds, turned out to be the ideal setup. This method managed to pull out around 90% of the oil that a standard, more intensive lab technique would extract, but using noticeably less time and energy to get there, making it a lot more realistic for actual industrial use.
The result was cleaner oil, with less mess to clean up afterwards.
The oil this method produced wasn’t just decent in quantity, it came out considerably cleaner too. It contained just 0.3% impurities, compared to nearly 4% using the older, more established extraction method. That matters because cleaner oil generally needs less extra refining before it’s ready to actually be turned into usable fuel.
The type of fat in the oil stayed consistent across every test as well, dominated by two specific fatty acids that make it well suited for biodiesel production. In short, not only did the process work efficiently, it also produced oil good enough to skip several extra processing steps down the line.
What’s left behind is just as important.
Here’s the really clever part, though: removing the oil doesn’t mean the rest of the coffee ground goes to waste afterwards. The researchers specifically designed their process to leave the plant-based structure of the grounds intact, meaning the cellulose, hemicellulose, and lignin inside remain usable for other things.
That leftover material can go on to become bioethanol, certain biodegradable plastics, and even ingredients used in sustainable aviation fuel. Stripping the oil out first might actually make those next steps easier, too, since oil sitting on the surface of the material can block solvents or enzymes from properly reaching the useful compounds hiding inside.
This simpler method beat the fancier options.
The team also tested a couple of flashier techniques, methods using ultrasound and microwaves, both of which can speed up how quickly oil gets released from the grounds. Neither one, though, offered a clear overall advantage once everything was factored in, purity of the oil, energy use, overall efficiency, and how realistic it would be to scale the process up for industrial production.
Because of that, the simpler hexane-based method won out as the more practical choice for larger scale operations, particularly ones aiming to squeeze multiple different products out of a single waste stream rather than just focusing on one output.
This could be relevant for industries that are hard to clean up.
This kind of approach could prove especially useful for powering industries that are notoriously difficult to electrify, like heavy transport and aviation. Rather than treating coffee waste as a single-purpose resource, a proper coffee ground processing facility could realistically pull multiple useful products out of nearly every part of the leftover material.
In doing so, an everyday waste product that mostly just piles up could instead be turned into a source of clean energy and useful chemicals, cutting down both the environmental headache of disposal and the world’s reliance on other, less sustainable fuel sources.



