Skip to content

A VPN app that closes by itself is more than a nuisance. It leaves you wondering whether you are protected, whether the connection survived, and whether you should trust the app at all. The good news is that app crashes have a short list of causes, and most of them can be found and fixed on the device in front of you without any technical background.

This article takes the problem apart in a practical order. First, work out exactly what kind of failure you have, because "crashes" is used for several different things. Then check the cheap causes, such as out-of-date software and low memory, before moving on to cache, permissions and conflicts. There are separate sections for phones and for computers, a way to gather useful details for support, and a list of mistakes that waste time. If the app opens fine but cannot connect, the guide on VPN not connecting is the better starting point.

Describe the failure before you fix it

The word "crash" covers four different situations, and each one points somewhere else.

What you see What it is called Usual direction
The app disappears and you are back on the home screen or desktop Crash Bug, damaged data, low memory
The window stays open but nothing responds Freeze or hang Waiting on a network or system call
The app opens, shows the first screen, then closes after a second Crash on launch Damaged cache, incompatible version
The app works until you tap connect, then closes Crash on connect Permission, profile or system VPN slot

Take thirty seconds to note three more things:

  1. Does it happen every time or sometimes? Every time suggests damaged data or an incompatible version. Sometimes suggests memory pressure or a conflict with another app.
  2. When did it start? After an app update, a system update, a new app you installed or a change in settings?
  3. Does it happen on one network only? If the app freezes on one Wi-Fi network and not on mobile data, you may be dealing with a network wait, not a bug in the app.

Write these down. They guide every fix below, and they are exactly what support will ask for if you need to contact them.

Start with the simple causes

Before touching settings, rule out the three most common reasons.

An outdated app or system

Apps change continuously. If the app is several versions behind, or the operating system has moved on, the two can disagree. Open the store for your platform and check for an update. Do the same for the system itself. If you installed the app from a file rather than a store, replace it with the current version from the official links on the download page, since old copies do not update themselves.

Low memory and a full device

A phone with very little free memory closes apps in the background. A VPN app is a prime target, because it sits quietly while you use something else. Signs are crashes that happen when you switch back to the app, or when you have many apps open, or when you just recorded a long video. Close apps you are not using, restart the device and check that you have free storage. As a rough guide, keeping a few gigabytes of free space helps the system keep running smoothly.

A pending restart

Devices that have not been restarted for weeks accumulate odd states. After an update, some components only change after a restart. A simple restart fixes more crash reports than any setting. Do it before you do anything complicated.

Clear the app's data safely

If the app crashes as soon as it opens, its saved data may be damaged. Two levels of cleanup exist, and you should use the gentle one first.

Step 1: clear the cache. On Android, open Settings, Apps, choose the VPN app, Storage, and clear cache. The cache holds temporary files and is safe to remove. On a computer, closing the app fully and restarting it often rebuilds cache files.

Step 2: clear all data or reset the app. This removes saved settings and the stored sign-in. On Android, the option is next to Clear cache in the same storage screen. On iPhone and iPad there is no separate button for this, so the equivalent is deleting and reinstalling the app. You will sign in again afterwards, so have your VPN username and password ready. They are on your My Pass page and are described in where are my VPN login details.

Step 3: reinstall from the official source. Uninstall, restart the device, then install again from the store or from the links on the download page. Restarting between the two steps matters, because it clears leftovers the uninstall did not.

Reinstalling does not lose your pass or your account. Those exist on the provider's side, not in the app.

Permissions and the system VPN slot

Many "crash on connect" cases are really permission problems that the app handles badly. Every operating system treats a VPN as a special permission.

  • Android. The first time an app starts a VPN, the system shows a prompt asking you to allow the connection. If you dismissed it, or a system update reset it, the app may fail. Open the app, tap connect and accept the prompt. Android also lets only one VPN own the slot at a time, so another VPN app, or "always-on VPN" set for a different app, can interfere. Check Settings, Network and internet, VPN. Our guide on Android VPN permissions explains each prompt.
  • iPhone and iPad. The first connection adds a VPN configuration to the system and asks for permission, sometimes with your passcode. If that step was cancelled midway, the app may behave oddly. Remove the VPN configuration in the system settings and let the app add it again. The guide on troubleshooting a VPN on iPhone and iPad goes through this.
  • Windows. The app may need to install a virtual network adapter, which requires approval. If the approval prompt was missed or blocked, the app can close when it tries to use the adapter. Run the installer again and approve the prompts. See fixing common Windows VPN errors for related messages.
  • macOS. A system extension or network configuration needs your approval in System Settings, under Privacy and Security. If approval is pending, the app may quit. The guide for troubleshooting a VPN on a Mac shows the places to check.

On every system, wording and menu names differ between versions, so look for the nearest matching entry if yours is labelled a little differently.

Battery savers, background limits and conflicting apps

Modern phones aggressively manage power. A VPN has to run continuously, which makes it a candidate for being stopped by a power manager. Look for:

  • Battery optimisation or "adaptive battery" settings that restrict background activity for the app. Set the app to unrestricted or allow background activity.
  • Data saver modes that limit background data.
  • Manufacturer tools that clean memory automatically or "put apps to sleep".

Conflicts are the other family of causes. Programs that hook into network traffic can collide with a VPN client:

  • Another VPN or proxy app.
  • Ad blockers or firewall apps that use the system VPN slot to filter traffic. On a phone, those apps are themselves VPNs, so you cannot run both.
  • Security suites on a computer that inspect network traffic.
  • Screen recorders, overlays and accessibility tools that float above other apps, which rarely cause trouble but occasionally do.

To test for a conflict, turn off or uninstall one suspect at a time and see whether the crashes stop. Do not remove several at once, or you will not know which was responsible.

Checks specific to your device

Phone-specific checks

Phones add a few special situations.

  1. Low-power mode. Turn it off for a test. It can stop background tasks that the app needs.
  2. Beta system versions. Beta releases of the operating system can break apps that work on the stable version. If you run a beta, check whether the problem exists on a stable device.
  3. Storage almost full. Apps can crash when they cannot write their settings. Free some space.
  4. Date and time. Very wrong dates can break certificate checks and trigger odd behaviour. Set time to automatic.
  5. Network switching. If the app crashes when you move from Wi-Fi to mobile data, try turning Wi-Fi off before you connect, then back on once the VPN is up. The guide on reconnecting when a VPN disconnects covers moving between networks.

Computer-specific checks

On Windows and macOS, the picture differs a little.

  • Run as the right user. If the app was installed by one account and run by another, its permissions may not match. Reinstall while signed in as the account that will use it.
  • Look at the system log. On Windows, Event Viewer, under Windows Logs and Application, shows the entry created when an app crashes. On macOS, Console shows crash reports. You do not need to read them in detail, but the module name or error line is useful to give to support.
  • Update network drivers. On Windows, an out-of-date network adapter driver can make VPN software unstable. Update through Windows Update or the manufacturer.
  • Disable fast startup temporarily. On Windows, fast startup keeps a partial state across shutdowns. A full restart rather than shutdown helps clear it.
  • Check for security software. Some suites quarantine a component of a VPN client and cause an immediate close. If quarantine is the cause, restore the file or add an exception only if you trust the source, which means the official download.

What to do while the problem persists

A crash can leave you briefly unprotected, so think about what that means for the task you are doing.

  1. If you are on public Wi-Fi and the app has crashed, assume the VPN is off until you see the connected state again. Pause banking and other sensitive tasks.
  2. If your device has a system-level "always-on VPN" or "block connections without VPN" option, turn it on after the app is stable. Our article about the VPN kill switch explains what it does and what it cannot do.
  3. If the app keeps closing and you need a connection now, restart the device, open only the VPN app, connect, then open the others.
  4. Do not install unofficial copies from random sites to replace a crashing app. Those are a bigger risk than a brief crash.

Collect details for support

If the problem persists after a clean reinstall on a restarted device, it is worth contacting support. A good report is short and specific.

  • Device model and operating system version.
  • App version, from the app's About screen or the store page.
  • What you tapped immediately before the crash.
  • Whether it happens every time, and how often.
  • When it started and what changed (updates, new apps, new network).
  • Whether it happens on both Wi-Fi and mobile data.
  • A screenshot or a short screen recording, if possible.

Leave your password out. Support does not need it to look into a crash.

Common mistakes

  • Reinstalling over and over without restarting the device in between.
  • Clearing all data and then being unable to sign in because you did not know where the details were.
  • Leaving two VPN or filtering apps active together.
  • Ignoring low storage.
  • Installing an app file from an unofficial site because the store version crashes.
  • Treating a freeze as a crash, and force-closing the app while it is waiting for the network.
  • Trusting the connection after a crash without seeing the connected state again.

Summary

Describe the failure first: crash, freeze, crash on launch, or crash on connect. Then work from the cheapest fixes to the heaviest: restart, update, free memory, clear cache, grant permissions, check battery limits and conflicts, and finally a clean reinstall from an official source. Your pass and login details are not stored in the app, so reinstalling is safe. If the problem remains, gather the device, version and timing details for support.

When you want a pass you can test on a second device, you can compare options on the pricing page.

Frequently asked questions

What is the difference between a crash and a freeze?

A crash closes the app suddenly and returns you to the home screen or desktop. A freeze leaves the window open but unresponsive. Crashes often point to a bug, a damaged cache or memory pressure. Freezes more often come from the app waiting for a network or system call that never returns.

Will deleting and reinstalling the app lose my account?

No. Your VPN username and password live on your My Pass page, not inside the app. After reinstalling you sign in again with those details.

Why does the app only crash when I tap connect?

That is the moment the app asks the operating system to create the VPN connection. A missing permission, another VPN holding the slot, a damaged saved profile or a system-level problem can make that request fail hard.

Could a phone update be the cause?

Yes. A large system update can change permissions or behaviour that an older app relied on. Check for an app update first, and if none exists, a clean reinstall is the next step.

What should I send to support if it keeps happening?

Send the device model, operating system version, app version, what you tapped just before the crash, whether it happens every time, and the time it last happened. A screen recording or screenshot of the last screen helps. Never include your password.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

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 passes

Keep reading

Troubleshooting

How to Troubleshoot a VPN on Android

Work through the most common Android VPN problems in order, from an expired pass to battery settings, always-on VPN and network changes.

5 min read

Troubleshooting

How to Troubleshoot a VPN on iPhone and iPad

Step through the most common iPhone and iPad VPN problems in order, from an expired pass to low power mode, profile settings and network changes.

5 min read

Troubleshooting

How to Troubleshoot a VPN on Mac

Fix a VPN that will not connect or keeps disconnecting on a Mac, with checks ordered from the pass and login details to the app install, macOS security prompts, sleep settings and network changes.

7 min read

Troubleshooting

How to Fix Common Windows VPN Errors (809, 789, 691)

A step-by-step guide to the most common Windows VPN error codes: what they mean, the usual cause of each and the safest fix to try first.

7 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