How to Install a Door Frame and Hang a Door with Common Mistakes and Troubleshooting Tips
- Courtney Colvin
- 6 days ago
- 9 min read
A door that sticks, swings open by itself, or shows a crooked gap usually has one root cause: the frame was not installed square, plumb, and level. Hanging the door is the visible part, but the frame does most of the work.
This guide walks through the full process, from preparing the rough opening to setting the frame, hanging the slab, checking the reveal, and fixing common problems. The steps apply to most interior prehung doors and many standard door replacements in U.S. homes.

Gather the right tools and check the opening first
A good installation starts before the frame touches the wall. If the rough opening is too tight, out of square, or damaged, the door will be difficult to adjust later.
For a typical interior door, the rough opening should usually be about 2 inches wider and 2 inches taller than the door slab size, though you should always confirm with the door manufacturer’s specs. The extra space gives room for the jamb and shims.
Tools and materials
You will need:
Prehung door or door slab and separate jamb kit
Tape measure
4-foot level
Carpenter’s square or framing square
Hammer
Drill and driver bits
Finish nails or trim screws
Wood shims
Utility knife
Pry bar
Pencil
Safety glasses
Wood filler or caulk for finishing
Insulation or low-expansion foam for exterior doors
If you are replacing an old door, remove the casing carefully first. Use a utility knife to score paint or caulk lines before prying trim away. This lowers the chance of tearing wall paint or drywall paper.
Check the rough opening
Before installing anything, confirm four things:
What to check | How to check it | What you want |
Width | Measure top, middle, and bottom | Space for jamb and shims |
Height | Measure both sides and center | Enough clearance above the frame |
Plumb | Hold a level against each side | Studs close to vertical |
Square | Measure diagonally corner to corner | Matching diagonal measurements |
If the diagonal measurements are very different, the opening is out of square. You can often correct small differences with shims, but severe framing issues may need repair before you install the door frame.
Prepare the door frame before setting it
If you are installing a prehung door, the slab already sits in the frame with hinges attached. Leave the shipping braces in place until the frame is positioned unless they block your work. They help keep the unit square while you move it.
If you are building the frame from jamb pieces, assemble it on a flat surface. Make sure the head jamb sits tight against both side jambs. Use the door slab as a guide so you can maintain an even reveal around the top and sides.
Decide the swing direction
Before fastening anything, confirm the door swing. Stand on the side where the door swings toward you. If the hinges are on your left, it is a left-hand door. If the hinges are on your right, it is a right-hand door.
Check for:
Light switches that could be blocked
Furniture placement
Closet depth
Hallway clearance
Flooring height changes
Code or egress needs for certain locations
This is the easiest time to correct the swing. After the frame is nailed in, changing it becomes much harder.
Protect the finished floor
If the room already has finished flooring, place cardboard or a drop cloth under the door unit. A prehung door can scratch hardwood, vinyl plank, or tile while you test the fit.
For rooms without finished flooring, account for the final floor height. Carpet, tile, and floating floors can raise the surface. If you ignore that thickness, the door may drag once the flooring goes in.
Set the frame plumb, level, and square
Place the door frame into the rough opening. Center it so the gaps on both sides are roughly even. Start on the hinge side because it carries the weight of the door.

Start with the hinge side
Hold the level against the hinge-side jamb. Adjust with shims until the jamb is plumb from top to bottom. Place shims behind each hinge location. This matters because the screws at the hinges need solid backing.
Use pairs of shims from opposite directions so they create a flat support surface. Do not force one thick shim behind the jamb and twist the frame.
Fasten the hinge side lightly at first. Drive one nail or screw near the top hinge area, then check the level again. Add fasteners at the middle and lower hinge points only after the jamb remains plumb.
For extra strength, replace one short hinge screw in each hinge with a longer screw that reaches the wall stud. This helps prevent sagging over time.
Set the head jamb
Check the top jamb with a level. The head jamb should sit level across the opening. If one side is high, adjust the side jambs with shims rather than forcing the top into place.
Look at the gap between the top of the door and the head jamb. This gap should be even. A common reveal is about 1/8 inch, but the exact gap can vary by door type and manufacturer.
Adjust the latch side
Move to the latch-side jamb. Close the door gently and look at the reveal along the latch side. Add shims near the top, middle, and bottom until the gap looks even from top to bottom.
Do not pull the latch jamb tight against the door. The door needs a little clearance to close freely. If the jamb touches the slab, the door will rub once paint, humidity, or seasonal movement enters the picture.
Fasten the latch side after the reveal is even. Keep checking the door operation as you go.
Hang the door and fine-tune the reveal
If you installed a prehung unit, the door is already attached. Your job is to test and adjust it. If you installed a separate frame and slab, now is the time to hang the door.
Mark the hinge locations
Set the door slab in the opening with temporary spacers under it. Typical interior door clearance above the finished floor is often around 1/2 inch, but flooring and door type can change that.
Mark hinge locations on the jamb and slab. Standard interior doors often use three hinges. Heavier solid-core or exterior doors may need more support.
Mortise the hinge recesses so the hinge leaves sit flush with the wood surface. If the hinge sits proud, it can make the door bind on the hinge side. If it sits too deep, the reveal may become too wide.
Attach the hinges
Fasten the hinges to the door first, then set the door in the frame and attach the hinges to the jamb. A helper makes this easier, especially with solid-core doors.
Drive screws snug, not over-tight. Overdriving can strip the screw hole or pull the hinge out of position.
Once the door is hanging, close it slowly and inspect the gaps:
Top gap should be even
Hinge-side gap should be consistent
Latch-side gap should be consistent
Door should not rub the jamb
Door should not swing open or closed on its own
The reveal tells the truth. If the gap around the door is uneven, the frame or hinges need adjustment.
Install the latch hardware and make the door close cleanly
After the door swings well, install the knob or lever set. Most modern door slabs come pre-bored, which makes this step simple. If not, use the hardware manufacturer’s template and measure carefully before drilling.
Install the latch into the edge of the door, then attach the knobs or levers. Close the door until the latch touches the jamb. Mark the center of the latch on the jamb for the strike plate.
Chisel or route the strike plate recess so the plate sits flush. Drill the latch hole deep enough for the latch bolt to enter fully.

Test the latch several times. The door should click shut without lifting, pushing hard, or pulling the knob upward.
If the latch misses the strike plate, do not enlarge the hole randomly. First, find out whether the door is sagging, the jamb is out of plumb, or the strike plate is simply marked too high or low.
Finish the frame without creating new problems
Once the door works smoothly, trim the shims flush with a utility knife or oscillating tool. Do not hammer them off, since that can shift the frame.
For interior doors, install casing around the frame to cover the gap between the jamb and wall. Nail casing into the jamb and wall framing, then fill nail holes and caulk small gaps.
For exterior doors, insulation matters. Use low-expansion foam or appropriate insulation around the frame. Standard high-expansion foam can bow the jamb inward and make the door stick.
After painting or staining, check the door again. Paint buildup along the edges can change the fit, especially if clearance was already tight.
Common mistakes to avoid
Small shortcuts often cause the biggest door problems. Watch for these mistakes while you work.
Fastening the frame before checking the reveal
A frame can look fine until the door closes. Always check the reveal before driving all the fasteners. Set a few fasteners, test the door, then continue.
Skipping shims behind the hinges
The hinge side carries the door’s weight. If the hinges have no solid support behind them, the jamb can flex and the door can sag.
Using the wall as the guide instead of the level
Walls are not always straight. Drywall can be bowed, studs can lean, and old framing can shift. Set the jamb plumb and square, even if the wall is imperfect.
Over-tightening screws
A screw can pull the jamb out of position. Drive fasteners carefully and watch the reveal while tightening.
Ignoring the finished floor height
A door that swings perfectly over subfloor may rub once carpet or tile is installed. Plan for the final surface before cutting or setting the frame.
Cutting too much off the door
If a slab needs trimming, remove small amounts and test often. You can always cut more, but you cannot put material back without a repair.
Using too much foam around the frame
For exterior doors, insulation is useful, but too much expanding foam can bend the jamb. Use low-expansion foam made for windows and doors.
Troubleshooting door installation problems
Even careful work may need adjustment. Use the symptom to find the likely cause.
Problem | Likely cause | Fix |
Door rubs at the top latch-side corner | Door is sagging or hinge jamb moved | Tighten hinge screws, add a long screw into the stud, check hinge-side shims |
Door swings open by itself | Frame is out of plumb | Adjust the jamb until it is plumb |
Door will not latch | Strike plate is misaligned or door has shifted | Check reveal, then adjust strike plate position |
Gap is wide at the top on one side | Frame is out of square | Re-shim the side jambs and head jamb |
Door sticks after painting | Paint buildup or tight clearance | Sand high spots lightly and seal exposed edges |
Latch side rubs from top to bottom | Latch jamb is too close | Loosen fasteners, adjust shims, reset the reveal |
Hinge side binds | Hinges are not flush or screws are too tight | Check hinge mortises and screw tension |

Fix a sagging door
Start with the top hinge. Tighten the screws. If they spin without gripping, replace one screw with a longer screw that reaches the stud. If the screw hole is stripped, fill it with glued wood toothpicks or a wood plug, let it dry, then drive the screw again.
Fix a door that rubs the jamb
Look for shiny scuff marks or paint transfer. That tells you where the contact happens. If the rub is minor, sanding may work. If the rub is caused by a crooked frame, adjust the shims instead of shaving the door.
Fix a latch that will not catch
Close the door and watch where the latch bolt hits the strike plate. If it is only slightly off, file the strike plate opening or move the plate. If it is far off, check the hinge screws and frame alignment before cutting a larger hole.
Fix uneven gaps
Uneven gaps usually point back to the frame. Remove casing if needed, loosen nearby fasteners, and adjust the shims. Work slowly. A small shim movement can change the reveal more than expected.
What a successful installation looks like
A properly installed door frame and door should feel almost boring. The door opens smoothly, stays where you leave it, and closes with a light push. The latch lines up without lifting the knob. The reveal looks even across the top and down both sides.
The best way to get that result is to move in order: check the rough opening, set the hinge side plumb, level the head jamb, adjust the latch side, then test before final fastening. Take your time with shims and gaps. That careful setup is what makes the finished door look clean and work well for years.




Comments