The gate that closes on a car bumper, or on a child, is almost never a freak accident. It is the predictable end of a safety system that got skipped, miswired, or knocked out of alignment. Safety sensors are the least exciting part of a gate install and, hands down, the part that matters most, because they are the whole difference between an operator that stops when something is in the way and one that just keeps pushing.
So let me explain how swing gate safety sensors work, how to wire infrared photocells so they actually do their job, how safety edges give you anti-crushing protection, and what UL 325 really asks for so your install is both safe and compliant.
Key Takeaways
- Gate safety comes from layered protection: inherent motor sensing, photocells, and safety edges, not any single device
- Infrared photocells catch a vehicle or person in the gate's path and stop or reverse the gate before contact
- Safety edges give you anti-crushing protection by reversing the gate the instant they touch an obstruction
- UL 325 requires entrapment protection to match the operator class, and commercial gates need more than one method
- Most safety failures come from misalignment, poor wiring, or skipped devices, not from the sensors themselves giving out
Swing gate safety sensors keep the gate from striking or crushing people and vehicles, using two main external devices: infrared photocells and safety edges. A photocell shoots an invisible infrared beam across the gate opening, and when something breaks the beam, the operator stops or reverses. A safety edge is a pressure-sensitive strip on the gate that reverses it the moment it touches an obstruction. Both of these work alongside the operator's inherent sensing, which detects resistance in the motor itself. UL 325, the US safety standard, calls for a combination of these methods based on the operator's class.
The Three Layers of Gate Safety
Safe gate operation never rests on one device. It stacks several, so that if one misses an obstruction, the next one catches it.
First comes inherent entrapment sensing, the primary layer. The operator watches its motor current or force, and when the gate hits unexpected resistance, it detects the load and stops or reverses. That is built into the operator and it covers obstructions anywhere in the gate's travel. Then comes non-contact sensing, the photocells. They spot an object before the gate touches it and stop or reverse while there is still a gap, which is the layer protecting moving vehicles and people crossing the opening. Last is contact sensing, the safety edges. A pressure strip on the leading edge reverses the gate the instant it touches something, catching whatever the other two layers let through.
Layer | Device | Detects | Timing |
Inherent | Operator force sensing | Resistance in the gate's motion | On contact / load |
Non-contact | Infrared photocell | Object in the beam path | Before contact |
Contact | Safety edge | Physical touch on the gate edge | On contact, reverses instantly |
UL 325 is built around exactly this layering. It requires a primary inherent system plus at least one independent secondary device, and the combination it demands climbs with the operator's class.
How Infrared Photocells Work
A photocell system is two parts facing each other across the gate opening: a transmitter that fires an infrared beam and a receiver that watches for it. As long as the receiver sees the beam, the gate is free to move. Break that beam with a vehicle, a person, or an object, and the receiver tells the operator to stop or reverse.
Placement matters just as much as the device itself. Photocells want to be mounted:
- At a height that catches a low obstruction like a child or a low bumper, commonly around 18 to 24 inches, following the manufacturer and code guidance
- On both the opening and closing sides where the gate could strike something, since one beam does not cover both directions
- Where the beam actually crosses the danger zone, not off to the side where a vehicle could sit unseen
A lot of installs use two beam heights or two beam positions to cover both the approach and the swing path. Protecting a gate with a single beam is a common shortcut, and it leaves gaps that come back to bite.
Wiring Infrared Photocells Correctly
Photocell wiring is simple in theory and easy to get subtly wrong in practice. The essentials:
- Follow the operator's safety input terminals. Control boards have dedicated inputs for photocells, often labeled for opening, closing, or both. Wire the photocell to the right input so the gate responds in the right direction.
- Know your normally-closed versus normally-open logic. Most safety photocells run on a normally-closed circuit: the circuit is complete when the beam is clear, and breaking the beam breaks the circuit and signals the operator. Wire a device with the wrong logic and the gate happily assumes it is always safe.
- Use the correct test or monitoring mode. Plenty of modern boards can test the photocell before each closing cycle. Turn it on where it exists, because it catches a failed or disconnected sensor instead of silently ignoring it.
- Keep low-voltage sensor wiring away from mains runs to avoid the interference that causes false triggers.
- Weatherproof every connection. Moisture in a photocell junction gives you intermittent faults that are maddening to chase. Use proper glands and sealed connectors.
Once it is wired, always test it physically. Break the beam during both an opening and a closing cycle and confirm the gate does what it should. Never trust wiring just because it looks right.
Safety Edges and Anti-Crushing Protection
A safety edge is a pressure-sensitive rubber strip mounted along the leading edge of the gate, and sometimes along the posts or the closing edge too. Inside the rubber sits a switch or a conductive element. Press the edge against an obstruction and the element triggers, and the operator reverses the gate immediately.
Safety edges are the anti-crushing layer. Photocells protect the open span, but the real crushing risk is at the closing edge and at any pinch point where the gate meets a post or a second leaf. A safety edge covers exactly that zone. It is the device that catches a hand at the hinge, a pet at the closing edge, or anything the beam never saw.
Setting up anti-crushing protection means:
- Mounting edges on the leading and closing edges and at pinch points flagged in a risk assessment
- Wiring them to the operator's safety edge input, again respecting the required circuit logic
- Setting the operator's force limits so the gate reverses on light contact, not after it has already leaned into something
- Testing with a soft object to confirm the gate reverses promptly on contact
Force limiting and safety edges work together here: the force sensing keeps the contact pressure low, and the edge guarantees an instant reversal the moment it touches.
What UL 325 Requires
UL 325 sorts gate operators by application and mandates entrapment protection to match.
UL 325 Class | Application | Typical Protection Required |
Class I | Residential (single family) | Inherent sensing plus one secondary device |
Class II | Commercial / general public access | Inherent sensing plus secondary devices on both leading and trailing edges |
Class III | Industrial / limited access | Inherent sensing plus appropriate secondary devices |
Class IV | Restricted / guarded access | Inherent sensing plus secondary devices per assessment |
The consistent theme running through all of it: inherent motor sensing alone is never enough. Every compliant install adds at least one independent external device, and commercial and public-access gates need protection at multiple points of the gate's travel. Every compliant operator also includes a manual release for a power failure. Installing a gate without the required entrapment protection is both a safety hazard and a code violation, whether or not the gate physically works.
Common Safety Sensor Mistakes
- Skipping secondary devices and leaning on the operator's force sensing alone, which is neither safe nor compliant
- Single-beam coverage that protects one direction or one height and leaves another wide open
- Misaligned photocells, where the transmitter and receiver drift out of true, giving false triggers or blind spots
- Wrong circuit logic, where a device is wired so the operator never actually reads its signal
- Excessive force settings that let the gate lean into something before it reverses
- No post-install testing, trusting the wiring instead of physically checking every device on every cycle direction
Nearly every serious gate incident traces back to one of these, not to a sensor spontaneously dying. Safety devices are reliable when they are installed and tested properly. The failures are almost always human.
FAQs
What safety sensors does an automatic swing gate need?
At a minimum, a swing gate needs the operator's inherent force sensing plus at least one independent external device, and for a commercial or public gate, more than one. The two main external devices are infrared photocells, which stop or reverse the gate when something breaks their beam before contact, and safety edges, which reverse the gate the instant a pressure strip touches an obstruction. UL 325 sets the required combination by operator class. Force sensing alone is never enough for a safe, compliant install.
How do you wire an infrared photocell to a gate operator?
Connect the photocell to the control board's dedicated safety input, choosing the opening, closing, or combined input that matches where you need protection. Most safety photocells use normally-closed logic, meaning the circuit is complete when the beam is clear and breaks when the beam is interrupted, so check the device logic matches the board. Turn on the board's photocell test mode if it has one, keep the sensor wiring away from mains runs, and weatherproof every connection. Then finish by physically breaking the beam during both cycle directions to confirm the response.
What is a gate safety edge and do I need one?
A safety edge is a pressure-sensitive strip along the gate's leading or closing edge that reverses the gate the moment it touches an obstruction. It gives you anti-crushing protection right at the pinch points where photocells offer the least coverage, like the closing edge and the hinge area. Whether you need one depends on the operator class and a risk assessment, but for commercial and public-access gates, UL 325 typically requires protection on multiple edges, and safety edges are the standard way to cover the contact points a beam cannot.
Why does my gate reverse for no reason?
Unexpected reversing almost always comes from a safety device, not a fault in the motor. The usual suspects are misaligned photocells where the transmitter and receiver have drifted, moisture in a photocell or safety edge connection giving intermittent signals, a safety edge that is damaged or triggering falsely, or force limits set too sensitive. Insects, debris, or a shifted mounting bracket breaking the beam are common too. Check the alignment, the connections, and the condition of each safety device before you suspect the operator itself.
Is UL 325 compliance legally required?
In the United States, UL 325 is the recognized safety standard for gate operators, and compliance is required for operators sold and installed for automatic gate use, with local authorities enforcing it as part of code. A commercial or public-access gate installed without the entrapment protection UL 325 specifies for its class is a code violation and a serious liability, even if the gate functions perfectly. Installers should always spec and install the protection matching the operator class, and document the safety devices fitted.
Conclusion
Gate safety is not a feature you add if the budget stretches. It is the layered system that decides whether the gate stops for an obstruction or drives straight through it. Inherent force sensing, infrared photocells, and safety edges each cover what the others miss, and UL 325 exists to make sure all the necessary layers are actually present for the gate's use. The devices themselves are reliable. What fails is the install: skipped devices, single-beam shortcuts, misalignment, wrong wiring logic, and force settings left too high. Wire each device correctly, cover both directions and the pinch points, set the force limits low, and test it physically on every cycle. That discipline is the whole difference between a powerful gate and a safe one.
About the Author
Aurthur is a gate automation specialist and technical content writer with hands-on experience across residential, commercial, and industrial gate operator systems. He covers safety sensor installation, UL 325 entrapment protection, photocell and safety edge wiring, and compliance for gate industry professionals across the US market. His work helps installers deliver gates that are both reliable and safe.