Avoid using a regular nail to knock out the hinge pins. It is likely to bend. A screwdriver might also work. [1] X Expert Source Gino ColucciHome Improvement Specialist Expert Interview. 7 January 2021.

If you have another set of hand ready, the second person can serve this purpose by holding the door steady while you tend to the following step.

Give it a spray with a lubricant like WD-40 if there’s persistent difficulty in getting it to nudge up.

For the sake of stability, take off the bottom hinge first, followed by the top. If the door is triple-hinged, take out the middle one first. Some may recommend using a chisel, but it’s best to use a cheap flathead screwdriver for this. There is a risk it will be damaged, so it’s best to use one you don’t care much about anymore. [5] X Research source Once you knock the pin up far enough, you can usually just grab it with your hand and pull it out. [6] X Expert Source Gino ColucciHome Improvement Specialist Expert Interview. 7 January 2021.

The easiest thing is to have someone holding the pins nearby. They can hand them to you as needed.

Once the pins are in part way, give them some tapping with the hammer, gradually increasing the level of force until it’s completely in. The pin should be fully seated in the hinge.