The device allows the connection between a vessel closed off by a perforable stopper and a container. It comprises a base, which is configured to be mounted on the vessel and which comprises a hollow member for perforating the stopper, this hollow member delimiting at least one opening, and a needle holder, which is waiting to be connected with the container, and which includes a needle, one of the ends of which emerges in the inner volume of the hollow member. The device further comprises a collar attached to a needle holder, and a sheath, which is connected around the collar and which defines a central axis along which it is movable against a resilient force exerted by a spring.