The invention relates to the field of food mechanism, in particular to an egg boiling machine with an automatic shelling function. The egg boiling machine with the automatic shelling function comprises a pedestal, a bracket, a tray and an upper cover, the tray is spherical crown-shaped, the bottom of the tray is separable, and the bottom is connected with a handle; a heating pipe and a draw plate are arranged in the tray, the draw plate runs through two ends of the tray, the draw plate is connected with a pull handle, an egg storage platform is arranged in the bracket, the egg storage platform is connected with a feed roller, the feed roller is connected with a shelling mechanism, the shelling mechanism comprises a plurality of shell crushing rubber rods and a plurality of roller posts, gears are arranged at the head faces of the roller posts, each egg shelling passage comprises at least one group of shell crushing rubber rods, and each group comprises two shell crushing rubber rods correspondingly arranged at two sides of the transmission direction of the corresponding egg shelling passage. The egg boiling machine with the automatic shelling function is capable of automatically shelling after boiling the egg thoroughly, a user does not need to take out the egg to shell specially, a lot of manpower and material resources are saved, the time is saved, the cost is lowered, and the production is facilitated.