Headcodes Explained

Introduction

Headcodes (also known as train reporting numbers, or train IDs) are used by operational railway staff to identify particular train services. They are used in signalling systems, the Working Timetable, train crew rosters and various computer systems such as TOPS and TRUST, although on TOPS they form part of 10 character train IDs.

The term 'headcode' comes from the period when the reporting numbers were displayed on the front of trains. Some locomotives used on railtours retain headcode indicator panels.

This page describes how these headcodes are formed for trains operating within, to and from Scotland. A list of headcodes regularly used in Scotland can be found on the headcodes page

How they work

The headcodes used in the Working Timetable are made up of four characters. For Example 1Y11, the 04:50 Edinburgh - Fort William.

The first character of the headcode is a number and signifies the Train Class - in this case 1 for a Fast Passenger Service.

Number
Train Type
0
Light Engine(s)
1
Fast Passenger/Postal/Parcels
2
Slow/Suburban Passenger
3
Autumn Rail Head Treatment Train: (RHTT)
4
Freight (max speed 75mph)
5
Empty Coaching Stock (ECS)
6
Freight (max speed 60mph)
7
Freight (max speed 45mph)
8
Freight (max speed 35mph)
9
Cross Country passenger trains to/from Scotland


The second character is a letter, signifying a destination area or route - Y in this case for Fort William

 Letter 
 Types 
Destination area or route
 
A
Passenger and Freight area: Aberdeen, Dyce, Keith, Montrose
Passenger route: Glasgow Central - Barrhead - Kilmarnock - Ayr - Stranraer.
 
B
Freight to Riccarton (Kilmarnock)
Passenger and Freight area: Edinburgh, Millerhill, Lothians
Passenger route: Bathgate - Livingston N - Edinburgh (and Newcraighall)
Passenger route*: Dalmuir - Glasgow C. LL - Uddingston - Motherwell - Lanark / Carstairs
 
C
Passenger and Freight area: Carstairs, Ravenstruther
Passenger route: Dalmuir - Glasgow C. LL - Uddingston - Motherwell (and from Lanark)
 
D
Freight area: Mossend, Motherwell
Passenger route: Glasgow Central - Paisley Canal
Passenger route: Motherwell - Cumbernauld
 
E
Passenger and Freight to former Eastern Region (Newcastle, Tyne Yard, Yorkshire, London King's Cross)
Passenger route: Balloch - Springburn
 
F
Passenger Amended NXEC trains to/from Scotland.
Passenger route: Milngavie - Glasgow C. LL - Hamilton - Motherwell / Coatbridge / Lanark
 
G
Freight area: Longannet, Thornton, Westfield
Passenger route: Glasgow Central - Gourock
Passenger route: Edinburgh - Dunfermline - Cowdenbeath - Glenrothes (and Fife Outer Circle)
 
H
Passenger and Freight area: Inverness, Kingussie, Elgin, Kyle, Wick
Passenger route: Helensburgh - Airdrie - Drumgelloch
Passenger The Royal Scotsman tour train.
Freight to Drax Power Station (Yorkshire)
 
I
Passenger route*: Glasgow Central - Maxwell Park - Cathcart - Glasgow Central
 
J
Freight to Hunterston
Passenger route: East Kilbride - Glasgow Central
Passenger route: Glasgow Queen St - Cumbernauld - Falkirk Grahamston
 
K
Freight EWS operated engineering trains within Scotland
Passenger route: Glasgow Central - Kilwinning - Ayr, Stranraer.
Passenger route: Edinburgh - Kirkcaldy, Markinch (and Fife Inner Circle)
 
L
Freight to former East Anglia Region (Harwich, Felixstowe, Tilbury)
Passenger and Freight area: Tayside, Perth, Dundee, Carnoustie, Linkswood
Passenger route: Dundee - Edinburgh
Passenger route: Dalmuir - Glasgow C. LL - Hamilton - Larkhall
 
M
Passenger and Freight to former London Midland Region (London Euston, Birmingham, Derby, Manchester, Carlisle)
Passenger route: Milngavie - High Street / Belgrove / Springburn / Airdrie
Passenger route: Glasgow Central - Maxwell Park - Newton
 
N
Freight area: Grangemouth, Stirling
Passenger route: Glasgow Queen St - Lenzie - Stirling / Dunblane (also to Perth, Falkirk, Kirkcaldy)
Passenger route: Glasgow Central - Neilston
Passenger route: Newcraighall - Edinburgh
Passenger route: Dumfries - Carlisle - Newcastle
 
O
Passenger and Freight to former Southern Region (Bournemouth, Brighton, Southampton, Dollands Moor)
Passenger route*: Glasgow Central - Queen's Park - Cathcart - Glasgow Central
 
P
Passenger route: Edinburgh - Stirling - Dunblane, Perth
Passenger route: Glasgow Central - Queen's Park - Newton
 
Q
Test Trains Track monitoring and measurement trains
 
R
Freight area: Elderslie, Prestwick, Falkland Yard, Ayrshire
Passenger route: Edinburgh - Falkirk High - Glasgow Queen St
Passenger route: Glasgow Central - Whifflet
 
S
Passenger and Freight to Scotland from south of the border
Passenger route*: Milngavie - Glasgow C LL - Hamilton - Holytown - Lanark
RHTT Autumn Rail Head Treatment Trains
 
T
Freight On-track plant within Scotland; Engineering trains from Northern England
Passenger to Glasgow Queen St High Level (from Perth, Dundee, Aberdeen, Inverness)
Passenger route: Glasgow Central - Largs, Ardrossan
 
U
Freight to English Power Stations (short term flows)
EngineeringRail Grinders in transit
 
V
Passenger and Freight to former Western Region (Reading, Bristol, Plymouth, Penzance)
Passenger route: Dalmuir - Springburn / Airdrie
Passenger, ECS odd movements in the Glasgow area
 
W
Passenger route: Glasgow Central - Wemyss Bay
Passenger route: Glasgow Queen St - Maryhill - Anniesland
 
X
Passenger and Freight Exceptional load - special instructions apply
 
Y
Passenger and Freight area: West Highland Line (Glen Douglas, Crianlarich, Fort William area)
Freight Freightliner operated engineering trains within Scotland
Passenger route: Glasgow Queen St - Westerton - Crianlarich, Oban, Fort Willam, Mallaig
Passenger route: North Berwick - Edinburgh - Glasgow Central
Passenger route: Edinburgh - West Calder - Shotts - Glasgow Central / Motherwell
 
Z
Passenger and Freight Special working (not in WTT)
 

Note: Route letters apply in both directions (except for routes marked *), with odd and even numbers identifying the direction.

Finally, the third and fourth characters are numbers (11 in this case) which identify individual trains.

Notes

Headcodes tend to be sequential, so 1E13, 1E14 and 1E15 are NXEC services to London Kings Cross that pass through Edinburgh at 12:00, 12:30 and 13:00 respectively.

Empty coaching stock trains and Light engines usually use the last 3 characters of the train which they are going to form, or have just finished:
  • 5M11 Polmadie to Glasgow Central forms the 1M11 Glasgow to London
  • 5S26 is the empty coaching stock from Glasgow Central to Polmadie off 1S26 London to Glasgow.

Freight train headcodes may be changed depending on the load:
  • The 6A30 Mossend to Aberdeen could run as 7A30 if it was restricted to 45mph, or run as 0A30 if there were no wagons on the train.
  • The 6S65 Carlisle to Mossend is recoded 6X65 if it conveys loaded 'cartic' wagons as these may be 'out of gauge'.

It should be noted that headcodes are not necesarily unique within a region:
  • 1M11 23:40 Glasgow Central - London Euston Caledonian Sleeper
  • 1M11 07:10 Glasgow Central - London Euston Virgin West Coast train.

On frequent services headcodes may be reused serveral times a day:
  • 1R25 is used for the 09:00, 15:00 and 21:30 Edinburgh - Glasgow Queen Street trains.

Special movements often use the locomotive class as an identifier:
  • 0Z66 is likely to be a class 66 light engine.

The headcode 1Z99 is used to signify any train which is running to provide assistance to another train:
  • This may be a 'Thunderbird' rescue engine, an empty multiple unit or an ordinary passenger train. This also applies to breakdown cranes, snow ploughs and overhead line trains going to clear the line. These trains are generally given highest priority over other movements.


See also

External links