Why Does a Boarding Pass Barcode Disappear When a Travel App Switches from Online to Offline Mode?
A barcode that shows on Wi-Fi and vanishes offline is usually an app cache or display problem, not a VPN problem. Here is how to find the cause and keep a backup that always opens.
11 min readUpdated Nov 27, 2026By XPASS Editorial Team

You check in at home with a strong connection and the boarding pass looks perfect, with its barcode right there. Then you reach the airport, the signal drops, the app announces that it is working offline, and the barcode is gone. A grey square, a spinning circle or a message about reconnecting has taken its place, just when the queue behind you is growing.
This is a common and stressful problem, and it usually has an ordinary explanation. This article is a troubleshooting guide for the case where a travel or airline app shows a barcode while online and loses it when it switches to offline mode. We look at why it happens, what to check on the phone, how to refresh the pass on a stable connection, how wallet passes and screenshots help, and what to do at the airline desk. We also stay honest about the role of a VPN: it is rarely the cause, and sometimes worth ruling out. If you are looking for preparation advice before a trip, the guide on keeping travel documents on your phone safely is a good companion to this one.
What the app is doing when it goes offline
To fix the disappearing barcode, it helps to understand how a travel app handles a boarding pass. There are usually two quite different ways it can work.
In the first, the app stores the whole pass on your phone when you open it. The barcode is generated or saved locally, so it is available whether or not there is a signal. In the second, the app stores only the details of the booking and fetches the barcode from the airline's server each time you open the pass. In this case the barcode is a live item, and without a connection the app has nothing to draw.
Many apps use a mix. They keep some parts, such as your name, flight number and seat, and keep other parts, such as the barcode image or the gate information, as items that need a refresh. If the barcode was never fully saved, offline mode simply cannot show it. That is why a pass can look complete at home on Wi-Fi and look empty in the terminal.
Several everyday events can change which of these situations you are in:
- The app was opened for the first time on the day of travel, so it had no time to save anything.
- The app was force-closed or restarted, which can discard items it held only in memory.
- The phone cleared the app cache because storage was low.
- A battery saver stopped the app from refreshing in the background.
- The airline updated the pass, for example after a gate or seat change, and the old barcode was replaced with a new one that has not been downloaded yet.
None of these has anything to do with a VPN. They are about what is stored on the phone and when.

Quick checks in the first minute
When the barcode is missing and there is a queue, you do not want to read a long article. Use this short sequence.
- Look at the pass for a status line. Words such as "last updated", "offline" or "tap to refresh" tell you what the app thinks is happening.
- Switch the connection on if you can. Join the airport Wi-Fi or turn mobile data on, wait a few seconds and pull down to refresh the pass.
- Raise the screen brightness to maximum and turn off any low-power mode for now.
- Open the pass from the booking list instead of the home screen widget, in case the widget is showing a cached summary.
- If the airline gave you a wallet pass, a screenshot or an email attachment, open that instead.
- If nothing appears within a minute or two, step out of the queue and go to the airline desk or a kiosk. A calm conversation there is faster than repeated tapping.
The idea is to separate "the barcode is missing" from "the barcode is there but cannot be scanned". They need different fixes, and the next sections cover both.
Refresh and re-download on a stable connection
The most reliable fix is to let the app finish downloading the pass while your connection is steady. Airport Wi-Fi is often crowded, and mobile signal inside a terminal can be weak, so the best place to do this is somewhere calm: your hotel, a quiet seat, or home before you leave.
A simple routine:
- Make sure you are on a connection that loads other pages without delay. Open a website or send a message to test.
- Open the official airline or travel app. Check that you are signed in with the same account that holds the booking.
- Open the booking, then the boarding pass. Pull down to refresh or look for a button to refresh or download the pass.
- Wait for the barcode to appear completely. Do not leave the screen while it is still loading.
- Switch on airplane mode, then reopen the pass from the app. If the barcode still shows, the pass is stored on the phone.
- If the barcode disappears, switch airplane mode off, reconnect and try again. If it keeps vanishing, the app is not saving it, and you should use a backup method.
This airplane-mode test is the most useful single check in the article. It reproduces the offline situation on purpose, in a place where you can still fix it. Do it the evening before you fly and again after any gate or seat update.
If the app offers a setting such as "save for offline use", "download boarding pass" or "add to wallet", use it. Wording differs between apps and versions, so look in the pass screen and the app settings. Do not guess at labels; follow what your app actually shows.
Updates and reissued passes
If the airline changes your gate, seat or boarding group, the pass may be reissued. The old barcode in your cache may no longer be valid, and the app may hide it until it can download the new one. If you receive a notification about a change, open the app on a good connection and refresh. Look at the details on the pass, not only the barcode, and ask staff if anything looks different from your booking.
The app cache and the phone's background rules
If the barcode vanishes only offline, a cache or storage problem is a likely cause. Phones try to keep storage free and battery use low, and they sometimes do so by removing or freezing what apps have saved.
Things worth checking, with wording that varies by phone and version:
- Free storage. If the phone is almost full, it may remove cached data without warning. Clear some space, then re-download the pass.
- Battery or power saving mode. This can stop an app from refreshing or from running in the background. Try turning it off before you travel, and remember that the app may need permission to run in the background.
- Data saver. A setting that restricts data may stop the app from downloading the barcode image even when you are on a network.
- Clearing the cache. Clearing an app cache or "offloading" an app can remove saved passes. Do not do this just before a flight unless you are on a good connection and can re-download everything.
- App updates. A new version sometimes resets what was saved. Update the app a day or two before travel, not at the gate.
- Signed-out sessions. If the app signed you out, it may hide saved passes until you log in again, which needs a connection.
If you suspect the cache, the safest order is: connect to a stable network, sign in, refresh the pass, run the airplane-mode test, and then add the backups described below. Reinstalling the app is a last resort because it may remove saved data and require a new login and perhaps a code sent to your phone or email.
Screen brightness, refresh and scanner problems
Sometimes the barcode is there but the screen makes it unreadable, and the phone looks as if it has lost it. A scanner needs a clear, high-contrast image, and several display issues can interfere.
- Low brightness. Many phones dim the screen to save battery, and some apps raise brightness for the pass screen while others do not. Turn brightness up manually and disable auto-dim for now.
- Screen timeout. A short timeout can lock the phone just as the scanner reaches you. Extend it temporarily.
- Reflections and glare. Bright terminal lighting can wash out the screen. Tilt the phone slightly or shade it with your hand.
- Screen protectors and dirty glass. A scratched film or a fingerprint smear can break up the pattern. Wipe the screen with a clean cloth.
- Refresh rate and power modes. Some phones lower the screen refresh rate in a low-power mode, which can make a moving or animated element flicker. Turning off power saving usually steadies it.
- Dark mode and colour filters. A strong colour filter or inverted colours can change the contrast of the barcode. Switch these off when you show the pass.
- Zoom and layout. If the barcode is cut off because of a large text or display-size setting, it will not scan. Reduce the font size or reopen the pass.
If the scanner still fails, do not keep waving the phone. Show the code number or the booking reference to the agent and ask them to look it up manually. That is a normal request.
Wallet passes and screenshot backups
The best protection against a missing barcode is to have more than one way to show it. None of the backups is perfect, but together they cover most failures.
| Backup | Works offline | Strength | Weak point |
|---|---|---|---|
| Live app pass | Only if saved | Always up to date | Needs the cache and sometimes a signal |
| Wallet pass | Usually | Opens quickly, often from the lock screen | Not offered by every airline, and may need a manual update after changes |
| Screenshot | Yes | Needs no app or network | Can become out of date and may not be accepted everywhere |
| PDF or email attachment | Yes, if downloaded | Easy to print | Needs to be downloaded first, and the barcode must be complete |
| Printed pass | Yes | Needs no battery or signal | Needs a printer, and some airlines charge at the airport |
When you take a screenshot, check the details:
- Capture the whole barcode, with its quiet border, and not a cropped version.
- Zoom in on the picture and check it is sharp, not blurred by a notification or a motion.
- Make sure it shows the flight number, date and your name so staff can match it to your passport.
- Save it somewhere that opens without internet, such as the phone's photo library, and keep a copy in a favourites or recent album.
- Remember that a screenshot may expire in practice if the airline reissues the pass.
Take care with privacy. A boarding pass contains your name, your booking and a barcode that can reveal details, so do not post it on social media and do not leave it in a shared photo album or a shared cloud folder. The guide on preparing offline boarding passes covers this in more depth.
Whether a screenshot or wallet pass is accepted depends on the airline, the airport and the checkpoint. Some accept any readable barcode, others need the live pass or a printed one. Check the airline's own guidance for your route instead of relying on rumour.
Where a VPN fits, and where it does not
It is natural to wonder if your VPN removed the barcode. In most cases it did not. A VPN sends your internet traffic through an encrypted tunnel to a server; it does not delete files, clear app caches or change what an app has saved. If the barcode disappears when you have no signal at all, the VPN is not the reason, because offline mode does not use the network. For the basics of what a VPN does, see the Cloudflare explainer.
A VPN can, however, play a small part in a few situations while you are online:
- A reload can be slower, because traffic takes a longer route, so the barcode may take a moment to appear.
- Some airline apps and websites show an extra check or an error when they see traffic from an unexpected place. If the pass fails to download only with the VPN on, try again with it off while you are on a network you trust, or choose a location near you.
- If the VPN drops and reconnects while the app is downloading, the download may stall. Wait for the VPN to show connected, then refresh.
- Captive portals on airport Wi-Fi can interfere with the VPN, and with the app, until you finish the sign-in page. See using a VPN on airport Wi-Fi and, for sign-in loops, re-login after connecting a VPN.
A fair test is simple. With a stable connection, turn the VPN off, refresh the pass and run the airplane-mode test. Then turn the VPN back on and repeat. If the barcode behaves the same way in both cases, the VPN is not involved, and you should focus on the cache, the wallet pass and the backups. When you are on public Wi-Fi that you do not trust, turn the VPN back on once the pass is saved, because the saved pass does not need the network and the VPN protects your other traffic.

A plain example
Mai flies home from a city break. At the hotel she checks in with the airline app and sees her boarding pass with a barcode. At the airport she opens the app in the departure hall, where the signal is poor, and sees a grey square where the barcode was.
She follows the steps in order. The pass screen says "tap to refresh", so she joins the airport Wi-Fi, which takes a few seconds, and pulls down. Nothing loads. She remembers she had saved a screenshot the night before, opens it, and finds the barcode complete and sharp. She raises the brightness and shows it at the bag drop, where it scans.
Later, in a quiet seat, she reconnects, refreshes the live pass and turns on airplane mode as a test. The barcode stays this time, so the pass is now stored. She also adds the wallet pass the airline offers. Her VPN was on throughout; when she turned it off and on again, nothing changed, which told her the VPN was not the cause. The real cause was that she had opened the pass only once, on the day, and the app had not saved the barcode before she lost signal.
When to go to the airline desk
Do not spend the whole queue time fighting the phone. Go to the desk or a kiosk if:
- the barcode is missing and a refresh does not restore it within a couple of minutes;
- the app asks you to sign in and you cannot receive the verification code;
- the pass shows a different seat, gate or name from your booking;
- the scanner rejects both the live pass and the screenshot;
- the app says the booking cannot be found, or the flight is not available.
Bring your passport, your booking reference and any confirmation email. Use only the official desk or the airline's own channels, not someone who approaches you in the terminal offering help or a link. Scams around flights exist, and the guide on airline app check-in problems abroad explains how to spot them and what to do when check-in itself fails.
Note that rules vary. Some airports or airlines need a printed pass for certain routes or checks, and a few charge a fee for printing at the desk. Read the confirmation email in advance, so a request at the airport is no surprise.
Limits and what to watch for
No set of steps can guarantee that a barcode will show on every device. Honest limits include:
- Some apps simply do not store the barcode offline. If the airline offers a wallet pass, it is often the more reliable choice, but it is not available for every airline.
- A screenshot or wallet pass might become outdated after a gate or seat change, and may not be accepted at every checkpoint.
- A VPN does not make an app more reliable offline. It also cannot repair a missing cache.
- Public Wi-Fi in airports can be slow or blocked until you accept a terms page. The FTC advice on public Wi-Fi is worth reading for the safe use of such networks.
- Never trust links sent by strangers to "fix" your boarding pass. Open the official app yourself.
- A barcode contains personal data. Share it with staff only, and not with unknown people or in public posts.
Before you leave for the airport, a short checklist can save a lot of stress: update the app a day early, refresh the pass on a stable connection, run the airplane-mode test, add the wallet pass if offered, take a clean screenshot, keep brightness high, charge the phone, carry a power bank, and have the booking reference written down or printed.
Summary
A boarding pass barcode that disappears when a travel app goes offline is usually a saving and display problem, not a VPN problem. Find out whether the app really stored the pass by refreshing it on a stable connection and running an airplane-mode test. Check the cache, storage, power-saving and brightness settings, and keep a wallet pass and a clean screenshot as backups. Turn the VPN off briefly only to rule it out, and go to the airline desk when the phone cannot solve it. If you want a tool for protecting your other traffic on airport networks, you can look at the passes on the XPASS pricing page.
Frequently asked questions
Why does my boarding pass barcode disappear when I go offline?
Most often the app showed the barcode by loading it from the airline's server, and only part of the pass was saved on your phone. When the connection drops, the app has no saved barcode to draw and shows a blank box, a spinner or an error. A cleared cache, a restarted app or a battery saver that limits background activity can also remove what was stored.
Is my VPN making the barcode vanish?
Usually not. A barcode is just an image or a data string, and a VPN does not remove it. A VPN can, at most, make a reload slower or trigger an extra check on some airline services while you are online. If the barcode vanishes only when there is no signal at all, the VPN is not the reason. You can turn the VPN off briefly to rule it out while you have a stable connection.
How do I get the barcode back?
While you are on a stable connection, open the booking in the official airline app, refresh or download the boarding pass again, and check that the barcode shows with the network switched off. If the airline offers a wallet pass, add it. Also keep a screenshot as a backup. If nothing works, go to the airline desk or a kiosk with your passport and booking reference.
Is a screenshot of my boarding pass accepted?
It depends on the airline, the airport and the security checkpoint. Some accept it if the barcode is complete and readable, others require the live app pass, a wallet pass or a printed pass. Treat a screenshot as a backup, not as a replacement, and check the airline's guidance for your route.
Could screen brightness really hide a barcode?
Yes, it can make a correct barcode hard to scan. A dim screen, an anti-glare filter, a protective film or a screen that dims itself to save battery can all make the scanner fail even though the barcode is on the screen. Raise the brightness, clean the screen and hold the phone steady.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Troubleshooting
Airline App Check-In Problems Abroad
When online or app check-in fails far from home, the cause is usually simple: a closed window, a mismatched passport detail, an old app or a captive Wi-Fi page. Here is how to work through it calmly.
10 min read

VPN Security
Keeping Travel Documents on Your Phone Safely
A practical guide to storing copies of your passport, visa, tickets, insurance and hotel bookings on your phone without leaving them open to thieves, fraudsters or careless sharing.
10 min read

Privacy Guides
VPN on Airport Wi-Fi: Security Tips
A traveller's guide to airport Wi-Fi: fake hotspots, the sign-in page, charging kiosks, and when to connect the VPN, with a checklist for each stage of a journey.
10 min read