The research aimed to carefully review the chemical hazards linked to the coffee production chain to analyse the risks and opportunities for consumers and the environment, as well as identify potential knowledge gaps. The Scopus database was consulted from 1949 to April 2024 to conduct a bibliometric analysis. As a result, 680 articles were analysed. Results indicated a significant increase in research activity since 2015. China, Brazil, and the USA were the leading countries in scientific production and collaborations. The most prolific journals in this field were Chemosphere, Science of the Total Environment, Food Chemistry, Journal of Agricultural and Food Chemistry, and Journal of Environmental Management, all of which are in the first quartile. The word analysis revealed two main themes: the first focuses on the chemical hazards of coffee and their impact on health, while the second explores the waste generated during coffee production and its potential for reuse. The topics covered in the research include the composition of coffee, associated chemical hazards, possible health risks, and ways to reuse waste for environmental protection. Future research should concentrate on optimising techniques and processes to ensure quality, safety, and sustainability.