A surgical stapler, including: an anvil assembly, a reload assembly, a movable handle, a fixed handle, a transmission assembly, a propulsion assembly, a safety apparatus, and an anti-triggering device. The anti-triggering device includes two rows of holes and clamp strips. The transmission assembly is disposed inside the fixed handle. The clamp strips are arranged in longitudinal symmetry on one side of the anti-triggering device. A row of counterbores and a clamp plate having a structure matching with the clamp strip of the anti-triggering device are arranged at an inner side of the casing of the fixed handle. The safety apparatus is fixed at one side of the propulsion assembly. The anti-triggering device is clamped inside the casing of the fixed handle and is attached to a side surface of the safety apparatus.