Skip to content
PiyoPass

UK road markings explained

Updated October 11, 2026 · Checked against the official sources listed below

Road markings give instructions and warnings, often alongside signs. The Highway Code groups them by where they are painted: across the road, along the road, along the edge of the road and on the kerb, plus some other markings. Here are the main ones, and the rules that go with them.

Yellow box junctions

A box junction has criss-cross yellow lines painted on the road. The rule (Highway Code rule 174) is:

  • You must not enter the box until your exit road or lane is clear.
  • Exception: you may enter the box and wait when you want to turn right and are only stopped from turning by oncoming traffic, or by other vehicles waiting to turn right.
  • At signalled roundabouts, you must not enter the box unless you can cross over it completely without stopping.

A green light is not enough on its own: at traffic lights, only go forward on green if there is room for you to clear the junction safely, or you are taking up a position to turn right (rule 176). Before you move into the box, check that your exit road or lane is clear.

White lines along the road

MarkingWhat it means
Broken white lineMarks the centre of the road. Do not cross it unless you can see the road is clear and want to overtake or turn off.
Hazard warning lineA centre line where the lines get longer and the gaps shorter. It means there is a hazard ahead.
Double white lines, broken line nearer to youYou may cross to overtake if it is safe, provided you can finish before a solid white line on your side.
Double white lines, solid line nearer to youYou must not cross or straddle it, except in the cases below.
Lane dividersShort, broken white lines that divide wide roads into lanes. You should keep between them.

White direction arrows on the road tell you to get back onto your side of the road.

You may cross a solid white line nearer to you (rule 129) when it is safe and you need to enter adjoining premises or a side road. You may also cross it if necessary, provided the road is clear, to pass a stationary vehicle, or to overtake a pedal cycle, horse or road maintenance vehicle if they are travelling at 10 mph (16 km/h) or less.

Hatched areas and chevrons

Areas of white diagonal stripes or chevrons separate traffic lanes or protect traffic turning right (rule 130):

  • If the area is bordered by a broken white line, you should not enter it unless it is necessary and you can see that it is safe.
  • If the area is marked with chevrons and bordered by solid white lines, you must not enter it except in an emergency.

Lines across the road

The Highway Code shows several markings painted across your lane:

  • a stop line at traffic signals or police control
  • a stop line at a 'Stop' sign
  • a stop line for pedestrians at a level crossing
  • give way lines: give way to traffic on the major road (also used at mini-roundabouts), or to traffic from the right at a roundabout or mini-roundabout

Reflective road studs

Reflective road studs can be used with white lines, and their colour tells you where you are (rule 132):

ColourMarks
WhiteThe lanes or the middle of the road
RedThe left edge of the road
AmberThe central reservation of a dual carriageway or motorway
GreenThe edge of the main carriageway at lay-bys and slip roads
Green/yellowTemporary changes to the lane layout, for example at road works

Yellow and red lines at the edge of the road

MarkingWhat it means
Double yellow linesNo waiting at any time, unless signs specifically show seasonal restrictions
Single yellow lineNo waiting during the times shown on nearby plates (or on the zone entry signs in a Controlled Parking Zone)
Two yellow marks on the kerbNo loading or unloading at any time
One yellow mark on the kerbNo loading or unloading at the times shown on nearby plates
Double red lines (Red Routes)No stopping at any time
Single red line (Red Routes)No stopping during the times shown on signs

Some details that are easy to miss:

  • Yellow line restrictions apply to the carriageway, pavement and verge.
  • On yellow lines you may stop to load or unload (unless there are also loading restrictions) or while passengers get in or out.
  • If no days are shown on the signs, yellow-line and kerb-mark restrictions apply every day, including Sundays and Bank Holidays.
  • On Red Routes, the red lines mean you must not stop to park, load or unload, or to let passengers get in or out (the Highway Code notes exceptions for licensed taxis and Blue Badge holders). You may stop to park or load only in the specially marked boxes, at the times and for the purposes shown on the signs next to them.

Other markings to know

  • A road marking can warn of a 'Give Way' just ahead.
  • School entrance markings: keep the entrance clear of stationary vehicles, even if you are picking up or setting down children. When upright signs show a stopping prohibition, you must not wait, park or stop there to set down or pick up passengers (rule 238).
  • Bus lanes: shown by road markings and signs saying which other vehicles, if any, may use them. Unless otherwise shown, you should not drive in a bus lane during its period of operation. You may enter one to stop, load or unload where this is not prohibited (rule 141).

Road markings on the theory test

Questions can ask, for example, when you may enter a yellow box junction, what a hazard warning line means, or what colour the reflective studs are between the carriageway and the central reservation.

Contains public sector information licensed under the Open Government Licence v3.0.

Theory Test practice

370 free original practice questions with explanations. No sign-up.

More Theory Test guides

Sources

Contains public sector information licensed under the Open Government Licence v3.0.

PiyoPass is not affiliated with or endorsed by the DVSA or the Department for Transport. These are original practice questions written from The Highway Code, not questions from the official DVSA revision question bank.