Why Does Android Show a Key Icon When the VPN App Is Closed?
The key icon in the Android status bar belongs to the system, not to the app window. Learn why it can stay after you close the app and how to check what is running.
10 min readUpdated Nov 8, 2026By XPASS Editorial Team
You open your phone, the VPN app is nowhere on screen, you have swiped it away from recent apps, and yet a small key icon sits in the status bar. It is easy to wonder whether the VPN is still running, whether something is wrong, or whether another app is quietly using your connection. In most cases the explanation is simple: the key icon belongs to Android, not to the app window, and closing a window is not the same as ending a connection.
This article explains what the icon actually represents, why it can outlive the app screen, how to check what is behind it in under a minute, and how to turn the VPN off cleanly when you want to. It also covers the cases where the icon points to something unexpected and the limits of what the icon can tell you. If you want the wider picture of what a VPN app is allowed to do on Android, the guide to Android VPN permissions is a useful companion.
What the key icon actually means
The key icon is a system indicator. Android shows it while a VPN connection is active on the phone, regardless of which app created it. The app does not draw it and cannot hide it, which is deliberate: the system wants you to be able to tell, at a glance, that your network traffic is being routed through a VPN connection.
That has two consequences worth remembering.
- It tracks the connection, not the app screen. An Android VPN app is built from two parts: the screen you see, and a background service that holds the tunnel open. Closing the screen only closes the first part.
- It is a status light, not a quality meter. The icon tells you a VPN connection exists. It does not tell you the connection is fast, stable, leak-free or covering every app.
The exact look differs by phone. Some show a small key, some show a key inside a shield or a simple VPN label, and the position in the status bar varies. The wording and layout depend on the Android version and the manufacturer, so treat the descriptions here as typical rather than exact. Android's own help page on connecting to a VPN describes the status indicator in the system's wording.
Why the icon stays after you close the app
There are several ordinary reasons, and most are harmless.
The window closed, the service did not
Swiping an app out of the recent apps list removes its screen. The VPN service is a separate part of the app, and Android is designed to let such a service keep running so your connection does not drop every time you leave the app. Because the service is still holding the VPN open, Android keeps showing the key. This is by far the most common cause, and it is the intended behaviour rather than a fault.
Many phones also show a persistent notification for the running VPN. If you pull down the notification shade you will often find an entry that names the app and may offer a disconnect action. That notification is the quickest clue that the service is still active.
Always-on VPN is turned on
Android has a setting often called Always-on VPN. When it is enabled for an app, the system starts that VPN automatically, restarts it after a reboot and may restart it if it stops. In that situation, closing the app or even disconnecting inside it may not behave the way you expect, because the system is the one keeping it alive. Some phones also offer a companion option that blocks connections made without the VPN, which can make a stalled VPN look like a dead internet connection. The article on Android Always-on VPN walks through both options.
The connection is reconnecting
If the VPN lost its link, for example when you moved from Wi-Fi to mobile data, the app may be trying to rebuild the tunnel. During that period the key icon can stay visible even though no traffic is flowing properly. This is one of the reasons the icon alone is not proof of a working connection. If the VPN keeps dropping, see why an Android VPN keeps disconnecting.
A different VPN is running
The icon appears for any VPN, not just the one you were thinking about. Another VPN app you tried earlier, a company or school profile, a security suite with a built-in VPN feature or a parental control tool could be responsible. If you closed one VPN app and the icon remains, a second source is a realistic possibility.
The icon is stale
Occasionally the system shows a status that has not caught up with reality, for instance after an app crashed or was force-stopped at a bad moment. The connection is already gone, but the indicator lingers. Toggling airplane mode for a few seconds or restarting the phone usually clears it.
How to check whether the VPN is really on
Do these checks in order. They take under a minute and tell you what is happening without guessing.
- Pull down the notification shade. Look for an entry from a VPN app, or a system line saying a VPN is active. Tap it if the phone offers a disconnect action.
- Open the VPN app. Its main screen should show connected or disconnected. Remember that the app's screen reflects its own state, so compare it with the next step.
- Open the phone's VPN settings. On many phones this is under Settings, then Network and internet, then VPN. The names vary between versions and makers. Look for the list of VPN entries and which one, if any, says connected.
- Check for a gear icon next to each entry. It usually opens options such as Always-on VPN and a switch to block connections without the VPN.
- Check your public IP address. Visit a plain "what is my IP" page in your browser, once with the VPN connected and once after disconnecting. If the address changes, the VPN was carrying your traffic. If it does not change, the icon may be stale or the VPN may only cover some apps.
A short example helps. Suppose you used a VPN on a cafe's Wi-Fi, finished your browsing, opened the recent apps view and swiped the VPN app away. The key is still there. You pull down the shade and see a line reading something like "VPN is active". You tap the disconnect action, the line disappears and the key goes with it. Nothing was wrong: the service was simply still running, which is what you asked it to do when you connected.
A quick reading guide
| What you see | Most likely meaning | Next step |
|---|---|---|
| Key icon, app screen closed, notification from the VPN app | Service still running normally | Disconnect from the notification or the app |
| Key icon, VPN settings show one entry as connected | The listed VPN is active | Disconnect it there |
| Key icon returns after you disconnect | Always-on VPN or another app restarts it | Review Always-on settings and other VPN entries |
| Key icon, but pages will not load | Tunnel stalled or reconnecting | Reconnect, switch network, then see the disconnects guide |
| Key icon, VPN settings show nothing connected | Stale indicator | Toggle airplane mode, then restart if it remains |
How to turn the VPN off properly
A clean disconnect is better than force-closing. It lets the app tear down the tunnel and lets Android remove the indicator.
- Open the VPN app and use its disconnect control. Wording and layout differ by app, so look for the main connect or disconnect button.
- Wait a few seconds and check that the key icon has gone from the status bar.
- If it has not, open Settings, then Network and internet, then VPN (names vary), and tap the entry for the app. Use the disconnect option if shown.
- If the entry reconnects by itself, tap the gear icon and turn off Always-on VPN for that app, if you no longer want that behaviour.
- If nothing helps, force-stop the app from its App info page, or restart the phone.
For a device-agnostic summary of the steps across phones and computers, see how to turn off a VPN on any device. If you use XPASS, you connect through VPNclient, the free app from the VPN supplier, and the same logic applies: disconnect in the app first, and use the Android VPN settings if the icon does not clear.
A word of caution on force-stopping. It can end the connection abruptly, and on some phones it leaves the app unable to reconnect until you open it again. It is a fallback, not a routine. Also avoid removing the VPN entry from Android's settings unless you intend to set the connection up again, because the system will ask you to approve the connection request the next time you connect.
When the icon points to something unexpected
Sometimes the check reveals a VPN you did not start. Do not panic, but do look.
- Unknown app name. If the VPN settings list an app you do not recognise, find it in Settings, then Apps, and see where it came from. Remove it if you did not install it on purpose.
- Work or school profile. Managed profiles can run their own VPN. The article on Android work profile VPN explains why a separate key can appear and why you may not be able to remove it yourself.
- A forgotten trial. Older apps from a previous test can sit in the list with Always-on turned on. Delete the entry and uninstall the app if you do not need it.
- A security or cleaner app. Some tools include a VPN feature for web filtering or scanning. These are legitimate when you installed and approved them, but you should know they are there.
In every case, the VPN permission you granted is the thing to review. The system prompt that you accepted when you first connected gives that app a central role in your network traffic, so it is worth keeping only the VPN entries you recognise and trust. The permissions guide linked above covers what that grant means.
Limits: what the key icon cannot tell you
It is tempting to treat the key as a guarantee, so here is what it does not prove.
- It does not prove protection. A visible key does not mean every app is routed through the tunnel, that DNS is handled the way you expect or that nothing is leaking. Some apps or settings can be excluded, for instance through split tunnelling, and some configurations differ by network.
- It does not prove anonymity. A VPN changes the route and the visible IP address of your traffic. It does not make you anonymous, and sites can still identify you through logins, cookies and other signals.
- Its absence does not always prove the VPN is off. On some phones the status area is crowded or the icon is hidden by custom settings. Use the VPN settings list as the source of truth.
- It says nothing about the supplier. The icon is the same whether the VPN is one you trust or one you installed by mistake, which is why the checks above matter.
If you want to confirm that a VPN is actually doing its job, compare your visible IP with and without it, and consider a basic leak check. The point is to verify instead of assuming. For background on what a VPN does and does not do, the Cloudflare explainer on what a VPN is and the EFF's Surveillance Self-Defense guides are good plain-language references.
Keeping the icon from confusing you again
A few habits make the status bar easier to read.
- Disconnect from the app when you finish, instead of only swiping it away.
- Know your settings. Decide whether you want Always-on VPN. If you do, expect the icon to be there most of the time and use the system settings, not the app, to switch it off.
- Keep the VPN list short. Remove entries and apps you no longer use.
- Glance at the notification. It is the fastest way to tell which app owns the connection.
- Treat a reappearing icon as a prompt to check, not a crisis. Most of the time it is a service, a setting or a stale status.
Summary
The Android key icon is a system status light that shows a VPN connection is active. It belongs to the connection, not to the app window, so closing or swiping away the app usually leaves it in place while the background service keeps running. Common causes are a service that is still running, Always-on VPN, a reconnecting tunnel, a second VPN source or a stale indicator. Pull down the notification shade, check the VPN list in settings, disconnect cleanly and review any entry you do not recognise. The icon shows that a connection exists, not that it is working, complete or anonymous. If you are weighing a prepaid way to use a VPN on Android without surprises, you can look at the options on the XPASS pricing page.
Frequently asked questions
Why is the key icon still there after I closed the VPN app?
The key icon is drawn by Android while a VPN connection is active. Closing the app window or swiping it away from recent apps usually removes the screen, not the connection. The VPN service can keep running in the background, so the system keeps showing the icon until the connection is actually disconnected.
Does the key icon mean my traffic is protected?
It means Android has an active VPN connection set up. It does not prove the connection is healthy, that every app is covered, or that you are anonymous. If the connection is stalled or reconnecting, the icon can still be visible.
How do I get rid of the key icon?
Open the VPN app and use its disconnect control, or go to the phone's VPN settings, which are usually under Network and internet, then VPN, and disconnect there. If the icon stays, check for Always-on VPN, another VPN app or a work profile, and restart the phone as a last step.
Is it a problem if the key icon appears while I am not using a VPN?
It is worth a quick check. A VPN may have been started by an app you forgot, by a work or school profile, or by an Always-on setting. Look at the list in the VPN settings and the notification that goes with it. If you do not recognise the entry, remove it.
Will force-stopping the VPN app remove the icon?
Usually it ends the connection and the icon goes away, but behaviour differs between Android versions and phone makers. A force stop can also leave the app unable to reconnect until it is opened again, so a normal disconnect is the cleaner choice.
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

Device Guides
Android Always-On VPN Explained
Android always on VPN keeps a VPN connected from boot and can block traffic when it drops. Learn how it works, where the switch is and what side effects to expect.
9 min read

Device Guides
Android VPN Permissions: What Are You Allowing?
What the Android VPN connection prompt really grants, which permissions a VPN app genuinely needs, which are red flags, and how to review them after install.
9 min read

Troubleshooting
VPN Keeps Disconnecting on Android: Causes and Fixes
A diagnosis-first guide to Android VPN drops: match when the disconnect happens to its likely cause, then apply the fix that fits.
9 min read