Unplug your refrigerator from its power source.
Insert the tip of a flat-head screwdriver in the seam where the plastic frame of the dispenser meets the door of the refrigerator. Pop the frame out.
Pull the control panel out of the housing by its sides. The control panel is located on the top of the housing. It controls the dispenser. Unplug the wiring harness that runs to the rear of the control panel. This is the wiring that runs from the circuit board to a port at the back of the control panel. Set the control panel aside.
Remove the screws on the corners of the dispenser housing with your Phillips screwdriver. Remove the housing. Set it aside.
Fit a new housing in the compartment by sliding it into place, ensuring the sides are flush. The housing must match the model of your refrigerator. Use the refrigerator model number as a reference when purchasing the new housing.
Replace the screws on the dispenser housing. Plug the wiring harness into the port at the rear of the control panel. Slide the control panel into the housing. Slide the frame into place.