Good deck lighting ideas light the surfaces, not the eyes: a low, warm glow on stairs, rails and floor edges, run on a 12-volt system that Trex says most homeowners can install without an electrician. Nothing should be bright enough to look at directly. The usual setup is a transformer on an existing GFCI outdoor outlet, low-voltage cable, and fixtures that clip on or sit flush.
Below: 14 ideas by location, plus the wiring plan and the glare mistakes to avoid.
Key takeaways
- Stairs first — the only deck lighting that is genuinely a safety feature.
- Low-voltage (12V) is DIY-friendly: the transformer plugs into an existing GFCI outlet, and Trex advises running the cable under the decking and behind stringers, never between boards and joists.
- Warm white, matched everywhere. DarkSky International recommends warmer-colored outdoor light; mixed color temperatures ruin otherwise good schemes.
- Hide the source, show the effect — a visible bulb at eye level undoes an entire installation.
- Recessed fixtures are far easier during the build; post caps and strips retrofit fine.
Deck lighting ideas by location, at a glance
| Location | Fixture type | Job it does | Retrofit? |
|---|---|---|---|
| Stair risers | Recessed riser lights, under-tread strip | Safety — the one non-negotiable | Hard |
| Railing top | Post caps, under-rail strip | Defines the deck edge at night | Easy |
| Posts | Side-mount downlights | Pools of usable light on the floor | Easy |
| Deck surface | Recessed floor lights | Marks paths and level changes | Hard |
| Under the deck edge | Perimeter wash | Makes the deck appear to float | Medium |
| Overhead | String lights, pergola downlights | Atmosphere and dining light | Easy |
Stair and step deck lighting ideas (1–3)
1. Recessed riser lights. Small fixtures set into each riser wash light down onto the tread below — invisible sources, clearly lit steps. The gold standard for deck stairs.

2. Under-tread strip. A continuous LED strip tucked under the nose of each tread gives the same effect with a floating look, and suits open-riser stairs where riser fixtures cannot go.
3. Lit stair posts. Post-cap or side-mount fixtures at the top and bottom of the flight mark where the stairs begin and end — the two points people misjudge in the dark.
Stair lighting is also a code item. The American Wood Council’s DCA 6 deck construction guide, citing IRC R303.7, calls for a light source at the top landing that lights all stairs and landings, switched from inside the house; motion-sensor or timed switches are acceptable.
Riser and tread lights are a useful addition on top of that. Ask your building department whether they count toward the requirement, since adopted codes vary locally.
Railing lighting (4–7)
4. Post cap lights. The most popular retrofit: caps that glow softly, spaced evenly along the rail. Choose ones that emit downward and sideways rather than upward into your eyes.

5. Under-rail strip. A hidden strip beneath the top rail washing the deck below — no visible fixture, and it makes the railing appear to float. The most designer-looking option on this page.

6. Baluster-level accent lights. Small fixtures set into the rail infill at intervals; effective on cable or metal railings where there is nowhere to hide a strip.
7. Post side-mount downlights. Fixtures on the inside face of each post throwing pools onto the deck surface — the closest thing to overhead lighting without anything overhead.
Surface and perimeter (8–11)
8. Recessed floor lights. Flush fixtures in the deck boards marking edges and pathways. Plan them at framing stage; retrofitting means cutting boards and fishing cable.

9. Perimeter wash from below. Fixtures mounted under the deck edge lighting the ground around it — the deck seems to hover, and the yard gains depth.
10. Lit skirting. A strip behind slatted deck skirting turns the panel into a glowing base; a strong effect on raised decks.

11. Bench and planter lighting. Strips under built-in seating or inside planter rims: functional light at ankle height with the fixture completely hidden.
Overhead and atmosphere (12–14)
12. String lights on a guide wire. Zigzagged overhead from the house to posts, tensioned on stainless wire so the cord never sags — the technique is the same as for pergola lighting.

13. Pergola-mounted downlights. If there is a pergola over the deck, its beams are the ideal place for proper overhead light — wire it during that build.
14. Portable and flame. Rechargeable table lamps, lanterns and a fire feature add the layer no fixed installation can: light that moves and can be carried where the evening goes.

Planning a low-voltage system
Nearly everything above runs on a 12-volt system, which is why deck lighting is one of the few electrical-adjacent projects a homeowner can safely do alone:
- Count the fixtures and add the wattages — that total drives the transformer size. Trex’s own figures: its 8.3A transformer runs up to 79 of its LED deck lights, its 2.5A unit 27. Leave headroom for adding lights later.
- Site the transformer near an existing outdoor GFCI outlet, on a wall, off the ground.
- Plan the cable route before boards go down if you can: under the decking and behind stringers, up post cavities, and out of the way of screws. Trex warns against running wire between deck boards and joists.
- Keep runs reasonably short and use adequate cable gauge — long thin runs cause voltage drop, and the far fixtures dim. For its system Trex suggests heavier 16-gauge wire on runs of roughly 300 feet or more.
- Add a timer or photocell so the deck lights itself at dusk; DarkSky’s lighting principles also recommend timers or motion sensors so light is off when nobody needs it.
- Test the layout at night before final fixing — lay the fixtures loose, power up, walk the deck, then commit.

Fixture choice and safety notes
- Wet-rated fixtures for anything exposed to rain; damp-rated only under solid cover.
- Matched color temperature across every fixture, in a warm white; check the kelvin rating on each box before you buy.
- Outdoor-rated cable and connectors, with connections kept off the ground.
- GFCI protection on the outlet feeding the transformer, which Trex lists as a must. Under NEC 406.9(B), as North Carolina’s fire marshal interprets it, 15- and 20-amp outdoor receptacles in wet locations need a cover that stays weatherproof with the plug inserted.
- Shielded, downward-aimed fixtures keep glare off neighbors and the night sky. DarkSky’s principles: light only where needed, aimed down, and no brighter than necessary.
Mistakes that make a deck look worse at night
- Too bright. Deck lighting is orientation, not illumination — dim everything you can.
- Fixtures at eye level. Any visible glare point ruins the effect of a dozen well-placed lights.
- Even spacing everywhere. Rhythm and pools of light look better than a uniform grid.
- Mixed color temperatures — especially adding a cool-white floodlight to a warm scheme.
- Skipping the stairs. The one place lighting is not decorative.
Frequently asked questions
Do deck lights need an electrician?
Low-voltage systems generally do not. Trex notes most homeowners will not need an electrician even for a fairly elaborate deck lighting job: the transformer plugs into an existing GFCI outdoor outlet and the 12-volt cable is safe to handle. Call an electrician for a new outdoor circuit, a new receptacle, or line-voltage fixtures.
How bright should deck lighting be?
Dimmer than most people expect. Deck lighting is for orientation and atmosphere — many small warm sources beat a few bright ones. If a fixture is visible as a glare point from a seat, it is too bright or aimed wrong.
Are stair lights required by code on a deck?
Under IRC R303.7, as summarized in the American Wood Council’s DCA 6 guide, deck stairways need a light source at the top landing that lights all stairs and landings, switched from inside the house or by a motion sensor or timer. Local codes vary, so confirm with your building department, and treat stair lighting as a safety feature either way.
What color temperature is best for deck lights?
A warm white, matched across every fixture. DarkSky International recommends warmer-colored outdoor light and keeping blue-rich light to the minimum needed. Pick one color temperature from the packaging and buy every fixture to match; mixed temperatures are a common reason a well-planned scheme still looks wrong at night.
Can you add deck lighting to an existing deck?
Yes. Post-cap lights, solar fixtures and surface-mounted strips retrofit easily. Recessed riser and floor lights are far easier during construction, since they need cable routed inside closed-up framing. On a retrofit, run new cable under the decking and behind the stair stringers rather than squeezing it between boards and joists, which Trex warns against.
Is solar deck lighting any good?
For accent and marker lighting, yes — solar post caps need no wiring at all. For stair safety lighting use wired low-voltage, because a solar fixture can only store what its panel collects, and short, cloudy winter days are exactly when dark evenings matter most. Wired fixtures on a timer come on reliably every night.
Sources
- Trex, How to Install Trex LED Deck Lighting (undated manufacturer guide). Checked October 16, 2026.
- American Wood Council, DCA 6: Prescriptive Residential Wood Deck Construction Guide (2015 IRC edition). Checked October 16, 2026.
- North Carolina Office of State Fire Marshal, 406.9(B): In-Use Type Receptacle Covers in Wet Locations (2017 interpretation, 2014 NEC). Checked October 16, 2026.
- DarkSky International, Five Principles for Responsible Outdoor Lighting (2020). Checked October 16, 2026.



