What an Automatic Coop Door Does and Why You Might Build One
An automatic chicken coop door opens at sunrise and closes at sunset without you having to be there. You build it from a motor, a timer or light sensor, a wooden frame, and a sliding door panel—all parts you can find at a hardware store or online. The door runs on a 12-volt battery or a plug-in power supply, costs between $150 and $400 in materials depending on how you source parts, and takes a weekend to assemble if you have basic carpentry skills.
The main reason to build one is that predators hunt at night, and a closed coop keeps chickens safe. The secondary reason is that you do not have to wake before dawn or rush home before dark. A timer-based system opens and closes on a schedule you set; a light-sensor system responds to actual sunrise and sunset, which shifts through the year.
Key Takeaways
- A timer-based door is simpler to build and costs less, but you must adjust the schedule twice a year as daylight changes.
- A light-sensor door adjusts itself to sunrise and sunset year-round, but requires more wiring and troubleshooting.
- The motor and door panel are the two parts that wear out fastest; buy spares for the motor before you need them.
- Test the door in daylight for at least a week before you rely on it at night, because a stuck door can trap chickens inside or leave them exposed.
- A manual override lever lets you open or close the door by hand if the motor fails.
Choosing Between a Timer and a Light Sensor
A timer-based system uses a straightforward plug-in timer (the kind you use for lamps) or a 12-volt timer relay wired to the motor. You set it to open at 6 a.m. and close at 8 p.m., for example. The advantage is that the wiring is straightforward—timer to motor, motor to power supply—and the parts cost less. The disadvantage is that you must change the times twice a year: once in spring when sunrise gets earlier, and once in fall when it gets later. If you forget, your door opens after the chickens are already awake or closes before they roost.
A light-sensor system uses a photoresistor (a component that changes resistance based on light) wired to a relay that triggers the motor. The sensor detects when light drops below a threshold at dusk and rises above it at dawn, so the door adjusts itself as the seasons change. The disadvantage is that the wiring is more complex, the parts cost more, and you have to tune the light threshold so the door does not open or close on a cloudy afternoon. Most people who build one say it is worth the extra work.
If you live somewhere with very short winter days or very long summer days, a light sensor saves you from resetting the timer four times a year. If your coop is in deep shade, a light sensor may not work well because the sensor never sees true dawn or dusk.
Parts You Need and Where to Find Them
The core parts are a 12-volt DC motor (usually a windshield wiper motor or a linear actuator), a power supply, a timer or light sensor, a wooden frame, a sliding door panel, and hardware. Here is what to source:
| Part | Where to Find It | Notes |
|---|---|---|
| 12-volt DC motor | Amazon, eBay, or a salvage yard | A windshield wiper motor from a junkyard costs $10–20. A new linear actuator costs $40–80. Linear actuators are easier to connect to a door. |
| 12-volt power supply | Amazon or electronics supplier | A 10-amp supply costs $20–40. A battery box with a rechargeable 12-volt battery costs $60–100 but works during power outages. |
| Timer (for timer-based system) | Hardware store or Amazon | A plug-in timer costs $10–20. A 12-volt timer relay costs $15–30 and requires wiring. |
| Light sensor (for light-sensor system) | Amazon or electronics supplier | A photoresistor module costs $10–20. You also need a relay module ($10–15) to switch the motor on and off. |
| Wood for frame | Hardware store | 2x4 lumber and plywood. Budget $30–50. |
| Door panel | Hardware store or salvage | Plywood, plastic, or aluminum. Should be lightweight so the motor can move it easily. Budget $20–40. |
| Hardware | Hardware store | Bolts, hinges, pulleys, cable or chain, wire, connectors. Budget $30–50. |
Total material cost ranges from $150 to $400 depending on whether you use a salvaged motor and whether you choose a timer or light sensor. If you already have scrap wood and a power supply, you can build one for under $100.
Building the Frame and Installing the Door Panel
Start by measuring your coop opening. The frame should fit snugly in the opening so the door seals when closed. Cut 2x4 lumber to length and bolt them together to form a rectangular frame that matches the opening size. Attach the frame to the coop with bolts or lag screws so it does not shift.
Mount the door panel (plywood or plastic) so it slides up and down in the frame. The simplest way is to attach two vertical aluminum channels or wooden guides on the inside of the frame, one on each side, and let the door panel slide in them. Drill holes in the top corners of the door panel and attach a cable or chain that runs over a pulley at the top of the frame. The other end of the cable connects to the motor.
When the motor turns one direction, it pulls the cable and raises the door. When it turns the other direction, gravity pulls the door down and the motor lets out cable. Test this by hand before you connect the motor: the door should slide smoothly without binding, and it should close completely so no light shows through.
Install a manual override lever—a straightforward handle connected to the cable—so you can open or close the door by hand if the motor fails. This is critical: if the motor breaks and you cannot open the door, your chickens are trapped inside.
Wiring a Timer-Based System
If you are using a plug-in timer, the wiring is straightforward. Plug the timer into an outlet near the coop. Plug the 12-volt power supply into the timer. Run two wires from the power supply to the motor. The motor should have two terminals (positive and negative). Connect the positive wire to the positive terminal and the negative wire to the negative terminal. The motor will run continuously, so you need a relay to stop it.
A relay is a switch that the timer controls. Wire it like this: the timer controls the relay, and the relay switches the motor on and off. A 12-volt relay module costs $10–15 and comes with instructions. Connect the relay to the power supply and the motor, then connect the timer to the relay. When the timer closes its circuit, the relay closes and the motor runs. When the timer opens its circuit, the relay opens and the motor stops.
Set the timer to close its circuit for 30 seconds at your desired open time (for example, 6 a.m.). The motor will run for 30 seconds, pull the door open, and stop. Set another timer event for 30 seconds at your desired close time (for example, 8 p.m.). The motor will run for 30 seconds, release the cable, and the door will fall closed.
Test this in daylight by manually triggering the timer. Watch the door move all the way open and all the way closed. If it does not move far enough, increase the timer duration to 45 or 60 seconds. If it overshoots and the cable goes slack, decrease the duration.
Wiring a Light-Sensor System
A light-sensor system uses a photoresistor to detect dawn and dusk. The photoresistor changes its electrical resistance as light changes. A relay module reads this resistance and triggers the motor when the light crosses a threshold you set.
Wire the photoresistor to the relay module according to the module instructions—this varies by brand. Mount the photoresistor outside the coop where it sees the sky, not in shade. Run the wires from the photoresistor to the relay module, which sits near the power supply. Connect the relay module to the 12-volt power supply and the motor.
Most relay modules have a dial or digital display to set the light threshold. Start with the dial in the middle. Watch the door at dusk: when the light drops below the threshold, the relay should trigger and the motor should run for 30 seconds, closing the door. If the door closes too early (before sunset), turn the dial to make the threshold brighter. If it closes too late, turn the dial to make the threshold darker. Repeat this tuning at dawn.
Light-sensor systems sometimes close the door on a cloudy afternoon if the threshold is set too high. If this happens, lower the threshold slightly so the door only closes when the sun is actually below the horizon. This usually takes a few days of adjustment.
Testing Before You Rely on It at Night
Run the door through its cycle at least 10 times in daylight before you trust it to protect your chickens at night. Open and close it manually, then test the motor. Watch for these problems:
- The door sticks or binds halfway through its travel. Fix this by adjusting the guides or lubricating them with silicone spray.
- The door does not close all the way. Increase the motor run time or check that the cable is not too loose.
- The motor does not stop when it should. Check that the relay is wired correctly and the timer or sensor is triggering it.
- The door closes on a chicken's head or wing. Slow down the motor by adding a delay relay, or install a pressure switch that stops the door if it hits something.
Leave the door open during the day for a full week while you watch it close at dusk and open at dawn. If anything goes wrong, you are there to fix it before a predator gets in. Only after a week of flawless operation should you leave the coop unattended overnight.
Common Problems and How to Fix Them
The motor runs but the door does not move. Check that the cable is attached to the door panel and that it is not slack. If the cable is tight, the motor may not have enough torque. Try a stronger motor or add a pulley system that multiplies the motor's force.
The door closes partway and stops. The motor may be overheating or the load may be too heavy. Let the motor cool for 10 minutes, then try again. If it keeps happening, the door panel may be warped or the guides may be dirty. Clean the guides with a dry cloth and check that the door is straight.
The light sensor closes the door at the wrong time. The photoresistor may be in shade or pointed the wrong way. Move it to a spot where it sees the open sky. If it is in the right spot, adjust the threshold dial more carefully—turn it in small increments and test for a few days between adjustments.
The timer does not trigger the relay. Check that the timer is plugged in and set correctly. Use a multimeter to test that the timer is closing its circuit at the right time. If the timer works but the relay does not, the relay may be wired backwards or the power supply may not be strong enough.
Frequently Asked Questions
What happens if the power goes out?
The door will stay in whatever position it was in when the power failed. If it was open, your chickens are exposed. If it was closed, they are trapped. To prevent this, use a battery backup system instead of a plug-in power supply. A 12-volt rechargeable battery with a solar charger costs $60–100 and keeps the door running for several days without sun.
Can I use a regular AC motor instead of a 12-volt DC motor?
You can, but it is more complicated. An AC motor needs a relay that switches full household current, which is more dangerous to wire. A 12-volt DC motor is safer and easier to control. Stick with 12-volt DC unless you have electrical experience.
How do I slow down the motor so the door closes gently?
Add a delay relay between the timer or sensor and the motor. A delay relay waits a few seconds before triggering, which gives the door time to close slowly under gravity. You can also use a PWM (pulse-width modulation) controller to reduce the voltage to the motor, which makes it turn slower. Both cost $15–30.
What if my coop opening is not rectangular?
Build a rectangular frame that fits inside the opening, then seal the gaps with wood or metal trim. The door only needs to cover the rectangular frame, not the entire opening. This is easier than trying to build a door that matches an odd shape.
Can I use this system for a run door or a pop door?
Yes. A pop door (the small door chickens use to enter and exit the coop) is lighter than a full coop door, so a smaller motor will work. A run door (the door to an outdoor enclosure) is usually larger and heavier, so you may need a stronger motor. The wiring and frame are the same either way.