This study examines the impact of trade facilitation measures on agricultural trade flows at the global level. It does so by using data on implementation of measures from the UN Global Survey on Digital and Sustainable Trade Facilitation to estimate a structural gravity model of trade. The findings highlight a strong positive relationship between digitalization of trade procedures and trade in agricultural products. A statistically significant positive relationship is also found between agriculture-specific trade facilitation measures and agricultural trade. The results confirm the importance of sector-specific agricultural trade facilitation measures, including national standards and accreditation bodies to facilitate compliance with SPS, availability of testing and laboratory facilities for SPS compliance, use of electronic SPS certificates, and special handling provisions for perishable goods at borders. However, the effects vary significantly across country groups. Sector-specific measures result in trade gains nearly three times larger between developed and developing countries (North-South and South-North) than those in the case of North-North trade and twice as large as the global average. Overall, the results suggest the need to develop agricultural trade facilitation strategies that integrate ambitious trade digitalization initiatives and targeted agriculture-specific measures.