A refrigerator comprising a cabinet and a door for opening and closing the cabinet, wherein the refrigerator further comprises a hinge body fixedly provided on the cabinet, and a guide block fixedly provided on the door, wherein a positioning shaft and a guiding shaft are provided on the hinge body, a positioning groove fitting with the positioning shaft and a guiding groove fitting with the guiding shaft are provided on the guide block; one of left and right sides of the refrigerator which is provided with the hinge body is a pivoting side, the door is in a first state when being closed, the door has a side wall close to the pivoting side in the first state and a front wall away from the cabinet in the first state; wherein a lateral ridge is formed by the side wall intersecting with the front wall, wherein at least one positioning boss protrudes and extends from a side of the guide block facing the door, a positioning groove fitting with the at least one positioning boss is provided on the door, the positioning boss and the positioning groove are fitted to position the guide block; wherein the positioning groove has a first position close to the side wall and the front wall and a second position away from the side wall and the front wall compared with the first position, the guiding groove has a third position and a fourth position, and when the door is in the first state, the positioning shaft is located at the second position, and the guiding shaft is located at the fourth position; and wherein the guiding shaft and the guiding groove are provided such that when the door is opened from the first state, the door is rotated with the positioning shaft as a center of rotation, the positioning shaft is moved from the second position to the first position and the guiding shaft is moved from the fourth position to the third position with the limitation of the guiding shaft and the guiding groove, at this point, the door is opened at a certain angle to be in a second state, and the door is moved by a distance towards a side away from the pivoting side, so as to prevent the interference due to the protrusion of the lateral ridge of the door, because the lateral ridge may not protrude out of a position where the side wall is located when the door is in the first state. one of left and right sides of the refrigerator which is provided with the hinge body is a pivoting side, the door is in a first state when being closed, the door has a side wall close to the pivoting side in the first state and a front wall away from the cabinet in the first state; wherein a lateral ridge is formed by the side wall intersecting with the front wall, wherein at least one positioning boss protrudes and extends from a side of the guide block facing the door, a positioning groove fitting with the at least one positioning boss is provided on the door, the positioning boss and the positioning groove are fitted to position the guide block; wherein the positioning groove has a first position close to the side wall and the front wall and a second position away from the side wall and the front wall compared with the first position, the guiding groove has a third position and a fourth position, and when the door is in the first state, the positioning shaft is located at the second position, and the guiding shaft is located at the fourth position; and wherein the guiding shaft and the guiding groove are provided such that when the door is opened from the first state, the door is rotated with the positioning shaft as a center of rotation, the positioning shaft is moved from the second position to the first position and the guiding shaft is moved from the fourth position to the third position with the limitation of the guiding shaft and the guiding groove, at this point, the door is opened at a certain angle to be in a second state, and the door is moved by a distance towards a side away from the pivoting side, so as to prevent the interference due to the protrusion of the lateral ridge of the door, because the lateral ridge may not protrude out of a position where the side wall is located when the door is in the first state.