The invention provides a tamping machine with a damping function, and relates to the field of construction. The tamping machine with the damping function comprises a bottom block; the top of the bottom block is fixedly connected with a fixing block, the top of the fixing block is fixedly connected with a supporting column, the end, away from the fixing block, of the supporting column is fixedly connected with a transmission box, the left side of the transmission box is fixedly connected with a motor, and the front face of the transmission box is fixedly connected with a supporting pipe; and the end, away from the transmission box, of the supporting pipe is fixedly connected with a buffer block, a movable groove is formed in the top of the buffer block, a buffer rod is movably connected into the buffer groove, and one end of the buffer rod penetrates through the movable groove and extends to the upper part of the buffer block. According to the tamping machine with the damping function,by arranging the buffer rod, the buffer rod can move up and down along the buffer block, and through a first damping spring and a second damping spring set which are arranged at the top and the bottomof the buffer block, the handle can have the effect of buffer damping.