How to Set Up a VPN on Windows 11: Step-by-Step Guide
Setting up a VPN on Windows 11 takes about five minutes, but the route you choose changes everything about how it behaves. You can install your provider’s app and connect with one click, or you can build a manual profile in Windows’ built-in client and skip the extra software entirely.
Most people should start with the app: it is simpler, it includes a kill switch, and it handles server switching for you. The built-in client suits work VPNs and people who want no third-party software running in the background.
This guide covers both methods step by step, then shows you how to verify the connection actually works, how to pick a server location for speed, and how to fix the problems that stop most setups cold.
The Short Answer
To set up a VPN on Windows 11 with an app, install your provider’s Windows app, sign in, pick a server and press Connect.
To use the built-in client instead, go to Settings, Network and internet, VPN, Add VPN, choose Windows (built-in), and fill in the server address, VPN type and sign-in details your provider gave you.
After connecting, verify the VPN works by checking your IP address and running a DNS leak test. Turn on the kill switch in your provider’s app if one is available, because the built-in client has no kill switch of its own. If the connection fails, the server address or protocol is almost always wrong.
Five Key Takeaways
Two routes exist: a provider app for simplicity and a kill switch, or the built-in client for a manual profile with no extra software.
Gather five details first: server address, VPN type, sign-in method, username and password or certificate.
The built-in client supports IKEv2, L2TP/IPsec, SSTP and PPTP, but not OpenVPN or WireGuard.
Always verify after connecting: check your IP address and run a DNS leak test.
Pick a nearby server for speed, and a server in a specific country only when you need that location.
What You Need Before You Start
Windows cannot guess any of these values, so collect them in writing before opening Settings. Almost every failed VPN connection traces back to one of these five items being wrong, and guessing wastes more time than asking your provider or IT team for the list.
Item
What to enter
Where it comes from
Server name or address
Hostname or IP address
VPN provider or IT admin
VPN type
IKEv2, SSTP, L2TP/IPsec
VPN provider or IT admin
Type of sign-in info
Username and password, certificate
VPN provider or IT admin
Username
Your VPN username
Your VPN account
Password or certificate
Your VPN password
Your VPN account
Copy the server address exactly, character by character, because one wrong character sends Windows to the wrong server. If your provider offers a choice of protocols, IKEv2 is the best default for the built-in client: it is secure, fast and reconnects cleanly when you switch networks.
Note that the built-in VPN client is not available on Windows 11 SE. To check your edition, go to Settings, System, About and look at Edition under Windows specifications, or press Win and R, type winver and press Enter.
Method 1: Set Up a VPN with Your Provider’s App
This is the route most people should take. Download the app from your provider’s official website, never from a random download site, and install it. Sign in with your VPN account, and the app will usually pick the fastest server for you automatically.
Press Connect, or Quick Connect in some apps, and wait for the status to change to Connected. The whole process takes under two minutes, and you never need to touch a single advanced setting. The app also gives you a kill switch, server switching and protocol choice in one place.
Before you rely on it, open the app settings and turn on the kill switch, which blocks all traffic if the connection drops. Then check that the app is set to start with Windows if you want protection from the moment you sign in.
Method 2: Set Up a VPN with the Built-In Client
The built-in client is a profile manager: it stores a server address, a protocol and a sign-in method, then uses Windows’ own networking stack to open the tunnel. It adds no extra app at startup, and it puts the VPN toggle in Quick Settings next to Wi-Fi, which many people prefer.
Step 1: Open the VPN Settings Page
Press Win and I to open Settings, then choose Network and internet, then VPN. You can also jump straight to the page by pressing Win and R and running ms-settings:network-vpn. The VPN page lists your existing profiles, if any, and the Add VPN button.
Step 2: Fill In the Connection Form
Select Add VPN and fill in the form from top to bottom. Under VPN provider, select Windows (built-in). In Connection name, type a label you will recognise later, such as Work VPN. In Server name or address, paste the exact address your provider gave you.
Under VPN type, choose the protocol your server uses, or Automatic if you are unsure. Under Type of sign-in info, pick User name and password, one-time password, certificate or smart card to match your account. Enter your credentials, then select Save. The profile now appears in the VPN list.
Step 3: Connect and Verify
Select the Network, Volume and Battery icon group on the taskbar, or press Win and A, then select VPN in Quick Settings. With one profile, toggle it on. With several, choose Manage VPN connections, pick the one you want, and select Connect. Enter your sign-in details if prompted.
Alternatively, go to Network and internet, VPN in Settings and select Connect next to the profile. Either way, verify the connection afterwards: visit an IP checker and confirm the address and location match the VPN server, not your real one. A mismatch means the tunnel is not actually up.
Built-In Client vs VPN App: Which Should You Choose?
The app wins on features and the built-in client wins on simplicity. The table below compares them honestly, so you can choose by what matters to you rather than by habit.
Feature
Provider app
Built-in client
Setup effort
Install and sign in
Manual form, five details
Kill switch
Usually included
Not available
Protocols
WireGuard, OpenVPN and more
IKEv2, L2TP, SSTP, PPTP only
Server switching
One click
New profile per server
Auto-connect
Built in
Needs a scripted workaround
Background app
Runs at startup
None, uses Windows stack
Choose the app if you want a kill switch, easy server switching and modern protocols such as WireGuard. Choose the built-in client if your workplace requires it, or if you want no third-party software and only ever connect to one server. Both protect your traffic once the tunnel is up.
Verify Your VPN: Kill Switch and DNS Leak Checks
A VPN that looks connected but leaks is worse than no VPN, because it gives false confidence. Run two checks the first time you connect, and repeat them whenever you change provider or server.
Check 1: Is My IP Address Hidden?
Disconnect the VPN and note your real IP address, then connect and check again. The address and location should now match the VPN server. If they still show your home city, the tunnel is not carrying your traffic, and you should disconnect and re-check the profile details.
Check 2: Is My DNS Leaking?
A DNS leak happens when your device asks your provider’s DNS server for website addresses instead of the VPN’s, revealing what you visit. Run a DNS leak test while connected: every server listed should belong to your VPN provider or a privacy-focused resolver, never your internet provider.
If the built-in client leaks DNS, you can set the DNS servers manually in the network adapter properties, or switch to your provider’s app, which usually handles DNS correctly. For the full explanation of the safety net that stops leaks when the tunnel drops, read our guide to what a VPN kill switch does.
Choosing a VPN Server Location for Speed
For the fastest connection, pick a server in your own country, or the closest one your provider offers. Distance adds delay, and a server on the other side of the world can easily halve your speed. Let the app’s fastest-server option choose for you unless you have a specific reason to pick elsewhere.
Pick a server in a specific country only when you need that location: to reach a work system, to use a service available there, or to appear in that region. Streaming and gaming suffer most from distant servers, so test two or three nearby options and keep the fastest.
Your VPN Setup Checklist
Work through this checklist once, and your VPN will be set up correctly the first time. Keep the five provider details somewhere safe, because you will need them again if you ever reinstall Windows.
Collect the server address, VPN type and sign-in details from your provider.
Install the provider app, or create a manual profile in the built-in client.
Connect and confirm your IP address and location have changed.
Run a DNS leak test and fix any leak before trusting the connection.
Turn on the kill switch in the app, if one is available.
Pick a nearby server for speed, or a specific country when you need it.
Test browsing, streaming and video calls while connected.
Set the VPN to start with Windows if you want always-on protection.
Frequently Asked Questions
Does Windows 11 have a built-in VPN?
Yes. Windows 11 includes a built-in VPN client that stores profiles and connects using Windows’ own networking stack. It supports IKEv2, L2TP/IPsec, SSTP and PPTP, but not OpenVPN or WireGuard, and it has no kill switch. For those, use your provider’s app.
Is the Windows 11 built-in VPN free?
The client itself is free and built into Windows, but it is not a VPN service: you still need a VPN provider or a work server to connect to. The built-in client only manages the connection; the server and subscription come from your provider or employer.
Why won’t my VPN connect on Windows 11?
The usual causes are a wrong server address, the wrong VPN type, or expired credentials. Double-check the five details against what your provider gave you, try the Automatic VPN type, and check that your firewall is not blocking the connection. A wrong protocol is the single most common failure.
Can I use a free VPN on Windows 11?
You can, but free VPNs often limit speed and data, and some log and sell user data to pay for their servers. A reputable paid provider with an audited no-logs policy is safer.
How do I remove a VPN profile on Windows 11?
Go to Settings, Network and internet, VPN, select the profile and choose Remove. If you used a provider app, uninstall the app from Settings, Apps, Installed apps as well, because the app may recreate its profile otherwise.
Does the built-in VPN have a kill switch?
No. The Windows built-in client has no kill switch, so if the tunnel drops, your traffic can briefly travel unprotected. If a kill switch matters to you, use your provider’s app, which almost always includes one, and turn it on before your first connection.
Can I set the VPN to connect automatically?
Provider apps usually offer an auto-connect option in settings. The built-in client does not, but you can create a small startup task using rasdial with your connection name and credentials. Only do this on a device you control, because the credentials sit in the script.
Conclusion
Setting up a VPN on Windows 11 is a five-minute job once you have the details. The provider app is the easiest route, with a kill switch and one-click server switching, while the built-in client suits work VPNs and minimal setups.
Pick a nearby server for speed, keep the app updated, and remember that a VPN is one layer of protection, not a complete shield. Pair it with HTTPS, strong passwords and two-factor authentication. To learn when a VPN helps most, read our guide to when you should use a VPN.
Ayesha is the co-founder of occcy and the editor behind its entertainment and lifestyle coverage. She believes good writing should feel like a conversation with a smart friend, clear, warm, and genuinely helpful.