A door that sticks, swings open on its own, or refuses to latch is almost never the door’s fault — it is a frame that was built out of plumb or out of square by a fraction of an inch. Building a door frame correctly is one of the most satisfying carpentry tasks a DIYer can take on, and the same skills apply whether you are framing a new closet, replacing a damaged frame in an old hallway, or hanging a pre-hung door from scratch. Done right, the door swings freely and latches with a soft click. Done wrong, you will be planing the edges for years.
- The Three Parts of a Door Frame
- Measuring the Rough Opening
- Materials You Will Need
- Step 1: Cut the Jambs to Size
- Step 2: Cut the Dadoes or Assemble the Joints
- Step 3: Mortise the Hinges
- Step 4: Assemble the Frame
- Step 5: Install the Frame in the Rough Opening
- Step 6: Test the Door and Trim the Shims
- Common Mistakes to Avoid
The Three Parts of a Door Frame
Before cutting anything, get the terminology straight. A standard interior door frame has three structural members:
- Two side jambs — vertical pieces that the door hinges and strike plate attach to
- One head jamb (header) — horizontal top piece connecting the two side jambs
- Casing — decorative trim applied around the frame after install (cosmetic, not structural)
The frame sits inside a “rough opening” framed in the wall studs. The rough opening is intentionally 2 inches wider and 2 to 2.5 inches taller than the door slab to allow space for the jambs plus shims.
Measuring the Rough Opening
For a standard 32-inch interior door, the rough opening should be 34 inches wide by 82 inches tall. For a 36-inch door, frame the opening at 38 inches wide by 82 inches tall. Measure with a tape pulled taut between studs at three points: top, middle, and bottom. The narrowest of the three measurements is your true rough opening width.
Check the rough opening for plumb (vertical level) and square (90-degree corners). A diagonal measurement from top-left to bottom-right should equal the diagonal from top-right to bottom-left within 1/8 inch. If the diagonals differ by more, the opening needs adjustment before the frame goes in.
Materials You Will Need
For a standard 32-inch interior door frame, budget about $35 in materials:
- One pre-cut jamb kit (two 80-inch side jambs and one head jamb) or 1×6 select pine to cut your own
- One bundle of wood shims (cedar)
- 2.5-inch and 3.5-inch finish nails or trim screws
- Hinge mortising template or chisels
- Construction adhesive (optional but recommended)
Pre-hung door kits include the frame already assembled with the door hung on the hinges. They are faster but more expensive ($75 to $250 versus $25 to $40 for a slab door plus DIY frame).
Step 1: Cut the Jambs to Size
Standard interior jamb stock is 4-9/16 inches wide to match a 2×4 wall plus 1/2 inch drywall on both sides. For a 2×6 wall, you need 6-9/16-inch jambs. Cut the two side jambs to 82 inches long for a standard 80-inch door — the extra 2 inches accounts for the head jamb dado and floor clearance.
Cut the head jamb to the door width plus 1-1/8 inches. For a 32-inch door, that is 33-1/8 inches. The extra 1/8 inch on each side allows the door to swing freely without rubbing.
Step 2: Cut the Dadoes or Assemble the Joints
The head jamb fits into a dado (a shallow groove) cut into the top of each side jamb. Cut a 3/4-inch deep by 3/4-inch wide dado on the inside face of each side jamb, 1/2 inch from the top. If you do not have a dado blade, you can assemble the joint with butt joints reinforced with two 2.5-inch screws driven through the top of the side jamb into the end of the head jamb.
Pre-cut jamb kits arrive with the dadoes already milled, which saves about 30 minutes per frame.
Step 3: Mortise the Hinges
Before installing the frame, mortise the hinges into the side jamb that will hold the door. Standard interior doors use three hinges: top hinge 7 inches from the top of the door, bottom hinge 11 inches from the bottom, and middle hinge centered between them.
Use a hinge mortising template ($25 to $40) and a router for fastest results. With a chisel only, score the outline of the hinge, then make a series of vertical cuts across the mortise and pare them out flat. Depth should match the hinge leaf exactly — typically 1/8 inch.
Step 4: Assemble the Frame
Lay the head jamb flat with the dado side up, then slip a side jamb into each dado. Drive two 2.5-inch finish nails or trim screws through the top of each side jamb into the end of the head jamb. A bead of construction adhesive in the dado before assembly adds long-term rigidity.
The assembled frame should be exactly the door width plus 1-1/8 inches at the head jamb and slightly more flexible at the bottom of the side jambs. Do not nail a temporary spreader at the bottom yet — you need that flex for installation.
Step 5: Install the Frame in the Rough Opening
Lift the assembled frame into the rough opening. Use shims to plumb the hinge-side jamb first. Place pairs of opposing cedar shims behind each hinge location, tapping them in until a 4-foot level on the inside face shows plumb in both directions.
Drive 3.5-inch finish nails or trim screws through the jamb and shims into the wall stud at each shim location. Move to the strike side, shim every 16 inches to keep a consistent 1/8-inch reveal around the door, and fasten the same way. Check the head jamb is level and shim from above if needed.
Step 6: Test the Door and Trim the Shims
Hang the door on the hinges and swing it through its full arc. It should sit at a consistent 1/8-inch gap on the top, hinge side, and strike side. The bottom gap depends on flooring — typically 1/2 inch above carpet, 3/8 inch above hardwood or tile.
If the door rubs on one edge, tap the shims at that location tighter or looser as needed. Once everything fits, score the shims with a utility knife flush to the wall and snap off the protruding ends.
Common Mistakes to Avoid
The four mistakes that ruin most DIY door frames: skipping the plumb check before fastening, using too few shims, over-driving fasteners and bowing the jamb, and forgetting to verify the rough opening is square before starting. A 4-foot level, eight pairs of shims, and patience solve all four.
A first-time door frame takes about three hours. By the third install, you will be down to an hour, and the result will be a door that swings and latches as well as anything in new construction.