Wiring for Under Cabinet Lighting: A Complete DIY Guide
You've probably stood in your kitchen, looked at a bare strip of wall under the cabinets, and thought, “How hard can wiring for under cabinet lighting really be?” The fixture part is usually simple. The wiring, especially when the cabinets break at a sink, a corner, a window, or a range hood, is where the neat little DIY dream starts asking for a real plan.
Wiring for under cabinet lighting looks straightforward in photos because the photos are usually of one clean run. Real kitchens are messier, with interruptions that force you to think about cable paths, access, and where every connection will live before you drill a single hole. If you want the finished result to look built-in instead of improvised, the hidden wiring matters more than the fixture style. For a related finish detail that often comes up during kitchen updates, see this guide to peel and stick tile edge trim.
Why Under Cabinet Lighting Projects Get Complicated Fast
A common kitchen starts with a simple idea. You want light on the counter, you pick a fixture, and you assume the wire can just follow the cabinet line in one clean shot. Then you meet the sink base, the corner cabinet, the microwave hood, and the awkward stretch where the uppers stop and start again.
That's the point where the fixture stops being the hard part. The hard part is making the wiring disappear through a layout that was never designed for it in the first place. The best-looking installs are usually the ones where the cable route was planned before the first hole was drilled, not after the homeowner noticed a loop of wire hanging under the cabinet.

Where the trouble usually shows up
The most frustrating kitchens are rarely the biggest ones. They're the ones with just enough interruption to force a hidden cable to cross a visible gap. A window between cabinets, a range hood breaking the run, or open shelving in the middle can turn a neat wiring path into a compromise.
Practical rule: If you can't trace the wire path on paper, you probably shouldn't open the cabinet bottoms yet.
That's also where DIY confidence gets expensive. A straight run can stay tidy with basic planning. A kitchen with breaks, corners, and appliance clearances asks for a real routing strategy, and sometimes that means the job belongs with a licensed electrician rather than a weekend tool kit.
Planning Your Layout and Power Requirements
The short answer is this, plan the route before you plan the look. Measure each cabinet section, mark every interruption, and decide where the power source will enter the system before you buy the first strip light or puck.
Start with the cabinet map
Draw the kitchen as it really exists, not as a perfect rectangle. Mark the sink, range, hood, windows, corner turns, and any open shelving that interrupts the run. Then decide where you want light to end, where you need hidden connections, and which sections should stay separate for service access.
A good layout sketch should answer three questions:
- Where does power begin? Identify the nearest source and how it reaches the cabinet line.
- Where does the cable travel? Mark every cabinet seam, corner, and gap.
- Where can you service it later? Leave room for access to drivers, junctions, or connectors.
Match the plan to the electrical load
For hardwired work, the wire size and run length matter as much as fixture placement. A common wiring practice is 14/2 NM-B (Romex) from the switch location to the cabinet area, with a 12 to 18 inch loop left at the fixture point and nail plates used whenever the cable is within 1-1/4 inches of the framing edge, according to a wiring guide for under-cabinet lighting (Ampora Labs). For multi-fixture runs, that same guide notes linked fixtures are commonly limited to about 4 to 8 units, depending on wattage and model, which is exactly why long cabinet lines deserve a load check before the first cut.
If the route looks awkward on paper, it will look worse in wood and drywall. Homeowners who are unsure about the circuit side of the job can review residential electrical work as a reference point for the kind of planning and code awareness a pro brings to a project.
A rough planning checklist helps:
- Measure every run. Include the visible sections and the hidden transitions.
- Count the fixtures. Know whether you're installing a few lights or building a longer linked system.
- Locate the junction point. Pick a spot that won't get buried behind permanent finishes.
- Check access. If you can't reach it later, don't hide it there now.
The important part is catching the bad layout on paper. Once cabinets are drilled, concealment gets much harder to fix.
Choosing Between Hardwired and Plug-In Power Sources
The right power source depends on how permanent you want the result to be. Hardwired systems are cleaner and more integrated, while plug-in systems are easier to install and easier to remove.
Hardwired works best when permanence matters
Hardwired under-cabinet lighting makes sense in remodels, long-term homes, and kitchens where visible cords would ruin the finish. It also fits better when the system needs a dedicated switch, a cleaner wall appearance, or a more polished resale look. The trade-off is access, because the more permanent the install, the more carefully you need to think through routing and maintenance.
For cost context, HomeAdvisor reports a 2026 expected range of $230 to $300 per light, with an average of $265 for installed under-cabinet lighting (HomeAdvisor). A kitchen with 6 lights at the average rate would be about $1,590 before broader electrical or drywall work, so the choice between hardwired and plug-in isn't just about style, it changes the whole budget conversation.
Plug-in keeps the project lighter
Plug-in lighting is a practical choice for renters, temporary setups, or kitchens where you want to test placement before making anything permanent. It's also friendlier when you don't want to open walls or fish cable through difficult sections. The downside is visible cords, more obvious access points, and a look that can drift from “installed” to “added later” if the routing isn't disciplined.
Hardwired and plug-in compare like this:
| Factor | Hardwired | Plug-In |
|---|---|---|
| Appearance | Cleaner, more built in | Easier to see cords unless carefully hidden |
| Installation complexity | Higher | Lower |
| Maintenance access | Needs planning upfront | Easier to unplug or move |
| Best fit | Remodels, long-term installs | Rentals, temporary upgrades |
| Power planning | More code-sensitive | More forgiving, but still needs safe routing |
Driver and dimmer compatibility still matters
LED systems changed the game. The easiest-looking option isn't always the simplest once drivers, dimmers, and access are part of the picture. A hardwired system that hides everything too well can become a maintenance headache if the driver fails and nobody can reach it without tearing apart the kitchen.
Step-by-Step Wiring Installation Process
The cleanest installs follow a boring sequence, and that's a compliment. The less improvisation you do after the power is off, the fewer ugly patches you'll be staring at later.

Use the right cable and rough-in method
For hardwired under-cabinet lighting, one standard method is to run 12/2 NM cable from the power source to the junction box, strip about 12 inches of outer sheathing at each end, staple the cable within 8 inches of the box, and use fish tape for longer runs (Family Handyman). This is the kind of rough-in that keeps the cable under control instead of letting it wander inside the cabinet cavity.
This Old House gives a slightly different rough-in detail, specifying 12/2 NM electrical cable long enough to reach from the new electrical box to the fixtures, plus an extra 24 inches for connections, and says to strip six inches of outer sheathing before securing it in the connector (This Old House). The exact allowance depends on the method and fixture design, but the principle is the same, give yourself service slack, not a tugged-tight line.
Cut access carefully and protect the run
A clean route usually means a small hole under the wall cabinet and another through the cabinet base or wall where the cable needs to travel. Keep the hole size and location controlled so the wire doesn't chafe or leave a visible scar in the finish. If the wire passes near a framing edge, install protection rather than hoping nobody notices later.
Keep the cable where hands won't snag it and where a future service call won't require demolition.
Finish with safe terminations
- Turn off power first. Confirm the circuit is dead before touching conductors.
- Make enclosed splices only. Use proper junction boxes and secure connectors.
- Leave service slack. A hidden fixture with no slack becomes a future headache.
- Test before closing. Check each fixture before you button everything up.
For a visual example of a cabinet-lighting retrofit workflow, this DIY cabinet lighting guide is a useful companion reference.
Solving the Hidden Wiring Challenge in Complex Layouts
The biggest myth in under-cabinet work is that the wire should follow the cabinet line. That only works when the cabinet line is uninterrupted. Real kitchens don't behave that neatly, and the route often matters more than the light itself.
Hide the path, not just the cable
The goal is to keep wiring out of normal sight lines. That can mean drilling through cabinet sides, using a controlled surface raceway in a short exposed stretch, or routing low-voltage cable behind the front edge where it won't catch the eye from the room. A straight visual line is worth more than a perfectly short cable run that shows every inch of itself.
The underserved part of this work is the in-between section, the stretch between cabinet runs where the layout changes. That's where many installs fail visually. The wire is technically connected, but the kitchen reads it as an afterthought.
Treat corners and breaks as design decisions
Corner cabinets, open shelving, and different cabinet heights all change the routing math. If you're crossing a break, don't assume the shortest path is the best path. Sometimes the cleanest result comes from running the cable where the eye least expects it, then using a hidden transition to get to the next section.
A practical way to approach this is
- Corner turns: Plan a concealed entry and exit point, not a visible bend.
- Open shelf breaks: Use the back or underside of the structure if the front edge is exposed.
- Different cabinet heights: Align the wire route with the least visible plane, not the shortest distance.
- Sink and range gaps: Treat appliance zones as separate routing problems, not one long continuous line.
Choose the system based on concealment needs
Low-voltage systems can make the wiring easier to hide because the cable is smaller and the routing can be more flexible. Hardwired line-voltage systems can be cleaner from a power standpoint, but they demand more careful planning around access and code boundaries. If the kitchen has several visible interruptions, the routing challenge often becomes the deciding factor, not fixture style.
Practical takeaway: In complex kitchens, the best lighting system is the one that stays invisible without becoming impossible to service.
Testing Your Installation and Troubleshooting Common Issues
A lot of bad cabinet-lighting jobs look fine until the first power-up. That's why the testing phase matters as much as the rough-in, because it tells you whether the circuit, the dimmer, and the fixtures work together.

Test in sequence, not all at once
Start with a visual inspection. Check every connection, every splice, and every insulated point before energizing the circuit. Then power on one fixture at a time so you can isolate a failure instead of guessing at a whole-run problem.
If a light flickers, the issue may be a loose connection, a dimmer mismatch, or an LED driver that doesn't like the load it's seeing. If fixtures work alone but fail together, the trouble is usually in the shared wiring path or compatibility between components. Buzzing dimmers and uneven brightness are both warnings, not quirks you should learn to live with.
Watch for heat and compatibility problems
A transformer or driver that runs hot deserves attention. So does a dimmer that was chosen because it fit the wall box, not because it matched the fixture type. If you're dealing with LED under-cabinet systems, compatibility matters more than most older advice admits, and the switch choice has to match the light type.
For a broader product-selection lens, 1000Bulbs explains why dimmer compatibility, voltage requirements, and certification matter for under-cabinet and puck lights, and why LED systems are usually chosen for their lower heat and cleaner task lighting (1000Bulbs).
Stop when the problem stops making sense
- Loose or exposed conductors need correction before any more testing.
- Persistent flicker across multiple fixtures usually means a deeper wiring or compatibility issue.
- Tripped protection devices point to a fault that shouldn't be bypassed.
- Heat that feels excessive means the installation needs review, not denial.
If a test fails twice in the same place, the fastest fix is often to slow down and inspect the path rather than replacing parts at random.
Integrating Lighting with Your Kitchen Design and Maintenance Plan
Under-cabinet lighting works best when it fits the kitchen instead of fighting it. That means thinking about how the glow interacts with natural light, window treatments, and the finishes already in the room.
Plan for access before you hide anything
The cleanest installation still needs a maintenance path. Drivers, transformers, and connection points should be reachable without removing half the cabinet system. If a component fails in three years and you can't get to it, the install was never really finished.
For design coordination, the lighting should also sit comfortably with the cabinet style and surrounding finishes. A cabinet finish that reads warmer or cooler than the light can make the whole kitchen feel off, even if the wiring is perfect. If you're comparing broader design choices, elevate your kitchen lighting is a useful design reference alongside this more technical view.
Keep the system documented
Write down what was installed, where the driver is, and how the run is split. That note helps the next electrician, the next owner, or your future self when a fixture starts acting up and nobody remembers which cabinet hides the connector.
For finish planning around the cabinetry itself, it also helps to think about the cabinet material and how the installation method interacts with it. This guide on type of wood for kitchen cabinets is a good companion when you're considering how easily a cabinet can be drilled, fastened, or serviced later.
Build for the long term
The smartest installs leave room for replacement, not just for the first install. A future bulb swap, driver change, or lighting upgrade should not require a demolition. Good wiring for under cabinet lighting looks simple to the eye because the planning behind it was anything but.
Joey'z Shopping helps homeowners pull a room together with practical style, from window treatments to home updates that make a kitchen feel finished instead of patched together. If you're planning a kitchen refresh and want more ideas that work with real spaces, visit Joey'z Shopping and explore the products and inspiration that make everyday upgrades easier.