Doors & windows

Door swings open or closed on its own

A door that drifts open or shut by itself is hanging slightly out of plumb, so gravity pulls it one way. The usual fix is to tap out a hinge pin, give it a slight bend with a hammer, and tap it back in. The bent pin adds just enough friction to hold the door where you leave it.

Quick answerClose the door, tap the top hinge pin out, give it a slight bend with a hammer across two blocks, and tap it back in. The friction holds the door where you leave it.
Easy15–30 min$0–10
Door hanging in a frame that leans slightly out of plumb, and a hinge pin laid across two wood blocks being struck in the middle with a hammer
A frame slightly out of plumb (1) lets a door drift. Tap out the top hinge pin (2) and strike its middle to give it a slight bend (3).

Why a door drifts

Houses settle, and door frames go a little out of plumb over time. Even a small lean is enough to make a door on free-swinging hinges drift open or closed on its own.

You can fix the lean itself by shimming or adjusting the hinges, but most of the time adding a little friction at the hinge is all it takes. A slightly bent hinge pin does that for free.

What makes a door swing

A door frame out of plumb

Gravity pulls the door toward the low side.

Worn, loose hinges

The door has nothing to slow it down.

Loose hinge screws

The door sags and leans.

Air pressure

HVAC airflow or a draft pushes it.

Why is it moving?
What you seeLikely causeFix
Slowly drifts open or closedFrame slightly out of plumbBend a hinge pin.
Door sags at the latch sideLoose hinge screwsTighten or fix stripped screws.
Slams when the heat or AC runsAir pressureDoor stop, or leave it latched.
Rubs the frame tooSagging or out-of-square doorFix the hinges first.
One pin at a timeOnly take out one pin at a time, with the door closed and latched. With all the pins out, a door can fall, and they're heavier than they look.

Let's fix it

0 of 5 done
  1. Close the doorClose the door and leave it latched. The latch holds its weight, so you can take out one hinge pin at a time without the door dropping.
    Door closed and latched so its weight rests on the latch before a hinge pin comes out
  2. Tap out the top pinPut the tip of a nail set or large nail under the head of the top hinge pin and tap upward with the hammer. If it's stuck, wedge a flathead screwdriver under the head and tap it. Pull the pin out.
    Nail set under the head of a hinge pin being tapped upward with a hammer
  3. Bend the pin slightlyLay the pin across a gap, such as two scraps of wood or the jaws of a vise, and strike the middle once or twice with the hammer. You want a slight bend you can just see, not a sharp kink. Wear safety glasses.
    Hinge pin laid across two wood blocks and struck in the middle with a hammer
  4. Tap it back inLine the pin up with the hinge and tap it back down. It should take a few firm taps to go in; that resistance is the friction that will hold the door.
    Bent hinge pin being tapped back down into the hinge with a hammer
  5. Test itOpen the door partway and let go. If it still drifts, bend the pin a little more, or do the same to the middle or bottom pin.
    Door left partway open and staying in place instead of drifting

If it still drifts

If a bent pin doesn't hold it, check the hinge screws. Loose or stripped screws let the door lean, and tightening them may fix it.

A hinge-pin door stop or a small friction hinge adds resistance without bending anything.

Go easy on the bendDon't overdo the bend. A pin that's bent too much is hard to drive back in and can make the door stiff to swing.
Get help ifThe door is badly out of line with the frame, the frame is visibly racked or cracked, or doors throughout the house have started sticking or swinging, which can point to settling that's worth a look.

What a pro typically charges (a rough estimate; prices vary by area): A handyman typically charges $75–$150 to adjust or rehang a door.

Other door problems

Door swing questions

Why does my door open by itself?

The door frame is usually slightly out of plumb, so gravity pulls the door open or closed. A little friction at the hinge stops it.

Will bending a hinge pin damage the door?

No. A slight bend just adds friction. If you overdo it, the door can feel stiff, so bend it a little at a time.

Can I use a different fix?

Yes. A hinge-pin door stop or a friction hinge adds resistance, and shimming a hinge can correct the lean itself.

Which hinge pin should I bend?

Start with the top one. If the door still drifts, do the same to the middle or bottom pin.

Still stuck? Ask us

Tell us what you're seeing and what you've tried. We read every question, and the ones that will help other people get answered on this page.

We may publish your question on this page, never your name or email. Please don't include personal details. Privacy

About the authors

GrabTheHammer Team

We're a small team of writers and editors who check every guide against manufacturer instructions and common code requirements. Our goal is to help you understand the problem, tackle what you safely can and know when to call a pro.

Checked against: Manufacturer instructions for the parts and products involved.

How we write and review →
A helpful next stepFix stripped door hinge screwsFill the hole with glued wood and rescrew, or drive a longer screw into the framing.