The invention relates to the technical field of parking lot design, and discloses a parking lot charging pile assembly with a sunshade function, the parking lot charging pile assembly comprises a charging pile body located behind a parking space, the upper end of the charging pile body is provided with a storage column extending in the horizontal direction, the middle of the storage column is connected with the charging pile body, and the storage column is internally provided with a cavity layer; a fixing shaft extending in the horizontal direction is arranged in the middle of the cavity layer, reset coil springs with ends connected with the fixing shaft are arranged at the two ends of the fixing shaft, sunshade cloth wound around the outer sides of the reset coil springs is further arranged on the fixing shaft, and the ends, away from the fixing shaft, of the reset coil springs are connected to the end of the sunshade cloth. The storage column is provided with a long-strip-shaped opening allowing the end, away from the reset coil springs, of the sunshade cloth to penetrate through, lifting hooks are arranged on the two sides of the end, away from the reset coil springs, of the sunshade cloth, connecting sleeves fixed in the ground are arranged on the two sides of the end, away from the charging pile body, of the parking space, and first lifting rods connected with the lifting hooks are arranged at the upper ends in the connecting sleeves.