How to square a door frame's rough opening — the step nobody photographs
A step-by-step guide to checking and correcting a rough opening before you install any door, with diagonal-measurement and king-stud-correction techniques.
A door fights you for its entire life if its rough opening is out of square. Every install guide says “make sure the opening is square” and then immediately moves on. This guide does not move on.
What “square” actually means
A rough opening is square when all four corners are 90°. The check for this is geometric: the two diagonals of the opening must be equal length.
The opening also has to be:
- Plumb in both planes: the king studs (the full-height studs flanking the opening) must be vertical in the plane of the wall and perpendicular to the wall. A king stud that leans into the room will tilt your door.
- Level at the sill plate: the bottom of the opening must be flat side-to-side and front-to-back.
- Sized correctly: door unit + 1/2” tall, + 3/4” wide.
Step 1: measure the diagonals
Take your tape measure. Hook it on the top-right corner of the opening and stretch to the bottom-left corner. Note the length.
Repeat from top-left to bottom-right.
If the two diagonals are within 1/8” of each other, you’re square. Move on.
If they’re between 1/8” and 1/2” off, you can shim your way to compliance during the door install. Read step 2.
If they’re more than 1/2” off, the opening needs framing correction before the door arrives. Read step 3.
Step 2: shim-correctable openings
For an opening that’s slightly out of square, you can correct it during the install by shimming the door unit more heavily on the side of the short diagonal. This is the standard pre-hung-door technique.
But: the shimming has to happen at all three heights (top, middle, bottom of the jamb), and the shim pairs have to be opposed across the door — not just stacked on one side.
A door installed this way will work fine. It will not be as durable as a door installed in a properly squared opening — the shims will compress slightly over years, and the door will eventually need a hinge adjustment. That’s manageable. Don’t pretend it’s perfect.
Step 3: correcting a badly out-of-square opening
This is the work the tutorials skip.
If a rough opening is more than 1/2” out of square, one of the king studs is leaning, the header is out of level, or the sill plate is twisted. You have to find which.
Check each king stud with a 4-foot level on its inside face. If it leans, you have two options:
Option A — Sledge and block: Place a block of 2x4 against the offending stud at floor level, near the bottom plate. Hit it with the sledgehammer in the direction the stud needs to move. The bottom plate has some flex; the stud will shift. This works if the stud is just out of plumb by 1/4” to 1/2”. Re-measure after each set of strikes.
Option B — Sister the stud: If the stud is bowed (not just leaning), you can’t sledge it straight — it’ll just rebound. You have to add a new straight 2x4 alongside it, screwed and glued, and let the new stud carry the door load. Cut the existing stud near the top to relieve any binding, screw the new stud in tight against the king, and reframe the bottom plate to support the new stud.
Option C — Header correction: If the header is out of level, you can shim it up with cedar shims at one end, between the header and the jack stud. This is a temporary fix; the real fix is replacing the header.
Re-measure the diagonals after correction. Re-measure plumb. If you’ve done this right, both diagonals should now match within 1/8”.
Step 4: confirm the sill plate
Lay a 4-foot level across the sill plate (the bottom of the rough opening). It should be level side-to-side and front-to-back. If the floor is uneven, the sill plate may need to be planed or shimmed. A French door will fight you forever if the sill is twisted — see the French doors install guide for why.
Step 5: re-check plumb
Now check both king studs with the long level. Both should be plumb (vertical) in the plane of the wall. Both should also be plumb perpendicular to the wall (i.e. not leaning into or out of the room).
If a king stud is leaning into the room, it’ll tilt your door inward and it will swing closed on its own. If it’s leaning out, it’ll swing open. Both are correctable by sledge or sister.
When to call a framer
If correcting the rough opening requires cutting into load-bearing members, or if the header is undersized for the opening, call a framing contractor. You can spot an undersized header by the sag in the drywall above the opening; it’ll have a visible bow.
The cost of fixing a load-bearing framing problem yourself, badly, is much higher than the cost of a framer for a half-day visit.
Why nobody photographs this
Squaring a rough opening doesn’t look like progress on a renovation. The before and after photos look identical to anyone who isn’t measuring. Influencers can’t show their work. The Society’s guide pages can; this is one of the reasons we write them.