Electrical Guide
Can You Put an Outlet Behind a Built-In Cabinet? Access Rules and Cutouts
Can you put an outlet behind a built-in cabinet? Only if it stays reachable. NEC 314.29 requires every box to remain accessible without removing any part of the building, and a fixed built-in counts as part of the building. Never bury a box behind a cabinet back. Cut it out through the cabinet, extend it flush with a box extension, or move it. That keeps the outlet usable and the installation legal.
Key Takeaways
- A box hidden behind a fixed cabinet with no opening violates NEC 314.29.
- Cut an opening in the cabinet back so the outlet is reachable.
- Box extensions bring the receptacle flush with the cabinet back (314.20).
- Gaps around the box must be 1/8 inch or less in drywall or plaster (314.21).
- Kitchen outlets inside cabinets still need GFCI under the 2023 NEC.
- If you do not need the outlet, have it made into a proper accessible junction or removed.

Built-ins go in. Old outlets disappear. That is how it happens in many remodels. A bookcase, pantry unit or kitchen cabinet gets screwed to the wall right over a live receptacle.
Our research found a homeowner whose fired contractor never cut out an outlet behind a new cabinet. They went to plug in a disposal and found nothing. Another Reddit commenter pointed out that a box extension costs about $2 and fixes the most common mistake.
People also ask whether a junction box can sit behind a cabinet and whether an outlet inside a cabinet is legal. Here is the answer to each.
Is It Legal to Have an Outlet Behind a Built-In Cabinet?
Only if you can reach it through an opening in the cabinet. A receptacle or junction box completely sealed behind a fixed cabinet is not accessible and violates NEC 314.29.
The NEC defines "accessible" for wiring methods as able to be reached without removing or damaging the building finish or structure. Built-in cabinets are screwed to the wall and often scribed to fit. Removing one to reach a box is like removing a wall.
Freestanding furniture is different. A dresser can slide away. A built-in cannot.
What Happens If an Outlet Is Buried Behind a Cabinet?
It is a hidden hazard. Any splice inside can loosen over time and overheat with no one able to see or reach it. Inspectors fail buried boxes, and home inspectors flag them at sale.
A buried box usually still has power running through it to other outlets. If a connection fails, those downstream outlets go dead and nobody can find why. Electricians call these "lost boxes." They waste hours of troubleshooting.
How to Find a Buried Box
- Check old photos of the wall before cabinets went in.
- Use a stud finder with AC detection along the cabinet back.
- Look for dead outlets elsewhere on the same circuit.
- Measure from a known outlet on the other side of the wall.
How Do You Bring an Outlet Flush With a Cabinet Back?
Install a box extension ring. It extends the box forward so the receptacle sits flush with the cabinet back. NEC 314.20 allows a box in a combustible surface like wood to be flush or project out, never recessed.
The Recessed Box Problem
A cabinet back adds 1/4 to 3/4 inch in front of the drywall. Now the original box sits recessed behind the wood. If you just screw the receptacle to the box with the ears resting on the wood, the receptacle floats with no solid mount and the wood edges are exposed to any arc inside.
A forum commenter in our research called this exact setup a fire hazard and said to add a $2 box extension. That is correct.
Extension Types
Plastic and metal box extenders come in single and multi-gang sizes. Some are adjustable for depth. Pick one that matches the box and brings the device flush with the cabinet back.
How Do You Cut an Outlet Opening in a Cabinet Back?
Measure the box location carefully, cut an opening the size of the box with a jigsaw or oscillating tool, keep gaps under 1/8 inch, add an extension ring and reinstall the receptacle.
Kill Power
Turn off the breaker and test the circuit.
Locate the Box
Measure from fixed points or the wall behind.
Drill a Pilot
Drill a small hole to confirm the box.
Cut Clean
Cut the opening to fit the box. Max 1/8 inch gap.
Extend
Add a box extension so the device is flush.
Reinstall and Test
Mount the receptacle and cover. Test.
NEC 314.21 limits gaps around boxes in drywall or plaster to 1/8 inch. Electricians apply the same care in cabinet backs. Larger gaps need repair before the cover goes on.
Can You Put an Outlet on the Side of a Built-In Cabinet?
Yes, if the wiring is protected and the box is properly mounted. Cabinet end panels and islands commonly get outlets. The cable path must be protected, and the box must be secured to the cabinet frame.
For islands, see an outlet in a kitchen island. For outlets inside cabinet boxes, see an outlet in a cabinet. For running wire through cabinets, see running an outlet through a cabinet.
What Are the Rules for Outlets Behind Kitchen Cabinets?
The 2023 NEC requires GFCI on all kitchen receptacles, including those inside or behind cabinets. Outlets for dishwashers and disposals have their own circuit and GFCI rules.
A receptacle inside a sink base for a disposal needs GFCI under 2023 NEC 210.8(A) and (D). It also must be reachable through the open cabinet. See an outlet under a kitchen sink for details.
| Location | Key rule |
|---|---|
| Behind fixed cabinet, no opening | Not allowed (314.29) |
| Cut through cabinet back | Allowed with flush box (314.20) |
| Kitchen cabinet interior | GFCI required (2023 NEC) |
| Garage or laundry built-in | GFCI required (210.8(A)) |
| Living room bookcase | AFCI often required (210.12) |
Can You Have a Junction Box Behind a Cabinet?
Only with an access opening and a blank cover. A junction box with splices must be reachable. You can leave a blank plate visible inside the cabinet.
Some homeowners worry a blank plate looks bad. Inside a cabinet nobody sees it. It is far better than a buried splice.
Can You Remove an Outlet Behind a Built-In Cabinet?
Yes, if the circuit allows it and spacing rules are still met. An electrician removes the receptacle and either reroutes wiring so the box can be abandoned with no splices, or leaves an accessible blank box.
If the outlet is the only feed to others on the circuit, the wires must still connect. That means an accessible box. A dead-end receptacle can sometimes be disconnected at the upstream outlet and the cable abandoned.
Removing outlets can also break NEC 210.52 spacing for the room. Built-in cabinets that cover wall space reduce the measured wall, but check with your inspector.
What Mistakes Do Cabinet Installers Make?
- Screwing a cabinet over a live box with no cutout.
- Leaving the receptacle recessed behind the cabinet back.
- Oversized cutouts with big gaps around the box.
- Driving cabinet mounting screws through cable in the wall.
- Running cords through cabinet holes instead of wiring.
Mark every box location on the floor or ceiling before cabinets go up. It saves the hunt later.
More placement guides: an outlet next to a fireplace and an outlet on a tile backsplash.
Frequently Asked Questions
Can you put an outlet behind a built-in cabinet?
Only if it stays accessible through a cabinet opening.
Is it legal to cover an outlet with a cabinet?
No, not a fixed cabinet. NEC 314.29 requires access.
What is a box extension?
A ring that brings the receptacle flush with a new surface.
Can I put a junction box behind a cabinet?
Only with an opening and a blank cover.
Do outlets in kitchen cabinets need GFCI?
Yes, under the 2023 NEC.
How do I find a buried outlet?
Old photos, AC detectors and measuring from known outlets.
Can I put an outlet on the side of a cabinet?
Yes, with a secured box and protected wiring.
Can I remove an outlet behind a cabinet?
Yes, if spacing rules allow and splices stay accessible.
The Bottom Line
You can have an outlet behind a built-in cabinet if you can reach it.
Cut the cabinet back, add a box extension and keep the gaps tight. Never bury a box. Kitchen and garage cabinets add GFCI.
A $2 part and careful measuring prevent a hidden hazard that lasts as long as the cabinets.
How this guide was written: Written by Michael Wallace, licensed electrician in Portland, Oregon. Sources reviewed: 2023 National Electrical Code Article 100 definitions and sections 210.8, 210.12, 210.52, 314.20, 314.21 and 314.29; the Oregon Electrical Specialty Code; box extension manufacturer instructions; and homeowner and contractor threads on Reddit, Houzz and electrician forums. Local amendments and your inspector decide edge cases.