An ice maker comprising: a tray accommodating water to make ice; a first control box installed at a side of the tray, the first control box accommodating a predetermined part of a mechanism unit driving the ice maker; and a second control box accommodating the other part of the mechanism unit which is electrically connected with the part of the mechanism unit accommodated in the first control box, characterised by an ejecting guide provided beyond the tray for preventing the ice from being stuck at the second control box, when the ice is ejected from the tray, wherein the second control box is provided above the tray and is detachably coupled to an upper portion of the first control box, the mechanism unit comprises: a driving assembly relating to operations of an ejector ejecting ice out of the tray and an ice amount sensing lever sensing amount of the ice; a first circuit board on which electric parts controlling an operation of the driving assembly are mounted, the driving assembly and the first circuit board being accommodated in the first control box; and a second circuit board on which electric parts controlling an overall operation of the ice maker except the operation of the driving assembly are mounted, the second circuit board being accommodated in the second control box, wherein at least one coupling guide is provided to guide the second control box coupled to the upper portion of the first control box, and a first control box coupling hole is provided at the first control box and a second control box coupling hole is provided at the second control box to fasten the second control box to the first control box by a bolt via the control box coupling holes (206, 306). a tray accommodating water to make ice; a first control box installed at a side of the tray, the first control box accommodating a predetermined part of a mechanism unit driving the ice maker; and a second control box accommodating the other part of the mechanism unit which is electrically connected with the part of the mechanism unit accommodated in the first control box, characterised by an ejecting guide provided beyond the tray for preventing the ice from being stuck at the second control box, when the ice is ejected from the tray, wherein the second control box is provided above the tray and is detachably coupled to an upper portion of the first control box, the mechanism unit comprises: a driving assembly relating to operations of an ejector ejecting ice out of the tray and an ice amount sensing lever sensing amount of the ice; a first circuit board on which electric parts controlling an operation of the driving assembly are mounted, the driving assembly and the first circuit board being accommodated in the first control box; and a second circuit board on which electric parts controlling an overall operation of the ice maker except the operation of the driving assembly are mounted, the second circuit board being accommodated in the second control box, wherein at least one coupling guide is provided to guide the second control box coupled to the upper portion of the first control box, and a driving assembly relating to operations of an ejector ejecting ice out of the tray and an ice amount sensing lever sensing amount of the ice; a first circuit board on which electric parts controlling an operation of the driving assembly are mounted, the driving assembly and the first circuit board being accommodated in the first control box; and a second circuit board on which electric parts controlling an overall operation of the ice maker except the operation of the driving assembly are mounted, the second circuit board being accommodated in the second control box, wherein at least one coupling guide is provided to guide the second control box coupled to the upper portion of the first control box, and a first control box coupling hole is provided at the first control box and a second control box coupling hole is provided at the second control box to fasten the second control box to the first control box by a bolt via the control box coupling holes (206, 306).