How to set up a VPN on Android

Set up a VPN on any Android phone or tablet, then use Always-on VPN so your traffic never leaves the tunnel. Menu names can vary slightly by manufacturer.

Before you start

  • An account with a VPN provider you trust
  • A screen lock (PIN, pattern or password); Android requires one for some VPN types
  • For the manual method: IKEv2 server and sign-in details from your provider
  • Current system updates from Settings → System

Not sure which provider to use yet? Start with how to choose a trustworthy VPN.

Where to find VPN settings on Android
  1. Settings
  2. Network & internet
  3. VPN

Samsung Galaxy: the path is Settings → Connections → More connection settings → VPN.

Set up a VPN on Android with your provider's app

The provider's app is the easiest option and usually includes a kill switch, DNS leak protection and modern protocols such as WireGuard.

Two Android screens: the VPN list with a VPN app and its gear icon, and the app's VPN options with Always-on VPN and Block connections without VPN turned on
Illustration: Settings → Network & internet → VPN, then the gear icon next to your VPN app. Menu names and layout may differ slightly on your device.
  1. Get the official app

    Open Google Play, search for your provider and check that the developer name matches before adding the app.

  2. Sign in

    Open the app and sign in.

  3. Approve the connection request

    The first time you connect, Android shows a Connection request. Tap OK to let the app create a VPN.

  4. Connect

    Tap Connect. A key icon in the status bar shows the VPN is active.

  5. Turn on Always-on VPN

    Open Settings → Network & internet → VPN, tap the gear next to your VPN app and enable Always-on VPN and Block connections without VPN. This works as a system-level kill switch.

Set up a VPN manually in Android settings

Android 12 and later include a built-in client for IKEv2/IPSec only; older PPTP and L2TP options were removed.

  1. Open VPN settings

    Go to Settings → Network & internet → VPN and tap + or Add VPN.

  2. Enter the details

    • Name: any name
    • Type: IKEv2/IPSec MSCHAPv2, PSK or RSA, as your provider specifies
    • Server address, IPSec identifier and certificate or key: from your provider
    • Username and Password
  3. Save and connect

    Tap Save, then tap the new VPN and Connect.

How to check the VPN is working on Android

  1. Look for the key icon

    A key symbol in the status bar means a VPN is active. Pull down Quick Settings to see which app is connected.

  2. Check the IP address

    Compare the IP address in your provider's app before and after connecting.

  3. Check Private DNS

    Go to Settings → Network & internet → Private DNS. If set to a custom provider, DNS may bypass your VPN; choose Automatic or Off unless your VPN provider says otherwise.

For a complete set of leak tests, see how to check if your VPN is working.

Recommended Android VPN settings

SettingWhere to find itWhy it matters
Always-on VPNSettings → Network & internet → VPN → gear iconKeeps the VPN running at all times.
Block connections without VPNSame screen as Always-on VPNActs as a kill switch for all apps.
Battery: UnrestrictedSettings → Apps → your VPN app → BatteryStops Android from closing the VPN in the background.
Private DNSSettings → Network & internet → Private DNSAvoids DNS requests going around the VPN.

Fixing common Android VPN problems

ProblemWhat to try
The VPN turns off on its ownSet the VPN app's battery usage to Unrestricted and enable Always-on VPN.
No internet with “Block connections without VPN”That is the kill switch working: the VPN is not connected. Open the app and reconnect, or try another server.
The VPN option is greyed outA work profile or device management policy may restrict VPNs. Check with the device administrator.
Some apps do not loadUse split tunneling in your provider's app to exclude that app, or try another server.

Android VPN questions

Does Android have a built-in VPN?

Android includes a built-in client for IKEv2/IPSec connections, but no VPN service. Most people use their provider's app from Google Play.

What does the key icon mean?

It means a VPN connection is active on your device.

Should I use Always-on VPN?

Yes, together with Block connections without VPN. It keeps your traffic protected even after a restart or network change.

Sources and official documentation

If your screen differs from our description, the official documentation takes precedence.

Ready to protect your connection?

Follow our step-by-step guide to choose a trustworthy provider, set up your device and confirm that your VPN is working.

GET VPN