Recently, covalent organic frameworks (COFs) have been widely used to prepare magnetic adsorbents for food analysis due to their highly tunable porosity, large specific surface area, excellent chemical and thermal stability and large delocalised π-electron system. This review summarises the main types and preparation methods of magnetic COFs and their applications in food analysis for the detection of pesticide residues, veterinary drugs, endocrine-disrupting phenols and estrogens, plasticisers and other food contaminants. Furthermore, challenges and future outlook in the development of magnetic COFs for food analysis are discussed.