What is UN/LOCODE? Port and trade location codes
Understand the structure of UN/LOCODE and how to interpret location codes in port and trade directories.

A port or trade location may have different spellings in different languages. UN/LOCODE, maintained through the United Nations Economic Commission for Europe (UNECE), provides a shared coding system for places associated with international trade and transport.
Reading the five characters
The first two characters represent an ISO country code. The following three represent the location within that country. A directory may display the two parts separated by a space for readability. Do not infer a port name from the characters without checking the actual entry.
Does every code identify a seaport?
No. The system also covers airports, inland transport hubs and other trade locations. The existence of a code does not mean that vessels can berth there. Check the location function and any available coordinates separately.
Reading directory records
Compare the country and place name first. Then examine function, status and the date of the data. Avoid merging similar names solely through text matching. A reference coordinate does not necessarily identify a berth, entrance channel or safe navigation point.
The MARIVECTA port library is a starting point for education and research. Verify official code entries through UNECE and operational port information through authorised sources.
Sources
UNECE — Executive Guide on UN/LOCODE:
https://unece.org/trade/documents/2023/10/executive-guide-unlocode
UNECE — UN/LOCODE portal:


