Quick answer
A smart light switch is an in-wall switch with built-in electronics and a radio that lets you control a light from a phone app, voice assistant, schedule or sensor, as well as by pressing the switch itself.
Because its electronics stay powered when the light is off, most models need a neutral wire in the switch box. The light keeps working from the wall if the internet goes down.
Quick facts
The key facts about Smart Light Switch, with sources:
- Code support
- NEC 404.2(C), 2023: a neutral at switches controlling lighting in listed rooms; connection rule effective January 1, 2020 (2017 text) 14
- Example LED limit
- Leviton D215S: 600 W LED/CFL, 1,500 W incandescent/halogen 2
- Multi-location
- Paired with a companion switch, wired or wire-free 2
- Battery rule
- NEC 2023 210.70: controls may not rely only on a battery unless lights come on if it fails 5
Key takeaways
- A smart switch replaces the wall switch, so the light works from the wall and from an app.
- Most need a neutral wire in the box; older homes may not have one.
- Check the LED load rating, which is far lower than the incandescent rating.
- Matter lets switches from different brands work with major smart home platforms.
- Three-way setups need the maker’s companion device, not a standard switch.
What a smart switch is
From the outside, a smart switch looks like a regular rocker or paddle, but inside it holds a small power supply, a relay or dimmer circuit, and a radio. You can still press it, and you can also turn the light on from your phone, by voice, on a schedule or from a motion sensor.
A smart switch differs from a smart bulb, which puts the radio in the bulb itself, so the wall switch has to stay on. A smart switch controls ordinary bulbs and keeps the wall switch useful.
Leviton’s D215S Decora Smart switch is a typical example: 120 V, 15 A general use, 2.4 GHz Wi-Fi, no hub needed, neutral required, and Matter support added by a firmware update 2.
Leviton now lists the D215S as discontinued and points buyers to the D315S-1BW, but its published ratings remain a useful reference 2.
How it works, and why the neutral matters
An ordinary switch is just a gap in the hot wire. When it is off, no current flows, whereas a smart switch has electronics that must stay powered all the time to listen for commands. That standby power needs a complete circuit, which means a path back on the neutral wire.
NEC 404.2(C) in the 2023 edition requires the grounded (neutral) conductor at each switch controlling lighting in the listed rooms and areas, with exceptions 1.
Leviton’s commentary on the 2017 text explains why: switching devices that need line-to-neutral voltage in standby mode can then be connected. That connection requirement took effect January 1, 2020 4.
Some smart dimmers work without a neutral by leaking a tiny current through the bulb, which can make LEDs glow or flicker when off. Where a retrofit switch is installed under the no-neutral exception, the same code page caps electronic lighting control switches at five per branch circuit 4.
- Hot (line)Power in from the panel
- LoadSwitched hot to the light
- NeutralKeeps electronics powered in standby
- GroundBonds the device and strap
- RadioWi-Fi, Thread or another protocol
Types of smart switch
| Type | What it does | Watch for |
|---|---|---|
| Smart on/off switch | Switches lights or fans by app, voice, schedule | Neutral need; load ratings |
| Smart dimmer | Adds brightness control | LED compatibility and minimum load |
| Scene controller | Buttons for preset scenes | Leviton D2SCS: neutral required 3 |
| Companion switch | Second location for a smart switch | Must match the main unit’s brand 2 |
| Battery remote | Wire-free button | NEC 210.70 battery limits 5 |
How smart switches talk to your home
| Protocol | What it is | Notes |
|---|---|---|
| Wi-Fi (2.4 GHz) | Connects to your home router | D215S needs a 2.4 GHz network 2 |
| Matter | A shared, IP-based smart home standard | Runs on Wi-Fi and Thread; Bluetooth LE for setup 6 |
| Thread | A low-power mesh network used by Matter | Needs a Thread border router |
| Proprietary RF | Brand-specific radio with a hub | Check app and platform support |
Example: will this switch run my recessed lights?
Using the Leviton D215S ratings 2. The fixture wattage is a hypothetical example; check your own fixture labels.
| Step | Math | Result |
|---|---|---|
| LED rating of the switch | Data sheet | 600 W LED/CFL |
| Planned load (hypothetical) | 8 downlights × 12 W | 96 W |
| Share of rating | 96 W ÷ 600 W | 16%, within the limit |
| Same switch on incandescent | Data sheet | 1,500 W incandescent/halogen |
Makers rate LED loads well below incandescent loads, so use the LED figure for LED fixtures; for a dimmer, the fixture maker’s tested list matters more than the watt sum. Our lighting circuit planner helps you group fixtures.
Where smart switches fit best
Smart switches suit lights you want on schedules (porch, entry), lights controlled from many places (hallways, stairs), and rooms where you want scenes (kitchens, living rooms). They are less useful on lights that should always work exactly like a normal switch, such as a basement stair light, unless you keep the wall control simple.
Homes wired under newer codes usually have a neutral in switch boxes, thanks to 404.2(C) 1, while older homes, often with switch loops that run only a hot and a switched hot to the box, may not. The housing age research shows how much older wiring is still in use.
Pros and cons
What it does well
Where it falls short
- Many need a neutral not present in older boxes.
- LED load limits are lower than incandescent limits.
- Deeper than a standard switch; crowded boxes may not fit.
- Depends on firmware and app support over time.
Limits worth knowing
Box space is a real limit: smart switches are deeper than plain switches, and a box crowded with cables and splices may not take one. An electrician can sometimes swap in a deeper box or add an extension ring.
Remote control needs a working network, although pressing the switch keeps working when the internet is down. Wi-Fi models usually need 2.4 GHz 2.
Mixing brands in a multi-location setup rarely works. The D215S supports three-way control with Leviton’s own wired or wire-free companion 2. A standard three-way switch at the other end is usually not supported.
Smart switch vs smart bulb
A smart switch controls ordinary bulbs and keeps the wall switch working. A smart bulb has its own radio, so the wall switch must stay on or the bulb goes offline.
What drives the cost
We do not print prices. Device type (switch, dimmer, scene controller), number of locations, whether a neutral must be run, box size, and any hub drive the total. Warranty terms vary; Leviton lists a two-year limited warranty on the D215S and D2SCS 2 3. The project cost tool lists cost drivers.
How a smart switch install goes
Switch replacement is wiring work for a licensed electrician; no wiring steps are given here.
- Check the switch box for a neutral and enough space.
- Check the light load against the switch’s LED rating.
- With the circuit off and verified dead, the electrician wires line, load, neutral and ground.
- Add companion devices for other locations.
- Set up the app, network and any Matter pairing; test local and remote control.
Care and upkeep
Warning signs
A hot switch, burning smell, buzzing, or lights that flicker or glow when off point to an overload, a missing neutral workaround or a compatibility problem. Using the ground wire as a neutral is unsafe and against code, so the fix is a real neutral or a product designed to work without one.
Never use ground as neutral
If a switch box has no neutral, do not connect a smart switch’s neutral lead to the bare or green ground. That puts current on metal parts meant to stay safe. Have an electrician choose a no-neutral product or run a neutral.
Code rules
NFPA 70 governs installation as adopted locally. NEC 404.2(C), carried into the 2023 edition, requires a neutral at switches that control lighting in listed rooms, with exceptions such as raceway-fed boxes and boxes that can take a new cable without removing finish 1.
The 2017 text, per Leviton’s commentary, also exempts some replacement and retrofit switches and caps electronic lighting control switches installed that way at five per branch circuit 4.
NEC 2023 210.70 says a wall control for required lighting may not rely only on a battery unless the lights turn on automatically when the battery fails 5.
Smart switches are listed products; the D2SCS lists UL, FCC, CSA and NOM certifications 3.
Smart switch compared with related controls
| Control | Remote control | Neutral usually needed |
|---|---|---|
| Standard switch | No | No |
| Dimmer switch | No | Some electronic models |
| Smart switch | Yes | Most models |
| Smart bulb | Yes | No, but wall switch must stay on |
| Four-way setup | Only with smart companions | Depends on product |
Myths
- Myth Every switch box has a neutral.
- Reality Older switch loops often do not; newer wiring usually does 4.
- Myth The ground can stand in for a neutral.
- Reality It cannot; that is unsafe and not allowed.
- Myth A 1,500 W switch can run 1,500 W of LEDs.
- Reality LED ratings are lower; the D215S lists 600 W LED 2.
- Myth Smart switches stop working without internet.
- Reality Local control at the switch still works.
When your home was wired matters
Choosing a smart switch
Two facts decide most smart switch choices: whether the box has a neutral, and how many locations control the light.
- If Neutral in the box, one location
- Then Any smart switch rated for your LED load
- If Neutral in the box, two or more locations
- Then Main smart switch plus the same brand’s companions
- If No neutral
- Then A no-neutral model, or have a neutral run
- If Want cross-brand control
- Then Choose a Matter-certified model
Check before you buy
Ask an electrician to confirm the neutral and box space. Our lighting installation page explains how to get matched.
Questions about Smart Light Switch
Do smart switches need a neutral wire?
Most do, because their electronics stay powered in standby and that standby current needs a path back on the neutral. Some smart dimmers work without one, but they can cause LEDs to flicker or glow when off. Check the product and your box before buying.
How do I know if I have a neutral in my switch box?
Only an electrician should open the box; in many homes, the neutral is a bundle of white wires joined at the back of the box. Older switch loops may have only a hot and a switched hot.
Can I use a smart switch without a neutral?
Only with a model made for no-neutral boxes, and never by connecting the neutral lead to the ground wire. An electrician can recommend a product or run a neutral.
Do smart switches work without internet?
Yes, from the switch itself, though app and voice control need the network and cloud features need the internet. Check the product listing to see which features work locally.
What is Matter on a smart switch?
Matter is a shared smart home standard that runs over Wi-Fi and Thread. A Matter switch can work with several major platforms. Some switches gain Matter through a firmware update.
Can a smart switch work in a three-way?
Yes, with the maker’s companion switch at the other location; Leviton’s D215S, for example, pairs with a wired or wire-free companion. A standard three-way switch is usually not supported.
How many LED lights can a smart switch handle?
Check the LED rating rather than the incandescent rating, since one Leviton smart switch is rated 600 watts for LED and 1,500 watts for incandescent. For dimmers, also check the fixture maker’s tested list.
Why do my LED lights glow when the smart switch is off?
Usually because a no-neutral switch is leaking a small current through the LED driver. A model with a neutral, or a load accessory from the maker, typically fixes it.
Are smart switches safe?
Listed smart switches are tested by recognized labs and are safe when installed correctly. If you notice a hot switch, buzzing or a burning smell, turn it off at the breaker and call an electrician.
Smart switch or smart bulb?
A smart switch controls ordinary bulbs and keeps the wall switch working for everyone, while smart bulbs are easier to add but go offline when someone flips the wall switch off.
Sources
- Electrical Association (Minneapolis), 2023 NEC Update Part 3 training slides, 404.2(C) Switches Controlling Lighting Loads, retrieved .
- Leviton, D215S-1BW Decora Smart Wi-Fi Switch specifications, retrieved .
- Leviton, D2SCS-1BW Decora Smart Wi-Fi Scene Controller Switch specifications, retrieved .
- Leviton Captain Code (NEC 2017), 404.2(C) Switches Controlling Lighting Loads, retrieved .
- Leviton Captain Code (NEC 2023), Limitations on Battery Powered Light Switches and Laundry Area Switch (210.70), retrieved .
- Connectivity Standards Alliance, Matter, retrieved .
- US CPSC, Home Electrical Safety Checklist (Pub 513), retrieved .
- Texas Department of Licensing and Regulation, 2023 National Electrical Code is almost here, retrieved .
- Washington State Register WSR 25-23-069 (L&I adopts the 2026 NEC), retrieved .
Expert review
Written by the HyreElectrical Research team. Not yet reviewed by an outside expert. We say so rather than imply a review that has not happened; see our editorial policy.
How the numbers were checked: Ratings, neutral need, Wi-Fi, Matter and warranty come from Leviton D215S-1BW and D2SCS-1BW data sheets.
Neutral rules follow 2023 NEC update training slides for 404.2(C); neutral and battery rules also follow Leviton’s NEC 2017 and 2023 guides (404.2(C), 210.70). Matter transport layers come from the Connectivity Standards Alliance. No DIY wiring; no prices under G-COST.
Suggest a correction. We fix errors and say what changed.