This article is free to read. Creating a lesson uses your daily or stored credits; review the language and settings before starting.
How do traffic lights work?
Quick answer
Traffic lights are run by a controller at each junction that cycles red, amber and green so that crossing streams never get green together. Fixed-time controllers follow a set schedule, while smarter ones use buried wire loops, cameras or push buttons to give more green time to whichever approach has traffic waiting.
Traffic lights work by switching red, amber and green lamps in a timed sequence set by a controller box at the junction, so conflicting streams of vehicles take turns. Many controllers also use road sensors, cameras or push buttons to lengthen or skip phases based on the traffic actually waiting.
Step by step
- Engineers count traffic at the junction and programme the controller with phases, green durations and safety intervals.
- The controller turns one group of signals green while every conflicting approach is held on red.
- Detectors such as road loops or cameras report waiting vehicles, and the controller extends or shortens the green.
- When the phase ends, amber shows, followed by a brief all-red pause to clear the junction.
- The next phase gets green, and the cycle repeats, often synchronised with nearby junctions by a central computer.
Key things to understand
- Each junction has a controller cabinet that holds the programme deciding which approaches get green and for how long.
- The programme splits a full cycle into phases, and no two conflicting directions are ever given green together.
- Amber warns drivers to stop, and a short all-red interval clears the junction before the next green begins.
- Wire loops buried in the road, cameras or radar detect waiting vehicles so the controller can adapt timings.
- Neighbouring signals along a main road can be coordinated so a platoon of cars meets successive greens.
Labelled diagram
- Detectors
Road loops, cameras and push buttons report vehicles or pedestrians waiting at the junction.
- Controller
A roadside computer runs the phase plan and applies safety rules on every change.
- Signal heads
Red, amber and green lamps show each approach whether to stop or go.
- All-red interval
A short pause with every signal red lets the junction clear safely.
- Central link
A traffic centre can coordinate many junctions to create green waves.
Real-world examples
- Many Indian cities fit countdown timers beside signals so drivers can see how many seconds remain on red or green.
- A quiet side road gets green only when a car rolls over the buried loop, keeping the main road flowing.
- On long city avenues, coordinated signals create a green wave for traffic moving at the posted speed.
- Buses in some cities send a radio request that lets the signal hold green a few seconds longer.
Common mistake
✗ Myth: Flashing your headlights or honking makes a traffic light change faster.
✓ Fact: Ordinary signals respond only to their detectors and timing plan. Lights and horns do nothing; only authorised emergency or transit vehicles with special transmitters can request priority.
People also ask
How do traffic lights detect cars?
Are traffic lights on a timer?
Why are traffic lights red amber and green?
How does a traffic light know a car is waiting?
Why is there a moment when all lights are red?
What does a pedestrian button actually do?
Why do traffic lights use LEDs now?
Part of the guide: Cars, Trains, Planes & Ships →

