A rivet-stroke adjusting device for a rivet-nut gun, in which the parts mounted between the cylindrical hole of the mounting base on front end of the body portion and the outer sleeve of the rivet-pulling assembly include an outer sleeve with a cylindrical hole and a threaded hole, a thread sleeve, a spring, an adjustment ring, a steel pin and a screw; the center cylindrical hole of the adjustment ring is mounted to a pull shaft of the hydraulic piston of the mounting base by means of pin hole; the outer threads of the adjustment ring are screwed together with threads on one end of the outer sleeve, being pushed and limited with a spring; when the outer sleeve is turned, the adjustment ring will be pushed to move so as to have the pull shaft of the hydraulic piston moved a stroke.