How to Hang a Prehung Door
Part of: Floors, walls and doors

- Difficulty
- Moderate
- Time
- 2 to 4 hours
- Tools
- level, shims, hammer, nails or screws, drill, driver, utility knife, tape measure, pry bar, caulk, safety glasses
- Call a pro if
- The rough opening is out of square by more than about half an inch, the header is sagging, or the wall is load bearing and needs to be altered.
In this guide
- Measure the rough opening
- Remove the unit from its packaging carefully
- Dry fit the unit in the opening
- Level the floor line first
- Shim the hinge side plumb
- Set the head jamb
- Shim the latch side for even reveals
- Test the swing before you finish nailing
- Nail off the frame
- Install the casing and hardware
- Common mistakes
- FAQ
- When to call a pro
- Wear protection
Knowing how to hang a prehung door is mostly a shimming exercise. The door and frame arrive as one unit, already hinged, already square in the factory. Your only job is to hold that square unit in the opening so it stays square, and that means shims in the right places, checked with a level at each stage.
Most first attempts fail at the same point: the door is nailed off before the reveals are checked, and then it rubs at the top corner. Take the extra fifteen minutes to hang the door with a few nails, swing it, adjust, and only then finish nailing.
1. Measure the rough opening
The rough opening should be about two inches wider and two and a half inches taller than the door unit. Measure at the top, middle, and bottom of both sides, since old walls are rarely consistent. If the opening is tight, trim the framing rather than forcing the unit.
2. Remove the unit from its packaging carefully
Set the unit on the floor with the hinge side up and cut the wrapping away without running a knife along the frame face. Check that the door swings freely in the frame before it goes into the wall. A door that binds on the floor is easier to deal with now than after it is nailed in.
3. Dry fit the unit in the opening
Lift the unit into the opening and check the fit. The frame should sit against the framing with a small gap all around for shims. If the unit will not go in, find out why: a crowned header, a bowed stud, or a floor that is out of level. Fix the cause rather than shaving the frame.
4. Level the floor line first
A door hung on an out of level floor will swing open or closed on its own. Set a level on the floor across the opening. If one side is low, shim under the low jamb so the frame sits level, then adjust the casing later to cover the gap.
5. Shim the hinge side plumb
Put shims behind each hinge, stacked in pairs from opposite sides so they lock together, and check the hinge jamb with a level. This side is the one that matters most, because the hinges carry the door. Drive one nail through the jamb at each shim once it reads plumb.
6. Set the head jamb
With the hinge side fixed, shim the head so the top of the frame is level and the gap between the door and the head is even. A door that rubs at the top is almost always a head jamb that was not checked.
7. Shim the latch side for even reveals
Close the door and look at the gap around it. You want roughly an eighth of an inch at the top and along both sides, and it should be even from top to bottom. Shim the latch side to hold that gap, then check the door still latches.
8. Test the swing before you finish nailing
Open and close the door several times. It should not rub, it should not swing on its own, and the latch should catch without a shove. Check that the door does not hit the floor at the outer corner as it swings. Adjust shims now, while only a few nails are in.
9. Nail off the frame
Finish nailing through the jamb and shims, keeping the nails under where the casing will cover them. Use a nail set to sink the heads. Trim the shims flush with a utility knife or a pull saw, being careful not to score the jamb.
10. Install the casing and hardware
Set the casing tight to the frame with an even reveal on the frame face, and nail it off. Then fit the strike plate and the lockset. If the door is an exterior unit, insulate the gap between the frame and the framing before the casing goes on, and caulk the outside edge.
Common mistakes
- Nailing the frame off before checking the reveals.
- Shimming the latch side before the hinge side.
- Ignoring an out of level floor, which makes the door swing on its own.
- Stuffing a shim in one place instead of a locked pair.
- Forcing a unit into an undersized opening and bending the frame.
- Leaving the exterior gap uninsulated and uncaulked.
FAQ
How much gap should a prehung door have?
About an eighth of an inch at the top and along both sides, even from top to bottom.
Do I have to remove the door from the frame to install it?
No. Keep the unit together, shim the frame, and adjust with the door in place.
Why does my new door swing open by itself?
The hinge jamb is out of plumb, or the floor is out of level and the frame followed it.
Can I hang a prehung door in an existing frame?
Only if the frame matches the unit. Usually the old frame comes out with the old door, and the new unit goes into the rough opening.
How long does it take?
Two to four hours for an interior unit, longer for an exterior door with insulation, flashing, and caulk.
Related guides
- How to Square a Door Frame Before Hanging a Door: How to square a door frame before hanging a door: check plumb, level and the diagonals, shim the jamb at the...
- How to Hang a Door by Yourself: How to hang a door by yourself: fit the slab to the opening, cut the hinge gains, set the gaps, and get it...
- How to Install a Bifold Door: How to install a bifold door square and smooth: set the track level, anchor the pivot side, hang the panels,...
- How to Install a Door Threshold: How to install a door threshold that seals the gap, sheds water, and does not trip anyone: measure, cut, bed...
- How to Install a Pocket Door: How to install a pocket door: plan the pocket wall, frame it square and plumb, hang the slab so it clears the...
