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. This page gives a list of the most common ones used in Scotland. For a full explanation of how headcodes are formed, check out the
The page is a constant work in progress. If you know of a headcode that isn't listed here, feel free to add it yourself or alternatively email the
Click on the headcode to search the group messages for the most recent mentions of this train (requires you to be logged in).
| Headcode | Route | Notes | Times |
| Flasks |
| 6S43 | Carlisle - Torness | | |
| 6M50 | Torness - Carlisle | | |
| 6M22 | Hunterston-Carlisle | | |
| 6S54 | Carlisle - Hunterston | | |
| The Malcolm Group |
| 4S49 | 2130 Daventry - Grangemouth | | |
| 4M30 | 1900 Grangemouth - Daventry | | |
4A66 | 0840 Grangemouth - Aberdeen | Northbound path 1 | Here |
4A11 | 1038 Grangemouth - Aberdeen | Northbound path 2 | |
| 4A64 | 07:17 Grangemouth - Aberdeen | | Here |
| 4A13 | 1215 Grangemouth - Aberdeen | | Here |
| 4N79 | 1456 Aberdeen - Grangemouth | Southbound path 1 | |
| 4N81 | 1556 Aberdeen - Grangemouth | Southbound path 2 | |
| 4N83 | 1730 Aberdeen - Grangemouth | Southbound path 3 | |
| 4N69 | 2002 Aberdeen - Grangemouth | Southbound path 4 | |
| 4N72 | 0827 Elderslie - Grangemouth | | |
| 4R77 | 0719 Grangemouth - Elderslie | | |
| 4N78 | 1309 Elderslie - Grangemouth | | |
| 4M78 | 1402 Elderslie - Newbiggin | Mon-Fri | |
| 4S39 | 02xx Newbiggin - Elderslie | Tue-Sat (Sat runs as 4Z39) | |
| DRS |
| 4S45 | 1830 Daventry - Mossend | | |
| 4M44 | 0821 Mossend - Daventry | | |
| John G. Russell |
| 4S44 | 1114 Daventry - Coatbridge | | |
| 4S47 | 1849 Daventry - Coatbridge | | |
| 4M62 | 2330 Coatbridge - Daventry | | |
| 4Z34 | 0500 Coatbridge - Daventry | | |
| Eddie Stobart |
| 4S43 | 0631 Daventry - Grangemouth | | |
| 4M48 | 1811 Grangemouth - Daventry | | |
| Wagon Repair |
| 4M53 | Grangemouth - Kingmoor | | |
| 4S51 | Kingmoor - Grangemouth | | |
| Headcode | Route | Notes | Times |
| West Highland |
| 6Y15 | 0823 Mossend - Fort William | | |
| 6E16 | 1750 Fort William - Mossend | | |
6Y38 | 2051 Mossend - Crianlarich | | |
6D40 | 0143 Crianlarich - Mossend | | |
| Millerhill Engineers |
| 6M49 | 0537 Millerhill - Carlisle | | |
| 6S50 | 1305 Carlisle - Millerhill | | |
| Leith Engineers |
| 6B17 | Millerhill - Leith Docks | | |
| 6B18 | 1224 Leith Docks - Millerhill | | |
| Edinburgh Binliner |
| 0B41 | Millerhill - Powderhall | | |
| 6B41 | Powderhall - Oxwellmains | | |
| 6B44 | 1119 Oxwellmains - Powderhall | The train frequently runs earlier | DUNBAR 11.22, DREM DPL 11.37-11:54, PBELLOJN 12.16, POWDERHAL 12.39 |
| 0B44 | Powderhall - Millerhill | Will run via Niddrie West (reverse) when required. | |
| Sand |
| 6S88 | Middleton Towers - Mossend | Tues & Thurs | here |
| 6Z89 | Mossend - Peterboro' | Tues & Thurs | here |
| Aberdeen |
| 6A30 | 1036 Mossend - Laurencekirk | Mon-Thu. Used to run to Aberdeen | |
| 6D83 | Laurencekirk - Mossend | Mon-Thu. Used to run from Aberdeen. | |
| 6A31 | 05:10 Mossend - Waterloo | ThO. OMYA tanks. Used to be part of 6A30 | |
| 6D84 | 18:09 Waterloo - Mossend | FO. OMYA tanks. Used to be part of 6D83 | |
1S03 | 0520 Walsall - Aberdeen | Loaded DHL vans Cancelled March 2007 | |
5D03 | 0907 Aberdeen - Mossend | Empty DHL Vans | |
| Inverness |
1H03 | 0607 Mossend - Inverness | Loaded DHL vans off 1S03 | |
4D05 | 1137 Inverness - Mossend | Empty DHL vans / Enterprise | here |
| 6H44 | 0120 Mossend - Inverness | Lairg tanks | |
| 6D66 | 1839 Inverness - Mossend | empty tanks | |
| Lairg Tanks |
| 6H03 | 0807 Inverness - Lairg | | |
| 6H66 | 1539 Lairg - Inverness | | |
| Linkswood Tanks |
| 6L49 | 0532 Mossend - Linkswood | via Perth | |
| 6D71 | 1222 Linkswood - Mossend | via Fife | |
| Riccarton Tanks |
| 6D61 | 1248 Riccarton - Mossend | | |
| 6B01 | 0518 Mossend - Riccarton | | |
| Dalston Tanks |
| 6S36 | Dalston - Grangemouth | | |
| 6M34 | Grangemouth - Dalston | | |
| Mossend Tanks |
| 6D17 | Grangemouth - Mossend | | |
| Prestwick Tanks |
| 6N44 | Prestwick - Mossend | | |
| Bathgate Cars |
6X38 | Washwood Heath / Doncaster - Bathgate | Loaded Cars Now runs to Tyne Dock rather than Bathgate | |
6M85 | Bathgate - Doncaster / Washwood Heath | Empty Cars Now runs from Tyne Dock rather than Bathgate | |
| Deanside Trips |
| 6D30 | Mossend - Deanside | | |
| 6D31 | Deanside - Mossend | | |
| Steel |
| 6S58 | 0106 Lackenby - Dalzell (Motherwell) | Loaded steel slabs. Booked a 60 | |
| 6E30 | 1329 Dalzell - Lackenby | Empty steel slabs. EWD. Booked a 60 | |
| 6E28 | Dalzell - Lackenby | Empty steel slabs. SO. Booked a 60 | |
| Intermodal |
| 6S67 | Trafford Park - Grangemouth | | |
| 6D67 | 0725 Grangemouth - Mossend | | |
| 6N35 | 1510 Mossend - Grangemouth | | |
| 4M67 | 1742 Grangemouth - Trafford Park | | |
| Potatoes |
| 6A67 | 0955 Elgin to Laurencekirk | Mondays only | |
| Headcode | Route | Notes | Times |
| Hunterston Coals |
| 6J07 | 0535 Longannet - Hunterston | | |
| 6J08 | 0545 Longannet - Hunterston | | |
| 6J10 | 0800 Longannet - Hunterston | | |
| 6J11 | 0930 Longannet - Hunterston | | |
| 6J12 | 1055 Longannet - Hunterston | | |
| 6J13 | 1222 Longannet - Hunterston | | |
| 6R14 | 1330 Longannet - Ayr | | |
| 6J15 | 1500 Longannet - Hunterston | | |
| 6J16 | 1630 Longannet - Hunterston | | |
| 6J17 | 1800 Longannet - Hunterston | | |
| 6J18 | 1930 Longannet - Hunterston | | |
| 6D19 | 2115 Longannet - Mossend | | |
| 6G20 | 2230 Longannet - Thornton | | |
| Longannet Coals |
| 7G11 | 0456 Mossend - Longannet (0815) | | |
| 7G12 | 0623 Mossend - Longannet (0940) | | |
| 7G13 | 0555 Hunterston - Longannet (1105) | | |
| 7G14 | 0625 Hunterston - Longannet (1215) | | |
| 7G15 | 0820 Hunterston - Longannet (1340) | | |
| 7G16 | 1000 Hunterston - Longannet (1510) | | |
| 7G17 | 1125 Hunterston - Longannet (1640) | | |
| 7G18 | 1300 Hunterston - Longannet (1810) | | |
| 7G19 | 1400 Hunterston - Longannet (1940) | | |
| 7G20 | 1500 Hunterston - Longannet (2120) | | |
| 7G21 | 1700 Hunterston - Longannet (2200) | | |
| 7G22 | 1900 Hunterston - Longannet (0010) | | |
| 7D14 | 2025 Hunterston - Mossend | | |
| 7D15 | 2125 Hunterston - Mossend | | |
| 7D18 | 2225 Hunterston - Mossend | | |
| Ravenstruther Coals |
| 6C10 | 0545 Millerhill - Ravenstruther | Empty. Via Cobbinshaw. Forms 7B52. | here |
| 6C12 | 0733 Millerhill - Ravenstruther | Empty. Via Motherwell. Forms 7B54. | here |
| 6C16 | Millerhill - Ravenstruther | Empty. Via Motherwell. Forms 7B58. | Arrives 1530 |
| 6S47 | Ironbridge - Ravenstruther | Empty. Via WCML. Forms 6M69. | Arrives 1748. |
| 7B52 | 0919 Ravenstruther - Millerhill | Loaded. Via Cobbinshaw. Back working of 6C10. | here |
| 7B54 | 1155 Ravenstruther - Millerhill | Loaded. Via Mossend. Back working of 6C12. | here |
| 7B58 | 1724 Ravenstruther - Millerhill | Loaded. Via Cobbinshaw. Back working of 6C16. | |
| 6M69 | 1949 Ravenstruther - Ironbridge | Loaded. Via WCML. Back working of 6S47. | Arrives 1748. here |
| Fife Coals |
| 6G24 | Millerhill - Thornton | Via Dunfermline | |
6G31 | 0455 Millerhill - Westfield | Empty. Via Kirkcaldy. Forms 7G31. | here |
6G72 | 1419 Millerhill - Westfield | Empty. Via Dunfermline. Forms 7G32 | here |
7G31 | 0815 Westfield - Millerhill / Cockenzie | Loaded. Via Thornton & Dunfermline. Back working of 7G31. Forms 6B59. | here |
7G32 | Westfield - Millerhill | Loaded. Via Thornton & Dunfermline. Back working of 6G72. | here |
| Leith / Millerhill to Cockenzie Coals |
| 7B01 | 0857 Leith Docks - Cockenzie | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 7B02 | 1713 Leith Docks - Cockenzie | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 7B03 | 1330 Leith Docks - Cockenzie | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 7B04 | 2130 Leith Docks - Millerhill | Often runs direct to Cockenzie via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 7B18 | 1119 Hunterston - Cockenzie | Probably only running during the current problems at Longannet. | here |
| 7B98 | 0111 Leith Docks - Cockenzie | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 7B99 | 0500 Leith Docks - Cockenzie | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 7G14 | Hunterston - Cockenzie | Probably only running during the current problems at Longannet. | |
| 7G31 | 1717 Millerhill - Cockenzie | Comes from Westfield 0815 dep. Forms 6B59. | here |
| Cockenzie to Leith / Millerhill Coals |
| 6B59 | 1940 Cockenzie - Millerhill | Back working of 7G31 | COCKENZIE 1940, MNKTHALJ 1958, MILHIL YD 2008 |
| 6B65 | Cockenzie - Millerhill | Back working of 7B18. |
| 6B70 | 2115 Cockenzie - Leith Docks | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 6B99 | 0045 Cockenzie - Leith Docks | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 6D01 | 0558 Cockenzie - Leith Docks | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 6D02 | 1335 Cockenzie - Leith Docks | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 6D03 | 0952 Cockenzie - Leith Docks | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| 6D04 | 1715 Cockenzie - Leith Docks | Via Musselburgh. | Times:Leith-Cockenzie MGRs |
| Chalmerston to Cockenzie Coals |
| 6B35 | Chalmerston to Cockenzie | | |
| 6R27 | Cockenzie to Chalmerston | | |