Compare
VPN Gateway vs ExpressRoute
30-second answer
A VPN Gateway connects your network to Azure through an encrypted tunnel over the public internet. ExpressRoute is a private connection through a connectivity provider that never uses the internet, giving more predictable speed and latency.
Simulate it »Side by side
↔ Swipe the table to see every column.
| VPN Gateway | ExpressRoute | |
|---|---|---|
| Path | Public internet, IPsec/IKE encrypted | Private circuit via a connectivity provider |
| Bandwidth | Hundreds of Mbps up to several Gbps by SKU | 50 Mbps to 10 Gbps (100 Gbps with ExpressRoute Direct) |
| Latency and reliability | Varies with the internet | Predictable, with an SLA on the circuit |
| Setup time | Hours (gateway takes ~30+ min to deploy) | Weeks (provider provisioning) |
| Price feel (illustrative) | VpnGw1 ≈ $139/month + data out | 1 Gbps Standard metered ≈ $436/month + provider fees |
| Also covers | Point-to-site VPN for individual laptops | Microsoft 365 and Azure public services (Microsoft peering) |
| Use as backup for the other? | Yes, VPN is a common ExpressRoute backup | — |
Prices are illustrative pay-as-you-go list prices converted at approximate rates, for "price feel" only. Check the Azure pricing calculator for real quotes.
Which one should I pick?
VPN Gateway
Pick it when you need a quick, low-cost, encrypted connection, or a backup link.
ExpressRoute
Pick it when you move a lot of data, need consistent latency, or policy forbids the internet.
Simulate it
🖱️ Drag to rotate · scroll or pinch to zoom
VPN gateway
The office on the left connects with a site-to-site VPN. Traffic travels encrypted (IPsec) over the public internet to the VPN gateway.
🤔 What happens if…
Read this tour as text
- A virtual network. The blue glass box is a virtual network (VNet): your private network in Azure with its own address range, 10.0.0.0/16. Nothing gets in unless you allow it.
- Subnets. The VNet is split into subnets: web (10.0.1.0/24) for web servers and data (10.0.2.0/24) for the database. Each VM gets a private IP from its subnet.
- Network security group. An NSG is a list of allow and deny rules on a subnet or network card. Here: allow HTTPS 443 from the internet, deny RDP 3389. Send both and watch.
- VNet peering. A second VNet joins with peering. Traffic between them uses private IPs over Microsoft’s backbone, never the public internet.
- VPN gateway. The office on the left connects with a site-to-site VPN. Traffic travels encrypted (IPsec) over the public internet to the VPN gateway.
- ExpressRoute. ExpressRoute is a private connection from your office through a connectivity provider to Microsoft. It does not go over the internet, so it is more reliable and predictable.
- Private endpoint. A storage account normally has a public endpoint on the internet. A private endpoint gives it a private IP (10.0.2.5) inside your VNet, so traffic never leaves your network.
- Azure DNS. People type names, networks use numbers. DNS turns www.contoso.com into an IP address like 20.50.1.4, and then the browser connects.
Questions people ask
Is ExpressRoute encrypted?
Not by default: it is private, not encrypted. You can add MACsec (Direct) or run IPsec over it.
Can I use both?
Yes. Many companies use ExpressRoute as the main link and a site-to-site VPN as failover.
Learn each one properly
More comparisons
- Azure Blob vs Files vs Disk Storage
- Azure VM vs App Service vs Functions vs AKS
- LRS vs ZRS vs GRS vs GZRS (Azure Storage Redundancy)
- Azure vs AWS: service name map
- Load Balancer vs Application Gateway vs Front Door vs Traffic Manager
- IaaS vs PaaS vs SaaS
- Availability Sets vs Availability Zones vs Scale Sets
- Azure RBAC vs Azure Policy vs Resource Locks
- Blob Access Tiers: Hot vs Cool vs Cold vs Archive
- Microsoft Entra ID vs Active Directory
- NSG vs Azure Firewall
- Service Health vs Azure Status vs Resource Health
- Azure Monitor vs Azure Advisor vs Defender for Cloud
- Public vs Private vs Hybrid Cloud
- Pay-as-you-go vs Reserved Instances vs Savings Plans vs Spot
- Management Groups vs Subscriptions vs Resource Groups
- Regions vs Availability Zones vs Datacenters