Does a VPN Hide Your IP Address?
A VPN swaps the IP address websites see for the address of a VPN server. Here is what that really hides, who can still see what, and how to check it.
7 min readUpdated Oct 15, 2026By XPASS Editorial Team

When you open a website, the site needs to know where to send the reply. That return address is your IP address. A VPN changes which address the website sees, and that is the whole of what "hiding your IP" means. It is useful, but it is narrower than the phrase suggests, so it helps to be precise about who sees what before and after you connect.
What your IP address actually is
An IP address is a number that identifies a device on a network so data can be routed to it (RFC 791 defines the original scheme). Two kinds matter here:
- Private address. The one your phone or laptop gets from your home router, such as
192.168.1.23. These ranges are reserved for local networks (RFC 1918) and mean nothing on the wider internet. - Public address. The one your internet provider assigns to your connection. Every website you visit sees this address. If you want the full background, read what a public IP address is.
A public IP address is not a name or a street address, but it is not meaningless either. It usually points to your internet provider and a rough area, such as a city or region, and your provider knows which customer was using it at a given moment. Websites use it for things like showing local content, limiting abuse and keeping basic logs.

What changes when you connect to a VPN
Without a VPN, your device talks to a website directly:
- Your device sends a request through your router and your provider.
- The website sees your public IP address and replies to it.
With a VPN, there is a detour:
- Your device builds an encrypted tunnel to a VPN server.
- Your requests travel inside that tunnel to the server.
- The server forwards them to the website, using its own public IP address.
- The reply comes back to the server, then through the tunnel to you.
The website only ever sees step 3: the address of the VPN server. Your real public address is not part of the conversation with the site. That is the sense in which a VPN hides your IP. For a deeper look at the mechanics, see how a VPN works.
A concrete example
Say you are in a cafe and you check a shopping site. Without a VPN, the site sees the cafe's public IP address and might show prices for your region. With a VPN on, the site sees the VPN server's address instead. Anyone on the cafe network who watches your traffic sees an encrypted connection to the VPN server rather than the shopping site. The cafe's address is no longer the one the shop logs against your visit.
Who can still see your real IP address
Hiding your IP from websites does not hide it from everyone. This table shows the main parties.
| Party | Sees your real IP? | What else they see |
|---|---|---|
| The website you visit | No, sees the VPN server's address | Whatever you send it: logins, cookies, form data |
| Your internet provider | Yes, it assigned it | That you connect to a VPN server, and how much data moves, but not the content inside the tunnel |
| The network you are on (cafe, hotel) | Yes | Same as your provider: a connection to a VPN server |
| Your VPN provider | Yes | It handles your traffic, so you are trusting it with what your internet provider would otherwise see |
The last row is the important trade-off. A VPN does not remove the middleman; it moves trust from your internet provider and local network to the VPN service. That is why the choice of provider matters, and why it is worth reading what to check before paying for a VPN.
What a hidden IP does not hide
Websites can still recognise you by other means, even when the address they see is the VPN server's:
- Accounts. If you sign in to an email or social account, the site knows who you are regardless of the IP address.
- Cookies and similar storage. A site that set a cookie on an earlier visit can recognise the same browser again.
- Browser fingerprinting. Screen size, fonts, language and other settings can combine into a fairly distinctive profile.
- What you type. Names, phone numbers and payment details you enter are sent to the site as usual.
So changing your IP address is one layer of privacy, not a disguise. If you are wondering whether that adds up to anonymity, the honest answer is no, and can a VPN make you anonymous explains why.
When your real IP can still show up
Sometimes the address you wanted to hide is exposed anyway. The common causes:
- DNS leaks. Your device asks a DNS server to translate site names into addresses. If those queries bypass the tunnel, your provider can see which sites you look up. See what a DNS leak is.
- IPv6 leaks. If a site is reached over IPv6 (RFC 8200) and the VPN only handles IPv4, that traffic may skip the tunnel.
- Browser features such as WebRTC. Some real-time communication features can reveal addresses to a page. Browsers differ in how they handle this.
- Dropped connections. If the VPN disconnects without you noticing, traffic may go out on your normal connection until it reconnects.
- Apps excluded from the tunnel. If you set some apps to bypass the VPN, they use your real address.
None of these is exotic, and most are easy to check for.

How to check that it is working
- With the VPN off, search "what is my IP address" in your browser, or open any IP-checking site, and note the number.
- Connect to the VPN.
- Reload the checker. The number should be different from the first one.
- Run a DNS leak test from any reputable testing site, and confirm that the DNS servers listed are not your normal internet provider's.
- If you use IPv6 on your network, check that the tester does not show a separate IPv6 address that still matches your real connection.
If the address did not change, disconnect and reconnect, make sure the app is actually connected, and see the help guide on checking whether your VPN is working.
Limits and what to watch for
- A changed IP address does not make a connection safer by itself. The encryption of the tunnel is what protects traffic on untrusted networks.
- Some sites block known VPN server addresses, because many people share them. That is a property of the site, and no VPN can guarantee access to every site.
- Sharing an address with other users makes you harder to single out by IP, but it does not make you invisible.
- Do not use a VPN as a reason to relax elsewhere: keep strong passwords, two-factor authentication and software updates in place.
Summary
A VPN does hide your real public IP address from the websites and apps you use, because they see the VPN server's address instead. It does not hide that address from your VPN provider, and it does not stop sites recognising you through logins, cookies or fingerprinting. Leaks through DNS, IPv6 or browser features can expose the address you meant to hide, so test it once after setup and again whenever something changes.
If you want to try this yourself, a prepaid XPASS pass gives you a fixed number of days with no automatic renewal, and the Help Center walks you through setup and testing.
Frequently asked questions
Does a VPN hide my IP address?
It hides your real public IP address from the websites and apps you connect to. They see the address of the VPN server instead. Your VPN provider can still see your real IP address, and so can your internet provider when you connect to the VPN.
Will websites still know who I am if I use a VPN?
Yes, if you log in, accept cookies or use a browser with a distinctive fingerprint. A VPN changes the IP address websites see, not the accounts and identifiers you hand over yourself.
Does a VPN hide my IP address from my internet provider?
No. Your internet provider assigns your real IP address and sees that you are connected to a VPN server. What it cannot read is the content of the traffic inside the encrypted tunnel.
How can I check that my VPN is hiding my IP address?
Note your public IP address with the VPN off, connect, then check it again. If the address changed, websites now see the VPN server's address. Also run a DNS leak test to confirm your name lookups go through the tunnel.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

VPN Basics
What Is a Public IP Address?
Your public IP address is the address websites see when you connect. This guide explains how it is assigned, how it differs from the private address on your home network, and what it does and does not reveal.
7 min read

Privacy Guides
Can a VPN Make You Anonymous?
A VPN gives you more privacy on the network, but it does not make you anonymous. Here is the difference and what still identifies you online.
7 min read

VPN Security
What Is a DNS Leak?
A DNS leak happens when your device asks for website addresses outside the VPN tunnel. Here is why it happens, how to test for it, and what to do about it.
7 min read