Unplug the washing machine from the wall outlet.
Open the door and remove the wire clamp and spring surrounding the door boot seal. To remove the wire clamp and spring, grasp the spring, which is located at the bottom of the outside of the boot seal, and pull it off, using needle-nose pliers.
Peel the boot seal away from the door. Reach behind the door jamb and grasp the latch.
Remove the mounting screws from the front of the door jamb that secure the latch in position.
Pull the latch out from behind the door jamb, then remove the wire connectors by depressing the tab on each connector and pulling it off of the terminal. Discard the old latch.
Connect the wire connectors to the terminals on the new latch. Press each connector onto the terminal and ensure that the tab locks the connector into place.
Align the latch with the door jamb, then install the screws through the front of the door jamb.
Replace the boot seal, then reinstall the wire clamp and spring.
Plug the washer back into the wall outlet.