The present invention provides a gelling composition for preparing a gelatinous food which do not dissolve even when reheated (e.g., dysphagia diet). The present invention provides a gelling composition for preparing a gelatinous food which retains its original shape even when reheated, wherein the gelling composition comprises a water-soluble polymer capable of forming a thermo-irreversible gel. Also provided is a method of gelling a food and enhancing the shape-retaining property of the food against reheating by using the above-described gelling composition, as well as a method of preparing a gelatinous food which retains its original shape even when reheated by using the above-described gelling composition.