Another option is to try to separate the top flat part of the pin.
How to keep interior door from swinging open.
If the hinges are out of alignment for any reason the law of gravity dictates that the door will fall open or closed swinging on its hinges to reach its lowest point.
You can do this in under 1 minute.
Place your hinge pin on a scrap piece of wood.
Open your door to a 90 degree angle and then set a level.
You can use a shim such as a thin piece of cardboard to raise a hinge that won t properly align with the adjustment of its pin.
The swing of the door should be level and the door should latch to the doorknob plate in the frame.
The striker on the door handle will help to keep the door hinges aligned while you remove the pin.
When you push your door open you expect it to stay that way.
The bent pin should keep the door from swinging open on its own.
In most cases a door that either won t stay shut or open is the result of the pins or the shims behind the hinges needing adjustment both of.
If you don t have a pin punch an eight penny nail will work.
The fix should last for years.
If the door starts swinging again just bend the pins again.
If the door continues to swing open work down the line of hinges.
How to stop a door from closing.
If you like to keep the windows open but hate the slams of interior doors simply wedge a doorstop underneath the offending door.
But you don t need to take the door down and go through the hassle of disassembling everything just to adjust the frame and learn how to stop a door won t stay.
This will stop the door from swinging open or closed by itself.
Tap the pin upward out of the hinge using a hammer and a pin punch.
Put a slight bend in the old hinge pin.
If it slowly swings closed partially or all the way it s likely that your door is no longer plumb.
A door swinging open on its own can be a nuisance.
If your door only has two hinge pins then completely close it and remove the hinge while the door is in this position.
I usually start with the bottom hinge.