For red cedar, use stainless-steel or hot-dip galvanized screws rated for exterior use, preferably with a bugle head and a fine or coarse thread matched to the specific cedar product—and avoid plain steel, electroplated, or uncoated screws, because red cedar's natural acids and extractives can stain the wood and corrode ordinary fasteners. The "type" that matters most is not the drive (Phillips, Torx, Robertson, star) but the corrosion resistance, the head style, the thread design for the material, and the installation detail such as pre-drilling and clearance.
This answer assumes "red cedar" means western red cedar (Thuja plicata), the common softwood used for siding, decking, fencing, trim, and outdoor furniture in North America. If the question means eastern red cedar (Juniperus virginiana), a harder and more resinous juniper, or "red cedar" as used in another region, the same general corrosion and staining cautions apply but the driving and pre-drilling behavior differs. The exact product, thickness, exposure, and whether the cedar is painted or left natural are not specified, so the recommendations below are principles to match to the job rather than a single part number.
The corrosion problem is the real issue
Western red cedar is a soft, acidic, extractive-rich wood. Its water-soluble extractives, sometimes described as tannins and related organic acids, react with unprotected iron and can leave dark blue-black stains on the wood surface, especially where moisture sits around a screw head or along a joint. Those stains are difficult to remove and often reappear. Ordinary "deck screws" sold as zinc-coated or electro-galvanized steel are a poor choice for cedar for this reason: the thin coating is easily damaged during driving, and the exposed steel becomes the site of both corrosion and staining.
The practical answer is to use fasteners whose surface will not rust and whose coating will not bleed into the wood. Stainless steel is the most reliable for appearance and longevity. Type 304 stainless handles most exterior cedar work; Type 316 is more corrosion-resistant and is the better choice for coastal or salt-exposed sites, though it costs more. Hot-dip galvanized screws can be acceptable where a thicker zinc coating is intact and staining is not a concern, but hot-dip coatings are thick and can be rough, and the coating can still be compromised at the head or in a pre-drilled hole. Silicon-bronze and copper fasteners are traditional for cedar and resist corrosion well, but they are specialty items, softer, and expensive; they are more often used in restoration or boatbuilding than in routine fencing.
A useful distinction is between "won't rust" and "won't stain." Stainless and copper generally do not stain cedar with rust; galvanized steel can still stain if the zinc is consumed or the underlying steel is exposed, particularly in wet, acidic conditions. That is why many cedar specialists simply specify stainless and stop there.
Head style and drive
For most cedar projects, a bugle-head screw—slightly rounded on top with a flat bearing surface beneath—seats cleanly and spreads the clamping load. Flat-head screws are used where the head must sit flush or be countersunk, such as in trim and cabinetry. Pan or round heads sit above the surface and are used where a washer or a visible fastener is acceptable. For decking and siding, a bugle head or a trim head (small head, designed for trim) is common.
The drive style is a matter of tooling and worker preference, not wood species. Phillips is the most common but cam-out (the driver slipping out of the slot) becomes more likely as torque rises. Torx and star drives transmit higher torque with less cam-out and are increasingly favored for deck screws. Robertson (square) is common in Canada and in some trade work; it holds well and allows one-handed driving. None of these is inherently "correct" for cedar; choose based on the driver bits you have and the torque the job needs. Do not confuse drive style with thread type or coating.
Thread type: coarse, fine, and the "wood screw" question
Wood screws for softwoods like cedar typically use a coarse thread with a relatively sharp point, which grabs in low-density wood. Fine-thread screws are designed for hardwoods and dense composites; in soft cedar they can strip or fail to hold as well unless the pilot hole is sized carefully. Many exterior deck screws combine a coarse thread with a Type 17 point (a slotted, self-drilling tip that reduces splitting by cutting into the wood rather than wedging it apart). For cedar, that combination is usually a good match for decking and framing connections.
The term "wood screw" is broad. In casual use it means any screw intended for wood, including deck screws, construction screws, and traditional tapered wood screws. For cedar, what matters is the specific combination: a corrosion-resistant coating or alloy, a thread pitch matched to softwood, a point that reduces splitting, and a head that suits the joint. A "drywall screw" is a poor substitute: it is thin, has a fine thread and a bugle head, and its coating is usually not adequate for exterior cedar. A "sheet-metal screw" is also wrong for structural holding in wood, though self-drilling variants exist for specific uses.
Pre-drilling and splitting
Cedar splits easily, especially near the ends of boards and when driving large-diameter screws into thin stock. Pre-drilling a pilot hole slightly smaller than the screw's root diameter reduces splitting and improves holding. For siding and thin trim, a clearance hole through the outer piece and a pilot hole in the framing is the standard detail; this lets the board move slightly and avoids a "hard spot" that cracks the face. For decking, many installers use a slightly oversized pilot in the joist or rely on the screw's self-drilling point and a controlled drive; check the board for splitting as you go. The exact pilot diameter depends on screw size and cedar moisture content, so test on scrap of the same stock.
A related distinction is between "pre-drilling" and "countersinking." Countersinking creates a cone-shaped recess for a flat-head screw so the head sits flush; pre-drilling creates the pilot hole for the shank. Bugle-head screws often need neither a countersink nor a plug if the head is designed to seat just below the surface, but trim heads may need a small pilot to avoid splitting the thin edge.
Stainless grades and coating choices in practice
For most exterior cedar—fences, raised garden beds, siding, decking, outdoor furniture—Type 304 stainless is the default recommendation where staining and long life matter. Type 316 stainless is preferred near saltwater, in coastal areas, and where the cedar is exposed to de-icing salts or industrial atmospheres. Hot-dip galvanized is a lower-cost alternative where the fastener will be hidden or painted and where some staining risk is tolerable, but it is not equal to stainless in appearance-critical work. Electroplated or zinc-plated "bright" screws should be avoided on cedar because the coating is thin and the steel beneath will rust and stain.
There is a common confusion between "galvanized" and "hot-dip galvanized." Electro-galvanized is a thin electroplated zinc layer; hot-dip galvanized is a thicker, metallurgically bonded zinc coating. For exterior cedar, only hot-dip galvanized is worth considering, and even then it is second-best to stainless for stain-free appearance. Another confusion is between "stainless" and "stainless-coated." A stainless-coated screw is a steel screw with a thin stainless-looking coating; it is not solid stainless and may still rust at cut edges or damaged spots. Read the label for the actual material, not the color.
Matching the screw to the cedar product
The exact screw depends on what the cedar is doing. For cedar decking, a stainless or hot-dip galvanized deck screw with a bugle head, coarse thread, and Type 17 point is typical; hidden fastener systems also exist and use clips or grooved boards. For cedar siding, stainless or hot-dip galvanized siding screws or nails with a small head are used, often with a clearance hole; many installers prefer nails for siding because they allow more movement, but screws are used where disassembly or higher holding is needed. For cedar fencing, stainless or galvanized screws with a bugle or flat head and coarse thread work; pre-drilling at rail ends reduces splitting. For cedar trim and outdoor furniture, stainless trim-head or flat-head screws with a fine or coarse thread and a clearance hole are common; plugs or countersinks hide the heads. For structural connections, use connectors and fasteners rated for the load and exposure, and follow the connector manufacturer's instructions; a generic "wood screw" is not a substitute for an engineered structural fastener.
What is unknown and what is answerable
The question does not specify the cedar product, the thickness, the exposure (covered porch versus full weather), the desired appearance (hidden versus visible fasteners), or the region. Those details change the exact screw. What is answerable from stable knowledge is the principle: choose a corrosion-resistant fastener that will not stain cedar, match the thread and point to softwood, pre-drill where splitting is a risk, and use a head style that suits the joint. The most robust default is stainless steel, Type 304 for general exterior use and Type 316 for coastal or salt exposure. If cost forces a compromise, hot-dip galvanized is the next tier, with the understanding that staining and coating damage are possible. Plain steel, electroplated, and "bright" zinc screws should not be used on red cedar in exposed conditions.
A final practical note: always test the screw in a scrap piece of the same cedar before committing to a whole project. Cedar varies in density and moisture, and a screw that drives cleanly in dry stock can split wet stock or strip in very soft stock. The test also reveals whether the coating marks the wood, which is the appearance issue that often drives the choice in the first place.