---
title: "US port code 0417: Logan Airport, Massachusetts · Adhoc"
description: "0417 is the US port of exit code for Logan Airport, Massachusetts on Canadian customs declarations."
canonical: "https://www.adhocs.ca/us-ports-of-exit/0417"
last_updated: 2026-07-27
---

# 0417 Logan Airport, Massachusetts US port of exit

US port of exit · Airport

0417 is the US code for the port of Logan Airport, Massachusetts. A Canadian declaration uses it when goods left the United States through Logan Airport.

- **Port code:** 0417
- **Port:** Logan Airport
- **State:** [Massachusetts](https://www.adhocs.ca/us-ports-of-exit/massachusetts)
- **CBP district:** Boston, MA
- **Kind:** Airport

## Other US ports in Massachusetts

- [0401](https://www.adhocs.ca/us-ports-of-exit/0401) Boston (Port of entry)
- [0402](https://www.adhocs.ca/us-ports-of-exit/0402) Springfield (Port of entry)
- [0403](https://www.adhocs.ca/us-ports-of-exit/0403) Worcester (Port of entry)
- [0404](https://www.adhocs.ca/us-ports-of-exit/0404) Gloucester (Port of entry)
- [0405](https://www.adhocs.ca/us-ports-of-exit/0405) New Bedford (Port of entry)
- [0406](https://www.adhocs.ca/us-ports-of-exit/0406) Plymouth (Port of entry)
- [0407](https://www.adhocs.ca/us-ports-of-exit/0407) Fall River (Port of entry)
- [0408](https://www.adhocs.ca/us-ports-of-exit/0408) Salem (Port of entry)
- [0416](https://www.adhocs.ca/us-ports-of-exit/0416) Lawrence (Port of entry)
- [0481](https://www.adhocs.ca/us-ports-of-exit/0481) L.G. Hanscom Field (Port of entry)

## Good to know

- **Same digits, two places.** As a CBSA office code, 0417 is Hamilton. As a US port of exit, it is Logan Airport, Massachusetts. The line on the form says which list it asks for.
- **Which US port.** CBSA defines it as the US port where the truck or train crosses into Canada, or the one nearest to where it crosses. For goods sent by ship or plane, it is the US port where they were loaded.
- **Courier shipments.** Low-value courier shipments name 1001, New York, as the US port of exit.

Also in this directory: [CBSA offices](https://www.adhocs.ca/cbsa-offices) · [Warehouse codes](https://www.adhocs.ca/cbsa-warehouses) · [Border crossings](https://www.adhocs.ca/border-crossings)

## Questions

### What is US port code 0417?

The code for the port of Logan Airport, Massachusetts. On a Canadian declaration, it says the goods left the United States through it.

### Is 0417 a CBSA office code too?

As a CBSA office code, 0417 is Hamilton. As a US port of exit, it is Logan Airport, Massachusetts. The line on the form says which list it asks for.

## Sources

- [Ports of entry](https://www.cbp.gov/contact/ports), U.S. Customs and Border Protection
- [Memorandum D17-1-10, Coding of Customs Accounting Documents](https://www.cbsa-asfc.gc.ca/publications/dm-md/d17/d17-1-10-eng.html), Canada Border Services Agency
- [Directory of CBSA offices and services](https://www.cbsa-asfc.gc.ca/do-rb/menu-eng.html), Canada Border Services Agency

Adhoc is not affiliated with CBSA or CBP.
