The purpose of the present invention is to provide a liquid or pasty food composition contained in a container, which has a low water content and therefore has high microbial safety, can be dispersed in hot water rapidly and homogeneously, and can have a desired viscosity by heating. The present invention relates to a liquid or pasty food composition contained in a container, which comprises a starch, a sugar and water and has a water content of less than 30 wt%, and which is characterized in that the ratio of the content of the sugar to the content of water in the liquid or pasty food composition is 80 wt% or more and the viscosity is 20000 mPa·s or less as measured on a B-type viscometer at 60°C.