Spent coffee grounds, which are discarded in vast quantities every year, could serve as a feedstock for several types of more environmentally sustainable products. Scientists at Rovira i Virgili University in Spain have developed a way to extract oils from them for biodiesel production while preserving the remaining biomass for further processing into other fuels and chemicals.
The study was published in the journal Biomass and Bioenergy. Its authors noted that coffee waste contains around 15% lipids—fats that can be used as a feedstock for biodiesel production. Extracting the oil does not necessarily have to render the remaining material unsuitable for further use.
How to extract oil from coffee waste
The researchers examined how three parameters affect oil extraction efficiency: temperature, treatment duration, and the amount of solvent. They used n-hexane as the solvent, which is widely used to separate fats from other materials.
The optimal conditions were treatment at 45 °C for 60 minutes. This requires 35 milliliters of hexane for every gram of dry coffee grounds.
As a result, the scientists managed to extract around 90% of the amount of oil obtainable using the Soxhlet method, a standard laboratory extraction technique. The new approach also produced purer oil: impurities accounted for just 0.3%, compared with 3.9% when using the Soxhlet method.
The oil's chemical composition remained stable under different experimental conditions. Linoleic and palmitic acids made up the largest share. This composition makes the extracted oil a potential feedstock for biodiesel production.
What can be made from the remaining coffee grounds
An important feature of the approach is that the coffee waste retains its potential for further processing after oil extraction. The scientists aimed to preserve its lignocellulosic structure—the framework of plant material, consisting of cellulose, hemicellulose, and lignin.
These components can serve as feedstocks for producing bioethanol, lactic acid, polyhydroxyalkanoates, phenolic compounds, and substances used to make more environmentally sustainable aviation fuel.
Moreover, removing fats may make the grounds easier to process later. Oils can create a barrier that prevents solvents and catalysts from reaching other useful components of the plant material. Extracting them makes the remaining biomass more accessible for subsequent processing.
The technology thus allows coffee waste to be used in stages: first extracting oil for biodiesel, then processing the residue into other fuels and chemical products.
Why the scientists chose conventional extraction
The researchers also compared conventional treatment with more complex oil extraction methods that use ultrasound and microwaves. Although these technologies can speed up the initial stages of the process, overall they did not offer sufficiently substantial advantages.
The comparison considered the purity of the extracted oil, extraction efficiency, energy consumption, and the potential for scaling up production. Taken together, these parameters showed that conventional batch extraction using n-hexane at a moderate temperature was the more balanced option.
The authors see the approach as potentially useful for biorefineries, where organic waste is converted into fuels, chemicals, and other products. The researchers hope it will both reduce the amount of coffee waste and broaden the feedstock base for producing renewable fuels and bio-based chemicals.










