Guide

How Many Nails Per Stud Should You Use When Framing?

For a typical 2x4 wall, plan on two 16d nails through the plate into the end of each stud at the top and at the bottom. That is four nails per stud, and many builders add a third nail per end on wider 2x6 studs. Your local building code and plans have the final say, so check them before you start.

Updated 2026-11-11 · Based on published specifications and maker information

Top picks from our best framing nailer comparison

The short rule of thumb

Most wall framing follows one pattern. You drive nails through the top and bottom plates and straight down into the end grain of each stud. This is called end nailing. Two nails per end is the common baseline for 2x4 studs, which gives four nails per stud.

Wider studs such as 2x6 are often nailed with three per end when the wall is built flat on the ground and then raised. That means six nails per stud. Think of these counts as starting points. Codes vary by region, and your engineer or plans may call for more in shear walls or high-wind areas.

End nailing versus toenailing

End nailing means driving the nail through the plate and into the stud end. It holds well and is the standard method when you assemble a wall flat on the floor or deck. You have room to swing the tool and hold the nailer square to the plate.

Toenailing means driving nails at an angle through the side of the stud into the plate. You use it when a wall is already standing and you cannot reach the plate from above. It takes more nails to get similar holding power, and it is easier to split the stud or push it out of position. Many codes list a higher nail count for toenailing than for end nailing, so check the table that applies to you.

Whenever you can, build the wall flat and end nail. It is faster, stronger and more accurate.

Nail counts for common connections

Stud ends are only one joint in a wall. Here are the typical patterns people use. Treat them as general guidance and confirm against your local code.

  • Stud to plate, end nailed, 2x4: two 16d nails at each end.
  • Stud to plate, end nailed, 2x6: often three 16d nails at each end.
  • Stud to plate, toenailed: commonly more nails, often three or four smaller nails or three 16d nails, depending on code.
  • Top plate to second top plate: face nails spaced along the length, commonly about every 16 in.
  • Stud to stud at corners and openings: face nails spaced along the stud, commonly about every 12 to 24 in depending on the detail.

Choose the right nail size

The usual nail for 2x4 wall framing is the 16d, which is about 3.5 in long. Smaller 10d and 8d nails show up in some details and in sheathing or lighter work, but 3.5 in is the common choice for stud to plate joints. The length matters because the nail has to pass through the plate and bite deep into the stud end.

Check that your nailer can handle that length. The listed nail length range for most nailers on our best framing nailer page runs from 2 in up to 3.5 in. One listing tops out at 3.25 in, so it would not drive a full 3.5 in nail. The wire coil model on that page takes nails from 1.75 in to 3.5 in.

Also match the nail to your tool's collation and magazine angle. Plastic collated nails go with 21 degree magazines, and paper collated nails go with 30 degree magazines in these listings. Wire coil uses a 15 degree magazine. Buy only nails your nailer accepts.

How nailer features help you hit the right count

Counting nails is easier when each shot lands where you want it. Sequential firing means you press the nose to the work first and then pull the trigger. That gives you precise placement, which is useful when you are driving two or three nails in a tight pattern at a stud end. Bump firing is faster, but it is easy to double fire or drive a nail where you did not intend.

Several nailers in our comparison, including the Metabo HPT NR90AES1, list a switch that moves between sequential and bump firing. Depth adjustment matters too. A nail that sits proud of the plate is weaker and a snag hazard. One that is driven too deep through the surface crushes wood fibers. A tool-less depth dial lets you tune the drive until nails sit flush. You can compare these features side by side on the framing nailer comparison page.

Quick reference table

Use this as a planning aid, not a substitute for your plans or code.

SituationTypical nails per stud endNail
2x4 wall, built flat, end nailed216d, about 3.5 in
2x6 wall, built flat, end nailed3 (common practice)16d, about 3.5 in
Standing wall, toenailedOften 3 or more, per codePer code table
Shear or braced wall panelsPer engineer or plansPer plans

Safety and good habits

Framing nailers drive nails with a lot of force, so treat them with respect.

Wear safety glasses at all times, and use hearing protection, since compressors and repeated firing are loud. Keep your free hand and body clear of the nose and the nail path. Disconnect the air hose or remove the battery before clearing a jam, changing settings or carrying the tool up a ladder. Never point the nailer at anyone or hold it with the trigger pulled while you move around.

Pneumatic tools should not run above the maximum air pressure listed for them. Some listings in our comparison give a maximum of 120 PSI. Work from stable footing or a scaffold when nailing at height, and do not hold a nailer in one hand while climbing.

Frequently asked questions

Can I use more nails than the minimum for extra strength?

Not always. Extra nails in the same spot can split the stud end or plate and weaken the joint. Space nails apart, stay away from edges and follow the nail schedule in your plans.

Do I nail every stud the same way in an exterior wall?

Usually yes for the basic stud to plate joint. Studs at corners, openings and braced wall panels may need extra fastening, so look at your plans first.

What if a nail misses the stud?

Pull it with a hammer claw or cat's paw, then drive a new nail. Leaving a missed nail in the plate wastes a fastener and can poke into the finished wall.

Is a cordless nailer fine for this job?

It can be. Cordless and pneumatic models both drive framing nails. The best fit depends on whether you want to deal with an air hose and compressor, and our comparison page lists both types.

Compare the products