Triplicate

Madagascar port codes (UN/LOCODE)

Every place in Madagascar that UN/LOCODE lists as a seaport, airport or inland container depot. All codes start with MG. Filter the list, then click a code to copy it into your invoice, shipping instruction or booking.

Country codeMG
Seaports31
Inland depots0
Airports63
ExampleMGANM · Antalaha

Download this list (CSV for Excel)

Click a code to copy it.

Seaports 31 codes

CodeNameRegion
Androka
Antalaha
Antsiranana
Barren Islands
Belo
Besalampy
Brickaville
EhoalaU
Farafangana
Fort Dauphin (Toalagnaro)
Hell-Ville
Mahanoro
Maintirano
Majunga (Mahajanga)
Manakara
Mananara
Mananjary
Manombo
Maroantsetra
Morombe
Morondava
Nosy-Be
Nosy-Varika
Port Saint Louis
Sambava
Soalala
Tamatave (Toamasina)
Toamasina
Tulear (Toliara)
Vatomandry
Vehiperro

Airports 63 codes

CodeNameRegion
Ambatolahy
Ambatomainty
Ambatondrazaka
Ambilobe
Ampanihy
Analalava
Andapa
Andriamena
Ankavandra
Ankazoabo
Ankokoambo
Ankorefo
Antalaha
Antananarivo
Antsalova
Antsirabe
Antsiranana
Antsohihy
Bealanana
Befandriana
Bekily
Belo
Beroroha
Besakoa
Besalampy
Betioky
Doany
Farafangana
Fianarantsoa
Fort Dauphin (Toalagnaro)
Ihosy
Ilaka
Madirovalo
Mahanoro
Maintirano
Majunga (Mahajanga)
Malaimbandy
Mampikony
Manakara
Mananara
Mananjary
Mandabe
Mandritsara
Manja
Maroantsetra
Miandrivazo
Morafenobe
Morombe
Morondava
Nosy-Be
Port Berge VaovaoM
Sainte Marie
Sambava
Soalala
Tamatave (Toamasina)
Tambohorano
Tanandava
Tsaratanana
Tsiroanomandidy
Tulear (Toliara)
Vangaindrano
Vatomandry
Vohemar

Source: UN/LOCODE 2025-1 (UNECE), public domain via the datasets/un-locode project. Names are shown as in UN/LOCODE, usually in the local spelling.

Port codes in other countries

Port code lookup (UN/LOCODE) →

Guides on this topic

What a UN/LOCODE is

UN/LOCODE is the United Nations code for trade and transport locations. It has 5 characters: the 2-letter country code and 3 characters for the place, for example KRPUS for Busan, Korea, and NLRTM for Rotterdam, the Netherlands.

Where you need port codes

Bookings, bills of lading, customs declarations and many invoices and shipping instructions use UN/LOCODEs for the port of loading and the port of discharge. Using the code avoids confusion between places with similar names.

Port, airport or inland depot?

A city can have several codes: a seaport, an airport or an inland container depot. Pick the one that matches your mode of transport; the type column shows what each code is used for.

Common questions

What is the UN/LOCODE country code for Madagascar?

MG. Every UN/LOCODE in Madagascar starts with MG, followed by 3 letters or digits for the place, for example MGANM for Antalaha.

Which code goes in the port of loading or port of discharge?

Use the code of the seaport where the cargo is loaded or discharged, as shown on the booking and the bill of lading. Some cities have separate codes for the port, the airport and inland depots: pick the one for your mode of transport and confirm it with your carrier or forwarder.

Why is a place missing or spelled differently?

This page lists only places that UN/LOCODE marks as a seaport, airport or inland depot, with the names as UN/LOCODE spells them (often the local spelling). Carriers sometimes still use older codes, so search the port code lookup for other spellings and confirm important codes with your carrier.

More free tools

Share with a colleagueWhatsAppLinkedInX

Triplicate is free and keeps getting better. Found it useful? Support Triplicate ♥