First disconnect the electricity from the wall. Take off the top to the washing machine. On the underside of the lid is a plastic cover with wires coming out of it. Take the screws out and the lid switch will come off with the cover. Now disconnect the wires and replace the lid switch with the new one.