How to Chart Railroad Crossing Collisions and Deaths Since 1975
On this page
Problem statement
Railroads have reported every collision at a highway-rail crossing to the FRA since 1975, so the same form gives a fifty-year series. Charting it means deciding what one row is, what to do with a year that is not over, and which measure to plot. This page counts the reports by year on the 29 October 2026 copy. In 1975 there were 12,127 collisions and 1,017 people were killed; in 2025, 2,274 collisions and 313 deaths. Each collision has become deadlier, and pedestrians now account for 40.9% of the deaths.
Quick answer
Group the reports by year and sum the deaths and injuries the railroads recorded:
per_year = inc.groupby("year").agg(collisions=("reportkey", "size"), killed=("totalkilledform57", "sum"), injured=("totalinjuredform57", "sum"))
print(per_year.loc[[1975, 1985, 1995, 2005, 2015, 2025]].to_string())
collisions killed injured
year
1975 12127 1017 4028
1985 7073 578 2493
1995 4649 581 1745
2005 3066 359 1056
2015 2080 287 1049
2025 2274 313 758
Collisions fell from 12,127 in 1975 to 2,080 in 2015, then levelled off; 2025 had 2,274. Deaths fell from 1,017 to 313 and injuries from 4,028 to 758. The steepest fall came in the first decade, as many of the crossings with the most collisions were closed or given gates.
Counting collisions by year
1. Two railroads, one collision
print(f"report keys used twice after dropping exact copies: {inc.reportkey.duplicated().sum()}")
print(f"crossing-and-date pairs with two reports or more: {(inc.dropna(subset=['gradecrossingid']).groupby(['date', 'gradecrossingid']).size() > 1).sum():,}")
report keys used twice after dropping exact copies: 11
crossing-and-date pairs with two reports or more: 2,906
Dropping exact copies still leaves 11 report keys used twice, with different details on each row. More important are the 2,906 cases where one crossing has two reports or more on the same date. Most are one collision reported by two railroads, the one operating the train and the one owning the track, each filing its own Form 57. This page counts reports, as the table is published. Counting each crossing and date once would lower every year a little, and lower the deaths too if both railroads reported the same victims, so state which you did when you quote a figure.
2. The year so far
print(inc[inc.year == 2026].groupby(inc.month.astype(int)).size().to_dict())
last = inc[inc.year == 2026].month.astype(int).max()
print(f"January-month {last}: 2025 {((inc.year == 2025) & (inc.month.astype(int) <= last)).sum():,}, 2026 {((inc.year == 2026) & (inc.month.astype(int) <= last)).sum():,}")
{1: 185, 2: 179, 3: 168, 4: 131, 5: 183, 6: 171, 7: 207}
January-month 7: 2025 1,304, 2026 1,224
The 2026 reports run only to July, and a railroad has until the end of the following month to file, so the last month is still filling in. Comparing like with like, January to July had 1,304 collisions in 2025 and 1,224 in 2026. Plot 2026 with a marker that says it is partial, or leave it out, rather than drawing a collapse that did not happen.
3. Deaths per collision
per_year = inc.groupby("year").agg(collisions=("reportkey", "size"), killed=("totalkilledform57", "sum"))
per_year["killed per 100"] = (100 * per_year.killed / per_year.collisions).round(1)
print(per_year.loc[[1975, 1985, 1995, 2005, 2015, 2025], ["killed per 100"]].T.to_string())
year 1975 1985 1995 2005 2015 2025
killed per 100 8.4 8.2 12.5 11.7 13.8 13.8
Deaths fell more slowly than collisions. A 1975 collision killed 8.4 people per hundred; one in 2015 or 2025 killed 13.8. Part of the change is in who is hit. The multi-vehicle collisions of the 1970s, at low speed in yards and towns, have been engineered away by gates and closures, while the collisions left include more people on foot, who rarely survive one.
Who is hit, year by year
The data used on this page
The Federal Railroad Administration (FRA) publishes the Highway-Rail Crossing Inventory (Form 71, one current record for every crossing that is or was in use) and the highway-rail grade crossing incident reports (Form 57, every collision a railroad has reported since 1975) on the Department of Transportation's open data portal. The copies used here were downloaded on 29 October 2026 and saved on this site, because both tables are updated every day; they keep the columns these pages use and leave out the narratives and the contact telephone numbers. Public domain. The setup drops exact duplicate rows.
from pathlib import Path
import zipfile
import pandas as pd
import requests
Path("data").mkdir(exist_ok=True)
# Federal Railroad Administration: the Highway-Rail Crossing Inventory (Form 71, the current record of every crossing,
# 47 of its 265 columns) and the highway-rail grade crossing incident reports (Form 57, 1975 on, 51 of 154 columns,
# without the narrative), with the Census Bureau's 2024 county estimates, counties and states.
# Saved 29 October 2026: both tables change every day.
# Live: https://data.transportation.gov/resource/m2f8-22s6.csv and https://data.transportation.gov/resource/7wn6-i5b9.csv
ARCHIVE = "fra-crossings-2026-10-29.zip"
if not Path(f"data/{ARCHIVE}").exists():
Path(f"data/{ARCHIVE}").write_bytes(requests.get(f"https://data.spatialworkflow.io/{ARCHIVE}", timeout=600).content)
Z = zipfile.ZipFile(f"data/{ARCHIVE}")
inc = pd.read_csv(Z.open("fra-crossing-incidents-2026-10-29.csv"), dtype={"gradecrossingid": str, "statecode": str, "countycode": str, "incidentnumber": str}, low_memory=False)
print(f"incident reports: {len(inc):,}, {inc.year.min()}-{inc.year.max()}; exact duplicate rows: {inc.duplicated().sum()}")
inc = inc.drop_duplicates()
incident reports: 251,533, 1975-2026; exact duplicate rows: 13
Example 1: pedestrians and vehicles
ped = inc[inc.highwayuser == "Pedestrian"].groupby("year").agg(collisions=("reportkey", "size"), killed=("totalkilledform57", "sum"))
share = (ped.killed / per_year.killed).round(3)
print(pd.DataFrame({"pedestrian collisions": ped.collisions, "pedestrians' share of deaths": share}).loc[[1975, 1995, 2015, 2025]].to_string())
pedestrian collisions pedestrians' share of deaths
year
1975 121 0.047
1995 74 0.081
2015 152 0.345
2025 192 0.409
Pedestrian collisions are not falling. There were 121 in 1975 and 192 in 2025, and pedestrians' share of the deaths rose from 4.7% to 40.9%. These are people hit at the crossing itself, not trespassers on the track between crossings, who are reported on a different form.
Example 2: trucks
trucks = inc[inc.highwayuser.isin(["Truck", "Truck-trailer"])].groupby("year").size()
print((trucks / per_year.collisions).round(3).loc[[1975, 1995, 2015, 2025]].to_dict())
{1975: 0.25, 1995: 0.365, 2015: 0.225, 2025: 0.246}
Trucks, with or without a trailer, were in 25.0% of collisions in 1975 and 24.6% in 2025; the share peaked at 36.5% in 1995. Trucks are long and slow to clear a crossing, so they matter more at crossings without gates.
Internal links
- Railroad crossings explained β public and private, at grade or not, and getting the data without code
- Collisions per crossing by state β ten years of collisions against the crossings in each state
- Going around the gates β what drivers did in collisions at gated crossings
- Fatal road crashes with FARS β the road side of the same deaths
- Reading the crossing inventory β the ids, codes and coordinates, and the rows to drop