This paper presents a method about food risk assessment and early warning based on data mining, first, establishing a scientific and reasonable assessment system of food safety, then, a assessment result can be obtained, After, further mining and obtain early warning information of food and detection.