Livestock production and global trade are key components to achieving food security, but are bedfellows with the risk for emergence and spread of infectious diseases. The World Trade Organization's Agreement on the Application of Sanitary and Phytosanitary Measures outlines provisions for member countries to protect animal, plant, and public health while promoting free trade. The capacity for risk analysis equips countries to increase access to export markets, improve local animal health and food safety regarding known hazards, and build the institutional capacity to respond to unexpected events. The COVID-19 pandemic has highlighted the need to detect, report, and implement effective response measures to emerging challenges on a local and global scale, and it is crucial that these measures are implemented in a way that supports food production and trade. The use of risk analysis coupled with sound understanding of underlying system dynamics will contribute to resilient and enduring food systems.