The invention relates to a lancing device (1) for obtaining bodily fluid samples, comprising a base body (3), on one longitudinal-face end (6) of which a removable cap (12) is arranged which has a positioning face (8) with an outlet opening (7), a lancet magazine (4) for receiving at least one lancet (5), which is held replaceably in the base body (3), a drive device (14) for moving a lancet (5) arranged in the lancet magazine (4) back and forth in the direction of the longitudinal axis (2), said lancet being positioned therein in such a way that the tip thereof can exit the outlet opening (7) during the movement back and forth, wherein the lancet magazine (4) has a locking element (30) and the cap (12) has an unlocking element (31) formed to engage in the locking element (30).