The invention relates to a connector for a container including a medicinal active ingredient which enables the active ingredient to be transferred from one container to another container. The connector (1, 1) according to the invention comprises a first connection region (3, 3) for connecting a first container (2, 2), a guide element (4, 4), a piercing element (5, 5) and a partition (6), wherein the guide element (4, 4) has a channel (7) designed for transferring a medicinal active ingredient, the piercing element (5, 5) is arranged at least in sections in the channel (7) and is axially movably guided within the channel (7) by the guide element (4, 4) and, by connecting a container (2, 2) in the first connection region (3, 3), the piercing element (5, 5) is movable from a starting position, in which the piercing element (5, 5) does not open the partition (6), to an end position, in which the piercing element (5, 5) opens the partition (6) for transferring a medicinal active ingredient.