← All datasets

Border Crossings

US border crossings in one free CSV download from the Bureau of Transportation Statistics' Border Crossing Entry Data (public domain): monthly inbound crossings since 1996 for both land borders, every measure separated (trucks, buses, personal vehicles, pedestrians, trains, and the passenger counts for each), 5,917 border-measure-months summed across all 117 ports of entry, plus a port file with each crossing's state, record span, latest-full-year people total (pedestrians plus personal vehicle, bus, and train passengers), and inbound trucks. The shapes in the data: San Ysidro moved 33 million people in 2025, the busiest land crossing in the western hemisphere; Laredo moved 2.9 million trucks, the freight artery of North America; Mexico-border pedestrian traffic runs more than tenfold Canada's; and the April 2020 COVID closure cut Mexico-border car passengers by more than half and Canada-border traffic by over 90 percent in a single month, the sharpest cliff anywhere in the catalog. Joins the us-states topic on State and the TSA topic on month for the air-versus-land travel recovery comparison. Eight acceptance tests, one enforcing the 25 percent fill rule.
6,034 rows 2 joinable files last pulled 2026-11-21
Where would you start?
Pick a question, or ask your own and answer it; publish what you find as an insight. The same question can carry many insights from different angles.
  • Which ports recovered fastest from the 2020 closures?
  • How do truck and passenger trends diverge at the same ports?
  • Is northern or southern border traffic more seasonal?
Monthly by Measure 5,917 rows × 5 columns
BorderYearMonthMeasureCrossings
Ports 117 rows × 7 columns
PortStateBorderFirst_YearLatest_YearPeople_2025Trucks_2025

Questions and answers

What is the Border Crossings dataset?

US border crossings in one free CSV download from the Bureau of Transportation Statistics' Border Crossing Entry Data (public domain): monthly inbound crossings since 1996 for both land borders, every measure separated (trucks, buses, personal vehicles, pedestrians, trains, and the passenger counts for each), 5,917 border-measure-months summed across all 117 ports of entry, plus a port file with each crossing's state, record span, latest-full-year people total (pedestrians plus personal vehicle, bus, and train passengers), and inbound trucks. The shapes in the data: San Ysidro moved 33 million people in 2025, the busiest land crossing in the western hemisphere; Laredo moved 2.9 million trucks, the freight artery of North America; Mexico-border pedestrian traffic runs more than tenfold Canada's; and the April 2020 COVID closure cut Mexico-border car passengers by more than half and Canada-border traffic by over 90 percent in a single month, the sharpest cliff anywhere in the catalog. Joins the us-states topic on State and the TSA topic on month for the air-versus-land travel recovery comparison. Eight acceptance tests, one enforcing the 25 percent fill rule.

How big is the Border Crossings dataset?

6,034 rows across 2 joinable files, with 12 columns in total: Border, Year, Month, Measure, Crossings, Port, State, Border, First_Year, Latest_Year, People_2025, Trucks_2025.

Where does the data come from?

It is built by programmatically scraping bts.gov, last pulled on 2026-11-21. Datasets are versioned; older versions stay downloadable.

Is the dataset free to download?

Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.

Can I see the code that built this dataset?

Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.

How do the files join?

The monthly file is one row per border per measure per month; the ports file is one row per port of entry. Join on Border, or State to the us-states topic.

Can the data contain errors?

Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.

Browse every free dataset on CodeSights