a setting tool for driving in fastening element includes a bolt guide axially displaceably arranged in the tool housing , a magazine projecting sidewise from the bolt guide and displaceable in a direction opposite the setting direction against a biasing force of a first spring relative to the bolt guide , a second spring located between the housing and the magazine and having a maximal biasing force acting in the setting direction and an excursion greater than a maximal biasing force and an excursion of the first spring ; and an annular element which surrounds the piston guide of the tool and is located in a receiving space formed in the housing for transmitting a biasing force of the second spring to at least one engagement surface provided on the magazine .