Flight

How airport codes work (and why Toronto is YYZ)

Airport codes are three letters from IATA, but many hide old names and rules. IATA vs ICAO codes, why LAX has an X, why Newark is EWR and why Canada uses Y.

By Surya Narayanan · · 2 min read · How flying works

Airport codes are three-letter identifiers assigned by IATA, the International Air Transport Association, so that airlines, travel agents and baggage systems can name every airport unambiguously: LHR for London Heathrow, JFK for New York's Kennedy. Many are obvious abbreviations; others are fossils of old names, old rules and old radio stations.

IATA and ICAO codes

There are two systems. IATA codes, with three letters, are the ones on your ticket and bag tag. ICAO codes, with four letters and set by the International Civil Aviation Organization, are used by pilots and air traffic control, and the first letter or two show the region: Heathrow is EGLL, Kennedy is KJFK, Sydney is YSSY.

Why some codes look nothing like the city

CodeAirportWhy
LAXLos AngelesOriginally LA; an X was added when codes went to three letters
ORDChicago O'HareOrchard Field, the airport's name before it honoured Butch O'Hare
MCOOrlandoMcCoy Air Force Base, which the airport used to be
MSYNew OrleansMoisant Stock Yards, after the aviator John Moisant
YYZToronto PearsonY marks Canadian airports; YZ is usually traced to an old station code for Malton
EWRNewarkN codes are reserved for the US Navy, so Newark takes letters from inside its name
BNANashvilleBerry Field, Nashville: N was taken
PEK / PKXBeijingFrom the old spelling Peking; Daxing, the newer airport, is PKX

The reserved letters

In the United States, some first letters were set aside early on. Codes starting with K and W were kept for radio stations, N for the Navy, and Q for international telecommunications, which is why few American airports start with those letters, and why so many have creative codes instead.

Canada's Y

Nearly every major Canadian airport code starts with Y: YVR for Vancouver, YUL for Montréal, YYC for Calgary. The usual explanation is that Canada's early radio and weather stations used two-letter codes, and a Y was added to mark stations with an airport. The second and third letters often have nothing to do with the city's name.

Cities with many airports

Big cities often have a metropolitan code covering all their airports, handy for searching flights: LON for London's six, NYC for New York's three, PAR for Paris, TYO for Tokyo. Our nearest airport finder shows how many each city has within reach.

Find any code

The airport code lookup searches over 3,200 airports by city, name or code, with the time zone and local time there now. In Flight, every focus session flies between two of them, starting from the airport nearest you.

Questions

Who assigns airport codes?

The three-letter codes on tickets and bag tags are assigned by IATA, the International Air Transport Association. The four-letter codes pilots use come from ICAO, the International Civil Aviation Organization.

Why does Toronto's airport code start with Y?

Nearly all Canadian airport codes start with Y. The usual explanation is that Canada's early radio and weather stations used two-letter codes, and a Y was added for stations at airports; Pearson's YZ is commonly traced to the old station code for Malton.

Why is Los Angeles LAX?

It was originally LA, from a time when two-letter codes were used. When codes became three letters, an X was added as filler.

Can two airports have the same code?

No. Each IATA airport code is unique worldwide, although some codes also double as codes for railway stations or for all of a city's airports, like LON for London.

Try it with a free tool

Keep reading

  1. The longest flights in the world, by distanceThe longest nonstop flights cover over 14,000 km and last up to 19 hours. Ten of the longest routes of recent years, ranked by distance, and what makes them possible.
  2. How long are flights? 30 popular routes timedFlight times for 30 popular routes across the Atlantic, North America, Europe, Asia and long-haul, with distances and time differences, and why schedules vary.
  3. Why flying east is faster than flying westEastbound flights ride the jet stream; westbound ones fight it. How strong it is, how much time it can save, and why it isn't the Earth's spin.
  4. Why flight paths look curved on a mapPlanes fly great circles, the shortest paths on a sphere, which look curved on flat maps. Why, how much longer a 'straight' route would be, and why real tracks differ.