Guides & articles

What is the Highway Code?

★ 4.7 · 2,683 reviews 800,000+ learners ✓ Trading Standards
Get booked in

Book your DVSA theory test with unlimited re-sits* and full access to our AI-powered theory test app.

Book your theory test
Theory Test Highway Code
Last updated: Wednesday, 21st October 2026
What is the Highway Code?

Short Answer

The Highway Code

The Highway Code is the official guide to road rules, safety and responsible road use in Great Britain. It includes legal requirements and recommended practices for drivers, riders, cyclists and pedestrians. Understanding the Highway Code is essential when preparing for the DVSA theory test.

Put your Highway Code knowledge to the test with our free car practice theory test, or learn more about UK road signs and their meanings.

What is the Highway Code?

The Highway Code is a set of UK rules and guidelines designed to keep all road users safe, including pedestrians, cyclists, horse riders, and motorists.

It applies to England, Scotland and Wales. Its primary objective is to promote road safety by providing information, advice, and mandatory rules that all road users must follow.

This article examines the Highway Code and its significance for learner drivers, the driving theory test, and all road users.

Key takeaways

  • The Highway Code is a comprehensive guide to the rules and regulations of the road for all road users in the United Kingdom

  • It covers a wide range of topics, including general rules and guidelines, pedestrian rules, rules for cyclists, rules for motorists, road signs and markings, and penalties and enforcement

  • Understanding the Highway Code is essential for all road users who want to stay safe and responsible on the road

Understanding the Highway Code

The Highway Code is a comprehensive guide to the rules of the road in the United Kingdom. It was first introduced in 1931 and is now updated regularly to reflect developments with vehicles, driving practices, and the law. Its purpose is to make roads safer for everybody.

One of the most important aspects of the Highway Code is the hierarchy of road users. It sets out a clear order of priority for different types of road users, with pedestrians at the top, followed by cyclists, horse riders, and then motorcyclists and drivers. This hierarchy is designed to ensure that the most vulnerable road users are given the most protection.

The Highway Code also covers the rules for driving on different types of roads, including motorways, rural roads, and urban roads. It provides guidance on how to overtake safely, how to use roundabouts, and how to deal with roadworks.

In addition to the rules of the road, the Highway Code also provides guidance on vehicle safety. This includes advice on vehicle maintenance, such as checking your brakes and tyres, and how to secure your load.

It also covers the use of safety equipment, such as seat belts and child car seats. Overall, the Highway Code is an essential guide for all road users in the United Kingdom.

What does the Highway Code cover?

Here's a summary of the key contents of the Highway Code:

  • Rules for pedestrians

  • Rules for users of powered wheelchairs and powered mobility scooters

  • Rules about animals

  • Rules for cyclists

  • Rules for motorcyclists

  • Rules for drivers and motorcyclists

  • General rules, techniques and advice for all drivers and riders

  • Using the road

  • Road users requiring extra care

  • Driving in adverse weather conditions

  • Waiting and parking

  • Motorways

  • Breakdowns and incidents

  • Road works, level crossings and tramways

  • Light signals controlling traffic

  • Signals to other road users

  • Signals by authorised persons

  • Traffic signs

  • Road markings

  • Vehicle markings

Want a faster driving test date without the hassle?

Use the Driving Test Cancellations 4 All driving test cancellation checker to bring your driving test forward. Rated 'Excellent' by thousands of learners.

Get driving test cancellations now

General Highway Code rules and guidelines

Here are some of the general rules and guidelines outlined in the Highway Code:

  • Know your traffic signs: The Highway Code contains a comprehensive list of traffic signs and their meanings. All road users must understand these signs, as they provide important information about the road ahead.

  • Give way to others: The rules in the Highway Code do not give you the right of way in any circumstance, but they advise you when you should give way to others. Always give way if it can help to avoid an accident.

  • Stay alert and focused: It is important to stay alert and focused when driving. This means avoiding distractions, such as mobile phones and loud music and being aware of your surroundings at all times.

  • Observe speed limits: Speed limits are in place for a reason - to keep everyone safe. Always observe the speed limit, and adjust your speed according to the conditions of the road.

  • Use lights correctly: Lights are an important safety feature on your vehicle. Use them correctly to ensure that you can see and be seen by other road users.

  • Wear a seatbelt: It is a legal requirement to wear a seatbelt when driving. Make sure that you and your passengers are always wearing seatbelts and that they are properly fastened.

New Highway Code rules

The most recent updates to the Highway Code have introduced several changes aimed at improving road safety. Here are some of the key updates:

Hierarchy of road users

A significant change is the introduction of a hierarchy of road users. This new rule emphasises that those who can do the most harm in the event of a collision bear the greatest responsibility to reduce the danger they may pose to others.

Crossing rules

Updated rules now require drivers to give way to pedestrians crossing a road or waiting to cross at junctions you're turning into.

Highway Code rules for motorists

Here are some of the key rules for motorists:

  • Speed limits: Motorists must stick to the speed limits on the road they are driving on. These limits are in place to ensure the safety of all road users.

  • Seat belts: The driver and passengers must wear seat belts at all times while driving. Children under 12 years old or under 135cm tall must use an appropriate child restraint.

  • Driving under the influence: It is illegal to drive under the influence of drugs or alcohol. The legal limit for alcohol in the bloodstream is 80 milligrammes per 100 millilitres of blood.

  • Mobile phones: It is illegal to use a handheld mobile phone while driving. Motorists must use a hands-free device if they need to make or receive a call.

  • Overtaking: Motorists must overtake only when it is safe to do so. They should check their mirrors and blind spots before overtaking and should give plenty of room to the vehicle they are overtaking.

  • Pedestrian crossings: Motorists must give way to pedestrians at zebra crossings, pelican crossings, and puffin crossings. They should also be aware of pedestrians crossing the road at other points and should be prepared to stop if necessary.

  • Traffic lights: Motorists must stop at a red traffic light and only proceed when the light turns green. They should also be aware of amber lights and should stop if it is safe to do so.

  • Roundabouts: Motorists should approach roundabouts with caution and give way to traffic already on the roundabout. They should signal their intentions and should not change lanes while on the roundabout.

What is the hierarchy of road users?

The hierarchy of road users is a new guideline within the Highway Code that prioritises the safety of the most vulnerable individuals on the road.

Under this hierarchy, those who can cause the greatest harm have the greatest responsibility to reduce the risk they may pose to others. Essentially, it's about protecting those who are most at risk in the event of an accident.

Rule H1

H1 of the Highway Code highlights that drivers must take extra care around vulnerable road users, like pedestrians, cyclists, and horse riders. This rule is important because it helps ensure the safety of everyone on the road.

By driving carefully, sticking to speed limits, and keeping a safe distance, drivers can help prevent accidents and make the roads safer for everyone.

Rule H2

H2 of the Highway Code hierarchy states that all drivers, motorcyclists, horse riders, and cyclists must give way to pedestrians crossing or waiting to cross at junctions.

Drivers must give way to pedestrians on zebra crossings as well as to both pedestrians and cyclists on parallel crossings.

Pedestrians have priority at these crossings, including light-controlled ones when they have a green signal.

Rule H3

H3 of the Highway Code hierarchy advises drivers and motorcyclists not to cut across cyclists, horse riders, or horse-drawn vehicles when turning into or out of a junction, changing direction, or lane.

Do not turn if it would force them to stop or swerve. Always wait for a safe gap when cyclists are approaching, passing, moving off from a junction, navigating around slow-moving traffic, or travelling around a roundabout.

Where can I find the Highway Code?

You can get the latest online version of the Highway Code on the Driving Theory 4 All website. You can also purchase a printed copy from most major bookstores or the GOV.UK website.

Do I need to know the Highway Code to pass my DVSA theory test?

It's important to have a good understanding of the Highway Code to pass your DVSA theory test.

The theory test includes questions about road signs, rules and regulations, and safe driving practices which are all covered in the Highway Code.

Driving Theory 4 All's theory test app - Driving Theory Test Assistant - includes the latest updates to the Highway Code along with the most up-to-date DVSA theory test practice questions and hazard perception videos, making it a great study tool for your theory test.

Download the Driving Theory Test Assistant app now for FREE and PASS first time

Frequently asked questions about the Highway Code

The Highway Code is a set of instructions, guidelines, and mandatory rules for road users in England, Scotland and Wales. Its primary goal is to promote road safety.

Every road user, including drivers, cyclists, motorcyclists, pedestrians, and horse riders, is required to follow the Highway Code.

Yes, many of the rules in the Highway Code are legal requirements. Failure to comply with them can result in fines, points on your driving licence, or other penalties. Other parts are guidelines and best practices to help keep road users safe.

The Highway Code is updated regularly to reflect changes in laws, safety procedures, and road usage practices. All road users should keep up to date with the latest edition.

You can access the Highway Code on the Driving Theory 4 All website, through the UK government website, and as physical books at stores.

Yes, the Highway Code contains specific rules tailored to different types of vehicles and road users, such as heavy goods vehicles, buses, bicycles, and motorcycles, to address the unique challenges and risks associated with each.

The Highway Code provides essential knowledge to help you pass both the theory test and practical driving test. Understanding and applying the Highway Code rules is necessary to pass both tests.

Looking for driving test cancellations?

Find DVSA driving test cancellations with our driving test cancellation finder.

Find DVSA driving test cancellations now

Try our free driving test cancellation checker

Industry leading reviews from 2683 verified buyers...

Keep up to date with us on social media...

Preparing for ADI Part 1? 🚗📝 The multiple-choice test has 100 questions across four topic areas. You'll also need to pass hazard perception. Prepare for both sections with our ADI theory test practice 👇 https://t.co/f6XgdmQFxG #ADI
12 hours ago
How well do you know your UK road signs? 🚦 From warning signs to road markings, there's plenty to remember for your theory test. Try our FREE road signs practice test, with instant feedback 👇 https://t.co/wkVtW33xVQ #roadsigns #theorytest
17 hours ago
LGV Driver CPC Module 2 is a case studies test, not a hazard perception test. 🚛 Prepare with practical scenarios, topic-based lessons and practice case studies. 60 days' access for £14.99 👇 https://t.co/7evNuEXTvE #drivercpc
1 day ago
Studying for your PCV theory test? 🚌 Revise at home or on the move with the latest DVSA PCV revision questions, hazard perception practice and mock theory tests. Get theory test ready now 👇 https://t.co/DueLeoFnsn #PCV #theorytest
1 day ago
Can you score 85 out of 100 on an HGV theory test? 🚛📝 That's the multiple-choice pass mark. Take our FREE 100-question HGV/LGV mock theory test and check your knowledge before the real thing 👇 https://t.co/p6jyUN7ItJ #hgvtheorytest
1 day ago
How would you get on with a motorcycle theory test? 🏍️ Try 10 FREE motorcycle theory test questions, with instant marking and explanations. See how much you know 👇 https://t.co/RG1tofZtz0 #motorcycletheorytest
2 days ago
Your motorcycle theory test covers more than just road signs. 🏍️ Prepare with motorcycle DVSA revision questions, hazard perception clips and unlimited mock theory tests. Get 365 days' access from £5.99 👇 https://t.co/8lt9yJFTl5 #motorcycletheorytest
2 days ago
Revising for HGV theory test Parts 1a and 1b? 🚛 Prepare for the multiple-choice and hazard perception tests with DVSA-licensed revision material, mock tests and progress tracking. Explore our LGV theory test packages 👇 https://t.co/69qYzDyQF3 #hgvtheorytest
3 days ago
Theory test question 🚨 What type of emergency vehicle uses a green flashing beacon? Would you recognise it on the road? Check your answer and read the explanation 👇 https://t.co/hGxShF6n9g #theorytest
3 days ago
Spotting a hazard is one thing. Knowing when to react is another! 👀🚗 Improve your timing with FREE hazard perception test practice and get feedback on your performance. Practise spotting developing hazards before your DVSA theory test 👇 https://www.drivingtheory4all.co.uk/free-hazard-perception-test #hazardperception #theorytestpractice
4 days ago
Planning to book your UK theory test? 🚗📅 Book your car or motorcycle DVSA theory test with Driving Theory 4 All and get access to revision materials to help you prepare. Choose your preferred DVSA test centre and date 👇 https://www.drivingtheory4all.co.uk/book-theory-test #booktheorytest #theorytestbooking
4 days ago
Ready to test your driving theory knowledge? 🚗📝 Try our FREE mock theory test with 50 questions, just like the multiple-choice section of the real DVSA car theory test. Get instant marking and see if you can reach the 43/50 pass mark 👇 https://www.drivingtheory4all.co.uk/car-mock-theory-test #mocktheorytest #theorytest
4 days ago
Prefer learning by watching? 🚗📚 Our car theory test practice includes animated tutorial videos, DVSA revision questions and unlimited mock theory tests. Choose how you revise, with packages from £5.99 👇 https://t.co/HP7zW9uBMT #cartheorytest #theorytest
4 days ago
Need to arrange your theory test booking? 📅🚗 Book your car or motorcycle theory test with Driving Theory 4 All and get revision materials included to help you prepare for test day. Find out how to book your theory test 👇 https://www.drivingtheory4all.co.uk/book-theory-test #theorytestbooking #booktheorytest
4 days ago
Preparing for your driving theory test? 🚗📚 Get ready for your theory test with our AI Personal Trainer, the latest DVSA practice questions, hazard perception clips, mock theory tests and Highway Code revision. Start your theory test practice today 👇 https://www.drivingtheory4all.co.uk/ #theorytest #drivingtheorytest
4 days ago
PCV Driver CPC Module 2 coming up? 🚌 Practise with 60+ case studies and topic-based revision material designed to help you prepare for the real test. PCV CPC practice costs £14.99 👇 https://t.co/oBmxWgrg10 #drivercpc #PCV
6 days ago
Need to cancel your theory test? 📅 Find out how to cancel your DVSA theory test booking, how much notice you need to give and when you can get a refund. Read the guide 👇 https://t.co/is6ijW452F #theorytest
6 days ago
Training to become a driving instructor? 🚗📚 Prepare for ADI Part 1 with DVSA revision questions, hazard perception clips and unlimited mock tests. ADI theory test practice starts at £14.99 👇 https://t.co/f6XgdmQFxG #ADI #theorytest
1 week ago
How good are you at spotting developing hazards? 👀🚛 If you're preparing for the HGV/LGV theory test, try our FREE hazard perception practice test. Check your hazard perception skills 👇 https://t.co/NcgztXoFFJ #hgvtheorytest #hazardperception
1 week ago
Working towards your PCV theory test? 🚌 Revise with the most up-to-date DVSA practice theory test questions, hazard perception clips and unlimited PCV mock theory tests. Get 60 days' web and app access from £14.99 👇 https://t.co/DueLeoFnsn #PCV #theorytest
1 week ago