How to Set Up a VPN on Android

Android offers more VPN setup flexibility than any other mobile platform. You can use a provider's app from the Play Store, configure Android's built-in VPN client, import an .ovpn configuration file, or enable Always-on VPN so your traffic is never unprotected. This guide covers every method.

Method 1 - Play Store VPN App (Recommended)

StepActionWhere
1Open the Google Play Store and search for your VPN providerPlay Store › Search
2Install the official app (e.g., NordVPN or Surfshark) - Affiliate link - We may earn a commissionPlay Store
3Open the app and sign in to your accountVPN app
4Grant VPN permission when Android prompts youAndroid permission dialog
5Select a server and tap ConnectApp home screen
6Verify the key icon appears in your Android status barStatus bar

Method 2 - Android Built-in VPN

StepActionWhere
1Go to Settings › Network & Internet › VPN (path varies by Android version/manufacturer)Settings
2Tap the + icon to add a VPN profileVPN screen
3Choose protocol: IKEv2/IPSec MSCHAPv2 or PPTP (avoid PPTP - Use IKEv2)Type field
4Enter the server address, username, and password from your providerConfiguration form
5Save and tap the profile to connectVPN screen

Method 3 - Import an .ovpn Config File

If your provider gives you OpenVPN configuration files, use the official OpenVPN for Android app:

  • Download "OpenVPN for Android" (open-source) or your provider's branded OpenVPN client from the Play Store.
  • Download the .ovpn config file from your provider's dashboard to your device.
  • In the OpenVPN app, tap the folder icon to import the .ovpn file.
  • Enter your username and password if prompted, then connect.

Enabling Always-on VPN on Android

  • Go to Settings › Network & Internet › VPN.
  • Tap the gear icon next to your VPN profile.
  • Enable "Always-on VPN" - Android will reconnect automatically if the tunnel drops.
  • Enable "Block connections without VPN" to act as a kill switch - No traffic passes unless the VPN is active.
  • Note: Always-on VPN only works with VPN profiles configured through the system VPN settings or apps that use the VpnService API.

Verifying Your Android VPN Works

  • Confirm the key icon is present in the Android status bar when connected.
  • Open a browser and run our VPN Leak Test - Your IP should show the VPN provider's network.
  • Check for DNS leaks - The test detects these automatically.
  • If you see your real ISP's name or IP, disconnect, switch servers, and reconnect.