Short answer: an IATA code has 3 letters (LHR) and is what travellers see on tickets and bag tags. An ICAO code has 4 letters (EGLL) and is what pilots and air traffic control use. Same airport, two codes for two jobs.
The two codes side by side
| IATA | ICAO | |
| Letters | 3 | 4 |
| Used by | Airlines, travel agencies, travellers | Pilots, air traffic control, flight plans |
| Seen on | Tickets, bookings, bag tags | Flight plans, weather reports, charts |
| Small airfields | Often no code | Usually have one |
| Built by region | No | Yes, the first letter is the region |
Examples
| Airport | IATA | ICAO |
|---|---|---|
| London Heathrow | LHR | EGLL |
| London Gatwick | LGW | EGKK |
| Dubai International | DXB | OMDB |
| Cairo International | CAI | HECA |
| New York JFK | JFK | KJFK |
Which one should you use?
- Selling tickets or showing flights to travellers: IATA. It is the code your clients know.
- Matching data with aviation systems such as flight tracking or weather: ICAO.
- Building a travel product: keep both, so one airport is never shown twice or confused with another.
The Airport Data API answers a search by IATA code, ICAO code, city or airport name, and returns both codes with the time zone and whether the airport has passenger flights.
✈️ Search airports by IATA or ICAOFrequently asked questions
What is the difference between IATA and ICAO codes?
IATA airport codes have 3 letters and are used on tickets, bookings and bag tags. ICAO airport codes have 4 letters and are used by pilots, air traffic control and flight plans.
Does every airport have both codes?
No. Many small airfields and private strips have an ICAO code but no IATA code, because they have no scheduled passenger flights.
What does the first letter of an ICAO code mean?
It shows the region. K is the contiguous United States (KJFK), E is northern Europe (EGLL), and O covers much of the Middle East (OMDB in Dubai).
What are city codes like LON or NYC?
They are IATA metropolitan codes that group the airports of one city. A search for LON covers Heathrow, Gatwick, Stansted and the other London airports.
Do airlines have IATA and ICAO codes too?
Yes. An airline has a 2-character IATA code, as in a flight number (BA 117), and a 3-letter ICAO code used by air traffic control (BAW).