The invention discloses a charging pile with a vending function. The charging pile with the vending function comprises an electric automobile charging system and a vending system, wherein the electricautomobile charging system mainly comprises a case, a man-machine interactive touch screen, a charging indicator lamp, a scram button, a card swiping device, a metering electric meter, a charging gun, a charging module and a charging control module, wherein the man-machine interactive touch screen, the charging indicator lamp, the scram button, the card swiping device, the metering electric meter, the charging gun and the charging module are separately connected with the charging control module. The vending system comprises a goods displaying window, a delivery module, a goods cabinet, a goods selling opening, a payment module, a goods key module and a vending control module, the goods key module is provided with a display screen, the goods cabinet is arranged in the goods displaying window, and the payment module is connected with the vending control module. The charging pile with the vending function has the advantages that the charging pile with the vending function not only can charge an electric automobile, but also can sell goods so as to implement diversification of profits.