Use stainless steel or hot-dip galvanised screws on a deck, and never zinc-plated ones, which the WoodSolutions guide to timber decks rules out because the plating breaks down early1. Near the sea, make them stainless grade 316, the minimum the stainless steel industry's association recommends within 5 km of a surf beach2. For hardwood boards I'd use a 10 gauge screw in a pre-drilled, countersunk hole. Composite boards take the screw named in their maker's install guide, and the guides differ on size, material and pre-drilling.

What deck screws should you use?

Stainless steel or hot-dip galvanised, chosen for how close the deck is to salt water and what the boards are made of. WoodSolutions says every bolt, screw and nail on a deck should be hot-dip galvanised or stainless steel. Inside a pool's splash zone, which it puts at a minimum of 1.0 m from the pool edge, and within 1 km of the coast, it says the fixings must be stainless1.

ScrewWhat it isWhere it suits
Zinc-platedA thin electroplated coat on carbon steelNowhere on a deck. The plating breaks down early1
Hot-dip galvanisedA thick zinc coat on carbon steelTimber decks away from pools and the coast
Coated for treated pineCarbon steel under a maker's coatingTreated pine boards, where the coating is approved for treated timber decking1
304 stainlessThe everyday stainless gradeInland decks. Near the surf it will probably tea stain or corrode2
316 stainlessThe next grade up from 304, with better resistance to pitting where there is salt3Within 5 km of a surf beach2, and the grade I'd use beside a pool

Galvanised still has its defenders for hardwood. Rickky, a Whirlpool member who had screwed down a spotted gum deck with galvanised screws, wrote in May 2016 that they were "perfectly adequate in a dry climate"7. That fits an inland deck. It doesn't fit a deck by the sea or a pool, where the guidance asks for stainless.

304 vs 316 stainless: which do you need?

Use 316 within 5 km of a surf beach and beside a pool, and 304 inland. The Australian Stainless Steel Development Association recommends 316 as the minimum grade within five kilometres of the surf2. It expects 304 there to tea stain, or worse.

Tea staining is the brown discolouration that forms on stainless steel near the sea. The association calls it cosmetic, with no effect on the strength or life of the metal, and says sheltered spots that rain doesn't wash are particularly prone to it2. On a coastal deck those are the screws under a verandah roof or the eaves, so I'd hose that part of the deck down now and then.

The association says the main advantage of 316 over 304 is its better resistance to pitting and crevice corrosion in warm chloride environments3. A chlorine or salt-water pool puts chlorides on the deck as well. WoodSolutions asks for stainless in a pool's splash zone without naming a grade1, and that is where I'd use 316 too. My guide to composite decking around pools covers the rest of the poolside detail. One composite maker recommends a 316 stainless screw for face-fixing its boards to timber joists5, so for that board the choice is already made.

Inland, on a deck well away from the sea and the pool, 304 does the job, and I wouldn't pay extra for 316 there.

What size screws for hardwood decking?

For hardwood boards up to 22 mm thick, I'd use a 10 gauge screw at least 50 mm long into hardwood joists and 65 mm long into treated pine, the same lengths as the nails in the timber guidance1. Screw sizes aren't set in the timber framing standard. WoodSolutions says screws follow the same principles as machine-driven nails, with the screw maker's specification for the details1. Its nail table calls for 50 mm nails into hardwood joists, and either 65 mm nails or 50 mm deformed-shank nails into treated pine1. I'd treat a screw like a deformed-shank nail, but still use the longer 65 mm figure in pine1, because softwood grips less.

Advice on Whirlpool lands in the same place. A member, onejuzz, wrote in May 2016 that for 90 mm hardwood boards on treated pine joists they would use a 10 gauge screw at least 50 mm long, and that "The boards have to be pre-drilled and countersunk"7.

Each board takes at least two fixings at every joist it crosses1, kept in from the edges and ends. That is the number to count when you order.

What screws do you use for composite decking?

The screw the board's install guide names for your frame, because each composite maker writes its own specification. These are the face-fixing screws in two current Australian guides, given as gauge and length in millimetres:

Install guideInto timber joistsInto steel joists
First maker, boards 23 mm thick or less48 gauge x 50, countersunk head10 gauge x 40, self-tapping screw for steel
First maker, boards over 23 mm410 gauge x 65, countersunk head10 gauge x 50, self-tapping screw for steel
Second maker, the boards in its manual510 gauge x 65, 316 stainless, countersunk10 gauge x 40, countersunk, made for metal

The first maker recommends galvanised screws as a minimum in low-corrosion areas and stainless in high-corrosion areas. It also says that not following its fixing instructions voids the warranty4.

A third guide lists its maker's own face-fixing screws, and adds rules for any screw. It recommends stainless steel screws made for composite, and it warns that screws not designed for composite could damage the boards6. Before you start, it has you test the screws on an offcut. If the surface mushrooms or bulges around the head, it says to change to a different brand of screw6.

Most grooved composite boards are clipped across the middle of the deck and face screwed at the edges and stairs. Which goes where, and the makers that supply their own screw, are in hidden clips vs face screws for composite decking.

Do you need to pre-drill decking screws?

Yes for hardwood, and yes for most composite. WoodSolutions asks for every nail or screw in a timber deck board to sit at least 12 mm from the board's edges and ends, in a pre-drilled hole1. Dense hardwood splits at the ends and snaps screws without one. A Whirlpool member, reddoc, who built a merbau deck on pine joists, wrote in October 2013 that self-drilling screws "snap off in the merbau"8, and recommended pre-drilling and countersinking instead. A combined drill and countersink bit does both in one pass and leaves every head at the same depth.

Composite guides want the hole a little larger than the screw, so the board can move. One asks for a drill bit at least the outside diameter of the screw thread, preferably slightly larger, and a countersink every time4. Another asks for a hole slightly larger than the screw to allow for expansion and contraction, countersunk where the screw would otherwise mushroom the cap layer6. If the frame is hardwood, drill the joists as well. One manual recommends it to stop screws shearing, and says to go up a drill size if they still shear5.

On a steel frame the screw changes along with the drilling. WoodSolutions says ordinary deck screws aren't suitable for fixing timber boards to steel joists, because the timber's seasonal movement against the steel can shear them1. Its answer is a timber batten fixed to the steel, with the boards screwed to the batten. Composite makers specify self-tapping or metal-rated screws for steel instead, and one manual has you pre-drill steel joists, with a drill size for each thickness of steel5. The frame side of that choice is in steel vs timber deck frames.

Why do screws leave stains on a deck?

On hardwood, black stains are iron meeting tannin. WoodSolutions says iron filings left on the surface react with moisture and the timber's natural chemicals to make black stains. It warns against cutting metal or masonry with an angle grinder near an uncovered deck, and says metal left on the deck for long periods can stain it too1. A zinc-plated screw whose plating has broken down leaves bare steel in a wet, tannin-rich board, and I'd expect the same dark ring around its head.

On composite, rust is the risk, and the warranty won't help. One maker's warranty excludes staining from foreign substances. It also excludes splitting and cracking around screws5. So a board that splits around a screw driven in too hard isn't covered. I'd sweep the boards after every drilling or cutting job on a steel frame, before the next rain. If marks do appear, how to clean composite decking covers getting them off.

What I'd do

Work out how far the deck is from the surf and whether it sits beside a pool before you buy a box. Inside 5 km of a surf beach, or within splash of a pool, I'd use 316 stainless throughout2. Inland, on a hardwood deck, 304 stainless or hot-dip galvanised both do the job. Leave zinc-plated screws on the shelf.

For composite, download the install guide for your board and buy the screw it names for your frame. Drive a few into an offcut before you start. For hardwood, pre-drill and countersink with a combined bit, keep the screws in from the ends, and sweep up metal filings before they meet water.

The screw count adds up quickly at two per joist crossing. Draw the deck in the designer and its materials list counts the screws or clips for the board you choose. The list comes in the free deck pack, which opens with your contact details and a code texted to your mobile, and your details and design go to up to 3 local builders or suppliers who can quote it.