The invention relates to photovoltaic power generation equipment having an automatic cleaning function. The photovoltaic power generation equipment comprises a base, a photovoltaic panel, a brush mechanism and a washing mechanism, wherein the brush mechanism comprises a brush roller, a moving assembly and an adjustment assembly, the moving assembly comprises a first motor, a driving wheel, a driven wheel, a belt and a moving plate, the adjustment assembly comprises a second motor, a worm, a worm gear, a first screw rod, a sleeve, an air cylinder and a limitation unit, the washing mechanism comprises a water box, a water pump, a water pipe and a lifting assembly, and the lifting assembly comprises a third motor, a second screw rod, a sliding rod, a sliding block, a rotation shaft and a fixed ring. In the photovoltaic power generation equipment having the automatic cleaning function, the brush mechanism and the washing mechanism are arranged; when excessive dust covers a surface of the photovoltaic panel, the photovoltaic panel is automatically cleaned simultaneously by the brush mechanism and the washing mechanism, and the power generation efficiency of the photovoltaic panel is improved; and meanwhile, compared with manual cleaning, the mode has the advantages of more convenience, time saving and labor saving, and the labor intensity of a cleaner is reduced.