VPN privacy basics

Does a VPN Hide Your IP Address?

Yes, a VPN can hide your public IP address from the websites and services you visit by routing your traffic through a VPN server. But it does not make you invisible online, and it does not hide every type of tracking.

Quick answer

A VPN usually hides your real public IP from websites, but cookies, logins, browser fingerprinting, payment details and account activity can still identify you.

The short version

What a VPN hides

When you connect to a VPN, your internet traffic is routed through a VPN server. Websites normally see the VPN server IP address instead of the public IP address assigned by your internet provider.

Your public IP from websites

Most websites will see the VPN server IP, not your normal home or mobile network IP.

Your rough ISP-based location

Your visible location may change to the VPN server location, although location detection is not always perfect.

Traffic from local networks

On public Wi-Fi, a VPN can help stop local network observers seeing the contents of encrypted VPN traffic.

Important limits

What a VPN does not hide

A VPN changes how your traffic reaches the internet, but it does not remove every way you can be recognised. This is where a lot of VPN marketing gets a bit “cloak of invisibility from Wish”. Useful, yes. Magic, no.

Thing Does a VPN hide it? Why it matters
Your public IP from websitesUsually yesWebsites normally see the VPN server IP while connected.
Your account loginsNoIf you log into Google, Facebook, Netflix or another account, that service still knows it is you.
CookiesNoExisting cookies can still link browsing activity to a previous session.
Browser fingerprintingNoYour browser, screen size, extensions, fonts and device details can still be used for tracking.
Payment identityNoIf you buy something with your normal card or account, the seller can still identify the purchase.
Malware or spywareNoA VPN does not clean an infected device or stop all malicious tracking.
DNS requestsUsually, if configured correctlyBad DNS handling can cause leaks, which is why DNS leak testing is useful.

Practical test

How to check whether your VPN is hiding your IP

  1. Disconnect from your VPN.
  2. Search for “what is my IP” or use a public IP checker.
  3. Write down the IP address and location shown.
  4. Connect to your VPN.
  5. Check your IP again.

If your VPN is working, the public IP should normally change. The visible location may also change to the VPN server region.

Command line check

On Linux or macOS, you can use curl:

curl https://ifconfig.me

Example before VPN:

198.51.100.24

Example after connecting to VPN:

203.0.113.42

You can also compare DNS-based IP checks:

dig +short myip.opendns.com @resolver1.opendns.com

For a deeper walkthrough, use the How to Check Your VPN Is Working guide.

Common misunderstandings

Does a VPN make you anonymous?

A VPN can improve privacy, but it does not guarantee anonymity. The VPN provider can still see connection metadata depending on its systems and policies, and websites can still identify you through accounts, cookies and browser fingerprinting.

If you log in, you identify yourself

Changing IP does not stop an account-based service from knowing which account is active.

Private browsing is separate

Incognito/private windows reduce local history storage, but they do not hide your IP by themselves.

DNS leaks matter

If DNS queries go outside the VPN tunnel, your normal DNS provider may still be visible.

Choosing a VPN

Features to look for if IP privacy matters

Use the VPN comparison page to compare these features before choosing a provider.

FAQ

Does a VPN hide your IP? FAQ

Does a VPN hide my IP from websites?

Usually, yes. Websites normally see the VPN server IP address rather than your real public IP while the VPN is connected.

Can my internet provider still see I am using a VPN?

Your provider may be able to see that you are connected to a VPN server, but it should not be able to see the individual websites inside the encrypted VPN tunnel.

Does a VPN hide my location?

It can change the location inferred from your public IP address, but websites may still use GPS, Wi-Fi data, account settings, payment details or browser signals to estimate your location.

Does a VPN stop cookies tracking me?

No. Cookies can still identify your browser or account session. Clear cookies or use separate browser profiles if you want to reduce cookie-based tracking.

Can a VPN leak my real IP?

It can happen if the VPN disconnects, the kill switch fails, split tunnelling is misconfigured or traffic such as DNS or WebRTC escapes the VPN route.

How do I know if my VPN is working?

Check your public IP before and after connecting, then run DNS leak checks. The visible IP should change and DNS results should not point back to your normal ISP.