Skip to content

Auto-connect a VPN on Android: on untrusted Wi-Fi, at startup or always

The right moment to connect a VPN is before you remember to. Android and PryVPN can do it for you: here are the three ways, and when each one fits.

PryVPN Team5 min readUpdated
Short answer

There are three ways: auto-connect on Wi-Fi you haven't trusted, auto-connect when the phone starts, and Android's Always-on VPN, which keeps the VPN connected all the time. In PryVPN the first two are in Settings › Auto-connect and Wi-Fi; Always-on is in Android's VPN settings.

How can a VPN connect automatically on Android?

In three ways: on any Wi-Fi you haven't marked as trusted, every time the phone starts, or all the time with Android's Always-on VPN. Auto-connect matters most on public Wi-Fi, where your phone often joins a known network before you have even unlocked it.

What it doesWhen it fits
On untrusted Wi-FiConnects on any Wi-Fi you haven't marked as trustedCafés, hotels, airports, work
When the phone startsConnects after every restartNot having to open the app
Always-on VPN (Android)Keeps the VPN connected and starts it again if it stopsProtection all the time

Auto-connect on untrusted Wi-Fi

  1. Open PryVPN and go to Settings › Auto-connect and Wi-Fi.
  2. Turn on On untrusted Wi-Fi.
  3. At home, tap Trust current network so PryVPN doesn't connect there by itself.
  4. To cover the rest too, turn on On mobile data or On other networks.

Android only tells apps the name of a Wi-Fi network if they have the location permission. PryVPN asks for it only when you add a trusted network, uses the name on your phone only and never reads your location.

Wi-Fi login pages

On hotel and airport Wi-Fi with a login page, PryVPN opens the page, waits while you sign in and then connects by itself.

Can a VPN connect by itself when the phone starts?

Yes. In PryVPN's Settings › Auto-connect and Wi-Fi, turn on When the phone starts, or When the app opens if you prefer to start it yourself. For a VPN that is on from the very first second, Android's own Always-on VPN is the more reliable choice, because the system itself starts it.

Always-on VPN and Block connections without VPN

  1. In PryVPN, open Settings › Kill Switch › Open VPN settings. You can also go to Android's Settings › Network & internet › VPN (on Samsung: Connections › More connection settings › VPN).
  2. Tap the gear next to PryVPN.
  3. Turn on Always-on VPN, and Block connections without VPN for a Kill Switch.

With both on, Android starts the VPN with the phone and blocks internet access for apps whenever the tunnel is down. Disconnecting then leaves you offline until you connect again or turn Always-on off.

If auto-connect doesn't start

  • Battery savers on Samsung, Xiaomi and other brands can stop apps in the background: Battery settings shows what to change on each brand.
  • Only one VPN can be active at a time, and another app with Always-on takes over: see Another VPN or a work profile.
  • If Android stops PryVPN, a notification lets you connect again with one tap.

Key takeaways

  • Auto-connect on untrusted Wi-Fi covers cafés, hotels and airports without a thought.
  • Mark your home network as trusted to keep it off there.
  • Always-on VPN with Block connections without VPN keeps everything inside the tunnel.
  • Battery savers are the usual reason auto-connect stops working.

Keep reading

For this situation

All help articles

Understand why

All privacy guides

From the blog

All blog articles

Close the gap on your phone

Pry VPN encrypts your connection on any network. Download the free Android app and install it in a minute.

Version 0.1.25.91.68545 · 28.2 MB · Android 8.0 or later

How to install it

  • Free, no card
  • No activity logs
  • WireGuard encryption
  • Signed by PryVPN
QR code that opens the PryVPN download page
On a computer? Scan this code with your phone to download it there.

Your download has started

Install Pry VPN in about a minute. Android asks only once.

  1. Wait for the download

    It takes a few seconds. You can follow it at the top of the screen.

  2. Keep the file

    If your browser warns that this type of file can be harmful, choose to download it anyway.

  3. Open it

    Tap the notification when the download ends, or open Files › Downloads and tap pryvpn-0.1.25.91.68545.apk.

  4. Allow the install

    Android asks once: tap Settings, turn on “Allow from this source” for your browser and go back.

  5. Install

    Tap Install. If Android shows a security notice, tap “More details”, then “Install anyway”.

  6. Open and connect

    Tap Open, create your free account and tap Connect.

All install steps and checksums