The invention relates to the technical field of refrigerators, in particular to a refrigerator with a shelf adjustable in height. The refrigerator comprises a door shelf body, guide rails and a door shelf front cover, wherein the guide rails are arranged on a refrigerator door body and vertically extend, and the door shelf front cover is connected with the door shelf body. The refrigerator further comprises connecting blocks, sliding blocks and reset mechanisms. Guide grooves are formed in the lateral portions of the door shelf body. The reset mechanisms and the sliding blocks are arranged in the guide grooves. The sliding blocks can slide along the guide grooves. One ends of the reset mechanisms are connected with the guide grooves in an abutting-against mode, and the other ends of the reset mechanisms are connected with the sliding blocks in an abutting-against mode. Sliding block clamping connection parts connected with the guide rails in a clamped mode are arranged on the sliding blocks. One ends of the connecting blocks are connected with the door shelf front cover in a clamped mode, and the other ends of the connecting blocks are connected with the upper portions of the sliding block clamping connection parts in an abutting-against mode. By means of the refrigerator, the user convenience is improved, the position of the door shelf can be adjusted within the height scope limited by the guide rails on the two sides without taking out the door shelf, and the refrigerator is convenient to operate; in addition, the refrigerator is simple in structure and easy to install and manufacture, and the reliability is guaranteed.