The invention relates to a preparation method of expanding flame-retardant plastic. The expanding flame-retardant plastic comprises the following components: polypropylene, ricinoleic acid, carbon black, expanded graphite and red phosphorus, wherein the mass ratios of the components of the expanding flame-retardant plastic are as the follows in parts by mass: 40%-50% of the polypropylene, 10%-15%of the ricinoleic acid, 10%-15% of the carbon black, 20-30% of the expanded graphite and 10%-15% of the red phosphorus. According to the invention, self-burning is avoided, and combustion is further prevented, namely, the other substance oxygen of the combustion condition is considered. The expanding flame-retardant plastic disclosed by the invention is expanded quickly when encounters fire, flamepoints are wrapped in the expanded flame-retardant plastic, and surrounding air is isolated out, so that existence of the surrounding air is avoided, and occurrence of a fire disaster is prevented from physical significance.