A capsule coffee machine, comprising a brewing seat and a brewing assembly which are moveable with respect to each other, the machine further comprising: two rotating members arranged on the two sides of the brewing assembly respectively, one end of each rotating member being connected with the brewing assembly in a rotatable manner; and two detent members hinged to the two sides of the brewing seat respectively, one end of each detent member being connected with a limit structure provided at the other end of a corresponding rotating member located on the same side in a moveable manner, wherein the capsule coffee machine is configured such that: when the brewing assembly and the brewing seat are moving apart from each other, each detent member is rotated inwardly by a corresponding rotating member located at the same side respectively, so that a coffee capsule can be held between the two detent members; when the brewing assembly and the brewing seat are moving towards each other, each detent member is rotated outwardly by the corresponding rotating member to release the coffee capsule, so that the coffee capsule enters into a making cavity of the brewing assembly to brew coffee; and when the brewing assembly and the brewing seat are moving apart from each other again, the coffee capsule having been brewed will drop from an interval between the brewing seat and the brewing assembly as the interval increases, and each detent member is rotated inwardly by the corresponding rotating member to its original position, characterized in that the limit structure of said rotating member is a waist-shaped hole (11.1), and the end of said detent member being provided with a slipping shaft (14.2) which can move in the waist-shaped hole (11.1). two rotating members arranged on the two sides of the brewing assembly respectively, one end of each rotating member being connected with the brewing assembly in a rotatable manner; and two detent members hinged to the two sides of the brewing seat respectively, one end of each detent member being connected with a limit structure provided at the other end of a corresponding rotating member located on the same side in a moveable manner, wherein the capsule coffee machine is configured such that: when the brewing assembly and the brewing seat are moving apart from each other, each detent member is rotated inwardly by a corresponding rotating member located at the same side respectively, so that a coffee capsule can be held between the two detent members; when the brewing assembly and the brewing seat are moving towards each other, each detent member is rotated outwardly by the corresponding rotating member to release the coffee capsule, so that the coffee capsule enters into a making cavity of the brewing assembly to brew coffee; and when the brewing assembly and the brewing seat are moving apart from each other again, the coffee capsule having been brewed will drop from an interval between the brewing seat and the brewing assembly as the interval increases, and each detent member is rotated inwardly by the corresponding rotating member to its original position, characterized in that the limit structure of said rotating member is a waist-shaped hole (11.1), and the end of said detent member being provided with a slipping shaft (14.2) which can move in the waist-shaped hole (11.1). when the brewing assembly and the brewing seat are moving apart from each other, each detent member is rotated inwardly by a corresponding rotating member located at the same side respectively, so that a coffee capsule can be held between the two detent members; when the brewing assembly and the brewing seat are moving towards each other, each detent member is rotated outwardly by the corresponding rotating member to release the coffee capsule, so that the coffee capsule enters into a making cavity of the brewing assembly to brew coffee; and when the brewing assembly and the brewing seat are moving apart from each other again, the coffee capsule having been brewed will drop from an interval between the brewing seat and the brewing assembly as the interval increases, and each detent member is rotated inwardly by the corresponding rotating member to its original position, characterized in that the limit structure of said rotating member is a waist-shaped hole (11.1), and the end of said detent member being provided with a slipping shaft (14.2) which can move in the waist-shaped hole (11.1).