CBP Schedule D Port Codes — every U.S. port of entry

Every U.S. port of entry has a four-digit Schedule D code that U.S. Customs and Border Protection uses to identify it on entry documents. This directory lists all of them by customs district, with the port name as the Census Bureau publishes it and a link to the UN/LOCODE page where we have one.

432 ports of entry in 45 customs districts.

Port codes by customs district

The first two digits of a port code are its district. Codes are listed as the Census Bureau prints them; click any port for its page.

59 Norfolk/Mobile/Charleston

What a Schedule D port code is

Schedule D is the Census Bureau’s list of U.S. customs districts and ports. Each district has a two-digit code and each port of entry a four-digit code whose first two digits are its district: 3801 is Detroit in district 38, 5201 is Miami in district 52, 2704 is Los Angeles in district 27.

CBP uses the same four-digit code as the port code on Form 7501 (the entry summary), in ACE and AMS filings, and in the Importer Security Filing. Brokers, forwarders and self-filing importers look it up constantly, which is why the code appears in so many search queries on its own.

Schedule D code versus UN/LOCODE

A UN/LOCODE (USLAX, USNYC) is a five-character international place code used on carrier bookings and bills of lading. A Schedule D code (2704, 1001) is a U.S. customs identifier used on entry documents. They describe the same place from two directions and never substitute for each other: the carrier files under the UN/LOCODE, the broker enters the Schedule D code.

Where a port in this directory also has a UN/LOCODE reference page on this site, the two are linked both ways. Many Schedule D ports — airports, land border crossings, user-fee airports and inland ports — have no UN/LOCODE seaport entry at all.

Related tools

Schedule D FAQs

The Census Bureau’s April 2025 Schedule D list carries 431 ports of entry across 46 customs districts. This directory adds one CBP-published code the Census list omits (4601, New York/Newark Area), for 432 in total.

Port codes: Schedule D — District/Port List, Foreign Trade Division, U.S. Census Bureau, April 2025 — Census Schedule D list. Cross-checked for the ports with a UN/LOCODE page against CBP ACE M1 Import Manifest, Appendix E — Schedule D, U.S. CBP Port Codes, revised 2026-02-03.