Hinges squeak when there is friction between either the half of the hinge attached to the door and the half attached to the door jam, or between the hinge and the hinge pin. This instructable will only address the latter issue. If the hinge halves are rubbing against each other, it’s probably because the top and bottom hinges aren’t aligned and you probably are having much bigger problems with your door than just squeaking, like not closing properly.
The tool list is pretty short. You will need:
Removal First we remove the hinge pin. Place the screwdriver under the lip of the top pin head and lightly tap it upwards. If the head of the pin is flush against the hinge, a chisel or putty knife might be needed to expose the lip. Alternatively, the bottom pin head is usually easy to remove and the screw driver can be inserted into the hinge and the pin can then be tapped upwards. Whatever method works, be sure to be careful not to mar the hinge with the screwdriver.
Replacing After the pins are all cleaned and re-lubed, place them back in the hinges. Tap them back into place with the hammer, but leave a gap big enough to fit your screwdriver into. The gap wont be noticeable, and it'll save you some time if you ever have to take the pins out again.