# How do I set up WireGuard on Android?

> Set up WireGuard on an Android phone against your own TunnelVPS server: Google Play or APK, QR code import, always-on VPN and split tunnelling.

- URL: https://tunnelvps.com/guides/wireguard-android/
- Last updated: 2026-11-16
- Publisher: TunnelVPS (https://tunnelvps.com)

The official WireGuard app on Android, a QR code from the TunnelVPS server, and the Android settings that keep the tunnel on.

**Quick answer — How do I set up WireGuard on Android?**

Install WireGuard from Google Play or as the direct APK listed on wireguard.com, then scan the phone's client file as a QR code printed on the **TunnelVPS** server. Android asks once to allow the VPN connection. Always-on VPN in the Android settings keeps the tunnel up after a restart. Setup takes 5 steps.

**In brief**

- **App**: WireGuard for Android, from Google Play or a direct APK file.
- **Configuration**: QR code from the server, or a `.conf` file.
- **Always on**: Android's own VPN settings can keep the tunnel up and block traffic outside it.
- **Per-app routing**: the app can include or exclude chosen apps.

## What are the steps on Android?

*WireGuard setup on Android against a TunnelVPS server, 5 steps*

| Step | Where | What to do |
| --- | --- | --- |
| 1 | TunnelVPS server | Add a `[Peer]` for the phone and write its client file. |
| 2 | TunnelVPS server | Print the client file as a QR code with `qrencode`. |
| 3 | Android | Install WireGuard from Google Play or the APK linked on wireguard.com. |
| 4 | WireGuard app | Add a tunnel by scanning the QR code, name it. |
| 5 | Android prompt | Accept the VPN connection request, then switch the tunnel on. |

## Where should an Android phone get the WireGuard app?

**From Google Play, or from the direct APK that wireguard.com links for phones without Google services.** Both are listed on the official install page, read by TunnelVPS on 16 November 2026. A phone running a de-Googled system can use the APK; updates then have to be installed by hand or through a store that tracks it.

## What does the Android client file contain?

**The phone's private key and tunnel address, plus the server's public key, IP address and port.** Make a fresh key pair for the phone on the server and give it the next free address. The [install guide](https://tunnelvps.com/help/install-wireguard-in-one-command/ "How do I install WireGuard on my TunnelVPS server?") shows where the `[Peer]` block goes.

*Client file for an Android phone (dummy values in capitals)*

```ini
[Interface]
PrivateKey = DEVICE_PRIVATE_KEY
Address = 10.8.0.3/32
DNS = 1.1.1.1

[Peer]
PublicKey = SERVER_PUBLIC_KEY
Endpoint = 203.0.113.10:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25
```

## How do I keep the tunnel on all the time?

**Turn on Always-on VPN for WireGuard in the Android network settings, and optionally block connections without VPN.** The menu sits under the VPN section of the network settings on most phones; the exact path varies by maker. With the block option on, apps get no connection at all if the tunnel drops, which stops traffic slipping out on public Wi-Fi.

## Can some apps skip the tunnel?

**Yes: the WireGuard app lets a tunnel include or exclude chosen apps.** A banking app that dislikes data-centre addresses can go direct while the browser goes through the TunnelVPS server. Geolocation databases decide on their own where a data-centre IP address sits, and streaming or banking sites may treat a data-centre address differently from a home one; TunnelVPS makes no promise about either.

## What if the Android phone faces a network that blocks WireGuard?

**Use the AmneziaVPN app, which can install AmneziaWG on the same server over SSH.** Amnezia's documentation describes a "Self-hosted VPN" option that asks for the server IP, the SSH user and a password or key, then sets the server up with no terminal. The [AmneziaWG page](https://tunnelvps.com/amneziawg-vps/ "What is an AmneziaWG VPS and when is it needed?") covers when it is worth it.

## Which other VPN apps run on Android?

**TunnelVPS read the WireGuard, Outline and Amnezia pages on 16 November 2026: all three list an Android app, and WireGuard also offers a direct APK for phones without Google Play.** Each app talks to the same TunnelVPS server, so one server can serve WireGuard to most devices and a second protocol to the one that needs it. The [Outline VPS page](https://tunnelvps.com/outline-vps/ "What is an Outline VPS and how is it set up?") and the [AmneziaWG VPS page](https://tunnelvps.com/amneziawg-vps/ "What is an AmneziaWG VPS and when is it needed?") explain how each is installed on the server side.

## Which TunnelVPS plan suits an Android user?

**Solo ($2.25 a month on 12 months) covers one phone and one laptop; Duo ($5.25) suits two people or a second protocol.** Every plan has one IPv4 address, an IPv6 /64 and a monthly traffic allowance, and costs the same in all six cities. Solo, Duo and Home start at 3 months. The [pricing page](https://tunnelvps.com/pricing/ "How much does a TunnelVPS VPN server cost?") shows each rental length, and the [traffic guide](https://tunnelvps.com/how-much-traffic-does-a-vpn-use/ "How much traffic does a personal VPN use in a month?") estimates a month of use by device.

## Android questions

### Do I need root on the phone?

No. The WireGuard app uses Android's standard VPN service and needs no root.

### Can the phone import a file instead of a QR code?

Yes. The app can import a `.conf` file. Move it over a private channel and delete it from the phone's downloads afterwards.

### Will the tunnel follow the phone from Wi-Fi to mobile data?

Yes. WireGuard keeps the session when the phone changes network, so the tunnel carries on after a short pause.

### Does a TunnelVPS server limit how many phones connect?

No. TunnelVPS sets no device limit; each phone needs its own peer.

**Verdict**

- **WireGuard with Always-on VPN** gives an Android phone a tunnel that survives restarts and network changes.
- **AmneziaVPN** is the fallback on networks that drop WireGuard.

## Sources

1. [WireGuard: installation and client apps](https://www.wireguard.com/install/) — WireGuard (read 2026-11-16)
2. [WireGuard: quick start (keys, peers)](https://www.wireguard.com/quickstart/) — WireGuard (read 2026-11-16)
3. [Amnezia: install a VPN on your own server](https://docs.amnezia.org/documentation/instructions/install-vpn-on-server/) — Amnezia (read 2026-11-16)
4. [AmneziaVPN client: platforms and protocols](https://github.com/amnezia-vpn/amnezia-client) — Amnezia (read 2026-11-16)

**Get the server first** Duo meets Amnezia's suggestion for 10+ connections, at $5.25 a month on 12 months. [Order Home for 12 months](https://tunnelvps.com/app/checkout/?plan=home&term=12m&image=ubuntu-24.04&from=guides-wireguard-android&lang=en) · [Install WireGuard on the server](https://tunnelvps.com/help/install-wireguard-in-one-command/ "How do I install WireGuard on my TunnelVPS server?")

---

TunnelVPS: TunnelVPS rents Linux KVM servers for a personal VPN (WireGuard, Outline or AmneziaWG) in New York, Dallas, Los Angeles, London, Amsterdam and Frankfurt, paid in crypto with no ID document. 5 plans from 2 to 16 GB of RAM and 2 to 6 TB of traffic a month cost the same in all six cities; on the 12-month term each is priced at least 25% under a named comparable plan of a no-KYC crypto host, read on 16 November 2026. The operator is DomaineGoat LLC, Panama.
