X-ray online imaging system is introduced briefly and the applications of the system in food safety inspection are also summarized in China and abroad.After the effects of shielding material in the metallically packed food on inspection and characteristics of impurities in food are analyses,the idea of inspecting the impurities of metallically packed food is supported,on which primary setup based is built.