# Outdoor Photocell Light Sensor Installation

Learn how to install an outdoor photocell light sensor for dusk to dawn lighting. Covers sensor placement, wiring and mounting tips for a weatherproof setup.

An outdoor [photocell light sensor](/articles/what-a-photocell-light-sensor-is-and-how-it-works/) turns a light on at dusk and off at dawn by sensing daylight. Installing one on an outdoor fixture gives you automatic dusk to dawn lighting without a timer. You can do the job yourself with basic tools and careful wiring. 

- A photocell reads daylight so the light turns on at night and off in the morning.
- Sensor placement matters: point the photocell away from artificial light and direct sun.
- Wire the photocell switch into the black line wire of the light circuit.
- Mount the outdoor fixture at a height that catches daylight but stays out of glare.
- Use a weatherproof photocell for lasting outdoor service.
 

## How a Photocell Works 

A photocell is a small light sensing device that changes its electrical resistance with light level. Inside it, a photosensitive material allows more current to pass when lit. At dusk the resistance rises and the photocell stops current flow to the light. At dawn the resistance falls and the photocell restores the circuit. 

This action makes the light turn on at night without a manual switch. A dusk to dawn photocell needs a small amount of daylight to stay off during the day. Artificial light from a porch lamp can confuse the sensor and make the light flicker. Aim the eye of the photocell at open sky for the cleanest switching. 

Installation adds the photocell between the power source and the light. The photocell becomes a one way switch controlled by daylight. The light itself still turns on and off through that switch. A working photocell gives you hands free operation for outdoor lighting. 

## Choosing the Right Photocell for Your Fixture 

Outdoor photocells come in several mounting styles. A stem mount photocell screws into a knockout on a junction box or floodlight housing. A swivel mount lets you aim the sensor eye after installation. A button style photocell fits a half inch knockout and stays nearly flush with the fixture. 

Match the photocell voltage to your supply and fixture. Most residential outdoor circuits run on 120 volts. Check the amp rating of the photocell against the wattage of the lamp. A photocell switch rated for 300 watts handles a pair of 150 watt floodlights. 

Choose a weatherproof photocell for direct outdoor exposure. Weatherproof housings keep rain and insects away from the internal parts. Look for a gasket or O-ring around the stem or mounting base. A well sealed photocell lasts through wet seasons and temperature swings. 

## Tools and Materials You Need 

Gather the basic tools before you start the installation. You need a flathead and a Phillips screwdriver for fixture screws. A pair of wire strippers prepares the circuit wires for the photocell. A voltage tester confirms the power is off before you touch any wire. 

For a new installation you need an outdoor rated junction box and fixture. A retrofit on an existing light needs only the photocell and wire connectors. Use twist on wire connectors with a skirt for outdoor wire joints. Electrical tape adds a second layer of protection over each connector. 

A drill and a hole saw make knockouts for the photocell stem. A mounting bracket may be needed for a swivel arm photocell. Keep a small tube of dielectric grease for the wire connections. Silicone caulk seals the photocell base after mounting. 

## Wiring a Photocell Switch Step by Step 

Turn off the circuit breaker for the light before you touch any wiring. Use a non contact voltage tester to confirm the power is off at the fixture. Remove the old light or the junction box cover to access the wires. Identify the black line wire from the house, the white neutral wire, and the ground wire. 

Wire the photocell into the black line wire only. Connect the incoming black wire from the power source to the black lead of the photocell. Connect the red lead of the photocell to the black wire going to the lamp. The white neutral wire bypasses the photocell and connects directly to the lamp neutral. 

Join the bare copper ground wires and attach them to the fixture ground screw. Push all wire connectors neatly into the junction box. Screw the photocell stem into the knockout and tighten the locknut. Restore the power after the fixture is fully assembled and sealed. 

## Sensor Placement and Mounting Height 

Place the photocell where it sees natural daylight and not artificial light at night. The sensor eye on top of a floodlight catches daylight from above. Keep the eye away from the fixture's own lamp to prevent the light from turning itself off too early. 

Mount the outdoor fixture at a height that balances daylight sensing and light spread. A height of eight to ten feet works for a typical floodlight on a wall. Higher mounting captures cleaner daylight but makes the light beam less useful for tasks. Lower mounting puts the sensor in shadow from fences or plants too easily. 

Point the photocell north if you live in the northern hemisphere for the most even light. A north facing eye avoids direct sun glare that shortens the photocell life. East or west facing sensors can turn the light on too early or off too late. A south facing eye gets the most daily sun but can overheat and drift. 

## Mounting on Different Fixture Types 

Flush mount ceiling fixtures need a stem type photocell in a knockout. Drill a half inch hole in the fixture canopy if no knockout exists. Push the photocell stem through the hole and thread the locknut from inside. Wire the leads into the canopy before you close the fixture. 

Wall lanterns accept a swivel mount photocell on the side. Mount the swivel arm on the top or upper side of the lantern body. Aim the eye away from the lantern glass to keep the beam out of the sensor. A button style photocell mounts cleanly on the wall plate for a modern look. 

Post lights have a built in photocell recessed in the top cap. The photocell replaces the cap switch or fits beside the socket. Wire the photocell inside the post head before sliding the cap back on. Keep the eye above the rim of the cap for clear sky exposure. 

## Troubleshooting Common Photocell Problems 

The light stays on during the day when the photocell is covered or failed. Check that the sensor eye is not painted, dirty or blocked by a fixture shade. A nearby bush or fence that grew over the sensor blocks daylight and keeps the circuit closed. Clean the eye with a soft dry cloth to restore normal operation. 

The light turns on and off rapidly at dawn and dusk when the sensor sees its own lamp. Move the lamp or the sensor eye so the beam does not hit the photocell. A short shading tube over the eye narrows its view and stops the flicker. Some photocells have a built in delay to prevent rapid cycling. 

The light never comes on at night when the photocell wiring is reversed. Check that the black lead connects to the incoming hot wire and the red lead to the lamp. A loose neutral wire also prevents the light from getting a complete circuit. Retest the voltage at the socket with the photocell covered. 

## Replacing an Old Photocell 

A failed photocell usually leaves the light stuck on or stuck off. Turn off the power and open the fixture to reach the old sensor. Unscrew the retaining ring or locknut and pull the photocell out of its knockout. Cut the wire leads close to the old photocell with enough length for the new one. 

Strip the ends of the circuit wires and the new photocell leads. Match the wire colors the same way the old unit was wired. Black to incoming hot, red to lamp, and white to neutral. Use new twist on connectors for a clean joint and wrap them with tape. 

Insert the new photocell stem into the knockout and tighten the locknut. Be sure the sensor eye faces open sky after you reassemble the fixture. Test by covering the eye with a dark cloth to simulate night. The light should turn on within a minute. 

## Photocell Installation Questions 

### Can I install a photocell on any outdoor light? 

You can install a photocell on most outdoor lights that run on line voltage. The fixture needs a place to mount the sensor, either a knockout or a flat surface. Low voltage landscape lights need a transformer and a different type of photocell. 

### Where should I place an outdoor photocell sensor? 

Place the photocell sensor where it sees open sky and not artificial light. A north facing location avoids direct sun and gives even light levels. Keep the sensor eye away from the lamp it controls. 

### How high should an outdoor photocell be mounted? 

Mount the photocell at the same height as the outdoor fixture, usually eight to ten feet. The height should let the sensor see daylight while keeping the light useful for the area. Higher locations can shadow the sensor with eaves or tree branches. 

### Do I need an electrician to wire a photocell? 

You can wire a photocell yourself if you have basic electrical knowledge and safe work practices. Always turn off the circuit breaker and verify the power is off. Hire an electrician if the existing wiring is confusing or you are unsure. 

### Why does my photocell light stay on during the day? 

The photocell light stays on during the day because the sensor is covered or has failed. Dirt, paint or a fixture shade can block daylight from the sensor eye. Clean the eye and check for any object that casts a shadow on it. 

### Can I adjust the sensitivity of a photocell? 

Adjustable photocells have a small dial or cover to set the light threshold. Most fixed photocells are preset at the factory for dusk and dawn. A covered eye makes the light come on earlier even without an adjustment.
