To use WireGuard on an Android phone, install the official WireGuard app, add a tunnel from a configuration file or a QR code, and switch the tunnel on. You need a server to connect to, because WireGuard is software and comes with no servers.

The details below come from the WireGuard project's own site, the Android app's published source code, its store listing, Android's own documentation and the setup guide of one VPN provider, all read 1 December 2026. We did not go through these steps on an Android phone ourselves, so nothing below is a test result.

What you need to run WireGuard on Android

There are two parts, and the project supplies only the first:

  • A client. On an Android phone or tablet this is the WireGuard app.
  • A configuration for a server. A WireGuard tunnel is set up with your private key and the other side's public key (WireGuard's overview). Whoever runs the server gives you these details together with the server's address. On a phone they arrive as a small text file ending in .conf, as a zip archive of such files, or as a QR code. The server can be your own, your employer's, or a VPN provider's that offers WireGuard files.

If you have no server and don't want to run one, skip to the section on a VPN app with WireGuard built in. For the protocol itself, see the guide to what WireGuard is.

The official WireGuard app for Android

The project's installation page gives two ways to get the Android app: a store link and a direct APK file. Both carried the same version when we read the page. The listing on Google Play names the developer as WireGuard Development Team and describes the app as "The official app for managing WireGuard VPN tunnels". The listing was last updated on March 15, 2026 (US listing, read 1 December 2026).

Mullvad's setup guide says the WireGuard app for Android "requires Android 7 and newer" (Mullvad's guide, read 1 December 2026).

The app's code is public, and its README calls it "an Android GUI for WireGuard" and says it "opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation" (the project's GitHub mirror). On a phone that isn't rooted, that means the userspace version.

The app is a client and comes with no server of its own. A tunnel needs a peer's public key and endpoint, and those come from whoever runs the server.

How to set up WireGuard on Android

These steps use the WireGuard app. The button names are the ones in the interface text of its March 2026 release, and the order follows the guide Mullvad publishes for its own customers.

  1. Install WireGuard. Use the store link or the APK file on the project's installation page.
  2. Get your configuration. Save the .conf file from whoever runs your server to the phone, or have its QR code ready on another screen. Either one holds your private key, so keep it as you would a password.
  3. Add the tunnel. Open WireGuard and tap the add button. With no tunnels yet, the screen reads "Add a tunnel using the button below". A sheet offers Import from file or archive, Scan from QR code and Create from scratch. Choose the first and select your file, or choose the second and point the camera at the code.
  4. Switch the tunnel on. Tap the switch next to the tunnel's name. The first time, Android shows a connection request and asks you to confirm that you trust the VPN (Android's VPN documentation). Accept it. The same switch turns the tunnel off.
  5. Check that traffic flows. Android's documentation says the status bar shows a key icon while a VPN connection is active. In WireGuard, tap the tunnel's name to open its details. Once the tunnel has exchanged data, the Peer section shows Transfer and Latest handshake. A handshake time there means the server has answered. Then confirm that your public IP address has changed. The guide to checking whether a VPN is active shows how.

The settings screen opens from the icon in the top bar. It has Export tunnels to zip file, which saves a zip file to the downloads folder, and View application log (the app's settings list).

Adding a tunnel from a file or a QR code

The file route takes a single .conf file or a .zip archive of them. Any other file name is refused with "File must be .conf or .zip". A tunnel added from a file takes the file's name, and an archive adds one tunnel for each .conf file inside it.

A WireGuard QR code is the configuration file in another form. The scanner screen carries a tip for making one: "generate with qrencode -t ansiutf8 < tunnel.conf". Whoever holds the file can run that command. The app first checks that the scanned text is a valid configuration and then asks for a tunnel name. Because the code holds your private key, a photo or screenshot of it is as sensitive as the file.

On a device with no camera, the sheet leaves out the QR option. Use the file route there.

What a WireGuard configuration file looks like

A client file that sends all traffic through a VPN server has two sections. This one follows the example in the wg-quick manual page, with the keys left out:

[Interface]
PrivateKey = (your private key)
Address = 10.200.100.8/24
DNS = 10.200.100.1

[Peer]
PublicKey = (the server's public key)
AllowedIPs = 0.0.0.0/0
Endpoint = demo.wireguard.com:51820

  • PrivateKey is your own secret key, and PublicKey is the server's public key.
  • Address is the address your phone takes inside the tunnel.
  • DNS is the DNS server to use while the tunnel is up.
  • AllowedIPs lists the destinations that go through the tunnel. The manual page treats an entry of 0.0.0.0/0 as the default route, which means all IPv4 traffic.
  • Endpoint is the server's address and port.

The format is described in the wg-quick manual page.

The Android app reads this format, but it does not take every key that wg-quick does. Its source code accepts PrivateKey, Address, DNS, ListenPort, MTU, IncludedApplications and ExcludedApplications under [Interface], and PublicKey, PresharedKey, AllowedIPs, Endpoint and PersistentKeepalive under [Peer]. The script keys in the manual page, such as PostUp and PreDown, are not on that list, and a file that holds any other key is refused as an "Unknown attribute".

To change a tunnel on the phone, open its details and tap Edit. The same values appear there as fields, among them Addresses, DNS servers, Endpoint and Allowed IPs.

Choosing which apps use the tunnel

The two application keys are specific to Android. In the editor, a button labeled All Applications opens a list of the apps on your phone with two tabs, Exclude and Include only. Excluded apps go around the tunnel while everything else uses it. With Include only, the tunnel carries the apps you pick and nothing else.

Android allows one list or the other: its documentation says a VPN app "can create either an allowed list or a disallowed list, but not both", and that with neither list "the system sends all network traffic through the VPN".

That is split tunneling by app. To split by destination, use Allowed IPs: a tunnel whose only entry is your office network leaves the rest of your traffic on the normal connection.

Always-on VPN, roaming and keepalive

Android can start a VPN app when the phone boots and keep it running while the phone is on. The feature is called Always-on VPN, and Android's developer documentation says it is available in Android 7.0 or higher. The same page describes a second switch, "Block connections without VPN", which makes the system block any network traffic that doesn't use the VPN.

Android Help gives the path: open Settings, tap Network & internet, then VPN, then the settings icon next to the VPN, and turn Always-on VPN on (Android Help). If you can't find the VPN screen, the same page suggests searching Settings for "VPN".

The WireGuard app's code handles the case where Android starts it through Always-on VPN: it brings back up the tunnels that were running before. This works with clients that support Always-on VPN; Tegant doesn't support it and has no kill switch, so check that Tegant shows Connected before you do anything sensitive.

WireGuard's overview says both ends "send encrypted data to the most recent IP endpoint for which they authentically decrypted data", which it calls "full IP roaming on both ends". When your phone moves from Wi-Fi to mobile data and its address changes, the server learns the new address from the next authenticated packet it receives.

The field Persistent keepalive in the editor is marked "optional, not recommended". WireGuard's quick start explains what it is for: a peer behind NAT or a firewall that needs to receive incoming packets keeps the mapping open by sending a keepalive packet at a set interval. "A sensible interval that works with a wide variety of firewalls is 25 seconds", it says, and the feature is off by default, "since most users will not need this" (WireGuard's quick start).

If you don't run a server: a VPN app with WireGuard built in

The WireGuard app needs a configuration, and a configuration needs a server. If you don't have one, the alternative is a VPN app whose maker runs the servers and builds the protocol in. Tegant VPN is our own app, and it works this way.

Tegant is on Google Play for Android. On the main screen you choose WireGuard or XRay, pick a server and connect. Tegant has servers in 18 countries, and WireGuard is available in all of them except Hong Kong, which is XRay only. WireGuard runs in the Linux kernel on our servers. The free tier, where it is available, is ad-supported and WireGuard only.

Tegant doesn't provide configuration files, so you use its servers through the app and can't load them into the WireGuard app. It has no kill switch and no auto-connect, so check that Tegant shows it is connected before you do anything sensitive.

WireGuard's own list of known limitations says it "does not focus on obfuscation" and does not support tunneling over TCP. On a network that blocks it, a different kind of protocol is the next thing to try. XRay is part of Tegant Premium on iPhone, iPad, Mac and Android, and it is available in 15 of Tegant's 18 server countries; France, Italy and Spain are WireGuard only. The guide to V2Ray on Android covers that route. No VPN can guarantee access on every network, and that includes ours.

Rules on VPNs differ from country to country and change often, so check the current law where you are. The guide to how VPN rules differ by country has more.

Common problems

  • The file won't import. The message starts "Unable to import tunnel:" and then gives a reason, such as "Missing section", "Unknown attribute" or "Invalid key". Check that the file has an [Interface] section, and remove keys that are not on the list above.
  • You declined the connection request. The app can't start a tunnel without it, and the error it shows ends with "VPN service not authorized by user". Switch the tunnel on again and accept the request.
  • Another VPN app stops when WireGuard starts. Android's reference for VPN apps says: "There can be only one VPN connection running at the same time. The existing interface is deactivated when a new one is created" (VpnService reference).
  • The tunnel is on but nothing loads. Look for Latest handshake in the tunnel's details. A handshake is an exchange of two messages, one in each direction (WireGuard's protocol page). If no time appears, the server has not answered: check the Endpoint address and port, and check with whoever runs the server that your public key is registered there.
  • The same configuration is on two devices. Mullvad's guide says to generate a separate key pair for each device, because you "will otherwise likely run into connectivity issues". Don't copy your laptop's file to your phone; ask for a second one.
  • "Unable to resolve DNS hostname". The Endpoint line holds a host name that your phone can't look up, so check the spelling and your internet connection.
  • The phone's clock is wrong. WireGuard relies on the system time, and its list of limitations says handshakes become impossible if the clock jumps backwards. Android Help's steps: open the Clock app, tap More, then Settings, then Change date and time, and turn on Automatic date and time (Android Help).
  • You can't reach devices on your own network. In the editor, the peer has a checkbox named Exclude private IPs. In the app's code it is offered when the tunnel has a single peer whose Allowed IPs hold 0.0.0.0/0.
  • The network blocks it. WireGuard runs over UDP and has no TCP mode, so a network that blocks its packets stops the tunnel. See the section above on a different kind of protocol.

If the trouble is with a VPN app and not the WireGuard app, see the guides to a VPN that is not working and a VPN that keeps disconnecting. The same setup on Apple devices is in the guides to WireGuard on an iPhone and WireGuard on a Mac.

WireGuard on Android questions

Is there an official WireGuard app for Android?

Yes. The WireGuard project's installation page links to it, and its store listing calls it "The official app for managing WireGuard VPN tunnels" (read 1 December 2026).

Can I install WireGuard on Android without a store account?

The project's installation page offers a direct APK file next to the store link. Download it from that page and not from a mirror.

Can I set up WireGuard on Android with a QR code?

Yes. Tap the add button, choose Scan from QR code and point the camera at the code. The code holds the same text as a configuration file, including your private key.

Can I choose which apps use the WireGuard tunnel?

Yes. In the tunnel's editor, the All Applications button opens a list with two tabs, Exclude and Include only. Android allows one list or the other for a tunnel, not both.

Does WireGuard for Android come with a VPN server?

No. It is a client. The configuration has to come from a server you run or from a provider that offers WireGuard files.


Tegant VPN supports WireGuard and, with Premium, XRay, so you can switch protocols depending on your network. Learn more about Tegant VPN.

Get Tegant VPN. Available on iPhone, iPad, Mac and Android.