Measuring sustainability is a multi-attribute issue consisting of numerous variables that tend to be interrelated.The holistic perspective and the determination of said relationships, synergies and/or trade-offs, are aspects thathave been receiving close attention in the literature on the subject. This paper aims to develop an analysis thatconsiders these topics regarding the farming system in Almería, utilizing primary data obtained from surveysof a sampling of farmers and secondary data from the sector. A series of ecological, social and economic indicatorsare determined, following the framework of the Sustainability Assessment of Farming and the Environment(SAFE), and its subsequent aggregation using synthetic indexes. The estimation of interrelationships is carriedout by means of a multivariate analysis, considering the endogeneity between the sustainability dimensionsand the influence of several features of the agrifood system. The results reveal that the increase in the economicand social indicators reduces environmental pressures on the use of resources; in parallel, it can also be observedhow social and environmental improvements reveal positive effects on the economic dimension of the farmers.Overall, this study presents an analytical study that combines indicators at farm level and the effects related to theproductive activities surrounding agriculture.