The invention discloses a rectorite flame-retardant foaming agent, wherein the essential of the technical scheme is as follows: the rectorite flame-retardant foaming agent is composed of dried rectorite, high-viscosity attapulgite clay powder, sodium bicarbonate, sodium alkyl benzene sulfonate, sodium polyacrylate, sodium pyrophosphate, ammonium polyphosphate and zinc borate; the rectorite flame-retardant foaming agent finished product is obtained by stirring, grinding and packaging the ingredients of the rectorite flame-retardant foaming agent; after the rectorite flame-retardant foaming agent is stirred with water at a high speed, lots of gas is rapidly released to form porous foam mud, the foam mud is injected via a high-pressure water gun and directly used for fire extinguishment; the foam mud is stably covered on the surface layer of a combustible material to form a foam mud film; and the foam mud film can be used for rapidly blocking the contact between the combustible material and air, and preventing the combustible material from continuing to combust, so as to achieve the purposes of flame retardance and fire extinguishment. The products produced by the rectorite flame-retardant foaming agent are capable of effectively realizing flame retardance and fire extinguishment, have the functions of controlling noise pollution, insulating heat and purifying air, and are suitable for producing flame-retardant and fire-extinguishing products, light plates, light wall bodies, and silencing and noise-reducing products.