Coffee farming in Mexico is an activity of great economic, social, cultural, and environmental importance. One of the strategies for obtaining better prices is so-called "specialty coffees", whose quality is evaluated through the "cup of excellence" contest. The aim of this work was to identify if there are factors related to the quality of coffee, based on the data provided by this contest. Information was obtained for the period 2012 to 2019 (since the event was suspended in 2020), but given the heterogeneity in the data, exclusion, and inclusion criteria were applied, examining only the years 2017 to 2019. Descriptive analyses show that, in Mexico, the coffee producing states of Veracruz and Chiapas predominate the highest scores, possibly because they are regions with the highest presence of biodiversity, which favors the quality of the coffee. A simple linear regression model also noted that quantitative variables (altitude, temperature, and precipitation) do not affect cup quality. Finally, a square chi analysis showed that the factors that affect the score are the process and mixing of varieties, which establish differences in the sensory characteristics of coffee, observing dependence between the two. It is concluded that the latter influence the score, where the washing process is best suited for coffees with an extraordinary quality profile, as well as the use of one or three varieties (particularly Arabica type) and that environmental and site components do not have a decisive effect on coffee cup quality.