The invention relates to an anti-static floor coating and a method for preparing the same. The anti-static floor coating is prepared from components in percentage by mass as follows: 50wt%-70wt% of water, 2wt%-4wt% of a wetting dispersant, 0.5wt%-1wt% of a silicon modified defoamer, 0.5wt%-1wt% of a foam inhibitor, 0.05wt%-0.1wt% of a PH neutralizer, 0.3wt%-1wt% of a thickener, 10wt%-25wt% of pigment and filler, 0.5wt%-1wt% of a single-walled carbon nanotube, 15wt%-25wt% of resin emulsion, 0.2wt%-0.3wt% of an antiseptic fungicide and 0.5wt%-2wt% of a waterborne leveling agent, wherein the sumof mass percentages of the components is 100%. The single-walled carbon nanotube is applied to the anti-static floor coating, so that adding quantity of a conductive material is reduced greatly whilethe anti-static effect is realized, a conductive way, constructed on the basis of the conductive material, of the coating is replaced, coating thickness of the coating is reduced, conductive stabilityis improved, construction use amount and maintenance cost of the coating are reduced, the anti-static performance is excellent and lasting and is not affected by time, temperature and humidity, and film surface is smooth, attractive, wear-resistant, pressure-resistant and impact-resistant.