There is no single gap for every Trex deck edge. The right spacing depends on where boards meet, the exact decking line, and the installation conditions. Before fastening boards, ask which current Trex guide applies and how the layout handles side gaps, board ends, and edges against a wall.

Three edges, three checks
Look at the deck plan as three separate conditions. The long sides of neighboring boards need their specified gap. Board ends need room at butt joints and where a board meets a border. The perimeter against a house, post, or other fixed surface needs its own clearance. One spacer measurement does not automatically solve all three.
Trex explains why spacing changes with temperature and board direction, and publishes separate installation guides for its decking lines through its official resource center. Use the instructions for the actual product selected; do not copy a number from a different Trex line or a general online diagram. The required clearances and fastening details belong to that product's guide.
Why installation conditions matter
Composite boards move with temperature. The manufacturer's spacing instructions account for installation conditions, and the relevant measurement can differ between board sides, ends, and fixed boundaries. That is why a hot afternoon in Arizona is not a reason to guess at a larger or smaller gap. Check the selected product's current chart for the conditions on installation day.
Also look at the full layout before the first board is fixed: where will board ends land, are butt joints supported as the guide requires, and how will the perimeter finish meet the house? These decisions affect the framing and cuts, not just the appearance of the last row.
Ask before the boards go down
- Which Trex decking line and installation guide are being used?
- What spacing applies to board sides, end joints, and the wall edge?
- How will installation-day conditions be checked against the guide?
- Where will board ends and butt joints fall in the finished layout?
Quest's deck building page describes its Trex-system decks as planned with shade, afternoon sun, and material movement in mind. The existing guide to planning shade around a deck covers the outdoor-living decision that comes before board selection.
Before installation, confirm the exact product guide and check each type of deck edge separately. A gap that looks right at one edge may be wrong at another.
