Biodiesel is a proven alternative fuel that can serve as a substitute for petroleum diesel due to its renewability, non-toxicity, sulphur-free nature and superior lubricity. Waste-based non-edible oils are studied as potential biodiesel feedstocks owing to the focus on the valorisation of waste products. Instead of being treated as municipal waste, waste coffee grounds (WCG) can be utilised for oil extraction, thereby recovering an energy source in the form of biodiesel. This study evaluates oil extraction from WCG using ultrasonic and Soxhlet techniques, followed by biodiesel conversion using an ultrasonic-assisted transesterification process. It was found that n-hexane was the most effective solvent for the oil extraction process and ultrasonic-assisted technology offers a 13.5% higher yield compared to the conventional Soxhlet extraction process. Solid-to-solvent ratio and extraction time of the oil extraction process from the dried waste coffee grounds (DWCG) after the brewing process was optimised using the response surface methodology (RSM). The results showed that predicted yield of 17.75 wt. % of coffee oil can be obtained using 1:30 w/v of the mass ratio of DWCG-ton-hexane and 34 min of extraction time when 32% amplitude was used. The model was verified by the experiment where 17.23 wt. % yield of coffee oil was achieved when the extraction process was carried out under optimal conditions. The infrared absorption spectrum analysis of WCG oil determined suitable functional groups for biodiesel conversion which was further treated using an ultrasonic-assisted transesterification process to successfully convert to biodiesel.Coffee is the world's second-largest traded liquid commodity, after oil, with approximately 8 million tons of coffee produced each year [13]. A large amount of heat energy is used to convert green coffee beans into brown roasted beans in the brewing process, generating large amounts of volatile organic compounds (VOCs) [14]. The enormous demand for this beverage also produces a large quantity of residual waste after brewing. Every 1 ton of coffee beans produces 650 kg of coffee residue after brewing, known as WCG [15]. The global coffee industry produced an estimate of 9.34 million tons of waste in 2017, which was either incinerated, dumped in landfills or composted [16]. Every year Australia produces an estimated 75,000 tonnes of used ground coffee waste, and 93% of cafes send their WCGs to landfill. The annual domestic coffee consumption in Australia has reached almost 1.9 million 60 kg bags. On average, Australians consumed around 1.92 kilograms of coffee per person in 2017 [17]. The grounds that are used to make coffee are used only once and then immediately discarded. With rising rates of consumption, waste residues from the coffee industry (by-products from harvesting, processing, roasting and brewing stages of coffee production and processing) represent a challenge to worldwide directives aiming to reduce landfill volume. The inherent toxicity of several constituents within coffee...