A tool and a method for producing an injection device are disclosed. The injection device comprises a hollow needle which is positioned in a basic body of the injection device. The injection device is produced by a two-stage injection process. At least one first slider and a second slider are provided in a tool block. Together with the tool block, the first slider and the second slider form free space, which defines a shape of a pre-injection molded part of the basic body of the injection device.