The invention relates to the technical field of electric bicycles and discloses an electric bicycle charger with an anti-creeping function. The charger comprises a vertical rod, the side face of the vertical rod is movably connected with a supporting base. A storage box is fixedly connected to the upper portion of the supporting base and used for storing a power supply, the power supply is movablyconnected into the storage box; the power supply supplies power to the electric vehicle; a rotating wheel, a first gear, a second gear and a connecting rod are matched for use, so that a shutter is opened and the storage box is shielded; the power supply in the storage box is prevented from soaking, thus dangers caused by electric leakage are avoided, through cooperative use of a supporting rod,a hook and a button, when the shielding plate is not needed, the shielding plate can be stored, large space is prevented from being occupied, the use is more convenient, through cooperative use of therotating wheel, the first gear, the second gear and the rack, subsequent linkage steps are conducted, the linkage performance of the whole device is improved, and therefore the whole operation is simpler.