The present invention provides a gene chip for quickly detecting pathogens from food source, discloses the preparation method of said gene chip and provides 26 oligonucleotide probe sequences for detection. Said gene chip can quickly, accurately and high-effectively detect and identify the class of the pathogens in food, and its detection range includes staphylococcus aureus, Shiga's bacillus, salmonella, colibacillus 0157, bacillus proteus, mononuclear hyperplastic listerella, enterocolitis yersinia, aeruginous pseudomonads, vibrio parahaemolyticus, vibrio cholerae, bacillus cereus, beta hemolytic streptococcus, coconut fermentation pseudomonads, boticin, vibrio jejuni and bacillus perfringens, etc.