
Key takeaways
- A controller box at the roadside runs the lights using a timer and sensors.
- UK lights go red, red and amber, green, amber, then red again.
- A loop of wire under the road senses the metal in a car.
- The pedestrian button tells the controller that someone wants to cross.
- Stop, look, listen and hold a grown-up's hand every time you cross.
Traffic lights change because a box at the roadside, called a controller, runs a timed plan and can change it when sensors tell it that a car or person is waiting. This guide shows the UK colour order, how loops under the road sense cars, how to cross safely, and a paper model junction your child can build and test, with a printable kit.
How do traffic lights know when to change?

A box at the roadside, called the controller, decides when the lights change. It follows a timed plan, and sensors can nudge that plan when a car or a person is waiting. Most junctions use both ideas together.
Think of the controller as a small brain in a grey cabinet. It has a clock that counts seconds and a rule book that says which road gets green next. The sensors are its eyes.
Every junction is designed and checked by trained traffic engineers, and no two work in exactly the same way. Our paper model later in this page is a simple example, not a copy of a real controller. You can also try the idea on screen in the Traffic Lights game.
What order do UK traffic lights change in?
UK traffic lights change in this order: red, red and amber together, green, amber, then red again. The same order repeats all day.

- Red: stop and wait behind the white line.
- Red and amber: get ready, but don't move yet.
- Green: go, but only if the road ahead is clear.
- Amber: stop, unless you're so close to the line that stopping would be unsafe.
Amber usually lasts about 3 seconds and red and amber about 2 seconds. That short gap gives the junction time to empty before the next road gets its green. The rules for drivers are in The Highway Code (rules 175 to 178).
How does the timer in a traffic light work?
The timer is a count inside the controller that tells it how long each light stays on. At a simple junction it runs the same plan again and again, for example 30 seconds of green for the main road, a short amber and red, then 15 seconds of green for the side road.

A fixed plan is fine where cars arrive on every road all day. It wastes time when one road is empty, because cars on the busy road sit at red for nobody. Frankly, that's the reason most modern junctions add sensors.
Neighbouring junctions can also be linked so a stream of cars meets several greens in a row. Engineers call that a green wave.
How do sensors under the road tell the lights a car is waiting?
Many junctions use an inductive loop: a loop of wire buried just under the road surface that notices the metal in a car. A small electric current runs round the wire, and that makes an invisible magnetic field.

When a metal car stops over the loop, the field changes. A small electronic unit by the road feels the change and sends a message to the controller: a vehicle is waiting. The controller can then add that road to the plan.
Loops can miss small things. A bicycle has much less metal than a car, so some loops don't pick one up. Some can be adjusted to spot bikes and motorbikes, and some junctions use other sensors instead, such as cameras fixed on the signals.
Next time you're on the pavement, look for thin square or rectangular lines cut into the tarmac near a stop line. They're often the loops. Look from the pavement only, and never step into the road to check.
What does the pedestrian button do?
The pedestrian button tells the controller that somebody wants to cross. It doesn't flip the lights instantly. At a crossing on its own, the traffic lights go to red for the cars quite quickly. At a junction the controller may finish part of its plan first, so you wait a little longer.
Pressing the button again and again doesn't make it faster. One press is enough, and a light or sign often shows that the controller has heard you.
Crossing times are worked out from a walking speed of about 1.2 metres per second, and some crossings have sensors that can give slower walkers more time. Many crossings also bleep, or have a small turning cone under the button, for people who can't see the green figure. At some older crossings a flashing green figure means: don't start now, but finish if you're already on the road.
How do you cross the road safely at traffic lights?

Stop at the kerb, look and listen, wait for the green figure, and hold a grown-up's hand all the way across. Those four habits matter more than any clever science about the lights.
- Stop just before the kerb, in a spot where you can see in every direction.
- Look and listen for traffic, even when the lights are red.
- Press the button once and wait. Start only when the green figure shows.
- Hold a grown-up's hand and walk straight across without running. Keep looking as you go.
The Highway Code says children should be kept on the side nearest the traffic and held by the hand (rule 4), and that you should stop, look and listen at the kerb (rule 7). A green figure doesn't mean every driver has seen you, so watch for turning cars.
Pro tip: make it a game on a walk. Ask the child to spot the button, the figure and the stop line, then tell you when it's safe. The grown-up still makes the final call, every time.
How can you build a model traffic junction at home?
You can build a working model junction from paper, coins and a timer in about 25 minutes. It uses no electricity, so it suits ages 5 to 12, with an adult doing the cutting.
You need:
- A large sheet of paper or the back of a cereal box, and a pen
- Paper circles in red, amber and green (the printable below has them)
- Four or five UK 10p coins to act as cars
- A kitchen timer or phone timer
- Tape, and a grown-up with scissors
- Draw a crossroads: a long main road and a shorter side road. Tape the paper flat to the table.
- A grown-up cuts out the red, amber and green circles. Put one at each road end. Each road shows only one colour at a time.

- Set the timer for 10 seconds. Show green on the main road and red on the side road. Put the coins on the side road as waiting cars.
- When the timer rings, change the cards in the UK order: amber on the main road, then red. Then red and amber on the side road, then green. Say each colour out loud, set the timer again and repeat. Write down the order you used.

- Add a sensor rule. Mark a square on the side road, close to the junction, and call it the sensor spot. If a coin sits on the spot, the side road gets its turn. If not, skip the side road and keep the main road green.
- Run five rounds, moving the coins each time, and see what happens to the waiting cars.


Safety: a grown-up does all the cutting. Coins are a choking risk for children under 3, so keep them away from little ones and supervise younger children. This model needs no plugs and no batteries. If your child wants a real light, let them make one lamp glow with a ready-made torch bulb kit and a grown-up beside them, as in our circuits for kids guide.
The workbook Engineering Workbook for Kids has more logic puzzles like this one for ages 8 to 12.
How do you test your junction, fix problems and change it for each age?
Change one thing at a time, and write down what you see. That's a fair test.
First keep the timer at 10 seconds and run it with a coin on the sensor spot, then without. Next try 5 seconds against 10 seconds with the coin in the same place. Count how many coins get past the junction in a set time, and use your own results rather than guessing. Different tables and different coins will give different numbers.
If it doesn't work:
- Lights confusing? Number your cards 1 to 4 in the order you'll use them.
- Both roads showing green? Swap only one road at a time, and always show red on the other road first.
- Coins sliding about? Tape the paper down.
For a next test, add a pedestrian crossing across the main road. Add this rule: when someone presses a pretend button, the main road gets amber then red and the walkers cross. How does that change the waiting time for the coins?
Ages 5 to 7: use just the colours and count the seconds aloud. Ages 8 to 12: add timings, a results table and a bar chart of waiting times. Our guide to STEM activities by age has more ideas for each stage.

Questions parents ask
Why do traffic lights have an amber light?
Amber warns drivers that red is coming so they have time to stop. In the UK it usually lasts about 3 seconds, and the red and amber step before green lasts about 2 seconds.
How do traffic lights know a car is waiting?
Many junctions have a loop of wire buried in the road. A car's metal changes the magnetic field around the wire, and a small unit tells the controller that a vehicle is waiting.
Do traffic lights run on a timer?
Yes. A controller counts the seconds each light stays on. Many junctions also use sensors so the plan can change when a road is empty or busy.
Do traffic lights use cameras?
Some do. Cameras on the signals can notice vehicles instead of loops in the road. Which sensors a junction uses depends on the junction.
Why do some bicycles not trigger the lights?
A bike has a lot less metal than a car, so some loops can't sense it. Some loops can be adjusted to detect bikes, and some junctions use other kinds of sensor.
Does pressing the pedestrian button more than once help?
No. One press tells the controller you want to cross, and extra presses don't speed it up. Wait for the green figure.
Can my child press the crossing button?
Yes, as long as a grown-up is holding their hand and watching the traffic. Cross only when the green figure shows, and keep looking and listening.
Pip







