A refrigerator comprising: a body provided with a storage compartment; a door rotatable with respect to a hinge shaft on the body, the door being configured to open and close the storage compartment; and a door opening and closing apparatus configured to open and close the door, wherein the door opening and closing apparatus comprises: a motor configured to generate power; a first gear rotated in conjunction with the power generated by the motor; and a second gear configured to transmit a rotational force to the hinge shaft as the door opens and closes; characterized in that a pair of intermittent gears are arranged to move between a coupling position, in which a first intermittent gear is coupled to a second intermittent gear so as to be configured to transmit the power from the first gear to the second gear, and a separated position in which the first intermittent gear is separated from the second intermittent gear so as to be configured to prevent an external force from being transmitted from the second gear to the first gear while the external force is applied to open and close the door; and wherein the first and second intermittent gears include at least one first and second inclined boss portions formed on surfaces facing each other and the first and second inclined boss portions include first and second inclined surfaces configured to come into contact with each other to transmit the power from the first intermittent gear to the second intermittent gear, and the first inclined surface and the second inclined surface are inclined in a circumferential direction with respect to a direction in which the first and second intermittent gears face each other, wherein the first and second inclined surfaces are configured to generate a slip there between due to an external force. a body provided with a storage compartment; a door rotatable with respect to a hinge shaft on the body, the door being configured to open and close the storage compartment; and a door opening and closing apparatus configured to open and close the door, wherein the door opening and closing apparatus comprises: a motor configured to generate power; a first gear rotated in conjunction with the power generated by the motor; and a motor configured to generate power; a first gear rotated in conjunction with the power generated by the motor; and a second gear configured to transmit a rotational force to the hinge shaft as the door opens and closes; characterized in that a pair of intermittent gears are arranged to move between a coupling position, in which a first intermittent gear is coupled to a second intermittent gear so as to be configured to transmit the power from the first gear to the second gear, and a separated position in which the first intermittent gear is separated from the second intermittent gear so as to be configured to prevent an external force from being transmitted from the second gear to the first gear while the external force is applied to open and close the door; and wherein the first and second intermittent gears include at least one first and second inclined boss portions formed on surfaces facing each other and the first and second inclined boss portions include first and second inclined surfaces configured to come into contact with each other to transmit the power from the first intermittent gear to the second intermittent gear, and the first inclined surface and the second inclined surface are inclined in a circumferential direction with respect to a direction in which the first and second intermittent gears face each other, wherein the first and second inclined surfaces are configured to generate a slip there between due to an external force.