KezdőlapEnglishSpent coffee grounds biofuel: one hour at 45 °C is enough to...

Spent coffee grounds biofuel: one hour at 45 °C is enough to turn coffee oil into a biodiesel feedstock

If you like our site, mark us as a preferred source on Google — so you’ll see our articles more often in search!

★Mark us as a preferred source

The grounds left over from the morning coffee usually end up in mixed waste, yet around 15% of their dry mass is oil that could be turned into biodiesel. Chemical engineers at the Universitat Rovira i Virgili (URV) in Tarragona, Spain, have systematically examined how to produce a spent coffee grounds biofuel feedstock without wasting the rest of the plant material. Their study, published in Biomass and Bioenergy, shows that under moderate conditions and in just one hour, around 90% of the oil obtainable with the laboratory reference method can be recovered – in a much purer form.

In short: A spent coffee grounds biofuel feedstock can be obtained by simple batch hexane extraction: at 45 °C, in 60 minutes and with 35 ml of solvent per gram, around 90% of the extractable oil is recovered. The oil is purer than that obtained with the conventional Soxhlet method, and the defatted grounds keep their cellulose, hemicellulose and lignin intact, so they can also be used to make bioethanol or aviation fuel precursors.

How much coffee waste is generated, and what does it contain?

According to the International Coffee Organization, global coffee bean production is around 10 million tonnes a year. Only about a tenth of the coffee cherry ends up in the cup; the rest is solid residue, roughly half of which is spent coffee grounds – more than 6 million tonnes a year. Europe is the largest importer, consuming about 30% of the world’s coffee. Most grounds are landfilled, where their decomposition releases methane.

The researchers studied grounds from 100% Arabica coffee served at their campus cafeteria. The freshly collected material contained about 50% water, so it was dried the same day at 40 °C for 72 hours to prevent mould, then sieved to a particle size below 0.5 mm. The composition of the dried grounds:

  • lignocellulosic matrix: 30.9% hemicellulose (about 80% of it mannose, typical of galactomannans), 17.9% lignin and 8.8% cellulose;
  • extractives: 5.1% water-soluble and 19.3% ethanol-soluble components;
  • other: 6.2% ash (mainly sodium, potassium, magnesium and calcium) and an estimated 11.9% protein – a value that may be slightly overestimated because of caffeine and other nitrogen-containing compounds.

A 24-hour Soxhlet extraction with hexane yielded 16.6% oil; this was taken as the total oil content and used as the benchmark for all other methods.

We have covered the potential of coffee waste before: researchers have developed a biodegradable thermal insulation material from coffee waste, and a Chinese team used a coffee-ground-based catalyst to convert toxic hydrogen sulphide into harmless sulphur.

Spent coffee grounds biofuel: finding the optimum

The study focused on three operating parameters: temperature (25, 45 and 68.7 °C, the latter being the boiling point of hexane), solvent-to-solid ratio (20, 35 and 50 ml/g) and extraction time (30, 60 and 90 minutes). The researchers used a full three-level factorial design: all 27 combinations were run twice in random order, giving 54 measurements in total. Each run used about 2 grams of dried grounds stirred with hexane under a reflux condenser.

The statistical model explained 95.2% of the variability in the results. Temperature had the strongest effect, followed by time and, to a lesser extent, the solvent ratio. The factors do not act independently, however: the temperature–time and temperature–ratio interactions were significant, as was the three-way interaction. In practice, this means the optimum can only be found by studying the parameters together, not by tuning them one at a time.

Measured oil yields ranged from 8% to 15%. The best result came from 45 °C, 60 minutes and 35 ml/g, which recovered about 90% of the Soxhlet yield – roughly 15% oil relative to the dry mass of the grounds. After one hour the system had essentially reached equilibrium, and longer treatment brought no further gain. The solvent ratio was not linear either: with too little hexane the solution saturated quickly, while excess hexane did not increase the yield proportionally.

Why heating to the boiling point does not help

Between 25 and 45 °C the yield rose steadily, because warmer solvent is less viscous and the lipids diffuse faster out of the porous particles. Near the boiling point of hexane, however – especially with 90-minute runs – the yield dropped.

The researchers explain this through the solvent’s changing dissolving power. The Hildebrand solubility parameter of hexane is 14.9 MPa½ at 25 °C but only 13.8 MPa½ at 68.7 °C. Since the main components of coffee oil sit around 19–20 MPa½, heating widens the gap between solvent and solute, so dissolution becomes less effective. In hot, less dense solvent, some oil may even be reabsorbed into the pores of the particles. 45 °C is therefore a compromise between fast mass transfer and good solvent affinity – and it also needs less energy than heating to boiling.

Purer oil with a stable fatty acid profile

The researchers analysed the fatty acid composition of the extracted oil by gas chromatography at 16 settings, chosen mainly around the optimum. This matters because the fatty acid profile determines the cetane number, oxidation stability and cold-weather behaviour of the resulting biodiesel. The composition was virtually identical under all conditions: about 44% linoleic, 35% palmitic, 8% oleic and 7% stearic acid. The yield drop near the boiling point is therefore caused by physical and thermodynamic limits, not by thermal degradation of the oil.

Harsher conditions (90 minutes or near-boiling temperatures) did, however, increase the share of compounds that cannot be converted into fatty acid methyl esters (FAME) and so cannot become biodiesel. These include the coffee-specific diterpenes cafestol and kahweol, and sterols. With the optimised process, this non-FAME fraction amounted to only 0.3% of the dry mass of the grounds, compared with 3.9% for Soxhlet extraction. The one-hour treatment at 45 °C thus delivered not only the most oil but also the purest.

The defatted grounds are not waste either

A key aim of the study was to show that oil extraction does not ruin the other valuable components. The polysaccharide fraction (cellulose and hemicellulose) remained essentially unchanged across the whole parameter range. Lignin proved more sensitive: the amount retained was highest at 45 °C and declined near the boiling point and with longer treatment, probably because less condensed lignin fragments partly dissolved. More solvent mitigated this effect, as the larger liquid mass heats up more slowly.

After the optimised process, the lignin share of the defatted grounds stayed above 20%, compared with only 17.9–19.4% after Soxhlet or ultrasound-assisted extraction. Removing the oil also acts as a pretreatment: lipids form a diffusion barrier that blocks solvents and catalysts from reaching the fibrous structure, hampering sugar recovery and lignin fractionation.

According to the authors, this opens the way to cascaded biorefinery use:

  • the cellulose and hemicellulose in the defatted grounds can be fermented into bioethanol, lactic acid or polyhydroxyalkanoate (PHA) bioplastics;
  • the lignin can be converted into sustainable aviation fuel (SAF) precursors or phenolic compounds.

It is important to note that the current study did not test these downstream steps experimentally – it demonstrates that the feedstock remains suitable for them.

Ultrasound and microwaves: faster, but not better

The researchers also compared the optimised batch process with intensified methods. Microwave-assisted extraction reached 12.5% in 5 minutes and 14.7% after 20 minutes; ultrasound-assisted extraction reached 12.5% in 15 minutes and 14.3% after 30 minutes. In both cases a rapid initial gain was followed by a plateau, meaning that here too the process is limited by equilibrium, not kinetics.

The oil from the intensified methods also contained more non-FAME material, and both technologies are complex and energy-intensive to scale up. The authors conclude that a shorter extraction time alone does not justify them: batch hexane extraction under moderate conditions offers the best balance between yield, purity, energy demand and scalability.

An expert view: what is still needed for industrial scale?

Using coffee grounds as fuel is not a new idea. The URV study’s novelty is its cascading approach: it treats oil extraction not as the end goal but as the first step of a complete biorefinery chain. From a waste management perspective, however, several questions remain open:

  • Laboratory scale: the experiments used 2-gram samples of grounds from a single coffee at a single cafeteria. Mixed grounds of different roasts and origins may behave differently.
  • Moisture and drying: fresh grounds are about 50% water and go mouldy quickly. The energy needed for drying – together with collection logistics – is likely to be one of the largest cost items in a real-world chain.
  • Solvent: hexane is fossil-derived, flammable and hazardous to health, but it is also the standard solvent of the vegetable oil industry, so recovery technology is mature. A ratio of 35 ml per gram means evaporating large volumes of solvent, and the energy balance of that step will be decisive.
  • Economics: the study contains no cost or life-cycle assessment, and the raw data are available only on request.
  • Separate collection: the largest and cleanest volumes of grounds are generated in hospitality, offices and catering kitchens. A 2023 survey in Hungary found that more than 14,000 tonnes of spent coffee grounds are generated in the country each year, and almost half of the hospitality businesses surveyed simply throw them away.

Even so, the research sets a useful benchmark: it shows in quantitative terms how coffee grounds can yield both a biofuel feedstock and reusable biomass, rather than one at the expense of the other. More of our coffee waste stories are collected under the coffee waste tag.


Spent coffee grounds biofuel – frequently asked questions

How are spent coffee grounds turned into biofuel?

The oil is first extracted from the grounds with a solvent and then converted into biodiesel by transesterification. The URV researchers used n-hexane, which dissolves non-polar fats well and is easy to recover thanks to its low boiling point. The extracted oil, rich in linoleic and palmitic acid, is a suitable biodiesel feedstock, while the defatted grounds can be used to make further biofuels.

How much oil can be extracted from spent coffee grounds?

Around 15–17% of the dry mass of spent coffee grounds is oil. In the study, a 24-hour laboratory Soxhlet extraction yielded 16.6%, which was taken as the total oil content. The batch hexane extractions tested gave yields between 8% and 15%, and the optimal setting recovered about 90% of the Soxhlet yield in just one hour.

Under what conditions is oil extraction from coffee grounds most efficient?

The most efficient setting was 45 °C, 60 minutes and 35 ml of hexane per gram. Temperature proved the most important factor: yield rose steadily between 25 and 45 °C but fell near the boiling point of hexane, because hotter solvent dissolves the main components of coffee oil less effectively. After one hour the system had essentially reached equilibrium.

Why is the optimised process better than Soxhlet extraction?

It is much faster, runs at a lower temperature and produces purer oil. Soxhlet extraction recovers slightly more oil in 24 hours, but its share of compounds that cannot become biodiesel was 3.9%, against only 0.3% for the optimised batch process. Soxhlet is also energy-intensive, semi-continuous and difficult to scale up industrially.

What can the defatted coffee grounds be used for?

The defatted grounds remain a valuable biorefinery feedstock. Their cellulose and hemicellulose can be fermented into bioethanol, lactic acid or PHA bioplastics, while their lignin can yield sustainable aviation fuel precursors or phenolic compounds. Removing the oil actually makes these steps easier, because fats block solvents and catalysts from reaching the fibrous structure.

Is the process ready for industrial use?

Not yet – the research was carried out at laboratory scale. The experiments used 2-gram samples of grounds from a single cafeteria, and the study includes no cost or life-cycle assessment. Before industrial use, the drying of wet grounds, the energy demand of solvent recovery and separate collection from hospitality businesses all need to be addressed.


🔗 Official sources and references: 👉

Consistent structure, quick answers: every article is built so that both readers and AI search tools can find the key points easily. Our content is produced with the help of AI tools and reviewed by our editor.

Ladányi Roland
Ladányi Rolandhttp://envilove.hu
Roland Ladányi is an environmental professional and waste management expert dedicated to promoting sustainability and the circular economy. As the founder and driving force behind the dontwasteit.hu platform, he provides up-to-date news, in-depth analysis, and practical solutions aimed at shaping an environmentally conscious mindset. His work focuses on waste reduction and efficient resource management, bridging the gap between technical expertise and clear, accessible public communication.
OLVASS TOVÁBB