About Mind the Gates

Live closure forecasts for every active barrier crossing on the GB rail network that we can match to a train route, driven by Network Rail's open timetable + movement feeds.

Not a safety device. Always follow the actual signals, barriers, and instructions at the crossing itself. Predictions on this site can be wrong — signalling failures, gatekeeper-held manual gates, and barriers held down for road events (school crossings, road-works convoys) can all produce closures this site won't show. The live timeline also has a few-minute gap during deploys and STOMP reconnects. Never rely on this site to decide whether it's safe to cross.

How it works

Network Rail publishes the GB train timetable daily as JSON-CIF. We pull the FULL snapshot plus that day's incremental UPDATE every 6 hours, expand each schedule's booked stops into its physical route across the BPLAN graph (Dijkstra between consecutive timed TIPLOCs), and pre-index every edge a train traverses.

Each crossing is bound to the BPLAN edges that pass within 500 m perpendicular distance, with a per-edge fraction giving its position along the segment. To predict a closure we take the two booked TIPLOC times bracketing the crossing's edge and interpolate the pass time linearly between them. The barrier-down window around that pass time is type-aware: automatic, signaller-controlled, and miniature-warning-light crossings get their own conservative lead-in and clear-out, set from signalling standards rather than per-crossing measurement.

Three Network Rail STOMP feeds layer live state on top of the snapshot:

Data sources

Almost all open data, licensed under the Open Government Licence v3.0:

Mind the Gates is not affiliated with, endorsed by, or supported by Network Rail, the Rail Delivery Group, or any train operator. "Network Rail" and operator names are used here factually for attribution only.

Known limitations

Common questions

How do I know if a level crossing is about to close?

Each crossing page shows a live status and a 30-minute forecast, built from Network Rail's timetable and live train-movement feeds, so you can see the next predicted barrier-down before you set off.

What do the crossing types like AHB, MCB and CCTV mean?

AHB is an automatic half-barrier, MCB a manually-controlled barrier, and CCTV a manually-controlled barrier monitored by remote camera. The type sets how long the barriers are typically down before a train passes.

How accurate are the forecasts?

We measure it rather than guess: every day each crossing's page is scored against the train passes actually observed on the railway, and the results — how often a pass had advance warning, how often warnings came true, and the typical timing error — are published on the accuracy report. Forecasts can still be wrong, so always follow the signals and barriers at the crossing itself.

Which level crossings are covered?

Every active barrier crossing on the GB rail network that we can match to a train route — around 1,600 crossings with railway-controlled closures or warning lights. Browse them by region or search by name from the home page.

Spotted something off?

If a prediction doesn't match what you saw at the crossing, the "Is this right?" button on that crossing's page logs it with the exact time and place — or get in touch with the crossing, the time, and what actually happened.