Squawk Codes Explained

A squawk code is the 4-digit number a pilot dials into the transponder so air-traffic control can pick that aircraft out of the radar return. Here is what each code means, what 7500 / 7600 / 7700 trigger on the ground, and how Mode S quietly replaced the 4,096-code system that ran the world for 50 years.

๐Ÿ“ก See live squawks on the radar

What a squawk code actually is

A squawk code is a 4-digit octal number (each digit runs 0โ€“7, not 0โ€“9) entered into the aircraft's transponder. Four octal digits give 8 × 8 × 8 × 8 = 4,096 possible codes, from 0000 to 7777. The transponder broadcasts that code in reply to every interrogation pulse from a ground-based Secondary Surveillance Radar (SSR). On the controller's screen the code sits next to the radar blip โ€” that is how ATC matches a callsign to a target.

The word "squawk" comes from the World War II IFF (Identification Friend or Foe) system codenamed Parrot. Controllers still say "squawk 4521" to mean "set 4521 into your transponder".

How ATC assigns codes

Before pushback, the flight-plan system allocates each IFR flight a discrete code unique to that aircraft inside that sector. The pilot reads it back, sets it on the transponder, and keeps it until ATC reassigns. When the flight crosses into another country's airspace, the new controller may issue a fresh code so codes can be recycled.

VFR pilots not on a flight plan use a fixed "conspicuity" code instead โ€” see the reference table below.

The four interrogation modes

The three emergency codes

Three squawks are reserved worldwide. They light up the SSR display and alert the entire ATC sector instantly:

Emergency squawk reference

Default and conspicuity codes

If a pilot is not assigned a discrete code, regional defaults apply:

Pilots also use "squawk standby" (transponder transmitting nothing but Mode A presence), "squawk ident" (briefly flashes the blip on the controller's screen โ€” the pilot presses an IDENT button), and "squawk altitude" (engages Mode C reporting).

What happens when you squawk 7500

The SSR display turns the aircraft symbol red and overlays HIJK (or similar) next to it. The sector controller silently notifies the supervisor, who calls the national air-defence command โ€” NORAD in the US and Canada, CRC in NATO Europe. Two armed fighters typically scramble within minutes. The crew is never asked "are you OK?" on the radio because that question would tip off a hijacker that the code was deliberate. Famous incidents where 7500 came up include the four hijacked flights on 11 September 2001, though all four crews were unable to set the code before being overpowered.

The 4,096-code shortage problem

For most of the radar era, every aircraft in a sector had to have its own discrete Mode A code, and there are only 4,096 of them. Busy regions like the US Northeast or Western Europe routinely ran out. Controllers had to recycle codes aggressively across handoffs, and there was no easy way to tell two simultaneous targets apart if the SSR briefly lost return on one of them.

Mode S fixed this by giving every airframe a permanent 24-bit ICAO address โ€” 16.7 million unique IDs versus 4,096. The 4-digit squawk code is still used for the controller's eyeball ID (it is easier to read than a 6-character hex string), but underneath, Mode S selective interrogation can address any single airframe directly. That is also what lets flight trackers display both a callsign (e.g. DAL459) and a tail number (e.g. N123AA) on the same aircraft โ€” the Mode S Extended Squitter broadcasts both. Read more in our ADS-B explainer.

Recent incidents where the code mattered

In November 2023 an Avianca A320 inadvertently set 7500 for several minutes after a transponder mis-entry on departure from Bogotรก โ€” fighters were not scrambled but the crew was met by police on landing. In 2014 a Royal Jordanian Embraer squawked 7700 over the UK after a passenger medical emergency and was vectored direct to Heathrow with full priority handling. Both episodes show how the codes still function exactly as designed.

Want to hear squawks in action? Live ATC streams at LiveATC.net let you listen as controllers issue codes ("squawk 4521, contact Departure on 124.7"). Pair the audio with our radar to match each squawk to a moving blip overhead.