Food safety is a major strategic issue related to the national economy and people's livelihood. Pesticide residue is an important factor. Pesticides residues in foods not only occur at a high rate, but also exceed the standard severely and involve a wide range. Long-term exposure or consumption of food containing pesticide residues can endanger human health. Traditional techniques for analyzing pesticides in foods have been difficult to meet the actual needs of diversified food safety tests, and modern novel biotechnology has been widely used and continuously developed in the detection of pesticide residues in food due to the advantages of high specificity, high sensitivity and accurate results. This paper analyzed the current situation of pesticide contamination and the corresponding detection technologies in foods, then reviewed the application progress of immunoassay techniques, such as enzyme-linked immunosorbent assay, fluorescence immunoassay and biobarcode immunoassay, and biosensing techniques including electrochemical, optical and piezoelectric sensors in the detection of pesticide residues in food, and discussed the advantages and limitations of various techniques with a view to providing relevant research. The advantages and limitations of various techniques were discussed with the aim of providing references for relevant research, improving the quality and efficiency of pesticide residue detection in food in China, making it more useful and valuable for people's dietary safety, and promoting the sustainable development of China's food industry.