When I first arrived in Madrid, I kept seeing those three letters MAD on flight bookings and initially thought it was some kind of abbreviation. Later I learned this is the international code for Madrid’s airport. Today I’ll share some insights about this code along with practical information.
Origin of the MAD Code
Madrid’s main airport is called Aeropuerto Adolfo Suárez Madrid-Barajas, or Barajas Airport. The three-letter code MAD simply comes from the first three letters of Madrid—straightforward and simple. Every major airport worldwide has such a code, like Barcelona is BCN and Paris is CDG. This system was established by the International Air Transport Association and is primarily used for flight bookings, baggage handling, flight information displays, and similar scenarios.

Why Three-Letter Codes Are Necessary
Honestly, at first I thought why not just write the city name? Later I discovered that some cities have multiple airports—for instance, London has Heathrow, Gatwick, and several others—so codes allow precise differentiation. Moreover, in the global aviation system, using standardized codes is far more convenient than city names in various languages, otherwise spelling variations alone would create chaos.
Terminal Layout at Barajas Airport
Madrid Airport currently has four operational terminals: T1, T2, T3, and T4. Note that T4 is actually divided into T4 and T4S sections, connected by shuttle buses. Most European flights and budget airlines operate from T1 and T2, while Iberia and its partners primarily use T4. Confirming which terminal your flight uses in advance is crucial, as terminals are quite far apart and you’ll need sufficient time for connections.
| Terminal | Main Airlines | Features |
| T1/T2/T3 | Ryanair, easyJet, etc. | Budget airline hub |
| T4 | Iberia, British Airways, American Airlines | Oneworld Alliance |
| T4S | Long-haul intercontinental flights | T4 satellite terminal |
Transport from Airport to City Center
The most convenient way to reach the city center is via Metro Line 8, costing around 5 euros including airport supplement, taking approximately 30-40 minutes to Nuevos Ministerios station. If you have heavy luggage or arrive late at night, the Airport Express bus Exprés Aeropuerto is excellent—it operates 24/7 with direct service to Atocha train station and Cibeles Square. For taxis, there’s a fixed rate of 30 euros to the city center, which is quite reasonable when split among four people. You can also check out Madrid Airport for more transport options, or learn about routes from Madrid Airport to Plaza de España.
I hope this information helps those visiting Madrid for the first time. Remember the MAD code—you’ll use it for booking tickets and checking flight information. If you need to return a rental car at Madrid Airport or have other airport travel experiences or questions, feel free to share in the comments below.