The global food system must become more sustainable. Digital agriculture — digital and geospatial technologies to monitor, assess and manage soil, climatic and genetic resources — illustrates how to meet this challenge so as to balance the economic, environmental and social dimensions of sustainable food production.