The invention discloses a tube-type anastomat and a safety device of the tube-type anastomat. The safety device of the tube-type anastomat comprises a shell, a cocking handle, a driving rod, a safety block and an elastic component. The cocking handle can rotate relative to the shell, the driving rod can be connected to the shell through a first rotating shaft in a rotating mode, a pushing rod is installed at the position, away from the first rotating shaft, of the driving rod, pushing buttons are installed at the two ends of the pushing rod, and the driving rod can be rotated to a second position from a first position along the first rotating shaft through the pushing buttons. The safety block can be installed inside the shell in a rotating mode and is provided with a first end part and a second end part, wherein the first end part and the second end part are fixed in position, the first end part can abut against the cocking handle, and the second end part is connected to the driving rod in an abutting mode and rotates along with rotating of the driving rod. The elastic component used for resetting is installed between the safety block and the shell. The safety device is arranged inside the anastomat, in this way, space is saved, action is clear, the safety effect is remarkable, safety performance is high, and the hand feeling and the appearance effect are better.