Disclosed is a refrigerator, in which the installation and the repair and replacement of a wire harness are easily achieved. In a refrigerator, in which a main body includes an inner casing, an outer casing, and a heat insulating layer provided between the inner and outer casings, and electric and electronic components including sensors and switches are electrically connected to a printed circuit board through a wire harness, an opening is formed through one side of the main body, and a harness block in which the wire harness and a plurality of connection housings for installing the wire harness are intensively disposed is detachably installed in the opening.