A level crossing, or grade crossing, is an intersection where a railway line crosses a road or path at the same level, as opposed to the railway line crossing over or under using a bridge or tunnel. The term also applies when a light rail line with separate right-of-way or reserved track crosses a road in the same fashion. Other names include railway crossing, road through railroad, railroad crossing, and train crossing.
Early level crossings had a flagman in a nearby booth who would, on the approach of a train, wave a red flag or lantern to stop all traffic and clear the tracks. Manual or electrical closable gates that barricaded the roadway were later introduced, intended to be a complete barrier against intrusion of any road traffic onto the railway. In the early days of the railways much road traffic was horsedrawn or included livestock, requiring a full barrier crossing the entire width of the road. When opened to allow road users to cross the tracks, the gates were swung across the width of the railway, preventing any pedestrians or animals getting onto the tracks. The first US patent for such crossing gates was awarded on 27 August 1867, to J. Nason and J. F. Wilson, both of Boston.
Later, as motor vehicles appeared, this type of barrier became less effective, while the need for a barrier to livestock diminished dramatically. Many countries therefore replaced the fully gated crossings with weaker but more-visible barriers, and relied upon road users obeying the associated warning signals to stop.
Railroad trains have a much larger mass relative to their braking capability, and thus a far longer braking distance than road vehicles. In general, trains do not stop at level crossings but rely on vehicles and pedestrians to clear the tracks in advance.
Level crossings constitute a significant safety concern internationally. On average, each year 400 people are killed in the European Union and over 300 in the United States in level crossing accidents. Collisions can occur with vehicles as well as pedestrians; pedestrian collisions are more likely to result in a fatality. Among pedestrians, young people (5–19 years), older people (60 years and over) and males are considered to be high risk users.