Windows 11 has a built-in VPN client, so for many work VPNs and some personal VPN services you don't need extra software. You add a VPN profile once in Settings, then switch it on from the taskbar whenever you need it. This guide follows Microsoft's official support and documentation pages.
Before you start
You need a VPN profile before you can connect. Microsoft suggests two routes:
For work: look for VPN settings or a VPN app on your company's intranet, or ask your IT support contact.
For a personal VPN service: check the Microsoft Store for the service's own app, or look on the provider's website for the connection settings to enter in Windows.
If your provider has an app, that's usually the simpler option. Microsoft's documentation explains that third-party VPN apps can plug into Windows' VPN platform, and names examples such as Cisco AnyConnect, F5 Access and Check Point Capsule. The steps below are for the Windows (built-in) client. Microsoft notes that the feature isn't available in Windows 11 SE.
Step 1: Add a VPN connection
Open Settings and go to Network & internet > VPN, then select Add VPN.
For VPN provider, choose Windows (built-in).
In Connection name, enter a name you'll recognise, such as My Work VPN.
In Server name or address, enter the VPN server address from your IT team or provider.
For VPN type, choose the type your company or service uses (see below).
For Type of sign-in info, choose what you'll use to sign in: a username and password, one-time password, certificate or smart card. Enter your username and password if required.
Select Save.
To change the details later or add extra settings such as a proxy, select the connection on the VPN settings page, choose Advanced options, then Edit next to the details you want to change.
Which VPN type should you choose?
Use whatever your provider specifies. Microsoft's documentation lists the tunnelling protocols supported by the built-in client:
There's also an Automatic option. Microsoft says this makes Windows try each of the built-in protocols until one succeeds, starting with the most secure and working down to the least secure. If your provider uses a protocol that isn't on this list, you'll need its own app.
Step 2: Connect
From the taskbar: select the Network, Volume, Battery icon and then VPN. If you only have one VPN set up, toggle it on or off from the VPN quick setting. If you have several, select Manage VPN connections, pick the one you want and select Connect.
From Settings: go to Network & internet > VPN and select Connect next to the connection you want.
Enter your username and password or other sign-in details if prompted.
Step 3: Check it's working
On the VPN settings page, the connection name shows Connected underneath it. On the taskbar, a blue shield appears when you're connected to a recognised VPN.
Advanced: add a VPN with PowerShell
If you set up VPNs on several PCs, Microsoft's Add-VpnConnection cmdlet adds a VPN connection to the Connection Manager phone book from PowerShell. Microsoft's simplest example is:
Add-VpnConnection -Name "Test1" -ServerAddress "10.1.1.1" -PassThru
Without other options, the resulting connection uses the Automatic tunnel type. Further parameters let you set the tunnel type (for example L2tp or Pptp), the authentication method, split tunnelling (the SplitTunneling parameter), whether it's available to all users (AllUserConnection) and whether credentials are remembered after the first successful connection (RememberCredential). Replace the example name and address with your own.
A VPN changes how your traffic leaves the PC, so it's worth knowing the other network settings in the same part of Windows. See how to change DNS in Windows 11, how to set a metered connection and how to use mobile hotspot in Windows 11. For more ways to lock down your PC, see the best free privacy tools for Windows 11.