The invention discloses an environment-friendly fireproof coating, the coating is prepared from the following components in parts by weight: 10-20 parts of vinyl-modified hyperbranched polyphosphate,5-10 parts of acrylate-modified p-aminophenyl calixpyrrole, 50-70 parts of 1, 3-bis (oxiranylmethyl)-5-(2-propenyl)-1, 3, 5-triazine-2, 4, 6 (1H, 3H, 5H)-triketone/3, 3 '-diamino-4, 4'-difluorodiphenyl sulfone polycondensate, 0.5-1.5 parts of an initiator, 15-25 parts of an inorganic filler, 1-3 parts of a defoamer and 1-3 parts of a dispersant. The invention also provides a preparation method ofthe environment-friendly fireproof coating. The environment-friendly fireproof coating disclosed by the invention is good in comprehensive performance, remarkable in fireproof and flame-retardant effects, good in water resistance, decoration and storage stability, environment-friendly and pollution-free.