PROBLEM TO BE SOLVED: To provide a method of producing a solidified body which displays a mark, such as a character, when it is irradiated with light, which realizes reduction of installation space, reduction of producing process, shortening of manufacturing time, reduction of photolytic substance and maintenance of excellent collapsibility.SOLUTION: In the method of producing solidified body, the compression molding machine for powdered body comprises upper pestles 5, lower pestles 6 and mortar holes 4 arranged on a table 31. The method comprises: an application process of applying photolytic substance onto at least any one of inner surface of the mortar holes, upper end surface of the lower pestles and lower end surface of the upper pestles a filling process of filling up the mortar holes with powdered body a compression molding process of subjecting the powdered body held in the mortar hole to compression molding with the upper pestle and the lower pestle and colouring process of colouring the molding product by irradiating the molding product provided by the compression molding with light.