A refrigerator, comprising: a main body including a storage space; a door for selectively opening/closing the storage space; and an ice maker, including: a frame provided on a rear side of the refrigerator door; an ice tray rotatably installed in the frame and including: a plurality of ice cavities; and a rotational shaft extending from a short side surface of the ice tray; a tray cover provided to the frame and selectively opening/closing the ice tray as the ice tray rotates; an elastic member provided between the frame and the tray cover; a water flood prevention rib extending upward from each of upper edges of long side surfaces of the ice tray and preventing water stored in the ice cavities from flooding while the refrigerator door rotates; a rotation guide extending upward from each of upper edges of the short side surfaces of the ice tray, to guide rotation of the ice tray; and a control box including: a motor to provide driving force for rotating the ice tray, gears to deliver the driving force of the motor to the ice tray, and a controller to control driving of the motor; wherein an end portion of the tray cover is closely attached on an outer side surface of one of the water flood prevention ribs by elastic force of the elastic member, wherein the tray cover is elastically deformed by rotation of the ice tray. a main body including a storage space; a door for selectively opening/closing the storage space; and an ice maker, including: a frame provided on a rear side of the refrigerator door; an ice tray rotatably installed in the frame and including: a plurality of ice cavities; and a rotational shaft extending from a short side surface of the ice tray; a tray cover provided to the frame and selectively opening/closing the ice tray as the ice tray rotates; an elastic member provided between the frame and the tray cover; a water flood prevention rib extending upward from each of upper edges of long side surfaces of the ice tray and preventing water stored in the ice cavities from flooding while the refrigerator door rotates; a rotation guide extending upward from each of upper edges of the short side surfaces of the ice tray, to guide rotation of the ice tray; and a control box including: a motor to provide driving force for rotating the ice tray, gears to deliver the driving force of the motor to the ice tray, and a controller to control driving of the motor; wherein an end portion of the tray cover is closely attached on an outer side surface of one of the water flood prevention ribs by elastic force of the elastic member, wherein the tray cover is elastically deformed by rotation of the ice tray. a frame provided on a rear side of the refrigerator door; an ice tray rotatably installed in the frame and including: a plurality of ice cavities; and a rotational shaft extending from a short side surface of the ice tray; a tray cover provided to the frame and selectively opening/closing the ice tray as the ice tray rotates; an elastic member provided between the frame and the tray cover; a water flood prevention rib extending upward from each of upper edges of long side surfaces of the ice tray and preventing water stored in the ice cavities from flooding while the refrigerator door rotates; a rotation guide extending upward from each of upper edges of the short side surfaces of the ice tray, to guide rotation of the ice tray; and a control box including: a motor to provide driving force for rotating the ice tray, gears to deliver the driving force of the motor to the ice tray, and a controller to control driving of the motor; wherein an end portion of the tray cover is closely attached on an outer side surface of one of the water flood prevention ribs by elastic force of the elastic member, wherein the tray cover is elastically deformed by rotation of the ice tray. a plurality of ice cavities; and a rotational shaft extending from a short side surface of the ice tray; a tray cover provided to the frame and selectively opening/closing the ice tray as the ice tray rotates; an elastic member provided between the frame and the tray cover; a water flood prevention rib extending upward from each of upper edges of long side surfaces of the ice tray and preventing water stored in the ice cavities from flooding while the refrigerator door rotates; a rotation guide extending upward from each of upper edges of the short side surfaces of the ice tray, to guide rotation of the ice tray; and a control box including: a motor to provide driving force for rotating the ice tray, gears to deliver the driving force of the motor to the ice tray, and a controller to control driving of the motor; wherein an end portion of the tray cover is closely attached on an outer side surface of one of the water flood prevention ribs by elastic force of the elastic member, wherein the tray cover is elastically deformed by rotation of the ice tray. a motor to provide driving force for rotating the ice tray, gears to deliver the driving force of the motor to the ice tray, and a controller to control driving of the motor; wherein an end portion of the tray cover is closely attached on an outer side surface of one of the water flood prevention ribs by elastic force of the elastic member, wherein the tray cover is elastically deformed by rotation of the ice tray.