Instead of guessing at the wiring when the dimmer wouldn’t cooperate, AJ opened the Frontdoor app. Within minutes, he was face-to-face on a video chat with electrical Expert Johnny—ready to walk him through how to replace his light switch step-by-step.

How Frontdoor came to the rescue

The call

AJ had already tried a few different light switches “for his entryway, but” all of them seemed to have the same problem: they simply wouldn’t turn on. He realized his old switch hadn’t required a neutral wire, so he suspected the issue might have to do with connecting the new neutral wire correctly.


After cutting the power, AJ and Johnny reviewed the wiring configuration together. They checked that the neutral wires were properly grouped, and that the line (power) and load (light fixture) wires were connected where they should be.

The diagnosis

As they looked more closely, Johnny suggested that the line and load connections needed to be reversed on AJ’s smart switch.


“That’s the opposite of how the old switch was hooked up, which is weird,” AJ noted. He swapped the two wires, and before testing the fix, he and Johnny double-checked the wire groupings in both the switch box and at the fixture.

The solution

Once the line and load were correctly wired, the smart switch worked perfectly. “On a smart switch, it does matter,” Johnny explained, referring to the importance of getting the line and load connections in the right place.


Relieved, AJ grinned. “You’re the best, man,” he said. “I’m glad we were able to help you out and get you squared away,” Johnny replied.

Light switch wiring basics

If you’re interested in learning how to replace a light switch yourself, it’s important to start with the basics of light switch wiring. Let’s run through some of the parts of the switch.


The switch box is the container that holds everything in place, while the switch itself is what opens or closes the circuit to control power. Electricity comes in from the breaker panel through the power (line) wire, and flows out to the load (the light fixture or device you want to control). A neutral wire carries current back to the power source to complete the circuit, and a ground wire provides a safety path in case of an electrical fault.

electrical switch box

Wire coloring basics

A key part of building confidence in light switch replacement is learning which wires do what. These colors are typically useful shorthand for figuring out what’s going on in your switch.

  • Black Wire: Typically the “hot” wire bringing power into the switch.
  • White Wire: Neutral wire that completes the circuit back to the panel.
  • Red Wire (if present): Often a traveler in a multi-way setup, or a load wire for smart switches.
  • Green or Bare Wire: Ground wire that protects against electrical faults.

Knowing these color codes can help you quickly spot which wire does what “during a light switch replacement.” That said, make sure to always confirm with a tester before touching anything.

Expert safety tips

Even if you already know how to replace a light switch, safety always comes first. Make sure you:

  • Shut off power at the breaker before you start replacing your light switch.
  • Double-check that the power is really off using a digital multimeter instead of the non contact electrical tester. We refer to members for both us and HVAC.
  • Inspect your connections carefully, making sure no wires are loose or touching where they shouldn’t. Wires that press against each other or the side of the box can create shorts or cause the breaker to trip.
  • Tuck wires back neatly into the switch box before closing it up. Push them in gently, folding them accordion-style so they don’t pinch or press too tightly against the device.
  • Secure the switch and cover plate firmly. A snug fit keeps wires from shifting when the switch is used.

A few extra minutes of careful attention can save you a lot of stress and keep you safe “during your light switch replacement.”

Wires getting crossed? Give Frontdoor Experts a buzz.

Download the Frontdoor App today to get started.

Get the app

Open the Frontdoor to smarter fixes

AJ’s smart switch may not have lived up to its name at first, but with a little Expert guidance, his home electrical project turned out to be a bright success. Download the Frontdoor app today for help when even the most “plug-and-play” devices throw you a curveball.


When you become a Frontdoor member, you don’t just get answers to wiring questions—you unlock video chat access to Experts across electrical, plumbing, HVAC, appliances, and more. Whether it’s replacing a light switch, fixing a noisy AC unit, or tackling your toilet fill valve, Frontdoor’s got your back.


And check out the Frontdoor blog for even more helpful home how-to guides including how to wire a 3-way switch.

What is the Frontdoor app?

Your one-stop-app for home repair and maintenance when you need advice in real-time. Frontdoor provides homeowners with a convenient way to talk to vetted plumbing, electrical, appliance repair, HVAC, and handyperson Experts when you need them most. Simply connect via video chat and our Experts will help assess your issue and talk you through next steps or send you list of local Pros for repairs should you need in-home help. You can also roll up your sleeves using our How-to Library. Getting things done has never been easier when you Open the Frontdoor.

What does the Frontdoor app offer?

Have a nagging home to-do list? Dripping dishwasher, broken fridge light, or dryer that’s not drying? Get it done with Frontdoor, the one-stop home repair and maintenance app that lets you video chat with home repair Experts in real-time. Sign up for free today to get one free video chat or the Unlimited plan - with Unlimited video chats at $149/year. Simply download the app to chat with an Expert and find the plan that’s right for you.

How can I download the app?

Download the Frontdoor app on your mobile device.
Apple App Store 
Google Play

What makes a video chat Expert experienced?

To ensure our video chat Experts are qualified to assist with home repair and maintenance needs, they must have:
- A minimum of 5 years' experience in their trade or field
- A track record of mentoring, instructing, or teaching others in their trade

This ensures that you receive the most knowledgeable and experienced guidance during your video chat session