Two rules set deck joist spacing
Joist spacing is measured on center: from the middle of one joist to the middle of the next, the same way wall studs are measured. On a deck, two separate rules limit it, and the tighter one wins.
- The decking. Boards bend between joists. Thin boards and boards laid at an angle need joists closer together.
- The joists. Each joist carries the strip of deck halfway to its neighbors. Wider spacing puts more load on each joist, so the same joist can span a shorter distance.
The residential code states both rules in its exterior deck section. In the 2025 California Residential Code, which follows the International Residential Code (IRC) numbering, section R507.6 says joist spans follow Table R507.6 and that the maximum joist spacing is limited by the decking materials in Table R507.7. Your city may have adopted a different edition or a local amendment, so the building department has the last word.
Joist spacing allowed by the decking
Table R507.7 covers wood decking. It separates boards that rest on only two joists (single span) from boards that run across three or more joists (multiple span), and boards laid square to the joists from boards laid at an angle. The angle is limited to 45 degrees from perpendicular.
| Decking | Perpendicular, board on 2 joists | Perpendicular, board on 3 or more joists | Diagonal, board on 2 joists | Diagonal, board on 3 or more joists |
|---|---|---|---|---|
| 1 1/4 in thick wood | 12 in | 16 in | 8 in | 12 in |
| 2 in thick wood | 24 in | 24 in | 18 in | 24 in |
These values are from Table R507.7 as printed in the 2025 California Residential Code. The IRC uses the same table number, but your city may use another edition, so confirm with the building department.
The table allows a wider spacing when a lumber grading or inspection agency publishes one for the product. The Prescriptive Residential Wood Deck Construction Guide (DCA 6) of the American Wood Council goes further and asks that each piece of decking bear on at least three joists, which keeps you in the multiple span columns.
Composite and PVC decking
Plastic composite boards are not in that table. The code requires them to meet ASTM D7032 and to carry a label, on the board or the package, that gives the allowable load and the maximum allowable span. They are installed per the code and the maker's instructions. Two makers, for example:
- Trex says joists should generally be no more than 16 inches on center for standard applications, and that 12 inch spacing is required for diagonal decking.
- For its PRO and EDGE boards, TimberTech gives a residential maximum of 16 inches for boards at 90 degrees, 14 inches at 30 degrees and 12 inches at 45 degrees, and 12 inches on center as the standard for commercial work.
Read the label of the exact board you buy. Product lines from the same brand can differ, and stair treads usually need closer support than the deck surface.
How far each joist size can span
Once the decking sets the widest spacing you may use, Table R507.6 tells you which joist size reaches across your span at that spacing. The values below are the 40 psf live load block of the 2025 California Residential Code table, with a 10 psf dead load, No. 2 grade lumber and wet service conditions. All three species groups match Table 2 of the American Wood Council deck guide, which uses the same loads.
| Joist size and species | 12 in on center | 16 in on center | 24 in on center |
|---|---|---|---|
| 2×6, Southern pine | 9 ft 11 in | 9 ft | 7 ft 7 in |
| 2×8, Southern pine | 13 ft 1 in | 11 ft 10 in | 9 ft 8 in |
| 2×10, Southern pine | 16 ft 2 in | 14 ft | 11 ft 5 in |
| 2×12, Southern pine | 18 ft | 16 ft 6 in | 13 ft 6 in |
| 2×6, Douglas fir-larch, hem-fir, spruce-pine-fir | 9 ft 6 in | 8 ft 4 in | 6 ft 10 in |
| 2×8, Douglas fir-larch, hem-fir, spruce-pine-fir | 12 ft 6 in | 11 ft 1 in | 9 ft 1 in |
| 2×10, Douglas fir-larch, hem-fir, spruce-pine-fir | 15 ft 8 in | 13 ft 7 in | 11 ft 1 in |
| 2×12, Douglas fir-larch, hem-fir, spruce-pine-fir | 18 ft | 15 ft 9 in | 12 ft 10 in |
| 2×6, Redwood, western cedars, ponderosa pine, red pine | 8 ft 10 in | 8 ft | 6 ft 10 in |
| 2×8, Redwood, western cedars, ponderosa pine, red pine | 11 ft 8 in | 10 ft 7 in | 8 ft 8 in |
| 2×10, Redwood, western cedars, ponderosa pine, red pine | 14 ft 11 in | 13 ft | 10 ft 7 in |
| 2×12, Redwood, western cedars, ponderosa pine, red pine | 17 ft 5 in | 15 ft 1 in | 12 ft 4 in |
Three things to note. First, closer spacing buys span: a Southern pine 2×8 reaches 13 ft 1 in at 12 inches but only 9 ft 8 in at 24 inches. Second, species matters, and the redwood and cedar group spans the least or ties. Third, where the ground snow load is higher than the live load, the code table has separate blocks for 50, 60 and 70 psf ground snow with shorter spans, so a snowy county may need a bigger joist than this table shows.
The span is the clear distance between supports, such as the ledger and the beam. The table also lists how far a joist may cantilever past the beam, and the AWC guide limits that overhang to the lesser of the table value and one fourth of the joist span. Each joist end needs at least 1 1/2 inches of bearing on wood or metal.
Worked example: a 16 ft by 12 ft deck
Say the deck is 16 ft long along the house and 12 ft deep, the joists span the full 12 ft from the ledger to a beam, the lumber is Southern pine and the decking is 1 1/4 inch wood laid square to the joists.
- Decking limit: 16 inches on center for boards that cross three or more joists.
- Southern pine 2×8 at 16 inches spans 11 ft 10 in. That is less than the 12 ft needed, so this combination does not work.
- Option A: keep 2×8 joists and move them to 12 inches on center, where they span 13 ft 1 in. The deck calculator counts 17 joists for a 16 ft deck.
- Option B: keep 16 inches on center and step up to 2×10 joists, which span 14 ft. That takes 13 joists.
The two options use almost the same wood. 17 joists of 2×8, 12 ft long, hold 272 board feet, and 13 joists of 2×10 hold 260 board feet, by nominal size. Option B means fewer joists to hang and fasten, while option A shortens the span of each board between joists. With 2×10 joists at 24 inches (span 11 ft 5 in), the 11 ft 5 in span falls short of the 12 ft needed, and 1 1/4 inch decking would not be allowed at 24 inches anyway, even though only 9 joists would be needed.
The joist count follows one rule: divide the deck length by the spacing, round up, and add one for the end joist. Check the lumber volume with the board foot calculator.
How many joists a deck needs
Joists = deck length ÷ spacing, rounded up, + 1
The table applies that rule to common lengths. It includes the joist at each end, but not rim joists, doubled joists at a splice or under a stair, or blocking.
| Deck length | 12 in on center | 16 in on center | 24 in on center |
|---|---|---|---|
| 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 |
On a 16 ft deck, going from 16 to 12 inches adds 4 joists, and going to 24 inches removes 4. The wider spacing also cuts the span each joist can reach and rules out 1 1/4 inch wood boards. Enter your own length and spacing in the deck board calculator, which also counts the boards and screws, and add up the joist and rim lengths with the linear feet calculator if your supplier prices by the foot.
Layouts that need closer joists
Some deck designs need closer spacing in part of the frame, even when the main field sits at 16 inches.
- Diagonal boards. A board at 45 degrees crosses joists at a longer distance than the spacing, so the table drops to 12 inches for 1 1/4 inch wood. Trex requires 12 inches for diagonal decking, and TimberTech gives 12 inches at 45 degrees but 14 inches at 30 degrees. Composite boards follow their maker's installation instructions.
- Short boards. A board that bears on only two joists is single span, and 1 1/4 inch wood then needs 12 inch spacing.
- Stairs and landings. TimberTech notes that codes require higher design loads for stairs and landings, so expect tighter spacing or extra framing there. Trex points to the tread maker's limit, usually 12 inches on center or less, for stair stringers.
- Heavy loads. Hot tubs, planters and outdoor kitchens are outside the prescriptive tables. They need an engineered design.
When you replace old wood boards with composite on an existing frame, measure the spacing first. Trex suggests adding a joist between existing joists that sit at 24 inches, and the spans in the table above must still hold for the existing lumber.
Mistakes that fail inspection
- Choosing the spacing from habit (16 inches) without checking the span of the joist size you bought.
- Laying diagonal or herringbone boards over a frame built for straight boards.
- Measuring the span from the outside of the deck instead of between the supports.
- Ignoring the snow load, which can govern over the 40 psf live load in cold climates.
- Assuming every composite board spans 16 inches. The label decides.
Ask the building department whether your deck needs a permit and an inspection before you buy lumber. The tables assume No. 2 grade lumber, wet service and the loads listed above. Anything else, such as long cantilevers or heavy point loads, belongs with an engineer or the local building department. Plan the steps down to the yard with the stair calculator, then read the guide to stair handrail height.
Frequently asked questions
Can deck joists be 24 inches on center?
Yes for 2 inch thick wood decking, which the 2025 California Residential Code table allows at 24 inches. Not for 1 1/4 inch wood boards, which top out at 16 inches square to the joists, and not for the Trex and TimberTech boards covered here, which those makers limit to 16 inches. Check the label of your board.
What joist spacing do I need for diagonal decking?
For 1 1/4 inch wood boards at an angle up to 45 degrees, the 2025 California Residential Code table allows 12 inches when each board crosses three or more joists and 8 inches when it rests on only two. Trex requires 12 inches for diagonal decking, and TimberTech gives 12 inches at 45 degrees and 14 inches at 30 degrees. Composite boards follow the instructions of their maker.
How far can a 2×8 deck joist span at 16 inches on center?
Under a 40 psf live load, the code table gives 11 ft 10 in for Southern pine, 11 ft 1 in for Douglas fir, hem fir and spruce pine fir, and 10 ft 7 in for redwood and western cedars. Snow loads shorten these spans.
Does closer joist spacing make a deck stronger?
It makes each joist carry less, so the same size spans farther, and it stiffens the boards between joists. It also takes more joists, hangers and fasteners, so a bigger joist at 16 inches is often the simpler choice.
Do composite deck boards have a span rating?
Yes. The residential code requires composite boards, or their packaging, to carry a label with the allowable load and maximum allowable span tested under ASTM D7032. Use that span, not a general rule.
Sources
- California Residential Code 2025, as published on GoCodeBook: Section R507 Exterior Decks (R507.2.2, R507.6, Tables R507.6 and R507.7)gocodebook.com
- American Wood Council: DCA 6, Prescriptive Residential Wood Deck Construction Guide (2015 IRC)web-media.awc.org
- Trex: How to Install and Space Deck Joists for Composite Deckingtrex.com
- TimberTech: Deck Floor Joist Spacing 101 (page dated January 2020)shop.timbertech.com