A door frame looks like a puzzle of oddly named boards, but once you know what each piece does, framing a door is basic carpentry you can finish in an afternoon. Get the rough opening right and the rest falls into place.
Doing the work yourself instead of hiring a carpenter saves you real money and lets you set the exact size and swing you want. The real skill is measuring carefully and checking for plumb as you go.
Below you will find the terminology, the rough opening math, and the step by step build, whether you are opening a basement wall or adding a closet.
Key Takeaways
- Size the rough opening: Frame it 2 inches wider and 2.5 inches taller than the door, so a 30 by 80 inch door needs a 32 by 82.5 inch opening.
- Match the lumber to the wall: Use 2×4 studs for interior walls and 2×6 studs for exterior or plumbing walls.
- Learn the five parts: King studs, jack studs, the header, cripple studs, and the plates each have a specific job.
- Confirm load-bearing status first: Check whether the wall carries weight before you cut any framing or size a header.
Door Framing Diagram
To install a door frame correctly, you need to speak the language. The frame distributes weight and holds the door level, so every piece of wood serves a specific purpose.
Here is a breakdown of the standard parts you will encounter during a framing project.
Cripple Stud
A cripple stud is a short, non-structural stud placed above the door header or below a window sill. These pieces transfer the layout pattern from the top plate down to the header. They provide a necessary nailing surface for drywall or siding.
Top Plate
The top plate is the continuous horizontal framing member that runs across the top of the wall. It ties all the vertical studs together and supports the ceiling joists or rafters above.
In most modern framing, you will see a double top plate. This adds strength and allows for overlapping joints at wall intersections.
Header
The header is the heavy lifter of the door frame. It is a beam that spans the opening to support the weight of the roof or floor above. It redistributes that structural load over to the sides of the door frame, resting on the jack studs.
King Stud
The king stud is a continuous vertical board that runs from the soleplate all the way to the top plate. You will find one on the immediate left and right of the door opening. Its job is to keep the jacks and header inline and provide lateral stability to the opening.
Jack Stud
Also known as a trimmer, the jack stud fits inside the king stud. It is cut shorter than the other wall studs because it supports the header. The header sits directly on top of the jack studs, transferring the weight down to the floor.
Soleplate
The soleplate (or bottom plate) is the horizontal wood that anchors the wall to the subfloor. When framing a door, you typically run the soleplate continuously across the opening and cut the excess out later with a handsaw or reciprocating saw.
Should You Buy or Build a Door Frame?
Buy a pre-hung door kit for a standard opening; build a frame from scratch for a non-standard opening or a brand-new wall.
Buying a pre-hung door is usually easier for standard openings. The door comes already hinged to the jambs, which saves hours of chiseling and alignment work. It costs a bit more, but it eliminates the headache of trying to get the reveal (the gap between door and frame) perfect.
However, building a door frame from scratch is better if you have a non-standard rough opening or want a custom look. It is also the only option if you are framing a new wall where no opening currently exists.
Either way, get the jamb depth right, because it has to match your wall thickness. Per the sizing charts published by door-hanging specialist eZ-Hang, a standard 2×4 wall takes a jamb around 4 9/16 inches deep, while a 2×6 wall (common on exterior and plumbing walls) needs a jamb about 6 9/16 inches deep. Pre-hung units are sold by this depth, so measure your finished wall before you order one.
Measuring a Rough Door Opening
Getting the math right is the most critical part of framing. If your opening is too tight, the door jamb will not fit; if it is too loose, you will struggle to shim it plumb.
Here is the golden rule for calculating a Rough Opening (RO):
- Width: Add 2 inches to the actual door width.
- Height: Add 2.5 inches to the actual door height.
This extra space accommodates the thickness of the door jambs (usually 3/4 inch per side) and leaves room for shims to level the door.
Not sure which door size you are working with? Standard interior doors come in a handful of widths, and passage doors run a minimum of 80 inches tall (1). Typical room assignments run like this:
- 24 inches: closets, pantries, and powder rooms.
- 28 to 30 inches: bathrooms and smaller bedrooms.
- 32 inches: the most common bedroom and passage door.
- 36 inches: main entries and wheelchair-accessible openings.
Across all these categories, the single most common door size overall is 32 inches wide by 80 inches tall. Run whichever size you choose through the formula above to get its rough opening.
For example, if you are installing a standard 30-inch x 80-inch door:
- The Rough Opening width is 32 inches.
- The Rough Opening height is 82.5 inches.
How to Frame a Door Opening
Framing a door involves measuring, cutting, and nailing lumber to create a structural void in a wall.
What You’ll Need
- 2×4 or 2×6 framing lumber.
- Handsaw or circular saw.
- Tape measure and pencil.
- 16d nails (for toenailing) and 10d nails (for assembling king and jack studs).
- Hammer or framing nailer.
- 4-foot level.
1. Gather and Mark Materials
Determine the location of your door. Mark the center of the opening on the floor. From that center mark, measure out half the Rough Opening width to the left and right. This marks the inside edge of your jack studs.
Next, mark the position for the king studs outside of those jack stud marks. This ensures you know exactly where your layout falls on the soleplate.
2. Cut the Components
Measure the floor-to-ceiling height. Cut your king studs to fit snugly between the soleplate and top plate.
Next, cut your jack studs. Because the jack rests on top of the soleplate, its length is the rough opening height minus the thickness of that bottom plate, which works out to roughly 81 inches for a standard 80-inch door (not the full 82.5-inch opening height).
Finally, build your header. Cut it to the width of the rough opening plus the thickness of two jack studs (about 3 inches total). A header is not one board. According to Fine Homebuilding, you sandwich two lengths of 2x lumber around a 1/2-inch plywood or OSB spacer so the finished assembly matches the 3 1/2-inch width of a 2×4 wall. A 2×6 wall uses three plies with two plywood spacers to reach 5 1/2 inches. Nail the layers together with 16d nails driven from both faces in a staggered pattern so the spacer cannot slide.
Don't Cut The Top Plate
The top plate bears the weight of the structure above. Never cut the top plate to fit a door unless you are an experienced builder who understands how to re-route the structural load.
3. Assemble the King and Jack Studs
It is often easier to nail the king and jack studs together before standing them up. Align the bottom of the jack stud with the bottom of the king stud. Nail them together using 10d nails in a staggered pattern every 12 to 16 inches.
4. Install the Studs and Header
To secure the frame, follow these steps:
- Toe-nail the king/jack stud assembly to the soleplate and top plate using 16d nails.
- Place the header on top of the jack studs.
- Nail through the king studs into the ends of the header to lock it in place.
- Check that the sides are plumb (vertically straight) with your level.
5. Add Cripple Studs
Measure the gap between the top of the header and the bottom of the top plate. Cut short 2×4 pieces (cripples) to fill this space. Install them on 16-inch centers to maintain the wall’s stud layout. This ensures you have something to screw into when hanging drywall later.
6. Cut the Soleplate
Once the frame is secure and nailed tight, use a handsaw or reciprocating saw to cut out the section of the soleplate that runs across the door opening. Cut flush against the inside of the jack studs. This leaves you with a clear path for flooring.
How to Frame a Door in a Corner
Corner doors can be tricky because you need enough wood to support the drywall in the corner. You cannot just slap a stud against the wall and call it a day.
The standard solution is a “three-stud corner” or “California corner.” This involves sandwiching block spacers between two studs or arranging studs in an L-shape.
This configuration provides a solid nailing surface for the drywall on both intersecting walls. If you forget this step, the drywall in the corner will float and eventually crack.
FAQs
Here are answers to common questions regarding door framing and structural modifications.
Final Words
Framing a door comes down to careful measuring and constant checking for plumb. Get the rough opening math right, build the header to match your wall, and the rest is mostly cutting and nailing. Measure twice, keep your level within reach, wear eye protection, and you will have a solid opening ready for a door.







