Unplug the drill and remove any attachments from the chuck.
Lay the drill on its side with the screw holes facing up. Remove the screws from the plastic shell with a Phillips screwdriver. Lift the top half of the shell off the bottom half.
Disconnect the two spade connectors on the motor by sliding them off the spade connectors. Make note of which spade connector attaches to each terminal.
Lift the motor out of the lower half of the shell.
Place the new motor in the shell, aligning the teeth on the motor gear with the teeth on the chuck gear.
Slide the spade connectors onto the appropriate terminals on the new motor. Place the top half of the shell on the drill.
Insert the Phillips screws in the screw holes and tighten them securely.