Eight-treasure porridge is a porridge made of rice, miscellaneous grains, various dried fruits, nuts and other ingredients, which is rich in various nutrients. Soaking the eight-treasure porridge overnight and then cooking it will cause bacterial growth and nutrient loss. When the ingredients are soaked in water for a long time, bacteria have the opportunity to multiply and increase food safety risks. Soaking and boiling for a long time will lead to the dissolution and loss of some nutrients in water, which will reduce the nutritional value of eight-treasure porridge. In order to ensure the safety of food and keep the nutritional components of eight-treasure porridge, it is suggested that the ingredients should be cleaned before cooking porridge, and then cooked according to the requirements of cooking time. This can ensure the taste and nutritional value of eight-treasure porridge.