The invention discloses a snow-melting and deicing coating layer for a pavement and a preparation method of the snow-melting and deicing coating layer, and belongs to the technical field of functional coating layers. The snow-melting and deicing coating layer for the pavement is obtained by mixing components A, B and C, spraying the mixture to the pavement or coating the pavement with the mixture, and curing the mixture; the mass ratio of the components A, B and C is 100: (20 to 60): (70 to 150). The component A is prepared from epoxy resin, an elastic modifier, an epoxy active diluent, a snow melting agent and a dispersing agent; the component B is prepared from an epoxy curing agent, a curing promoter, a coupling agent and a pigment; the component C is prepared from quartz powder, magnet powder and crystal whiskers. The snow-melting and deicing coating layer realizes efficient snow melting and deicing under the synergistic action of the snow melting agent and microwave radiation heating. Compared with the prior art, the snow-melting and deicing coating layer for the pavement has the advantages of low energy consumption, convenience for construction and maintenance, low cost, low technical requirement, high snow melting and deicing efficiency, obvious environmental protection benefit and the like, and has a wide application prospect.