This paper proposes an analytical framework to calculate an environmentally sustainable productivity index (ESPI) to address the multiple challenges faced at present by food systems. Using this framework, an empirical analysis covering 28 countries (anonymised) over three decades examines sustainable productivity performance including three environmental externalities: greenhouse gas emissions, and nitrogen and phosphorus surpluses. The results illustrate how the framework could be used to identify trends in environmentally sustainable productivity within and across countries. While this framework is flexible and can accommodate multiple environmental variables, its application requires appropriate and comparable data on agriculture production and related environmental performance, selecting methods to measure and aggregate groups of outputs and inputs into the productivity index, and choosing a weight for environmental externalities relative to commodity outputs. Sensitivity analyses, as well as comparisons with other approaches to measure sustainable productivity can be undertaken using this framework to ensure the robustness of the measurement. By supporting cross-section comparisons, the ESPI also has the potential to be used in statistical analysis to identify the economic and policy drivers of sustainable productivity performance.