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. Go easy on the bend. A slight curve is enough, and a pin bent too far won't go back in the hinge without a fight.

Striking a hinge pin resting on two wood blocks to give it a slight bend
A slight bend in the hinge pin adds enough friction to stop a door from drifting.
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.
Worth checking firstOpen the door halfway and let go. If it swings toward the hinges, the hinge side is out of plumb. Bending one hinge pin slightly adds enough friction to hold it, and it's easier than shimming the frame.

Good to knowRenter-friendlyUnder $10

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 doors are heavier than they look.

Bend the hinge pin, step by step

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.
    Something went wrong?
    • The pin won't come out Spray a little penetrating oil on the top and bottom of the hinge, wait a few minutes, and tap again from below.
    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.
    Something went wrong?
    • The pin slides in too easily It isn't bent enough to add friction. Take it out and give it one more light tap.
    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

Watch it done

Fix a Door that Closes or Opens by ItselfBy Home Repair Tutor on YouTube. Their method may vary a little from ours.
Watch on YouTube
How you'll know it's fixed
  • The door stays put when you open it partway and let go
  • It stays put at a few different spots, not just one

Still drifting? Check the hinge screws, or add a hinge-pin door stop.

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.

If it's a storm door that won't close on its own or slams shut, adjust the storm door closer.

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.Fix it yourself or call? Compare the cost →

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

Find a handyman near you

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.

Why won't my door stay open?

It's hanging slightly out of plumb, so gravity pulls it one way. A slightly bent hinge pin adds enough friction to hold it where you leave it.

Reader reports

Did this fix work for you?

Tell the next person how it went. Your numbers are added to the totals anonymously; tips are read by our team before they appear.

How did it go?
Reader Q&A

Questions from readers

No questions on this guide yet. If you're stuck, ask below. Useful questions and answers get added here for the next person.

Ask a question

We read every question before anything is published, and we never show names or emails. Please leave out personal details. PrivacyAccessibility

About the authors

GrabTheHammer Team

  • No sponsored picks
  • Safety first
  • Tells you when to call a pro

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.