Deck joists are usually spaced 16 inches on center. Use 12 in when the decking runs diagonally or the board maker calls for it, and go to 24 in only with 2-inch-thick wood decking laid square to the joists. Spacing also sets how far a joist can span: under the 2021 IRC, a southern pine 2×8 at 16 in spans 11 ft 10 in, and a 2×10 spans 14 ft 0 in.

How far apart should deck joists be?
Joist spacing on a deck is decided by two things: the decking that sits on top, and the span the joists have to cover. The decking sets the upper limit. The International Residential Code (IRC) caps joist spacing by decking type in Table R507.7, and composite and PVC boards follow the maker's installation instructions:
| Decking | Boards square to joists | Boards diagonal (up to 45°) |
|---|---|---|
| 5/4 wood deck boards (1¼ in nominal) | 16 in on center | 12 in on center |
| 2× wood decking (2 in nominal, e.g. 2×6) | 24 in on center | 16 in on center |
| Composite or PVC (example: Trex) | 16 in on center | 12 in on center |
That is why 16 in is the everyday answer: it works for 5/4 boards, 2× boards and most composites laid straight. Some composite lines, and decks with heavy loads such as hot tubs, need 12 in. Always check the installation guide for the exact board you buy; it can be stricter than the code.
Deck joist span chart (2021 IRC)
Once you know the spacing, the joist size depends on the span: the distance the joist runs between supports, such as from the ledger on the house to the beam. These are the maximum spans from 2021 IRC Table R507.6 for No. 2 grade lumber, wet service, a 40 psf live load and 10 psf dead load:
| Species | Joist size | 12 in o.c. | 16 in o.c. | 24 in o.c. |
|---|---|---|---|---|
| Southern pine | 2×6 | 9′-11″ | 9′-0″ | 7′-7″ |
| 2×8 | 13′-1″ | 11′-10″ | 9′-8″ | |
| 2×10 | 16′-2″ | 14′-0″ | 11′-5″ | |
| 2×12 | 18′-0″ | 16′-6″ | 13′-6″ | |
| Douglas fir-larch, hem-fir, spruce-pine-fir | 2×6 | 9′-6″ | 8′-4″ | 6′-10″ |
| 2×8 | 12′-6″ | 11′-1″ | 9′-1″ | |
| 2×10 | 15′-8″ | 13′-7″ | 11′-1″ | |
| 2×12 | 18′-0″ | 15′-9″ | 12′-10″ | |
| Redwood, western cedars, ponderosa pine, red pine | 2×6 | 8′-10″ | 8′-0″ | 6′-10″ |
| 2×8 | 11′-8″ | 10′-7″ | 8′-8″ | |
| 2×10 | 14′-11″ | 13′-0″ | 10′-7″ | |
| 2×12 | 17′-5″ | 15′-1″ | 12′-4″ |
A few things to notice. Moving from 16 in to 12 in spacing adds about 10 in to 2 ft 4 in of span; moving to 24 in costs about 1 ft 2 in to 3 ft. Southern pine spans furthest because it is the stiffest common species, and the Douglas fir group values include a reduction for the incising cuts that let treatment soak in. The 2018 IRC printed slightly longer spans for a few 2×6 rows (for example 8′-8″ for the fir group at 16 in), so use the table in the code edition your town has adopted. Local snow loads above 40 psf also shorten every span.
How to choose joist size and spacing, step by step
- Pick the decking first. It sets the maximum spacing: 16 in for 5/4 wood and most composites, 24 in for 2× wood, and 12 in for most diagonal or herringbone patterns.
- Measure the joist span. That is the clear distance between the ledger and the beam (or between two beams). A deck that sticks out 12 ft from the house with the beam at the outer edge has about a 12 ft span.
- Find your lumber species. The tag on pressure-treated lumber names it. Southern pine is common in the East and South; hem-fir and Douglas fir are common in the West.
- Read across the span chart at your spacing and choose the smallest joist whose span is at least your measured span.
- Compare options. Sometimes a deeper joist at 16 in uses less lumber than a smaller joist at 12 in (see example 2), and it gives you a stiffer, less bouncy deck.
How many joists do I need?
Joists run from the house out to the beam, so you count them along the length of the ledger. Divide that length in inches by the spacing, round up, and add one for the end joist:
Joists = (ledger length in inches ÷ spacing) rounded up + 1
| Deck length along the house | 12 in o.c. | 16 in o.c. | 24 in o.c. |
|---|---|---|---|
| 8 ft | 9 | 7 | 5 |
| 10 ft | 11 | 9 | 6 |
| 12 ft | 13 | 10 | 7 |
| 14 ft | 15 | 12 | 8 |
| 16 ft | 17 | 13 | 9 |
| 20 ft | 21 | 16 | 11 |
These counts include both end joists. Add extra framing for stair openings, picture-frame borders, doubled joists under seams and blocking. It is the same math as counting wall studs; see how far apart wall studs are for the framing side of 16 vs 24 in spacing.
Worked examples
Example 1: a 12 × 10 ft deck in hem-fir with 5/4 boards
The deck runs 12 ft along the house and sticks out 10 ft. 5/4 boards laid straight allow 16 in spacing. In the fir group, a 2×8 at 16 in spans 11′-1″, which covers the 10 ft span. Joists: 12 × 12 = 144 in ÷ 16 = 9, plus 1 = 10 joists, 2×8 × 10 ft. That is 10 × (2 × 8 × 10 ÷ 12) = about 133 board feet.
Example 2: a 16 × 12 ft deck in southern pine: 2×8 or 2×10?
The deck is 16 ft along the house with a 12 ft joist span. A southern pine 2×8 at 16 in only spans 11′-10″, so it is too short. Two options work:
- 2×8 at 12 in (spans 13′-1″): 192 ÷ 12 = 16, plus 1 = 17 joists = 17 × 16 bd ft = 272 board feet.
- 2×10 at 16 in (spans 14′-0″): 192 ÷ 16 = 12, plus 1 = 13 joists = 13 × 20 bd ft = 260 board feet.
The 2×10 layout uses 4 fewer joists and slightly less lumber, and it is stiffer. To cover the 12 ft depth with 5½ in wide boards and ⅛ in gaps, you need 144 ÷ 5.625 = 25.6, so 26 rows of 16 ft deck boards. Check totals in the board foot calculator.
Example 3: a 20 × 14 ft composite deck laid diagonally
Diagonal composite boards need joists at 12 in. The span is 14 ft. A 2×8 at 12 in spans 13′-1″ in southern pine and 12′-6″ in fir, so both fall short. A 2×10 at 12 in spans 16′-2″ (southern pine) or 15′-8″ (fir), so use 2×10s. Joists: 240 ÷ 12 = 20, plus 1 = 21 joists. If you would rather keep 16 in spacing, lay the boards straight instead; that drops the count to 16 joists.
Use the square footage calculator for the deck area, the Sonotube calculator for concrete in the post footings, and the stair calculator for risers and stringers down to the yard.
Cantilevers, hangers and blocking
- Cantilevers: joists may run past the beam, but the 2021 IRC limits the overhang by joist size, species and the back span, and the allowed overhang is never more than one quarter of the back span. For example, a southern pine 2×10 with a 12 ft back span can overhang up to 3 ft 0 in. Short back spans allow less.
- Bearing: each joist end needs at least 1½ in of bearing on wood or metal, and joists need lateral restraint at their supports: joist hangers, full-depth blocking or a nailed rim joist.
- Hangers: use hangers rated for the joist size, with corrosion-resistant coating to match treated lumber, and fill every nail hole the maker specifies.
- Blocking: even where it isn't required, a row of mid-span blocking on long spans cuts bounce and keeps joists straight as they dry.
Common mistakes
- Using 24 in spacing with 5/4 boards or composite. The boards sag between joists and can void the decking warranty.
- Forgetting the diagonal rule. Angled boards span a longer distance between joists, so the spacing drops to 12 in (16 in for 2× wood).
- Measuring the wrong span. The span is ledger-to-beam, not the overall deck depth including the overhang.
- Using a span chart for a different species. A hem-fir 2×8 at 16 in falls 9 in short of the southern pine value.
- Ignoring local loads. In heavy-snow areas the town's span table can be much shorter than the 40 psf values above.
Frequently asked questions
What is the standard joist spacing for a deck?
16 inches on center. It works for 5/4 wood boards, 2× wood boards and most composite decking laid square to the joists. Use 12 inches for diagonal decking or when the decking maker requires it.
Can deck joists be 24 inches on center?
Only with 2-inch-thick wood decking (such as 2×6 boards) laid square to the joists. The IRC limits 5/4 wood boards to 16 inches, and most composite decking also needs 16 inches or less.
What joist spacing do I need for composite decking?
Usually 16 inches on center for boards laid straight and 12 inches for boards laid diagonally, as Trex specifies. Some products need 12 inches in all cases, so follow the installation guide for your board.
How far can a 2×8 deck joist span?
At 16 inches on center under the 2021 IRC: 11 ft 10 in in southern pine, 11 ft 1 in in Douglas fir-larch, hem-fir or spruce-pine-fir, and 10 ft 7 in in redwood or western cedar. At 12 inches the southern pine span rises to 13 ft 1 in.
How far can a 2×10 deck joist span?
At 16 inches on center: 14 ft 0 in in southern pine, 13 ft 7 in in the Douglas fir group and 13 ft 0 in in redwood or cedar. At 12 inches southern pine reaches 16 ft 2 in.
How many joists do I need for a 12×16 deck?
With the 16 ft side on the house, 13 joists at 16 inches on center (192 ÷ 16 = 12, plus 1) or 17 joists at 12 inches. With the 12 ft side on the house, 10 joists at 16 inches.
Sources
- Decks.com: Deck Joist Sizing and Spacing (2021 IRC R507.6 joist span table)
- Washington State Building Code Council: IRC Table R507.6 deck joist spans (spans and cantilever limits by back span)
- Minnesota Residential Code 2020, Section R507 Decks (Table R507.7 joist spacing by decking type; 2018 IRC-based span values)
- Trex: How to Install Deck Joists (16 in standard, 12 in for diagonal composite decking)