The invention relates in particular to a device (100) for collecting a sample of a liquid in a container, characterized in that it has: a housing (10) with a longitudinal axis (AL); a component (20, 20′;, 20″;) comprising: a body (26) provided with at least one channel (21) having a proximal end (21p) and a distal end (21d); a receptacle (24) fixed with respect to the body (26) and situated in the continuation of the proximal end (21p) of said at least one channel (21), said component (20) being mounted rotatably with respect to the housing (10) about the longitudinal axis of this housing (10) between a closure position, in which the distal end (21d) of said at least one channel (21) is closed by the housing (10), and an open position, in which the distal end (21d) of said at least one channel (21) is able to establish a fluidic communication with the container; and an elastic valve (30) housed in the receptacle (24).