The application relates to the field of photovoltaic connectors, in particular to a dust cover for a photovoltaic connector, which comprises a first cover body and a second cover body, the first cover body is used for plugging with a male connector in the connector, the second cover body is used for plugging with a female connector in the connector, positioning mechanisms are installed on the first cover body and the second cover body, the positioning mechanisms comprise first positioning components and second positioning components, the first positioning components are installed on the first cover body, the first positioning components are used for being connected with the male connector, the second positioning components are installed on the second cover body, the second positioning components comprise limiting rods installed on the second cover body, and the limiting rods are used for being connected with the female connector, the application improves the problem that the dust cover is prone to loosening in the connecting process of the dust cover and the connector in the traditional mode, and the stability of the connection between the dust cover and the connector can be improved.