The invention relates to charging equipment with a plug protection function. The charging equipment comprises an energy saving mechanism, a main body, a control board and a protection mechanism, wherein the energy saving mechanism comprises a driving component, a rotary shaft, a rotary board, a solar panel and two bearings; the protection mechanism comprises a charging gun, a protection cover, a fixing component and two fixing blocks; the fixing component comprises an air cylinder, a piston, an air inlet pipe, an air outlet pipe, a power unit, two springs and two fixing units; and each fixingunit comprises a sucking disk and a connecting pipe. By use of the charging equipment with the plug protection function, a solar energy power generation function is realized, power is supplied for theequipment, energy is saved, environment protection properties are improved, a charging gun protection function is realized through the protection mechanism, a possibility that the charging gun is corroded by rainwater is reduced, and safety is improved.