The surging demand for commodity crops has led to rapid and severe agricultural frontier expansion globally and has put producing regions increasingly under pressure. However, knowledge about spatial patterns of agricultural frontier dynamics, their leading spatial determinants, and socio-ecological trade-offs is often lacking, hindering contextualized decision making towards more sustainable food systems. Here, we used inventory data to map frontier dynamics of avocado production, a cash crop of increasing importance in global diets, for Michoacán, Mexico, before and after the implementation of the North American Free Trade Agreement (NAFTA). We compiled a set of environmental, accessibility and social variables and identified the leading determinants of avocado frontier expansion and their interactions using extreme gradient boosting. We predicted potential expansion patterns and assessed their impacts on areas important for biodiversity conservation. Avocado frontiers expanded more than tenfold from 12,909 ha (1974) to 152,493 ha (2011), particularly after NAFTA. Annual precipitation, distance to settlements, and land tenure were key factors explaining avocado expansion. Under favorable climatic and accessibility conditions, most avocado expansion occurred on private lands. Contrary, under suboptimal conditions, most avocado expansion occurred on communal lands. Large areas suitable for further avocado expansion overlapped with priority sites for restoration, highlighting an imminent conflict between conservation and economic revenues. This is the first analysis of avocado frontier dynamics and their spatial determinants across a major production region and our results provide entry points to implement government-based strategies to support small-scale farmers, mostly those on communal lands, while trying to minimize the socio-environmental impacts of avocado production.Supplementary InformationThe online version contains supplementary material available at 10.1007/s10113-022-01883-6.