Back to articles

Published · November 18, 2026

Don't Post Your Boarding Pass: What the Barcode Reveals

The barcode on your boarding pass can hold your name and booking code. In reported cases, a photo of it was enough to open a reservation. Here is what to do instead.

Don't post a photo of your boarding pass, even for a holiday trip you're excited about. The barcode can carry your name and a booking code, and in reported cases that was enough to open the reservation behind it. That's the boarding pass barcode privacy problem in a sentence: the part that looks like decoration is a key.

What the barcode is

Most airlines follow the IATA bar-coded boarding pass standard, known as BCBP, which Wikipedia says is used by more than 200 airlines. Paper passes use a PDF417 barcode. Passes on your phone use Aztec code, Data Matrix or QR code, but they carry the same kind of data as the paper version.

That data identifies you, the flight, the date and the departure time. Wikipedia also notes that some airline barcodes can be read by phone apps to show names, dates of birth, origin and destination airports and the PNR, a 6-character booking reference. Your own scanner may show a similar jumble when a boarding pass barcode won't scan, so none of this is hidden magic. It's just text in a code.

The record locator problem

The booking reference, also called the record locator, works a bit like a temporary password. On many airline sites, that code plus your last name is the way into a reservation. The last name is in the barcode too.

In a case Brian Krebs reported in 2015, a reader noticed a friend had posted a boarding pass photo on Facebook. The reader decoded it, then used the record locator and last name on Lufthansa's website. He could see future flights tied to the friend's frequent flyer number, the friend's phone number and the name of the person who booked the trip. He could also change seats and cancel future flights, according to the report. Techlicious summarized the same risks, adding that public social profiles can help someone guess security questions.

There's a caveat. Commenters on the Krebs post said that in their tests the name and locator opened only the flights on the airline's site, not the whole miles account. How much a booking code opens depends on the airline.

The same report said United masks most of a Mileage Plus number in print, yet the full number is available if you decode the barcode. So the barcode can hold more than the printed pass shows.

Not a one-off

Krebs followed up in 2017. A researcher used a British Airways pass posted on Instagram to log in to the reservations page, where he could cancel future flights and view or edit passport details. Wikipedia also describes a 2020 case where a boarding pass photo on Instagram was enough to log in to Qantas's website.

These reports are from 2015 to 2020. Airlines may have changed their systems since, and we can't tell you how any one airline behaves today. The sensible reading is not "your airline is definitely open." It's "a photo of this code was enough often enough that you shouldn't gamble."

What to do instead

  • Don't post the pass. Share the window view, the lounge snack or the gate sign instead. Krebs's advice is to skip pictures of your boarding pass or anything else with a barcode in it.
  • If you must show it, cover the barcode and the booking code printed on the pass before you take the picture. Cropping alone isn't enough if the code appears twice.
  • Shred paper passes. Don't leave one in the airport trash or the seat-back pocket. Take it home and shred it. Krebs also suggests using a mobile pass so there is no paper to lose.
  • Check how you travel. If you're curious whether you need a code at the gate at all, read about whether you still need a boarding pass QR code at the gate. For your bags, a privacy-safe luggage tag avoids printing your phone number on the outside.

If you want a scanner that shows you what a code contains before you act on it, QRDock is on the App Store and Google Play. It has no ads and doesn't track you.

Bottom line

A boarding pass barcode is a key to your booking, not a decoration. Keep the photo of your trip to the view, and keep the pass itself off your feed.

Frequently Asked Questions

Is it safe to post a boarding pass photo if I blur the barcode?

Blurring or covering the barcode and the booking code printed on the pass removes the main risk. The reports describe the barcode and the booking reference as the pieces that could open a reservation, so hide both, or post the view from the window instead.

Does the barcode hold my passport number?

The sources don't say the barcode itself holds a passport number. They describe name, flight details, the booking reference and sometimes a frequent flyer number. In the reported cases, passport details were visible only after the booking reference and last name opened the airline's reservation page.

Should I shred a paper boarding pass after the flight?

Yes. Krebs advises taking the pass home and shredding it rather than leaving it in the trash or the seat-back pocket, and suggests a mobile pass as a way to avoid paper altogether.