A beverage production system comprising a capsule and a module for producing a beverage from the capsule, - the capsule comprising an enclosure and a rim, and - the module comprising:. a first capsule engagement member, which can be displaced relative to a second, co-operating capsule engagement member between a capsule discharge position and a beverage production position,. means for actively retracting the first capsule engagement member from the beverage production position to the capsule discharge position in which the capsule is discharged from the first capsule engagement member, the displaceable first capsule engagement member comprising a capsule receptacle, and - the capsule presenting:. an enclosure outer shape that is conformal to at least a portion of the capsule receptacle, and. a rim size such that at least a part of the rim of the capsule extends beyond at least a part of the first capsule engagement member once it is engaged in the first capsule engagement member, and - the displaceable first capsule engagement member comprising holding means configured for holding the capsule within the capsule receptacle, said holding means being discrete hooks (341, 342) configured to engage with the rim of the capsule, and - the module comprising at least two means (7, 7a, 7b) for retaining the rim of the capsule extending beyond the first capsule engagement member when said first capsule engagement member is displaced from the beverage production position to its capsule discharge position, characterised in that said two means (7, 7a, 7b) for retaining the rim of the capsule are configured so that, during the displacement of the first capsule engagement member from the beverage production position to its capsule discharge position, one of the two retaining means engages the rim of the capsule before the other retaining means. - the capsule comprising an enclosure and a rim, and - the module comprising:. a first capsule engagement member, which can be displaced relative to a second, co-operating capsule engagement member between a capsule discharge position and a beverage production position,. means for actively retracting the first capsule engagement member from the beverage production position to the capsule discharge position in which the capsule is discharged from the first capsule engagement member, the displaceable first capsule engagement member comprising a capsule receptacle, and. a first capsule engagement member, which can be displaced relative to a second, co-operating capsule engagement member between a capsule discharge position and a beverage production position,. means for actively retracting the first capsule engagement member from the beverage production position to the capsule discharge position in which the capsule is discharged from the first capsule engagement member, - the capsule presenting:. an enclosure outer shape that is conformal to at least a portion of the capsule receptacle, and. a rim size such that at least a part of the rim of the capsule extends beyond at least a part of the first capsule engagement member once it is engaged in the first capsule engagement member, and. an enclosure outer shape that is conformal to at least a portion of the capsule receptacle, and. a rim size such that at least a part of the rim of the capsule extends beyond at least a part of the first capsule engagement member once it is engaged in the first capsule engagement member, and - the displaceable first capsule engagement member comprising holding means configured for holding the capsule within the capsule receptacle, said holding means being discrete hooks (341, 342) configured to engage with the rim of the capsule, and - the module comprising at least two means (7, 7a, 7b) for retaining the rim of the capsule extending beyond the first capsule engagement member when said first capsule engagement member is displaced from the beverage production position to its capsule discharge position, characterised in that said two means (7, 7a, 7b) for retaining the rim of the capsule are configured so that, during the displacement of the first capsule engagement member from the beverage production position to its capsule discharge position, one of the two retaining means engages the rim of the capsule before the other retaining means.