An ice-making device and a refrigerator having the ice-making device are provided. The ice-making device includes an ice-making housing defining a predetermined ice-making space therein, an ice tray rotatably installed in the ice-making space and provided with a plurality of ice-making grooves, and a protruding rib that is formed on the ice tray to prevent water from being splashed out of the ice-making grooves.