---
title: "Highway Code: Road Markings Explained"
description: "How to read UK road markings, from centre lines to box junctions, for the driving theory test."
lang: en
json-ld: |
  [
    {
      "@context": "https://schema.org",
      "@graph": [
        {
          "@type": "Organization",
          "@id": "https://fasttrackdrivinglessons.co.uk/#organization",
          "name": "Fast Track Driving Lessons",
          "url": "https://fasttrackdrivinglessons.co.uk/",
          "email": "info@fasttrackdrivinglessons.co.uk",
          "areaServed": "GB",
          "description": "Intensive driving courses and driving lessons across the UK with DVSA-approved instructors."
        },
        {
          "@type": "WebSite",
          "@id": "https://fasttrackdrivinglessons.co.uk/#website",
          "url": "https://fasttrackdrivinglessons.co.uk/",
          "name": "Fast Track Driving Lessons",
          "publisher": {
            "@id": "https://fasttrackdrivinglessons.co.uk/#organization"
          },
          "potentialAction": {
            "@type": "SearchAction",
            "target": {
              "@type": "EntryPoint",
              "urlTemplate": "https://fasttrackdrivinglessons.co.uk/search?q={search_term_string}"
            },
            "query-input": "required name=search_term_string"
          }
        }
      ]
    },
    {
      "@context": "https://schema.org",
      "@graph": [
        {
          "@type": "BreadcrumbList",
          "itemListElement": [
            {
              "@type": "ListItem",
              "position": 1,
              "name": "Home",
              "item": "https://fasttrackdrivinglessons.co.uk/"
            },
            {
              "@type": "ListItem",
              "position": 2,
              "name": "Theory test",
              "item": "https://fasttrackdrivinglessons.co.uk/theory"
            },
            {
              "@type": "ListItem",
              "position": 3,
              "name": "Highway Code",
              "item": "https://fasttrackdrivinglessons.co.uk/theory/highway-code"
            },
            {
              "@type": "ListItem",
              "position": 4,
              "name": "Highway Code: Road Markings"
            }
          ]
        },
        {
          "@type": "FAQPage",
          "mainEntity": [
            {
              "@type": "Question",
              "name": "When can I enter a yellow box junction if my exit isn't clear?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "Only if you want to turn right and are prevented from doing so solely by oncoming traffic, or by other vehicles waiting to turn right. Otherwise you must wait until your exit road is clear before entering."
              }
            },
            {
              "@type": "Question",
              "name": "What is the difference between a hazard warning line and a normal centre line?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "A hazard warning line has longer dashes than the standard centre line and is used to warn of a hazard ahead, such as a bend or junction, where you shouldn't overtake. The normal shorter-dashed centre line is simply a lane divider."
              }
            },
            {
              "@type": "Question",
              "name": "Can I cross a solid white line to overtake?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "Generally no, unless the lane ahead is closed, you're passing a stationary vehicle, or you're entering a side road, in which case brief crossing is allowed. Otherwise, crossing a solid line to overtake is an offence."
              }
            },
            {
              "@type": "Question",
              "name": "What should I do if I'm in the wrong lane at a junction with painted arrows?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "You must follow the direction of the arrow for the lane you're in, since changing lanes at the last moment across solid markings or into another vehicle's path is dangerous. Plan your lane position earlier next time by reading signs ahead."
              }
            },
            {
              "@type": "Question",
              "name": "What do chevron markings between two carriageways mean?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "They mark an area you should not drive into except in a genuine emergency, usually used to separate opposing traffic flows on a wide road. Treat the area as if it were a solid barrier under normal circumstances."
              }
            }
          ]
        }
      ]
    }
  ]
---

Get an exclusive 15% off - Offer ends next week!

[![Fast Track Driving Lessons](/assets/fasttrack-logo-360-B6kGRO06.png)](/)

[Log in](/theory/account)[Get me driving](/course-recommender)Menu

[Our Courses & Prices](/courses)

[Driving Lessons](/driving-lessons)

[Areas We Cover](/driving-lessons-in)

[Learner Hub](/learn)

[Theory Test](/theory)

-   [Theory hub](/theory)
-   [Book your test](/theory/book-theory-test)
-   [Cancellations](/theory/theory-test-cancellations)
-   [Free practice](/theory/practice)
-   [Mock tests](/theory/mock-test)
-   [Hazard perception](/theory/hazard-perception)
-   [Road signs](/theory/road-signs)
-   [Highway Code](/theory/highway-code)
-   [Motorcycle](/theory/motorcycle)
-   [Pricing](/theory/pricing)

[Home](/)/ [Theory test](/theory) / [Highway Code](/theory/highway-code) / Highway Code: Road Markings 

# Highway Code: Road Markings

What painted lines, arrows, and box junctions actually instruct you to do.

[![Side road ahead on the left — official UK road sign](/signs/side-road-left.svg "Side road ahead on the left")Side road ahead on the left ](/theory/road-signs/side-road-left)

Road markings work alongside signs to communicate rules directly on the road surface, which matters most exactly where you need it, at the point of a hazard or decision. This section covers centre and lane lines, hazard warning lines, box junctions, and directional arrows, all of which are tested through both sign-recognition and hazard perception style questions.

Box junctions in particular are a classic source of confusion in mock tests, since the rule about when you're allowed to enter one is more specific than most learners assume.

## Centre and lane line markings

A broken white line down the centre of the road is the normal separator and can be crossed to overtake when safe, while a solid white line means you must not cross or straddle it except in specific circumstances such as passing a stationary vehicle or entering a side road. A hazard warning line, a broken line with longer dashes than the normal centre line, warns of a hazard ahead where you shouldn't overtake.

[![Side road ahead on the left — official UK road sign](/signs/side-road-left.svg "Side road ahead on the left")Side road ahead on the left What it means ](/theory/road-signs/side-road-left)

Official UK sign artwork — tap a sign for the full explanation and test questions.

## Box junctions

Yellow crosshatched box junctions mark an area you must not enter unless your exit road is clear, with one exception: you may enter to turn right if you're only prevented from completing the turn by oncoming traffic or other vehicles waiting to turn right. Entering and getting stuck in a box junction otherwise is an offence, even if you were simply following queued traffic.

[![Box junction — official UK road sign](/signs/box-junction.svg "Box junction")Box junction What it means ](/theory/road-signs/box-junction)

Official UK sign artwork — tap a sign for the full explanation and test questions.

## Directional and lane arrows

Arrows painted on the road tell you which direction traffic in that lane must go, and once you're in that lane, you're committed to following the arrow's direction. Getting into the wrong lane too late and trying to cut across at the last moment is both dangerous and against the marked instruction.

## Other common markings

You'll also see markings for cycle lanes, bus lanes, and give-way triangles painted on the approach to a junction, which reinforce the corresponding sign. Chevron markings on wide stretches of road, often between opposing carriageways, indicate an area you should not enter except in an emergency.

[![Hatched road markings — official UK road sign](/signs/hatching.svg "Hatched road markings")Hatched road markings What it means ](/theory/road-signs/hatching)

Official UK sign artwork — tap a sign for the full explanation and test questions.

-   Broken centre line — normal lane divider, can be crossed to overtake when safe. 
-   Solid white line — do not cross except in specific allowed situations. 
-   Yellow box junction — don't enter unless your exit is clear, except when turning right. 
-   Chevrons between carriageways — keep out except in an emergency. 

## Frequently asked questions

When can I enter a yellow box junction if my exit isn't clear?

Only if you want to turn right and are prevented from doing so solely by oncoming traffic, or by other vehicles waiting to turn right. Otherwise you must wait until your exit road is clear before entering.

What is the difference between a hazard warning line and a normal centre line?

A hazard warning line has longer dashes than the standard centre line and is used to warn of a hazard ahead, such as a bend or junction, where you shouldn't overtake. The normal shorter-dashed centre line is simply a lane divider.

Can I cross a solid white line to overtake?

Generally no, unless the lane ahead is closed, you're passing a stationary vehicle, or you're entering a side road, in which case brief crossing is allowed. Otherwise, crossing a solid line to overtake is an offence.

What should I do if I'm in the wrong lane at a junction with painted arrows?

You must follow the direction of the arrow for the lane you're in, since changing lanes at the last moment across solid markings or into another vehicle's path is dangerous. Plan your lane position earlier next time by reading signs ahead.

What do chevron markings between two carriageways mean?

They mark an area you should not drive into except in a genuine emergency, usually used to separate opposing traffic flows on a wide road. Treat the area as if it were a solid barrier under normal circumstances.

## Ready to test yourself on highway code: road markings?

Work through mock questions on this topic and see exactly where you need more revision before test day.

[Start practising](/theory/practice)

## Book with us

Full Membership is £49 and includes your theory test booking, one resit with no minimum mark, the Learning Hub and our theory and practical cancellation checkers.

[See what's included](/theory/pricing)

## Revise free

-   [Practice questions by topic](/theory/practice)
-   [Full 50-question mock test](/theory/mock-test)
-   [Hazard perception guide](/theory/hazard-perception)
-   [Highway Code hub](/theory/highway-code)

## Related reading

-   [Highway Code: Rules for Pedestrians](/theory/highway-code/pedestrians)
-   [Highway Code: Rules for Cyclists](/theory/highway-code/cyclists)
-   [Highway Code: Rules for Motorcyclists](/theory/highway-code/motorcyclists)
-   [Highway Code: Animals on the Road](/theory/highway-code/animals)
-   [Highway Code: Mobility Scooters and Powered Wheelchairs](/theory/highway-code/mobility-scooters)
-   [Highway Code: General Rules for Drivers and Motorcyclists](/theory/highway-code/general-rules-for-drivers)

## Passed your theory? Get the practical booked

Your theory certificate lasts two years. Most learners who use it quickly do it with an intensive course — a block of hours with a DVSA approved instructor and a practical test at the end, instead of one lesson a week for months.

[Intensive course prices](/pricing)[All courses](/courses)[Crash courses](/crash-courses)[Automatic lessons](/driving-lessons/automatic)[Areas we cover](/driving-lessons-in)[Driving test centres](/driving-test-centres)[How it works](/how-it-works)[Test pass guarantee](/test-pass-guarantee)

### Book and manage

-   [Book your theory test](/theory/book-theory-test)
-   [Theory test cancellations](/theory/theory-test-cancellations)
-   [Theory test books](/theory/theory-test-books)
-   [Free resits](/theory/free-resits)
-   [Change your theory test](/theory/change-theory-test)
-   [Cancel your theory test](/theory/cancel-theory-test)
-   [Pricing](/theory/pricing)

### Free revision

-   [Practice by topic](/theory/practice)
-   [Mock theory test](/theory/mock-test)
-   [Question bank](/theory/questions)
-   [Road signs A–Z](/theory/road-signs)
-   [Hazard perception](/theory/hazard-perception)
-   [Highway Code hub](/theory/highway-code)
-   [Revision plan](/theory/theory-test-revision-plan)
-   [Your progress](/theory/account)

### Common questions

-   [Theory test pass mark](/theory/theory-test-pass-mark)
-   [How much is a theory test?](/theory/how-much-is-a-theory-test)
-   [When can I take it?](/theory/when-can-you-take-your-theory-test)
-   [How long is it valid?](/theory/how-long-is-a-theory-test-valid)
-   [What to take with you](/theory/what-to-take-to-your-theory-test)
-   [Waiting times](/theory/theory-test-waiting-times)

### Motorcycle and more

-   [Motorcycle theory test](/theory/motorcycle)
-   [CBT explained](/theory/motorcycle/cbt-explained)
-   [Module 1 and 2](/theory/motorcycle/module-1-and-module-2)
-   [Driving lessons](/driving-lessons)
-   [Intensive courses](/courses)
-   [Crash courses](/crash-courses)
-   [Learner Hub](/learn)

© 2026 Fast Track Driving Lessons. Theory tests are set and marked by the DVSA; we handle booking, cancellation checking and revision.

## Cookies on this site

We use essential cookies to make the site work. We would also like to set optional analytics cookies to see which guides help learners most. Nothing optional runs until you agree. See our [cookie policy](/cookie-policy).

Accept allReject optionalManage cookies