The invention provides an anti-corrosion photovoltaic cable coating. The anti-corrosion photovoltaic cable coating is prepared from the following components in parts by weight: 20-40 parts of epoxy resin, 0.02-5 part of CeO2@GO composite powder, 8-20 parts of a diluent, 1.5-8 parts of a curing agent, 0.1-0.5 part of a defoamer and 0.1-0.5 part of a leveling agent. The CeO2@GO composite powder is prepared by modifying graphene oxide GO by utilizing CeO2 nanoparticles through a surface grafting method, so that the CeO2 nanoparticles can be stably loaded on the surface of the GO and are insertedbetween GO laminates to play a role in blocking GO agglomeration, and the dispersity and compatibility of the GO in an epoxy resin matrix are improved; meanwhile, due to the existence of GO, a good support body is provided for the CeO2 nano particles, the CeO2 nano particles are promoted to be uniformly dispersed in an epoxy resin matrix, so that the GO and the CeO2 can better exert respective anti-corrosion effects and enhancing effects; therefore, the anti-corrosion performance of the coating is further improved, and the service life of the coating is prolonged. Furthermore, the comprehensive performances of waterproofness, corrosion resistance, weather resistance, chemical stability, adhesion and the like of the photovoltaic cable can be effectively ensured.