Electrical Guide
Can You Put an Outlet in a Cabinet? Appliance Garages, Media Cabinets and Code
Can you put an outlet in a cabinet? Yes. Receptacles inside kitchen cabinets, appliance garages, microwave cabinets and media cabinets are allowed by the NEC. The box must stay accessible (NEC 314.29), sit flush with the cabinet back using an extension ring where the wall is behind it (314.20), and follow the room's GFCI and circuit rules. One catch: an outlet inside an appliance garage or behind cabinet doors does not count toward the required countertop outlets (NEC 210.52(C)).
Key Takeaways
- Outlets inside cabinets are legal in the US. Claims that they are banned are wrong for the NEC.
- Appliance garage outlets do not count as required countertop receptacles.
- A cabinet back over a wall box needs an extension ring so the box is flush with the wood.
- Never bury an outlet behind a solid cabinet back. Boxes must stay accessible.
- Kitchen cabinet outlets need GFCI under the 2023 NEC.
- Heat-making appliances need open air. Check the manual before running them inside a cabinet.

Clean countertops are in. That means hiding the toaster, coffee maker and blender in an appliance garage, and hiding chargers and routers in cabinets. All of them need an outlet inside the cabinet.
The internet is confused about it. One site claims that, with a few exceptions, an outlet inside a cabinet is prohibited. Electricians on forums disagree. One said it is perfectly fine to install a receptacle inside a cabinet, but behind doors it would not count as a required outlet. A Reddit commenter pointed out there is an outlet under most kitchen sinks already.
The electricians are right. This guide explains what the code actually says, when cabinet outlets count, the flush box rule, cabinet types, heat and what to do when a new cabinet covers an old outlet.
Is It Legal to Put an Outlet Inside a Cabinet?
Yes. No NEC section prohibits a receptacle inside a cabinet. It must be installed in an accessible, properly supported box and protected as the room requires.
Look in almost any US kitchen. The disposal and dishwasher plug in under the sink, inside a cabinet. Over-the-range microwaves plug into a receptacle in the cabinet above. Those are standard installs the NEC expects.
The claim that cabinet outlets are banned may come from other countries' rules or from confusion with the rule that keeps breaker panels out of clothes closets. Under the NEC, cabinet receptacles are fine.
Does an Outlet Inside a Cabinet Count as a Countertop Outlet?
No. NEC 210.52(C) says receptacles made not readily accessible by appliance garages, appliances fastened in place, sinks or rangetops do not count as the required countertop receptacles.
Your countertop still needs receptacles so no point along the wall line is more than 24 inches from one, within 20 inches above the counter. An appliance garage outlet is extra. It does not replace those.
| Cabinet outlet | Counts for countertop? |
|---|---|
| Inside appliance garage | No |
| Behind cabinet doors | No |
| Above microwave in upper cabinet | No. Appliance outlet. |
| Under-cabinet listed strip | Yes, if within 20 in of counter |
| Under sink | No. Appliance outlet. |
For outlets on the bottom of the uppers, see an outlet under a kitchen cabinet. For the space above, see an outlet above a kitchen cabinet.
How Do You Make a Cabinet Outlet Flush and Accessible?
Cut an opening in the cabinet back at the wall box and add a box extension ring so the receptacle sits flush with the wood. NEC 314.20 requires boxes in combustible surfaces to be flush or project out.
The Flush Rule
Cabinet backs are wood or particleboard, which are combustible. NEC 314.20 says boxes in combustible walls must be flush with the finished surface or project from it. A receptacle sitting 3/4 inch back behind a cabinet panel leaves wood exposed to any heat at the box. An extension ring closes that gap.
A forum commenter quoted this exact rule, noting the outlet must be flush with the finished surface and to use an extension box.
The Gap Rule
NEC 314.21 limits gaps around boxes in finished surfaces to 1/8 inch. A rough jigsaw cut in the cabinet back that leaves a big gap fails. Cut cleanly or use a trim ring.
Accessibility
NEC 314.29 requires boxes to be accessible without removing parts of the building structure or finish. A cabinet with a door you can open is accessible. A cabinet back screwed over a box with no cutout is not.
What Types of Cabinets Can Have Outlets?
Appliance garages, upper cabinets over microwaves, sink bases, pantry cabinets, media cabinets, bathroom vanities and charging stations all commonly have outlets.
Appliance Garages
An appliance garage sits on the counter with a tambour or lift-up door. The toaster and coffee maker stay plugged in. Pull them out to use them, or keep the door open while they run. Use a two-gang box so several appliances can stay plugged in.
Microwave Cabinets
Over-the-range microwaves plug into a receptacle in the upper cabinet above. Many manuals call for a dedicated 20 amp circuit. The cord passes through a hole in the cabinet bottom. See an outlet behind a built-in microwave for trim kit installs.
Media Cabinets
TV consoles and built-ins hold receivers, game consoles and streaming boxes. Power strips inside are common. Ventilation matters more than the outlet.
Charging and Drawer Outlets
Listed in-drawer outlets mount inside a drawer and power phones or hair tools. The drawer unit plugs into a receptacle inside the cabinet behind it. See an outlet in a kitchen drawer.
| Cabinet | Typical requirement |
|---|---|
| Kitchen appliance garage | 20 A small appliance circuit, GFCI |
| Microwave upper cabinet | Often dedicated 20 A, per manual |
| Sink base | GFCI, appliance cord rules |
| Living room media cabinet | AFCI, ventilation |
| Bathroom vanity | GFCI, 20 A bathroom circuit |
Is It Safe to Run Appliances Inside a Cabinet?
Low-heat electronics, yes, with airflow. Toasters, air fryers and coffee makers make heat and steam. Most manuals require clearance around them. Run them with the garage door open or slide them out first.
Toasters can reach high surface temperatures. Air fryers vent hot air out the back. Coffee makers release steam that warps cabinet finishes. Appliance manuals typically specify inches of clearance on each side and above.
- Read the clearance section in each appliance manual.
- Pull heat makers forward before use.
- Leave cabinet doors open while appliances run.
- Give AV receivers the ventilation space the manual lists.
- Running a toaster with the tambour door closed.
- Stacking a router on top of a hot receiver.
- Loading one in-cabinet power strip with several heat appliances.
Can You Cover an Outlet With a Cabinet?
Not by burying it. If a new cabinet lands over an existing outlet, cut an opening in the cabinet back and extend the box flush, or have the outlet relocated and the old box properly abandoned.
This comes up in every remodel. The new cabinets go in and a wall outlet ends up behind a cabinet back. A Reddit answer suggested a box extender through the cabinet back. That is the standard fix.
Your Options
- Cut and extend: cut the back panel at the box, add an extension ring and reinstall the receptacle flush.
- Relocate: move the outlet to a better spot and remove the old wiring back to an accessible box.
- Blank cover: if no longer needed, an electrician can leave the box with a blank cover, still accessible through a cutout.
Drywall or cabinet panels over a live box with splices is a code violation and a fire risk. See an outlet behind a built-in cabinet for full details.
Can You Run a Cord Through a Cabinet to an Outlet?
An appliance cord can pass through a cabinet panel to its receptacle, as with dishwashers and microwaves. Cords cannot pass through walls or be used in place of fixed wiring.
NEC 400.12 bans cords run through walls, ceilings and floors. A cabinet panel is not a wall. Grommets protect the cord where it passes through. See an outlet through a cabinet.
How Do You Add an Outlet Inside an Existing Cabinet?
Find a nearby receptacle on the right circuit, fish cable to a new old-work box behind the cabinet, cut the cabinet back cleanly and add an extension ring.
Check the Circuit
In a kitchen, tap a 20 A small appliance circuit.
Kill Power
Shut off the breaker and test.
Mark the Spot
Avoid cabinet shelf pins, cams and locks.
Cut and Fish
Cut the cabinet back and the wall. Fish the cable.
Box and Ring
Set an old-work box and extension ring flush.
Protect and Test
Add GFCI in kitchens. Test and inspect.
A Reddit commenter warned to check whether the cut lines up with cabinet cams and locks. Good advice. Frameless cabinets have hardware in the side panels.
Frequently Asked Questions
Is it legal to have an outlet inside a cabinet?
Yes. The NEC allows it if the box is accessible, flush and protected as the room requires.
Is it okay to cover an outlet with a cabinet?
Not by burying it. Cut the cabinet back and extend the box flush, or relocate the outlet.
Does an appliance garage outlet count as a countertop outlet?
No. NEC 210.52(C) excludes receptacles in appliance garages from the required count.
Do kitchen cabinet outlets need GFCI?
Yes. All dwelling kitchen receptacles need GFCI under the 2023 NEC.
Can I run a toaster inside an appliance garage?
Only with the door open and the clearances in the manual. Better to pull it out.
Why do I need an extension ring?
NEC 314.20 requires boxes in combustible surfaces like wood to be flush or project from the surface.
Can a microwave plug in inside the upper cabinet?
Yes. That is the standard over-the-range install. Check the manual for circuit size.
Are cabinet outlets banned in other countries?
Some national codes are stricter. This guide covers the US National Electrical Code.
The Bottom Line
You can put an outlet in a cabinet. Keep the box accessible, bring it flush with an extension ring and protect it as the room requires.
Remember that appliance garage and cabinet outlets are extras. Your counter still needs its own required receptacles.
Run heat appliances in open air, never bury an outlet behind a cabinet back and your cabinets can hide clutter safely.
How this guide was written: Written by Michael Wallace, licensed electrician in Portland, Oregon. Sources reviewed: 2023 National Electrical Code sections 210.8(A), 210.11(C), 210.52(C), 314.20, 314.21, 314.29, 400.12 and 422.16; the Oregon Electrical Specialty Code; NFPA home cooking fire research; appliance manufacturer clearance guidance; and homeowner and electrician threads on Reddit and electrician forums. Local amendments and your inspector decide edge cases.