Stepford County Railway Wiki

Headcodes are a very important aspect of Stepford County Railway. A headcode is composed of four digits, three of them numerical and one alphabetical. The purpose of headcodes are to identify each train with code and using them to smooth out communications between driversDispatchers, Guards and Signallers. Headcodes were introduced in V1.0 which made it easier to communicate.


First Digit

The first digit indicates what type of service the train is operating.

First Digit First



Service Type Use Dispatch Priority (on-time) Dispatch Priority (late)
1 [9] Semi-Fast Stepford Express and Airlink services with more stops 6 5
2 Stopper/Local All Waterline and local Stepford Connect services 8 7
3 [5] Empty Coach Stock Not in service - While the train moves from the depot to the nearest station 9
9 [1] Express Stepford Express and Airlink services with fewer stops 3 1
Semi-Fast Skipping Stepford Connect services (but not classified as express) 4 2

a. The numbers in the brackets are codes for them before V1.4.1.

b. Semi-Fast Connect services (eg. R005) have always used 9 as their first digit since headcodes were introduced, and the 9 headcode was given to semi-fast services before V1.4.1, which means they are not classified as express; however, they are still treated as 9 headcode trains, so it has priority over 1XXX Express and Airlink trains.

Second Digit

The second digit is alphabetical and indicates the train's destination.

Last Two Digits

The last two digits are numerically ordered, increasing from xx00 to xx98, and then returning to xx00. However, a headcode will not overlap with another one in service.

Examples of headcodes:


  • Headcodes directly affect the train priority, for example when dispatchers will dispatch the train. Priorities go from Express services (9XXX), then semi-express services (1XXX), stopping services (2XXX), and lastly, services from the depot (3XXX).
  • R078 and R075 were the only Stepford Express routes using the 9XXX headcode.
  • In V1.4.1, the first digit of Express services' headcode (formerly 1) and Semi-Fast services' (formerly 9) switched places. Because of this, every Airlink route had its headcodes changed, initially causing lots of confusion to players.
  • In real-life, a headcode is also known as the train reporting number, with 9XXX trains being used for trains with special routing instructions, for example Eurostar trains.
  • Stepford Connect kept the 9-headcode services in V1.4.1, but not classified as express although these services skip some stations. This is believed to be due to Stepford Connect only operating local services.
  • Before V1.4.1, delayed trains used to have priority regardless of the headcode - however, that has changed and the headcode table displays the correct priority as of present.
  • After the opening of the Llyn Extension in V1.4, Llyn-by-the-Sea took over the L headcode and Westwyvern took over the W headcode. As a result, Leighton Stepford Road and Whitefield changed their headcodes from L and W to R and F respectively.
  • After the opening of the Willowfield Extension in V1.6, Beechley took over the C headcode. The headcode of Connolly changed from C to O.