The invention relates to the technical field of photovoltaic power generation, and discloses an electric vehicle rain-shielding charging device based on a photovoltaic power generation technology. Theelectric vehicle rain-shielding charging device comprises a shell, a base is fixedly connected with the exterior of the shell, a rotating shaft is movably connected with the interior of the base, a first connecting rod is fixedly connected with the exterior of the rotating shaft in a sleeving mode, a connection rod is movably connected with the exterior of the first connecting rod, a rotation rodis movably connected with the interior of the base, a second connecting rod is movably connected with the exterior of the rotation rod in a sleeving mode, a first gear is fixedly connected with the exterior of the second connecting rod, and a gear ring is meshed with the exterior of the first gear. Through the interaction of the rotating plate, the rotating shaft, a supporting rod, the first connecting rod, the second connecting rod, the connection rod, the gear ring, the first gear and the rotation rod, the rotating plate can be driven to rotate when the sun moves along with time, and the photovoltaic module also rotates, so that the photovoltaic module always faces the direct irradiation direction of sunlight, and thus the optical energy conversion efficiency of the photovoltaic moduleis always in the optimal state.