A photocell is a small light-sensing device that automatically turns your outdoor lights on at dusk and off at dawn. It works by detecting the level of ambient light in its surroundings, so you never have to flip a switch or adjust a timer when the seasons change. You’ll find photocells built into porch lights, streetlights, parking lot fixtures, and illuminated business signs.
How a Photocell Detects Light
Inside a photocell is a semiconductor material that changes how easily it conducts electricity depending on how much light hits it. In darkness, the material resists the flow of electrical current. When sunlight or bright ambient light strikes the sensor, it excites electrons within the semiconductor, allowing current to flow more freely. The photocell uses this shift in electrical resistance as its signal: high resistance means it’s dark (turn the light on), low resistance means it’s bright (turn the light off).
This happens continuously and passively. The sensor doesn’t emit any signal or beam. It simply reads the light level around it and triggers a switch inside the circuit. Because it responds to actual light conditions rather than a clock, a photocell automatically adjusts to seasonal shifts in sunrise and sunset times, and it isn’t thrown off by daylight saving time.
Common Mounting Styles
Photocells come in a few different physical formats depending on where and how they’re installed:
- Twist-lock photocells are the most recognizable type, commonly seen on streetlights and commercial fixtures. They plug into a standardized socket on top of the light and can be swapped out in seconds without any rewiring.
- Button photocells are small, low-profile sensors designed to mount directly onto a fixture or junction box through a small drilled hole. They give a clean, integrated look and are popular on residential porch and wall lights.
- Swivel-mount photocells have an adjustable arm that lets you aim the sensor toward open sky. This is especially useful when nearby artificial lights (like a neighbor’s floodlight or a streetlamp) could trick the sensor into thinking it’s still daytime.
- Stem-mount photocells attach via a threaded stem and are common on area lights and barn-style fixtures. They sit slightly away from the fixture body to get a clearer reading of the sky.
Many modern outdoor light fixtures come with a photocell already built in. If yours doesn’t, aftermarket photocells are widely available and relatively simple to add.
Wiring Basics
A standard hardwired photocell has three wires, each color-coded:
- Black wire: the incoming power (line) from your electrical panel.
- White wire: the neutral wire, which completes the circuit back to the panel.
- Red wire: the load wire, which sends power out to the light fixture itself.
The photocell sits between your power source and the fixture. When the sensor detects darkness, it closes the circuit and allows electricity to flow through the red wire to the light. When it detects daylight, it opens the circuit and cuts power to the fixture. If you’re replacing or adding a photocell to an existing fixture, the color coding makes it straightforward, but the power should always be off at the breaker before you start.
Energy Savings
One of the main practical reasons to use a photocell is that it prevents lights from running when they aren’t needed. A daylighting photocell sensor can reduce outdoor lighting energy use by roughly 28%, according to utility engineering estimates from Xcel Energy. Pairing a photocell with an occupancy or motion sensor pushes savings to around 38%, since the light only activates when someone is actually present during dark hours.
Those savings add up quickly on fixtures that would otherwise burn all night, like driveway floodlights, garage lights, or decorative landscape lighting. Because photocells draw almost no power themselves (just enough to monitor light levels), the net reduction in your electricity bill is essentially the full value of the hours the light stays off.
Photocells vs. Motion Sensors
Photocells and motion sensors both automate outdoor lighting, but they respond to completely different triggers. A photocell reacts to changing light levels. A motion sensor reacts to physical movement, typically by detecting the infrared heat given off by people or animals, or by sensing changes in reflected signals within a coverage area.
A photocell is the better choice when you want consistent illumination all night: a porch light, pathway lighting, or a sign that should always be visible after dark. A motion sensor is better suited for security lighting or areas where you only need light when someone is present, like a side yard or a back stairway. Motion sensors often have adjustable detection zones so you can avoid false triggers from tree branches or passing cars.
The two work well together. Many outdoor security lights combine both: the photocell keeps the system dormant during daylight hours, and the motion sensor activates the light only when it detects movement after dark. This gives you responsive security lighting without wasting energy during the day.
Troubleshooting Common Problems
Flickering or Rapid Cycling
The most common photocell complaint is a light that flickers, blinks, or turns on and off in a rapid loop. This usually means the sensor can see its own light. When the fixture turns on, the photocell registers the brightness and shuts the light off. Then it’s dark again, so the light turns back on, creating a feedback loop that repeats every few seconds. The fix is to reposition or shield the sensor so it faces away from the fixture’s output, ideally pointing toward open sky.
Loose wiring can also cause flickering. If the connections at the photocell are corroded or not fully secured, the intermittent contact produces the same on-off behavior. Checking and tightening the wire connections, or replacing corroded wire nuts, often resolves it.
Incompatibility With LED Bulbs
Some older photocells were designed for incandescent or halogen loads and don’t work correctly with LED bulbs. The low power draw of LEDs can confuse the sensor’s switching mechanism, causing the light to turn on and off rapidly or never fully shut off. If you’ve recently switched to LED bulbs and started having problems, replacing the photocell with one rated for LED loads typically solves the issue.
Conflicting Controls
If your fixture has both a built-in photocell and a separate motion sensor, the two systems can conflict. One tries to turn the light on while the other tries to turn it off, resulting in erratic behavior. The simplest solution is to let one system handle the switching. Many combination units are designed to work together, with the photocell governing the “when” (only after dark) and the motion sensor governing the “whether” (only when movement is detected). If you’re mixing standalone components, make sure they’re wired so the photocell gates power to the motion sensor rather than both independently controlling the fixture.

