The present invention is a device capable of preventing an operation of establishing communication between a syringe and a vial (3) from being forgotten by error. A holding means (4) constituting a connection device (1) includes: a syringe holding member (6) to be attached to a syringe (2) a cannula holding member (7) which includes a double-head cannula (5), being located at a retracted position retracted with respect to the syringe holding member in the pre-use state, and being advanced to an advanced position abutting on the syringe holding member in the use state and separation preventing means (42) which engages the syringe to prevent separation of the syringe from the syringe holding member in the state where the cannula holding member is located at the retracted position. When the cannula holding member is located at the advanced position, the separation preventing means releases an engagement state with the syringe to permit the separation of the syringe from the syringe holding member.