How to Frame a Wall
Published November 5, 2026·Interior

To frame a wall, you mark plates for studs at 16 inches on center, frame any door or window openings with king studs, jack studs and a header, nail it together on the floor, then raise, plumb and anchor it. A 12-foot interior wall with a door is about a one-day job for two people, and it takes roughly $125 to $191 in lumber and fasteners, or about $353 to $705 with insulation, drywall and a prehung door.
Is the wall load-bearing, and do you need a permit?
This guide covers building a new interior partition: a wall that splits a room, closes off part of a basement or garage, or makes a closet. A new partition that only holds itself up is non-load-bearing, and it is a very reasonable DIY project.
Load-bearing walls carry the floor or roof above them. Exterior walls usually do, and so do interior walls that sit under joists near the middle of their span or under another wall upstairs. If you are building a bearing wall, or cutting a new opening into an existing wall, get the header and support sizes from your local code or a structural engineer before you start.
Permit rules vary a lot. Many jurisdictions want a permit for a wall that creates a new room, especially a bedroom (which brings egress window and smoke alarm rules), and nearly all require one for new wiring. Some let you build a simple partition without one. Call your local building department and describe the project before you buy lumber, and use a licensed electrician for any new circuits where your jurisdiction requires it.
How much does it cost to frame a wall?
Lumber and fasteners for a 12-foot interior wall with one door run roughly $125 to $191. Add insulation, drywall on both sides and a prehung door and the total comes to about $353 to $705. Lumber prices swing by region and season, so treat these as approximate and check your local yard.
| Item (12 ft wall, one door) | Quantity | Unit price | Typical cost |
|---|---|---|---|
| 2×4 studs | 20 | $3.50–$5.00 | $70–$100 |
| 2×4×16 plate stock | 3 | $9–$13 | $27–$39 |
| 2×6×8 for the header | 1 | $8–$12 | $8–$12 |
| Nails or screws, shims, plywood spacer | Lot | – | $20–$40 |
| Framing subtotal | $125–$191 | ||
| Unfaced R-13 batts | 84 sq ft | $0.50–$1.50 | $42–$126 |
| Drywall, mud, tape, screws (both sides) | 172 sq ft | $0.50–$0.80 | $86–$138 |
| Prehung 32″ interior door | 1 | $100–$250 | $100–$250 |
| Approximate total | $353–$705 |
The quantities come from the worked example below. Paint, trim and electrical are not included. Each calculator takes your own unit price, so you can plug in what your yard charges this week.
Materials and tools
- 2×4 studs: 92⅝″ precuts or 8-footers, cut to your measured height (count them with the stud calculator)
- 2×4 plate stock, ideally 16-foot boards so long plates have no splices
- Pressure-treated 2×4 for the bottom plate and a foam sill gasket, if the floor is concrete
- 2×6 or deeper stock for headers, plus a strip of ½″ plywood for the header spacer
- 16d (3½″) framing nails or structural framing screws, and 8d nails for toenailing
- Concrete screws or a powder-actuated nailer for slab floors
- Wood shims and construction adhesive
- Tools: tape measure, speed square, framing square, chalk line, 4-foot level (a laser helps), circular saw or miter saw, framing hammer or nailer, drill/driver, stud finder, pencil
- Safety: glasses, hearing protection and gloves
Parts of a framed wall
Every stud wall uses the same handful of parts. Learn the names and the steps below make sense.
- Bottom plate (sole plate): the horizontal 2×4 on the floor that the studs stand on.
- Top plates: the 2×4 the studs end at, doubled with a second plate on top. On load-bearing walls the second plate laps over intersecting walls to tie them together.
- Studs: the vertical members, usually 16″ on center.
- King studs: full-height studs on each side of a door or window opening.
- Jack studs (trimmers): shorter studs nailed to the kings that hold up the header.
- Header: the beam across the top of an opening.
- Cripples: short studs above a header or below a window sill, kept on the 16″ layout.
- Rough sill: the flat 2×4 across the bottom of a window opening.
Stud spacing: 16 or 24 inches on center
16 inches on center is the standard for load-bearing walls and anything getting drywall. It makes a stiffer wall, and every 48-inch sheet edge lands on a stud. 24-inch spacing is acceptable for many non-load-bearing partitions and saves about 25% of the lumber, but the wall feels less solid. For a first wall, stick with 16. As a rule of thumb, that's about one stud per foot of wall once you count corners and openings.
Worked example: a 12-foot wall with a door
Here are the numbers for a 12-foot non-load-bearing partition on a wood subfloor, running between two existing walls (so it has two wall ends), with one 32-inch prehung door. The ceiling measures 96⅝″ from the subfloor at its lowest point. Each figure uses the linked calculator's formula, so your own wall will give matching results.
Studs and plates
In the stud calculator, enter 12 feet at 16″ on center, 2 wall ends and 1 opening. Field studs are 144 inches ÷ 16 = 9, plus one for the end, so 10. Add 2 studs for each wall end and 4 for the door's king and jack studs, then 10% for culls: (10 + 4 + 4) × 1.1 = 19.8, so 20 studs. Plates are the wall length × 3 for a bottom plate and doubled top plate: 36 linear feet, or three 16-foot 2×4s. At $4.25 a stud, the studs come to $85.
Stud length
Take the 96⅝″ ceiling height, subtract 4½″ for three plates and about ¼″ so the wall tips up without binding: 96⅝ − 4½ − ¼ = 91⅞″. Buy 92⅝″ precuts and trim ¾″ off each one. Precuts are sized for new construction, so in an existing room with a drywalled ceiling they almost always need trimming.
The door opening
A prehung door needs a rough opening about 2 inches wider and 2 to 2½ inches taller than the door. For a 32 × 80 inch door, plan on 34″ × 82½″, but check the door's instructions, because manufacturers vary.
- Header: 34″ + 3″ for two jack studs = 37″ long. Cut two pieces from one 8-foot 2×6 and sandwich a ½″ plywood strip between them, which makes the header 3½″ thick, flush with the 2×4 wall.
- Jack studs: 82½″ − 1½″ for the bottom plate = 81″.
- Cripples: the top plates start 1½ + 91⅞ = 93⅜″ off the floor, and the header top sits at 82½ + 5½ = 88″. So cripples are 93⅜ − 88 = 5⅜″.
Lumber in board feet
To compare prices or order from a yard that quotes by volume, total the list in the board foot calculator. Counting the studs as 8-footers: 20 × 2×4×8 is 106.67 board feet, 3 × 2×4×16 is 32, and 1 × 2×6×8 is 8. That's 146.67 board feet in all.
Insulation and drywall
The wall is 12 × 8 = 96 sq ft per side, less about 20 sq ft for the door's rough opening, so 76 sq ft to insulate. The insulation calculator adds 10% waste for 84 sq ft of batts and about 8 stud bays. For an interior wall, use unfaced R-13 batts, 3½″ thick and sized for 16″ framing.
For drywall on both sides, the drywall calculator takes the wall length × height × 2 sides = 192 sq ft, minus 10 sq ft for the opening on each side = 172 sq ft. Add 10% and divide by 32: 189.2 ÷ 32 = 5.9, so 6 sheets of 4×8, with about 11 lb of joint compound, 64 feet of tape and 1 lb of screws. To get this straight from the calculator, enter 12 for length, 0 for width, walls only and 2 openings.
How to frame a wall, step by step
This is the build-flat-and-tilt-up method. It's faster and more accurate than toenailing studs in place one at a time, and it's how most framers do it.
- Mark the wall. Snap a chalk line on the floor for one edge of the bottom plate. Square it off the existing wall with a framing square or a 3-4-5 triangle, then transfer the line to the ceiling with a level or laser so the wall stands plumb.
- Find the joists. Mark the ceiling joists and, on a wood floor, the floor joists. A wall that runs across them nails into each one. A wall that runs parallel needs blocking, covered below.
- Measure the height. Measure floor to ceiling at both ends and the middle and use the shortest. Stud length is that number minus 4½″ for the plates, minus about ¼″ for clearance.
- Mark the plates together. Cut the bottom plate and both top plates to length and clamp the bottom and first top plate side by side. Hook the tape on the end, mark 15¼″, then every 16″, and put an X on the same side of each line. That lands drywall edges on stud centers.
- Lay out the opening. Mark the rough opening, then a jack and a king outside it on each side. Layout marks that fall inside the opening become cripples above the header.
- Cut the parts. Cut studs, jacks, header pieces and cripples. Sight down each stud and keep the crown (the slight bow) facing the same way. Badly bowed or twisted studs become blocking.
- Nail it together flat. Lay the plates on edge with studs between them and drive two 16d nails through the plate into each stud end. Nail each jack to its king, set the header on the jacks, nail through the kings into the header, then add the cripples. Nail the second top plate on top.
- Check for square. Measure the diagonals corner to corner. When they match, the wall is square.
- Raise it. With a helper, tip the wall up onto the line. Tap it into place with a sledge and a scrap block, never by hitting the studs directly.
- Plumb and anchor. Fasten the bottom plate, plumb the wall with a level, then drive shims between the top plate and the ceiling at each joist and nail through.
- Cut out the door plate. Saw the bottom plate flush with the jack studs and knock it out. Many framers cut most of the way through before raising, so it comes out easily.
Raise walls with two people and lift with your legs. Even a short wall is awkward, and a 12-foot wall with a header is heavier than it looks. Brace it before you let go.
How to frame a door opening
A door opening is a gap in the stud layout bridged by a header. From the outside in, each side has a full-height king stud, then a jack stud that holds up the header. The rough opening is measured between the jacks and from the subfloor to the underside of the header. If a thick finished floor like tile is going in later, add its thickness to the height.
Header size depends on whether the wall carries load. In a non-load-bearing wall, the model code many US jurisdictions adopt generally allows a single flat 2×4 header for openings up to 8 feet wide. Plenty of builders still use a doubled 2×6 like the one in the example, because it gives solid nailing for the door casing. In a load-bearing wall, the header is sized from code tables by span and load, and wide openings may need two jack studs on each side. Ask your building department or follow your approved plans.
Rough opening rule of thumb: door width plus 2″, door height plus 2 to 2½″. A 30-inch door wants about 32″ and a 36-inch door about 38″. Always confirm with the door's installation sheet before you cut.
How to frame a window opening
A window opening is a door opening with a bottom. It uses the same kings, jacks and header, plus a rough sill and short cripple studs underneath. Interior partitions rarely have windows, but the method is the same anywhere.
- Get the rough opening from the window manufacturer's spec sheet. Go by their number, not the window's nominal size.
- Set the header height. Most builders line up the tops of windows with the tops of doors, so the window header usually sits at the same height as the door header.
- Find the sill height. The rough sill's top is the header's underside minus the rough opening height.
- Frame it. Nail in the kings and jacks, then the header. Fit a flat 2×4 rough sill between the jacks (many builders double it on wider windows) and add cripples under it on the 16″ layout.
A window in a bedroom has to meet egress rules for size and sill height, which our basement finishing guide covers. Windows in exterior walls are almost always in load-bearing walls, so the header sizing above applies.
Anchoring a wall to the floor, ceiling and existing walls
Wood subfloor
Fasten the bottom plate through the subfloor with 16d nails or 3″ construction screws about every 16″, hitting a floor joist wherever the plate crosses one.
Concrete slab
On a basement or garage slab, the bottom plate must be pressure-treated. Lay a foam sill gasket under it and fasten it with concrete screws or a powder-actuated nailer, close to each end and then at the spacing the fastener maker recommends. Our guides to finishing a basement and insulating a garage cover what comes next for those spaces.
Ceiling
If the wall runs across the ceiling joists, nail through the top plate into every joist. If it runs parallel and doesn't land on one, add 2×4 or 2×6 blocking between the two nearest joists every 2 feet or so, from the attic or before the ceiling is closed, and nail the top plate into the blocking.
Existing walls
Try to land your end stud on a stud in the existing wall and screw them together. If it falls between studs, open the drywall and add blocking, or screw the end stud into the wall's top and bottom plates with construction adhesive behind it.
Before you drive a fastener into a floor, ceiling or wall, check for wires, pipes and ducts. Some slabs hide radiant heat tubing or tensioned steel cables, so if you're not sure what's in yours, find out before you shoot or drill into it.
After framing: wiring, insulation and drywall
With the wall framed, run any electrical and get the rough-in inspection if your permit calls for one. Then insulate. In an interior wall, insulation is mostly for sound, and unfaced batts sized for the cavity are the usual choice. Our soundproofing guide covers going further with resilient channel and heavier drywall. Count batts with the insulation calculator.
Drywall goes on last. Hang it horizontally, stagger the joints, and work out sheets, mud and tape with the drywall calculator. Planning more walls? Run each one through the stud calculator and add up the lumber in the board foot calculator before you order, so the whole load comes in one delivery.
Frequently asked questions
How many studs do I need for a 10-foot wall?+
At 16 inches on center, a 10-foot wall has 9 field studs (120 ÷ 16 = 7.5, round up to 8, plus one). Add 2 studs for each of two wall ends and 10% for culls, and the stud calculator gives 15 studs plus 30 linear feet of plate stock.
Should wall studs be 16 or 24 inches on center?+
16 inches on center is the standard for load-bearing walls and anything getting drywall, because it makes a stiffer wall and lines up with 48-inch sheets. 24-inch spacing is acceptable for many non-load-bearing partitions and saves about 25% of the lumber, where your local code allows it.
What size header do I need over a door?+
In a non-load-bearing wall, the model code many US jurisdictions adopt generally allows a single flat 2×4 header for openings up to 8 feet wide, though many builders still use a doubled 2×6 for solid nailing. In a load-bearing wall, the header size depends on the span and the load above, so take it from your local code tables or ask your building department.
How long does it take to frame a wall?+
A first-timer with a helper can usually lay out, build, raise and anchor a 12-foot interior wall with one door in a day. The second wall goes much faster once you have the layout routine down.
How do I frame a wall on a concrete floor?+
Use a pressure-treated bottom plate with a foam sill gasket under it, and fasten it with concrete screws or a powder-actuated nailer. The studs and top plates are regular framing lumber; our basement finishing guide covers walls built against foundation concrete.
More project guides
How to Install ShiplapInstall shiplap step by step: real shiplap vs plywood strips, how much to buy, layout and spacing, nailing to studs, accent walls and ceilings, paint and cost.
How to Build a ClosetBuild a closet in any room: sizes for reach-in and walk-in closets, framing the walls and door opening, drywall, shelves and rods, and the cost.
How to Tile a ShowerTile a shower step by step: backer board, waterproofing, layout, niches, setting wall tile and the pan, grouting and sealing, with materials math.
How to Tile a Bathroom FloorTile a bathroom floor step by step: the best tile, subfloor and underlayment, layout, setting tile, grouting, how much tile and grout to buy, and the cost.