The invention proposes a wave-absorbing and heat-generating coating for melting ice of wind power blades and a preparation method thereof. The material is coated on the surface of the wind power blades, and the ice layer on the surface of the wind power blades is removed in cooperation with microwaves. The coating proposed by the invention adopts environmentally friendly chemical components, can be sprayed on wind power blades in a large area, has the advantages of self-cleaning, heat and humidity resistance, and freezing resistance, and will not corrode wind power blades. The invention cooperates with microwave deicing, can better absorb microwave energy, convert it into heat energy, quickly melt the ice at the interface, and make the ice surface loose and detach. It has the advantages of strong microwave absorption, wide frequency band, high wear resistance of the coating, strong adhesion, and good thermal stability.