An in-wall smart outlet replaces a standard receptacle and gives you app control, scheduling, voice control, and in some cases energy monitoring directly at the outlet. That convenience comes with a set of wiring and code requirements that a plug-in smart plug does not have. Before you buy, you need to confirm the outlet box has a neutral wire, enough physical depth for the smart outlet body, and that the location is GFCI-protected if your local code requires it. You also need to match the outlet rating to the circuit, follow local permit rules, and turn off power at the breaker before any work.
In-Wall Smart Outlet vs. Plug-In Smart Plug
A plug-in smart plug is the simplest way to add smart control to a lamp, a fan, or a small appliance. You insert the plug into an existing outlet, connect the device to the plug, and then control it through your smart home app or voice assistant. It requires no wiring, no breaker work, and it is easy to move to another location. If you rent, travel with devices, or want to test smart control before committing, a plug-in plug is usually the lower-friction choice.
An in-wall smart outlet replaces the whole receptacle. Once installed, it looks like a normal outlet, so you do not sacrifice an outlet position the way you do with a plug-in plug. It can also let you control a lamp or appliance that is permanently plugged into that location, and some models give you two separately controlled receptacles in one device. However, the installation is more involved because you are working inside an electrical box and connecting directly to the branch circuit.
| Type | Installation | Wiring needed | Good choice when |
|---|---|---|---|
| Plug-in smart plug | No wiring; plugs into an existing outlet | None | Renting, quick setup, moving devices around, avoiding electrical work |
| In-wall smart outlet | Replaces an existing outlet inside the box | Neutral wire, grounded circuit, enough box volume | Permanent control, cleaner look, replacing a worn outlet |
For a fuller comparison of what a plug-in device can and cannot do, see our guide to what smart plugs can and cannot do. That page helps you decide whether a plug-in plug is enough or whether you genuinely need an in-wall outlet.
Neutral Wire and Box Depth
Most in-wall smart outlets require a neutral wire. The neutral is the white wire that completes the circuit and returns current to the panel. A smart outlet needs a constant small amount of power to keep its radio and processor active so it can respond to app and voice commands. Without a neutral, the outlet cannot keep itself powered in the background. Some smart switches are designed to work without a neutral, but in-wall smart outlets generally are not. If your outlet box has only two wires, or if the circuit has no neutral, an in-wall smart outlet is usually not a direct fit.
Box depth matters just as much as wire count. Standard smart outlet bodies are deeper than conventional ones because they contain the radio and switching electronics. A shallow retrofit box that was pressed into a wall may not have enough room for the smart outlet plus the folded wires. Electrical boxes have a volume rating, and local code limits how many wires can be packed into a given box. If you open the box and it looks crowded, or if the wires barely fit behind a normal outlet, do not force a smart outlet in. Have an electrician measure the box volume and decide whether a larger box can be installed.
In older homes, the most common mismatches are a missing neutral and a shallow box. If you find either one, the safe and code-compliant options are to hire a licensed electrician to run a new wire or enlarge the box, or to use a plug-in smart plug instead. There is no workaround that involves borrowing a neutral from another circuit.
Controlled Receptacles vs. Always-On Receptacles
In-wall smart outlets can handle the two receptacles in different ways. Some models control both receptacles together, which means both top and bottom outlets switch on and off at the same time. Others control only one receptacle while the other remains always-on, so you can keep a router or a modem powered while controlling a lamp. A few models allow independent control of each receptacle, so you can turn one on and one off separately.
Before you buy, decide what you need at that specific location. If the outlet feeds a floor lamp and also a phone charger that must stay on, a model with one controlled receptacle and one always-on receptacle is useful. If both receptacles are used by lamps that should respond together to a scene, a dual-control model makes sense. The key is to read the product description or the package carefully so you know which layout the outlet uses. A wall outlet that controls only one of its two sockets can surprise you if you plug a device into the wrong one.
Independent control also affects the total load. If both receptacles are controlled by the smart outlet, the sum of everything plugged into both receptacles still has to stay within the outlet’s rating and the circuit’s capacity. That matters, for example, with space heaters, irons, toasters, and other high-current devices.
GFCI Protection Requirements
In the United States, the National Electrical Code and most local codes require GFCI protection for receptacles in kitchens, bathrooms, garages, laundry areas, basements, and outdoors. If you are replacing an outlet in one of these locations, the replacement cannot remove the required protection. If you install an in-wall smart outlet there, it must be on a circuit that is already GFCI-protected, such as one fed from a GFCI breaker or from the load side of an upstream GFCI outlet. The other option is to use a smart outlet with built-in GFCI protection, but you need to confirm that the specific model is listed for that use and that your local code allows it.
Do not assume that a standard smart outlet is allowed just because the old outlet used to work. Code applies to the circuit, not only to the device. A smart outlet installed in a kitchen counter location needs the same GFCI protection as the plain outlet it replaces. If the circuit is not GFCI-protected, you have to fix that as part of the project. When in doubt, follow the manufacturer’s instructions and ask your local building or electrical authority for the rule in your area.
Tamper-resistant receptacles are also required in most new and renovated dwelling unit locations. They have internal shutters that block foreign objects from entering the slots, which matters in homes with children. Many modern smart outlets are tamper-resistant by default, but you should confirm the product listing before purchasing. If replacement of the outlet triggers a code requirement in your area, the new outlet must meet the same tamper-resistant standard that a conventional replacement outlet would need to meet.
Load Ratings and Circuit Capacity
In-wall smart outlets carry an electrical rating just like conventional outlets, usually 15 amps or 20 amps. The rating must be compatible with the branch circuit and with the devices you plan to plug in. A common rule of thumb is to match the outlet rating to the breaker rating for the circuit, then check the wattage of the devices you intend to control. Most household branch circuits in the U.S. are either 15-amp or 20-amp, and the smart outlet’s package should state its own rating. If the outlet is labeled for a lower current than the circuit breaker, or if the manufacturer includes specific restrictions, follow those instructions.
Load also adds up across the whole circuit. An outlet rated 15 amps may be able to handle 15 amps by itself, but the breaker can trip if the same circuit already has lights, appliances, and other outlets drawing current. You should not assume that a smart outlet can control a heater, an air conditioner, a hair dryer, or a toaster oven unless the product specifically says it is rated for that kind of load. Heat-producing appliances are a special concern because they draw sustained current and can overheat a weak connection.
If you are combining a smart outlet with other smart devices, remember that the radio in the outlet needs power too, but the amount is very small compared with the load of an appliance. The main load question is about what you plug into the outlet, not about the outlet’s own electronics.
Permits and Local Code
Permit requirements for replacing an outlet vary by city, county, and state. In many places, a straightforward replacement of an existing receptacle does not require a permit if you use the same wiring and the same box. But the rules are not uniform, and a smart outlet installation can cross the line into work that does require a permit if the box must be changed, the circuit has to be extended, or a new dedicated circuit is needed for a smart GFCI outlet. The safest move is to check with your local building or electrical authority before you start, or to ask the licensed electrician you hire.
Local code can also be stricter than the general National Electrical Code. Some jurisdictions have additional requirements for smart home devices, tamper-resistant receptacles, or AFCI protection. The manufacturer’s installation manual will tell you what the device needs, but it cannot override your local authority. If a question comes up during installation and you are not certain, stop and get an answer. An hour of research or a service call is far cheaper than the cost of a failed inspection or a fire hazard.
Turning Off Power and Safe Installation
Before you touch any wires, turn off power at the breaker. Then use a voltage tester to confirm the outlet and the box are dead. The wall switch is not enough because the outlet may still be energized from another point in the circuit. If the tester shows voltage, go back to the panel and turn off the correct breaker. This is a non-negotiable step for any outlet replacement.
After the power is off, remove the cover plate and the mounting screws, then carefully pull the outlet out of the box. Take a photo or label the wires so you know which one goes where. Connect the new smart outlet according to the manufacturer’s instructions, and make sure every terminal and wire connector is tight before you push the device back into the box. Fold the wires neatly so they are not pinched against the sides of the outlet or the box. If the wiring does not match the product’s requirements, or if you see signs of overheating, melting, or old damaged insulation, put everything back safely and call a licensed electrician.
Homes with aluminum branch-circuit wiring need special handling. Aluminum wire requires approved anti-oxidant compound and rated connectors, and it is not something you should improvise with a smart outlet. If the wiring in the box looks silvery instead of copper-colored, stop and consult an electrician who is qualified to work with aluminum. For more on what a smart outlet can and cannot do after installation, review our smart outlets overview and our setup and compatibility guide.
FAQ
Do I need a neutral wire for an in-wall smart outlet?
Most in-wall smart outlets need a neutral wire to power their built-in radio and processor. If your outlet box has no neutral, you can either hire an electrician to run one or choose a plug-in smart plug instead. Never borrow a neutral from another circuit.
Are smart outlets required to be GFCI-protected in kitchens and bathrooms?
In most U.S. jurisdictions, kitchens, bathrooms, garages, laundry areas, basements, and outdoor locations require GFCI protection. A smart outlet installed in one of those locations must be on a GFCI-protected circuit or must be a smart outlet with built-in GFCI protection. Check the product listing and your local code.
Can I install an in-wall smart outlet without a permit?
Permit rules vary by locality. Replacing an existing outlet with the same box and wiring often does not require a permit, but expanding the box, adding a circuit, or changing the wiring may. Check with your local building or electrical authority before you start.
What if the outlet box is too shallow or the wiring is old?
Stop and call a licensed electrician. Forcing a smart outlet into a shallow or crowded box can damage wires and create a fire hazard. An electrician can install a larger box, run a neutral, or recommend a safer alternative such as a plug-in smart plug.
An in-wall smart outlet is a permanent change to your home, so the wiring details matter. Confirm the neutral, box fit, GFCI protection, and load rating before buying, and check with a qualified professional if your home has old wiring or local code concerns. When the preparation is done correctly, the outlet can become a dependable part of your smart home.

