How to set up a VPN on Windows 11

Two ways to connect a Windows 11 PC to a VPN: your provider's app, or the VPN client built into Windows Settings. Both take a few minutes.

Before you start

  • An account with a VPN provider you trust
  • Your Windows account must have administrator rights to add a VPN
  • For the manual method: the server address, VPN type and sign-in details from your provider
  • Windows Update is current, so network drivers are up to date

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

Where to find VPN settings in Windows 11
  1. Start
  2. Settings
  3. Network & internet
  4. VPN

Shortcut: press Win + A to open Quick Settings. Once a VPN is added, a VPN tile lets you connect with one click.

Set up a VPN on Windows 11 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.

  1. Get the official app

    Open the Microsoft Store or your provider's official account page and add the provider's Windows app. Confirm that the publisher name matches your provider.

  2. Allow the changes

    When Windows asks “Do you want to allow this app to make changes to your device?”, choose Yes. The app needs to add a virtual network adapter for the tunnel.

  3. Sign in

    Open the app and sign in with your VPN account.

  4. Choose a protocol

    Leave the protocol on Automatic or choose WireGuard for the best speed. See the VPN protocol comparison.

  5. Connect

    Select Quick connect or a server near you and click Connect. The app should show Connected and a new IP address.

  6. Turn on the kill switch

    In the app's settings, enable the kill switch and launch at startup. Windows has no built-in kill switch for third-party VPNs.

Set up a VPN manually with the Windows 11 built-in client

Use this method if your provider or employer gives you IKEv2, L2TP/IPsec or SSTP details. The built-in client does not support WireGuard or OpenVPN.

Windows 11 Settings, Network and internet, VPN page with the Add VPN button, a saved VPN connection and the advanced VPN options
Illustration: Settings → Network & internet → VPN in Windows 11. Menu names and layout may differ slightly on your device.
  1. Open VPN settings

    Go to Settings → Network & internet → VPN and click Add VPN.

  2. Fill in the connection details

    • VPN provider: Windows (built-in)
    • Connection name: any name you will recognize
    • Server name or address: from your provider
    • VPN type: IKEv2 if offered; otherwise the type your provider specifies
    • Type of sign-in info: usually User name and password, or Certificate
  3. Save

    Click Save. The new connection appears in the VPN list.

  4. Connect

    Click Connect next to the connection, or use the VPN tile in Quick Settings (Win + A).

  5. Review advanced options

    Under Advanced options on the VPN page, decide whether to Allow VPN over metered networks and Allow VPN while roaming.

How to check the VPN is working on Windows

  1. Check the status

    Settings → Network & internet → VPN should show Connected, or your provider's app shows a protected status.

  2. Check the network adapter

    Open Command Prompt and run:

    ipconfig /all

    You should see an adapter belonging to your VPN (for example a WireGuard or TAP adapter) with an IP address assigned.

  3. Check DNS

    Run:

    nslookup example.com

    The “Server” line should show your VPN provider's DNS server, not your router or ISP.

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

Recommended Windows VPN settings

SettingWhere to find itWhy it matters
Kill switchProvider app settingsBlocks traffic if the VPN drops.
Launch at startupProvider app settingsProtects you from the moment Windows starts.
Auto-connect on untrusted Wi-FiProvider app settingsConnects automatically on public networks.
Public network profileSettings → Network & internet → Wi-Fi → your networkHides your PC from other devices on public Wi-Fi.

Fixing common Windows VPN errors

ProblemWhat to try
Error 809: the remote server is not respondingCommon with L2TP/IPsec behind routers. Switch to IKEv2 or the provider's app, and check that your firewall or network does not block UDP ports 500 and 4500.
Error 691: access deniedThe user name or password is wrong, or the sign-in type does not match. Re-enter your credentials exactly as your provider shows them.
Connected, but no internetDisconnect and reconnect, try another server, then restart the PC. If it persists, turn off other VPN or proxy tools that may conflict.
Slow speedsChoose a closer server, switch to WireGuard, and test on a wired connection to rule out Wi-Fi problems.
The VPN tile is missing in Quick SettingsOpen Quick Settings, select the pencil icon, choose Add and pick VPN.

Windows VPN questions

Does Windows 11 have a built-in VPN?

Windows 11 has a built-in VPN client that connects to IKEv2, L2TP/IPsec, SSTP and PPTP servers. It does not include a VPN service or servers; you still need a provider.

Can I use WireGuard with the Windows built-in client?

No. For WireGuard, use your provider's app or the official WireGuard app with a configuration file from your provider.

Does Windows 11 have a VPN kill switch?

Not for consumer VPN connections. Use the kill switch in your provider's app.

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