Birthday gifts for train spotters A giftable printable bundle for a train spotter's birthday โ€” any age, any time of year.
Shop birthday gifts โ†’

UK Train Numbers Explained

Every train carries numbers, and once you know how to read them, a passing train tells you a story. Here's a clear guide to how British trains are numbered โ€” classes, fleet numbers and headcodes.

The TOPS system

Most modern British locomotives and multiple units are numbered under TOPS (the Total Operations Processing System), introduced in the 1970s. It gives every locomotive and unit a class and an individual number, so each one can be identified precisely โ€” which is exactly what a spotter needs.

What a class number means

The class is the type of train. For locomotives, the first two digits of the number are the class: a locomotive numbered 66123 is a Class 66, and 37401 is a Class 37. Classes are grouped roughly by type โ€” for example, many diesel locomotive classes fall in the 20sโ€“60s and electric locomotives in the 80sโ€“90s, while multiple units use higher number ranges.

Locomotive numbers

A locomotive's number is unique to that machine and usually painted on the cab side. Note the full number โ€” for example 66001 โ€” and you've logged that specific locomotive. Some locomotives also carry names, which is a nice bonus to record.

Multiple unit numbers

Passenger multiple units (trains that aren't hauled by a separate locomotive) are numbered too. The unit number identifies the whole set โ€” for example a Class 800 set numbered 800210 โ€” while the individual carriages within it carry their own vehicle numbers. For spotting, the unit number is usually what you record.

Headcodes and reporting numbers

You may hear about headcodes (also called reporting numbers) โ€” a four-character code such as 1A25 that identifies a particular train service, not the locomotive. The first digit and letter indicate the type and route of the service. Older locomotives once displayed these on roller blinds or panels; today they're used behind the scenes for timetabling and can be looked up on live-times tools.

Putting it together

So when a train passes, the class tells you the type, the running or unit number tells you the individual train, and the headcode (if you look it up) tells you the service it's working. Record the class and number on your log sheet and your collection grows with every visit. New to it all? Start with our beginner's guide, or browse the train classes.

Frequently asked questions

What do the first two numbers on a train mean?

For locomotives, the first two digits are the class โ€” the type of train. So 66xxx is a Class 66 and 37xxx is a Class 37. The remaining digits identify the individual locomotive.

What's the difference between a class number and a headcode?

The class (and running number) identifies the physical locomotive or unit. A headcode, or reporting number, such as 1A25, identifies the train service being run โ€” its type and route โ€” rather than the machine hauling it.

How are passenger units numbered?

Multiple units have a unit number identifying the whole set (for example 800210), while each carriage inside also has its own vehicle number. Spotters usually record the unit number.

Free to start

Get your free UK train log sheet

Print it at home and record your first catches this weekend.

Free UK Train Spotting Starter Pack cover

Free UK Train Spotting Starter Pack FREE

Printable log sheet, beginner tips and a first spotting challenge โ€” free.

Download free โ†’
UK Train Spotting Log Sheets cover

UK Train Spotting Log Sheets ยฃ3.99

The essential printable log: date, headcode, class, number, operator, location and notes.

Buy ยฃ3.99 โ†’
Ultimate UK Train Spotting Bundle cover

Ultimate UK Train Spotting Bundle ยฃ14.99

Every log sheet, checklist and challenge together โ€” the best-value flagship pack.

Buy ยฃ14.99 โ†’