Abstract: A method for controlling a refrigerator includes determining whether an ice bin accommodated in an ice making compartment that receives cold air from the first storage compartment is full of stored ice, determining, by a controller, whether an algorithm that prevents the ice stored in the ice bin from melting needs to be performed upon determining that the ice bin is full, and performing the algorithm.