Building a door frame from scratch gives you complete control over materials, thickness, and design—perfect for non-standard openings, custom hardwood finishes, or basement renovations where prehung doors won’t fit. The process requires precision carpentry skills, but it saves money and lets you create a jamb tailored to your exact needs. This guide walks you through measuring, cutting, assembling, and installing a door frame using basic tools, plus when to reconsider and choose a prehung door instead.
Measure the Rough Opening First
Before purchasing lumber or making any cuts, you must measure the wall opening accurately. A poorly measured opening leads to gaps, binding, and a door that won’t swing properly.
Standard Interior Door Dimensions
Most interior doors come in 30-inch or 32-inch widths with an 80-inch height. Your rough opening needs to account for framing lumber plus the jamb material itself. The rough opening should be:
- Width: Door width plus 5 inches (2 inches for framing plus 3 inches for jambs)
- Height: Door height plus 2.5 inches (for shimming and floor clearance)
For example, a 30-inch by 80-inch door requires a rough opening of approximately 32 inches by 82.5 inches. Exterior doors may need slightly larger openings to accommodate thicker jambs and weatherstripping.
Verify Square and Plumb
Use a level and tape measure to check that the opening meets these critical criteria:
- The bottom is level across its width
- Both sides are perfectly vertical (plumb)
- The top header sits level
- Diagonal measurements match corner to corner
If diagonals differ, the opening is out of square and you’ll need extra shimming during installation to correct it.
Cut Jamb Components to Size

Your door frame consists of two side jambs and one header. Precise cuts ensure everything aligns during assembly.
Choose the Right Lumber
Select material based on your finish requirements and budget:
- Pine (FJP): Affordable and paintable, but prone to warping after cutting
- MDF: Stable and smooth, ideal for painted finishes, but holds screws poorly
- Poplar or Oak: Durable and attractive, better suited for staining
- Pre-cut jamb stock: Available at home improvement stores in standard sizes
Avoid warped or twisted boards entirely—they make achieving proper alignment nearly impossible.
Dimension the Pieces
Cut your side jambs to the door height plus 1/2 to 3/4 inch for floor clearance. For an 80-inch door, cut jambs to approximately 80.5 inches. Measure the distance between the inside faces of both side jambs, then cut the header 1/4 inch shorter than this measurement. This compression fit ensures tight contact when installed and reduces rattle over time.
Use a miter saw or circular saw with a guide for clean 90-degree crosscuts.
Assemble the Jamb Frame

Dry-fitting the frame before securing it prevents costly mistakes that are difficult to correct later.
Join the Frame
Lay the side jambs parallel on a flat work surface, spacing them by the header length. Insert the header between them to form a U-shape. Check all corners with a combination square to confirm they are perfectly square.
Secure the joints using wood glue and 2.5-inch finish nails. Alternatively, use pocket screws for added strength or lap joints for a more traditional approach. Clamp the assembly before nailing to prevent shifting during assembly.
The inner edges of the assembled jamb should sit 1/4 inch wider than the door, creating a 1/8-inch gap on each side for operation and wood expansion.
Transfer Hinge Locations
With the door placed in the dry-fitted frame, mark exactly where hinges will mount.
Position the Door
Lay the door into the jamb using 1/8-inch spacers (playing cards work perfectly) to maintain consistent gaps. Ensure even clearance on all sides before marking.
Mark Hinge Positions
Use a pencil and square to trace hinge outlines from the door edge directly onto the jamb. Most interior doors use two or three hinges positioned with the top hinge 7 inches from the door top and the bottom hinge 10 inches from the bottom. If using a middle hinge, center it between the other two.
Mortise Hinge Recesses
Hinges must sit flush within the wood to allow the door to close flat. This step requires patience whether using hand tools or power tools.
Without a Router: Use Chisels
Score the hinge outline with a utility knife to prevent tear-out. Chisel out the wood in shallow passes, approximately 1/8 inch deep—equal to the hinge leaf thickness. Test the fit frequently and adjust depth as needed. Work slowly because overcutting weakens the jamb and causes hinge screws to strip.
With a Router: Use a Template
Attach a hinge template to the jamb, then use a straight bit with a bearing-guided collar. Rout in multiple shallow passes to avoid burning the wood. Complete all mortises on the door first, then transfer positions to the jamb for consistent alignment.
Attach Hinges and Test Fit
Mount hinges to both the door and jamb before final wall installation.
Secure Hinges
Use #8 or #9 wood screws, typically 1 inch long. Pre-drill pilot holes to prevent splitting, then drive screws firmly without overtightening.
Reassemble and Check Swing
Hang the door in the jamb and open and close it slowly. Watch for even 1/8-inch gaps on sides and top, no rubbing or binding, and smooth closing action. If binding occurs, shim behind the hinge jamb or adjust the mortise depth until operation feels smooth. Once satisfied, remove the door temporarily for wall installation.
Install Frame into Wall Opening
Mounting the assembled jamb into the rough opening requires careful shimming and checking.
Insert and Shim the Frame
Place the jamb into the opening and insert shims at hinge locations, the top, and the bottom. Check continuously for plumb on both jambs, level across the header, and square by comparing diagonal measurements.
Fasten to Studs
Drive 3-inch screws or finish nails through the jamb and shims into wall studs. Fastening through shims prevents binding the frame. Leave one fastener per stud loose initially—adjust alignment before final tightening.
Leave 1/2 to 3/4 inch gap at the bottom for flooring clearance.
Install Stop Molding
Stop molding prevents the door from swinging through the frame and must be installed precisely.
Cut and Nail the Stop
Use 1×3 or 3/8-inch by 1-1/4-inch primed pine. Miter corners at 45 degrees for clean joints. Nail the stop every 8 to 12 inches with 2d finish nails. Some jamb stock comes with a pre-rabbeted edge; if yours doesn’t, apply stop molding flush to the jamb face. Dry-fit all pieces first before nailing permanently.
Add Casing and Trim
Trim completes the installation and covers the gap between the jamb and drywall.
Install Casing
Cut 45-degree miters for inside corners. Nail casing to both the jamb and wall using 2d or 3d finish nails. Fill nail holes with wood putty. Match your material choice to the finish: pre-primed casing for painted doors, hardwood for stained finishes.
Common Problems and Fixes
Even experienced builders encounter issues. Here are solutions for the most frequent problems.
Door Rubs at Top or Side
This indicates the frame is out of plumb or twisted. Loosen the fasteners, add or adjust shims behind the rubbing area, and recheck with a level.
Gaps Are Uneven
Misaligned hinges or poor mortising cause this. Adjust shims behind the hinge jamb or deepen shallow mortises to correct the gap.
Door Doesn’t Stay Open
A header that isn’t level causes this. Shim the top of the jamb until the header sits perfectly level.
Hinges Squeak or Sag
Screws stripping in soft pine or MDF weakens hinge hold. Replace stripped screws with longer ones, or fill the hole with toothpicks and glue before reinstalling.
Tool Shortcuts Without a Table Saw
Building a door frame without a table saw increases difficulty but remains possible.
Rip Jamb Stock with Circular Saw
Clamp a straight-edge guide to the board. Set blade depth just deeper than the stock thickness (1.25 inches). Make slow, steady cuts along the guide. Score the cut line first, then deepen in multiple passes for cleaner edges.
Flatten Warped Boards with Hand Plane
Use a smoothing or jack plane working with the grain. Check flatness frequently with a straightedge. Kiln-dried or finger-jointed pine resists warping better than standard FJP.
When to Choose Prehung Instead
Building from scratch rewards skilled DIYers, but prehung doors often make more sense.
Advantages of Prehung Doors
Prehung doors arrive with factory-aligned hinges, pre-cut lockset holes, and weatherstripping (for exterior doors). Most homeowners install them in 1 to 2 hours versus 4 to 8 hours for building a frame from scratch. They require minimal tools and deliver better long-term performance.
Best Use Cases for DIY Frames
Custom situations that warrant building from scratch include non-standard door sizes, thin-profile or hidden hinge designs, historical restoration projects, and specific hardwood material requirements. For standard openings in typical homes, prehung doors save time and frustration.
Cost and Time Comparison
| Option | Cost | Time | Skill Level |
|---|---|---|---|
| Build from Scratch | $50–$100 | 4–8 hours | Advanced DIY |
| Prehung Door | $100–$200 | 1–2 hours | Beginner+ |
| Pre-Made Jamb Kit | $30–$60 | 2–3 hours | Intermediate |
A used table saw found secondhand for around $50 pays for itself quickly in precision and time saved for anyone planning multiple woodworking projects.
Final Tips for Success
Building a door frame from scratch demands precision, patience, and solid carpentry fundamentals. Always dry-fit the door in the jamb before mounting to the wall. Use plenty of shims—they are your best tool for achieving plumb, level, and square alignment. Fasten directly into wall studs, never just drywall. Maintain consistent 1/8-inch gaps on sides and top, with 1/2 inch or more at the bottom. Choose stable materials like MDF or finger-jointed pine over warped standard lumber.
Frequently Asked Questions About Building a Door Frame from Scratch
Can I build a door frame with just basic tools?
Yes, you can build a door frame using only a circular saw, drill, chisels, and hand plane. However, tasks like cutting consistent rip cuts and mortising hinges become significantly harder without a table saw or router. Expect the project to take longer and require more patience.
What is the difference between a door jamb and a door frame?
A door jamb consists of the vertical side pieces and horizontal header that form the door’s supporting structure. A door frame typically includes the jamb plus the surrounding trim (casing) that covers the gap between the jamb and wall.
How much gap should there be around a door?
Allow 1/8-inch gaps on both sides and at the top of the door. Leave 1/2 to 3/4 inch at the bottom for flooring clearance. These gaps accommodate wood expansion and ensure smooth operation.
Do I need to mortise hinges for a door frame?
Yes, hinges must be recessed (mortised) into both the door edge and the jamb so they sit flush. Without mortising, the door won’t close flat and may rub against the frame.
Can I use MDF for a door frame?
MDF works well for painted door frames because it’s stable and smooth. However, MDF holds screws poorly, so reinforce hinge locations with wood inserts or choose hardwood for high-traffic doors.
Key Takeaways for Building Your Own Door Frame
Building a door frame from scratch is entirely achievable with basic tools and careful attention to measurement, squaring, and shimming. The process rewards you with a custom jamb that fits non-standard openings or matches specific material requirements. However, for most standard interior door installations, prehung doors deliver faster, more reliable results with less skill required. Assess your specific needs—custom size, material, or design—and choose accordingly. Gather your tools, measure twice, cut once, and take your time with the hinge mortising for professional-quality results.





