In a keeping device for a refrigerator, a moving shelf is installed to adjust the space between door baskets according to the height of food items received in the door baskets. When the moving shelf is folded, a long food item can be stably received, and when the folded moving shelf is unfolded, the receiving space can be extended to receive more food items. Also, because moving support portions supporting the moving shelf are provided at both sides, collision noise can be reduced when the moving shelf is unfolded, and because a restraining unit is provided between the moving shelf and the door, the folded state of the moving shelf can be stably maintained. In addition, because the keeping device is hung and fixed such that it is tightly attached to the door, the keeping space can be extended.