The device (1) for the filling of containers (C) for medical use having a closing membrane (M) which can be perforated, comprises an element for feeding (2) a pharmaceutical product which can be fitted to a container (C) and having at least a pair of needles (3, 4) suitable for perforating the membrane (M) of the container itself, where such element for feeding (2) comprises a first portion (5) which can be associated with the container (C) and at least a second portion (6), supporting the needles (3, 4), associated mobile with the first portion (5) between an idle position and a work position, removable fastening means (17) of the first portion (5) to the container (C), identification means (20a, 20b, 21) for identifying the position of the second portion (6) with respect to the first portion (5) suitable for making them reciprocally integral in a removable way, and where the second portion (6) has at least an abutment element (26) defining an abutment surface (26a) arranged facing a reference surface (28) defined by the first portion (5) to define a housing area (29) placed in between them for inserting grip means suitable for separating the element for feeding (2) from the container (C).