Foodborne diseases are a global health problem. Every year, millions of people die worldwide from these diseases. It has been determined that the high prevalence of these diseases is related to unfavorable socioeconomic conditions of the population. In this study, the relationship between foodborne diseases and socioeconomic conditions of the population was determined using principal component analysis as a multivariate statistical analysis technique. In this study, the socioeconomic variables of each Ecuador province and the prevalence of foodborne diseases (hepatitis A, salmonella, shigellosis and typhoid fever) during the years 2018 and 2019 were considered. The results show the relationship between foodborne diseases and the socioeconomic conditions of the population, as well as identifying regions more vulnerable to present high levels of prevalence of foodborne diseases, thus facilitating the implementation of social investment programs to reduce the prevalence of these diseases.