How to Wire Cabinet Lights to a Wall Switch: Step-by-Step Guide
This post contains affiliate links. I may earn a small commission from purchases made through them, at no extra cost to you. As an Amazon Associate, I earn from qualifying purchases.
Â
Wiring cabinet lights to a wall switch gives your kitchen or workspace a cleaner and more convenient lighting setup. Instead of reaching for a plug, cord, or individual light switch, you can control the cabinet lighting from one central location.
The installation can take around 2–4 hours for a typical project, while a more involved hardwired installation may take 3–6 hours. The exact process depends on whether you are installing line-voltage fixtures, LED strips with a driver, or another type of under-cabinet lighting.
This guide explains the complete wiring process, from planning the cable route to connecting the switch and testing the lights.
Safety first: Working with household electrical wiring can be dangerous. Turn off power at the breaker before working, verify that the circuit is de-energized with a voltage tester, and use a licensed electrician when the work is beyond your experience or requires new electrical infrastructure.
Choose the Right Cabinet Lighting System
Before running any cable, identify the type of lighting you are installing. Under-cabinet lighting generally falls into three useful categories:
- Plug-in LED strips or bars
- Hardwired lighting controlled by a wall switch
- Battery-powered puck lights
For a wall-switch installation, the hardwired approach is the main option to consider.
Some systems use 120V line voltage, while LED systems may operate at 12V or 24V through a power supply unit (PSU) or driver.
A typical low-voltage arrangement looks like this:
120V AC → PSU/driver → 12V or 24V DC → LED fixtures
The driver should remain in an accessible location so it can be maintained and can dissipate heat properly.
Plan the Lighting Before You Start
Good planning makes the wiring process considerably easier.
Start by deciding exactly where each fixture will sit underneath the cabinets. For better countertop illumination, fixtures should generally be positioned toward the front of the cabinet underside rather than pushed toward the back.
One installation guide recommends keeping fixtures approximately 12–18 inches from the back wall, depending on the cabinet arrangement.
If you are using LED strips, calculate the required length before cutting. One recommendation is to purchase approximately 10% extra LED strip material.
For plug-in systems, a 6–10 foot cord may be sufficient depending on the location of the power source.
When using adhesive-backed LED strips, work with manageable sections of approximately 4–6 inches at a time rather than removing all the backing at once.
Select the Correct Cable
The cable depends on the electrical system and local requirements.
The installation guides commonly reference:
- 14/2 NM or NM-B cable
- 12/2 NM cable
- 14/2 NMD90 for the Canadian installation example
A 14/2 cable contains the conductors needed for the typical hot, neutral, and grounding arrangement used in the described installation.
When estimating cable length, allow approximately 10–15% extra so you are not left short when routing the cable.
For example, if your planned route requires 30 feet of cable, allowing additional material gives you room for routing and connections.
Gather the Necessary Tools
Prepare your tools before switching off the power.
Common tools and materials mentioned across the installation guides include:
- Voltage tester
- Wire strippers
- Screwdriver
- Pliers
- Measuring tape
- Level
- Drywall saw
- Stud finder
- Fish tape or wire fish
- Wire nuts or wire connectors
- Electrical tape
- Junction box
- Switch box
- Cable staples
- Electrical cable
A power drill may also be required when drilling through studs or preparing mounting locations.
Turn Off the Power
The first actual wiring step is to turn off the power at the breaker.
Do not assume that switching off the wall switch makes the wiring safe. Use a voltage tester to confirm that the circuit is no longer energized.
This is one of the most important steps because cabinet-light wiring can involve household line voltage.
If you cannot confidently identify the correct breaker or verify that the circuit is dead, stop the installation and contact an electrician.
Plan the Cable Route
Next, determine how the cable will travel from the power source to the wall switch and then to the cabinet fixtures.
A typical arrangement is:
Power source → switch box → switch leg → cabinet lighting
Another described line-voltage arrangement is:
Junction box → switch → fixture → fixture
The fixtures are connected in a parallel arrangement, allowing the same switched power to operate the connected lights.
Before cutting into a wall, check the route carefully. Plumbing and gas pipes may be located inside walls, so the wiring path needs to be planned before drilling or cutting.
There are three main approaches for hiding the wiring:
- Run the wires through the wall
- Use a wire channel
- Use conduit
Running the cable inside the wall provides a cleaner finished appearance, while channels and conduit can be useful where opening the wall is undesirable.
Install the Wall Switch Box
Determine the location of the wall switch and install the appropriate switch box.
One installation guide gives a typical switch height of approximately 48 inches.
Leave enough cable inside the box for making the connections. A common recommendation is approximately 6 inches of cable extending into the switch box.
The exact installation arrangement should follow the electrical requirements applicable to the installation.
For controlling cabinet lights from a single location, a single-pole switch is the straightforward choice.
If the same lighting needs to be controlled from two locations, a three-way switch can be used.
Run the Cable to the Cabinet Lights
After preparing the switch location, route the cable from the switch box toward the cabinet lighting.
When cable enters an opening, one guide recommends leaving approximately 1 foot of wire available for making the fixture connection.
Keep the wiring route organized and secure the cable appropriately. One installation guide recommends cable staples at approximately every 4 feet.
Avoid making the route unnecessarily complicated. A simple path reduces the amount of cable required and makes future troubleshooting easier.
Position the Cabinet Fixtures
Before making the electrical connections, mount the lights underneath the cabinets.
For LED strips, make sure the strip follows the planned cabinet layout.
For puck lights or bar-style fixtures, position the lights so that the countertop receives useful task illumination.
If using cord clips for a plug-in portion of the installation, one recommendation places clips approximately 12 inches apart.
The available fixture sizes can vary considerably. One LED fixture range described in the material includes sizes from 9 inches to 42 inches.
The example fixture wattages range from 5W to 18W, depending on fixture length.
Connect the Fixture Wiring
Once the fixtures are positioned and the cable has been routed, make the electrical connections.
The commonly described conductor arrangement is:
- Black = hot
- White = neutral
- Green or bare copper = ground
The black conductor carries the switched hot connection toward the lighting.
The white neutral connects to the fixture’s neutral connection, while the grounding conductor is connected appropriately to the grounding system.
Use suitable wire connectors or wire nuts for the connections.
When stripping insulation, the guides commonly specify approximately 3/4 inch of exposed conductor.
Avoid exposing more conductor than necessary, and make sure connections are secure before closing the junction box or fixture.
Wire the Wall Switch
The incoming black hot wire is connected to the switch so that the switch can control power to the cabinet lighting.
The switched hot then continues from the switch toward the lights.
The neutral normally bypasses the switch and continues to the lighting connection.
The ground conductor is bonded to the appropriate grounding points, including the switch and metal box where applicable.
The basic concept is:
Incoming hot → switch → switched hot → cabinet lights
Incoming neutral → cabinet-light neutral
Ground → grounding connections
For a standard single-location installation, a single-pole switch is commonly used. A three-way arrangement is appropriate when the same lights need control from two locations.
Consider a Dimmer
A dimmer can provide more control over cabinet lighting, particularly when the LED fixtures support dimming.
The installation material specifically refers to an LED-compatible dimmer.
A single-pole dimmer can be used for one control location, while a 3-way dimmer may be appropriate where the lighting is controlled from two locations.
Make sure the lighting system and dimmer are compatible before installation.
Check the Circuit Capacity
Electrical load is another important consideration.
The referenced installation guides use these maximum connected-load figures:
- 15-amp circuit: 1,440 watts
- 20-amp circuit: 1,920 watts
Cabinet LED lighting generally uses relatively low wattage, but the total connected load still needs to be considered.
For example, the lighting examples in the material range from 5W to 18W per fixture, depending on the fixture size.
For a low-voltage LED strip system, brightness can instead be considered in lumens. One recommendation targets approximately 180–250 lumens per foot.
A 20-foot example at that target would be approximately 4,000 lumens.
Choose an Appropriate Color Temperature
Color temperature affects how the cabinet lighting looks in the room.
The referenced guides cover these common choices:
- 2700K – warm
- 3000K – warm-to-neutral
- 3500K – neutral
- 4000K – cooler neutral
- 5000K+ – cool daylight appearance
One installation guide uses 3000K as a starting point for many kitchens, while 3500K is suggested for modern gray or bright-white cabinets.
For LED lighting quality, a CRI of 90+ is recommended in the extracted material.
Test the Installation
Before closing everything permanently, inspect the connections and make sure the wiring is properly secured.
Then restore power at the breaker and test the wall switch.
The lights should respond correctly when the switch is turned on and off.
If the lights do not operate as expected, turn the power back off before investigating the wiring.
Do not continue working on energized wiring.
Finish the Wall and Hide the Wiring
Once the installation has been tested successfully, finish the areas opened during the wiring process.
If you cut into drywall, repair and patch the affected sections.
Where running wires inside the wall is not practical, a wire channel or conduit can provide a cleaner alternative.
The goal is to leave the completed installation neat, secure, and easy to maintain.
How Long Does It Take to Wire Cabinet Lights?
The time depends on the installation method.
A typical cabinet-light wiring project is described as taking around 2–4 hours.
A more involved hardwired installation may take approximately 3–6 hours.
For comparison, the extracted installation estimates include:
- Plug-in lighting: 45–90 minutes
- Battery puck lights: approximately 20 minutes
- Hardwired lighting: 3–6 hours
- Typical BrightLightHub installation: 2–4 hours
- Broader wiring project estimate: approximately 1 day
The actual time depends on the number of fixtures, cable route, wall access, and whether drywall needs to be opened and repaired.
How Much Does Cabinet-Light Wiring Cost?
The cost varies depending on whether you install the system yourself or hire an electrician.
The extracted figures include a DIY material range of approximately $50–$200.
Another source lists lighting costs around $50–$250.
Professional installation estimates vary more significantly:
- Electrician labor: approximately $50–$100 per hour
- Professional installation: approximately $150–$500
- Hardwired professional installation: approximately $400–$1,200
- Permit example: approximately $100–$200
The final cost depends heavily on the wiring route, electrical work required, number of fixtures, and local requirements.
Common Cabinet-Light Wiring Mistakes to Avoid
Forgetting to Turn Off the Breaker
Never begin wiring while assuming the circuit is dead. Turn off the breaker and verify the absence of voltage with a tester.
Choosing the Wrong Cable
The installation guides reference 14/2 and 12/2 cable options. Choose the cable appropriate for the electrical system and applicable requirements.
Leaving Too Little Wire
Allow enough cable at the switch box and fixture openings. Common figures include approximately 6 inches at the switch box and around 1 foot at fixture openings.
Placing Fixtures Too Far Back
Cabinet lights positioned too far toward the back can provide less useful countertop illumination. Positioning them toward the front can improve task lighting.
Ignoring the Driver Location
For 12V or 24V LED systems, keep the PSU or driver accessible rather than burying it somewhere that makes maintenance difficult.
Overlooking Wall Obstacles
Before drilling or cutting, consider plumbing and gas pipes that may be located inside the wall.
Using an Incompatible Dimmer
LED fixtures require a compatible dimming setup. Use an LED-compatible dimmer when the lighting system supports dimming.
Frequently Asked Questions
Can cabinet lights be controlled by a wall switch?
Yes. Hardwired cabinet lighting can be connected to a wall switch so the fixtures operate from a central control point.
A single-pole switch is suitable when the lights are controlled from one location, while a three-way setup can control the same lights from two locations.
What wire is commonly used for cabinet-light wiring?
The extracted guides commonly reference 14/2 NM, 14/2 NM-B, 14/2 NMD90, and 12/2 NM cable, depending on the installation and electrical system.
How high should the wall switch be?
One installation guide uses approximately 48 inches as a typical switch height.
How much cable should be left in the switch box?
Approximately 6 inches of cable is a commonly cited allowance in the installation material.
How much wire should be left at the light openings?
One guide recommends approximately 1 foot of wire at openings to provide enough material for fixture connections.
Should cabinet lights use 120V or low voltage?
Both approaches are described. Line-voltage systems may use 120V, while LED systems can use 12V or 24V through a PSU or driver.
How far apart should cable staples be?
One installation guide recommends approximately every 4 feet.
What color temperature is best for cabinet lighting?
The referenced recommendations range from 2700K to 5000K+. Around 3000K is presented as a useful starting point for many kitchens, while 3500K can suit modern gray or bright-white cabinets.
How bright should LED strip lighting be?
One recommendation targets approximately 180–250 lumens per foot. A 20-foot example would provide about 4,000 lumens at that range.
What CRI should cabinet lighting have?
A 90+ CRI is recommended in the extracted guidance when accurate color appearance is important.
Can I use a dimmer with cabinet lights?
Yes, when the lighting system supports dimming. The extracted guidance specifically recommends an LED-compatible dimmer.
When should I hire an electrician?
Hire a licensed electrician when you are unsure about electrical connections, need new electrical infrastructure, cannot safely verify the circuit, or are uncomfortable working with household wiring.
Final Thoughts
Wiring cabinet lights to a wall switch can create a cleaner and more convenient lighting setup, but careful planning is essential. Start by selecting the correct lighting system, plan the cable route, allow approximately 10–15% extra cable, and leave enough wire at the switch and fixture openings.
For a typical installation, expect roughly 2–4 hours, although a more involved hardwired project can take 3–6 hours. Use the appropriate cable, keep the wiring organized, position fixtures for useful countertop illumination, and test everything before completing the wall repairs.
Most importantly, treat household electrical work seriously. If the installation goes beyond your experience, using a licensed electrician is the safer choice.
Dylan
Dylan is a lighting enthusiast and experienced content creator with 7 years of expertise in blogging about home improvement, lighting solutions, and modern illumination trends. As the lead writer for BrightLightZone, Dylan focuses on simplifying complex lighting topics and helping readers discover practical, energy-efficient, and innovative lighting ideas for their homes and spaces.
With a passion for exploring the latest advancements in LED technology, smart lighting, and DIY lighting solutions, Dylan combines research, creativity, and real-world insights to create helpful guides for homeowners, DIY enthusiasts, and lighting lovers. Through BrightLightZone, Dylan aims to inspire people to transform their environments with smarter, brighter, and more sustainable lighting choices.
