Unplug the dryer power cord. Open the door.
Remove the screws holding the door hinges to the dryer cabinet. Lift the door off of the dryer cabinet. Set the door down with the inside facing up.
Remove the screws along the top edge of the door. Pull the halves of the door apart.
Squeeze the inside of the door latch with the needle nose pliers. Push the latch through the front of the door to remove it.
Place the new door latch into position on the door. Press down on the latch to snap it into the door.
Snap the door halves back together. Replace the screws along the top edge of the door.
Replace the door onto the cabinet. Install the screws holding the hinges in place.