The invention discloses a charge pile with an anti-collision function for shared automobiles. The charge pile comprises a charge pile body, fixing pipes, anti-collision barrels, a coiling box, a take-up barrel, elastic shifting sheets and a check block. A fixing rod is arranged on the top of the charge pile body, the fixing pipes are connected with a base by connecting rods, the anti-collision barrels are mounted on vertical shafts, the charge pile body is connected with a power wire, the coiling box is positioned on the upper side of a storage box, a transverse shaft is connected with an endof an elastic assembly, the take-up barrel is mounted on the transverse shaft, the elastic shifting sheets are mounted at the edge of a wheel disc, a control rod is mounted on the coiling box, and thecheck block is connected with the bottom of the control rod. The charge pile with the anti-collision function for the shared automobiles has the advantages that the charge pile has the anti-collisionfunction and can be effectively protected; charge electric wires can be effectively stored, accordingly, the problem of damage to exiting electric wires due to the fact that the existing electric wires are randomly placed on the ground can be solved, and the charge pile is reasonable in design.