The invention discloses a street lamp with a watering function, and belongs to the technical field of garden lighting. The street lamp comprises a first flat plate, a second flat plate, a first roller, a second roller, a crank, a steel rope, a clamping mechanism, a lamp rod, a spraying nozzle, a spraying pipe, a connection rod, a handle, a spring, a lamp holder, a lamp, a base, a clamping head, a fastening bolt, a spraying pipe guide mechanism, a connecting part, a sleeve ring, a straight line bearing, a high-pressure water pump, a water storage device, a rain collection cover, a water tank, a water supply pipe and a reinforcing sleeve. The street lamp is characterized in that the spring connected with the clamping mechanism is arranged on the second flat plate, so that the clamping mechanism cannot shake back and forth, stability is improved, the spring does not reach a limit load after the clamping device falls to the lowest point, and namely, the spring cannot affect the clamping mechanism to fall the lowest point. The street lamp has the advantages that the street lamp moves in X, Y and Z three-dimensional spaces.