Sudan I is a carcinogenic compound containing an azo group that has been illegally utilized as an adulterant in food products to impart a bright red color to foods. In this paper, we develop a facile lab-on-a-chip device for instant, ultra-sensitive detection of Sudan I from real food samples using plasmonics-enhanced diatomaceous thin film, which can simultaneously perform on-chip separation using thin layer chromatography (TLC) and highly specific sensing using surface-enhanced Raman scattering (SERS) spectroscopy. Diatomite is a kind of nature-created photonic crystal biosilica with periodic pores and was used both as the stationary phase of the TLC plate and photonic crystals to enhance the SERS sensitivity. The on-chip chromatography capability of the TLC plate was verified by isolating Sudan I in a mixture solution containing Rhodamine 6G, while SERS sensing was achieved by spraying gold colloidal nanoparticles into the sensing spot. Such plasmonics-enhanced diatomaceous film can effectively detect Sudan I with more than 10 times improvement of the Raman signal intensity than commercial silica gel TLC plates. We applied this lab-on-a-chip device for real food samples and successfully detected Sudan I in chili sauce and chili oil down to 1 ppm, or 0.5 ng/spot. This on-chip TLC-SERS biosensor based on diatomite biosilica can function as a cost-effective, ultra-sensitive, and reliable technology for screening Sudan I and many other illicit ingredients to enhance food safety.