Why Do Some Websites Recognize a Returning Visitor After an IP Address Change?
An IP address is only one signal among several. Sign-in state, first-party storage, fingerprint signals and referrers can all tell a site you have been there before.
10 min readUpdated Nov 20, 2026By XPASS Editorial Team

You switch Wi-Fi networks, turn on a VPN, or simply move from home to a cafe. Your IP address is now different. Then you open a shop you visited yesterday and it says "Welcome back", your basket is still full, and the adverts seem to know what you looked at. It is natural to wonder how the site knew, since the one thing you changed was the address.
The answer is that an IP address is a weak and short-lived label. Websites that want to recognise a returning visitor rarely rely on it. They use signals that stay with your browser or your account and travel with you from one network to another. This article looks at four of them in turn: signed-in state, first-party storage, fingerprint signals and referrers. It explains what an IP change really does, gives you a way to test each signal on your own device, and is honest about what a VPN can and cannot change. For the cookie-specific story, see Can a VPN Stop Tracking Cookies?, and for what happens after cookies are cleared, see recognition after clearing cookies.
The short answer
A website recognises a returning visitor by comparing what arrives with what it remembers. The IP address is one thing that arrives. Others are the cookies and stored data your browser sends, the account you are signed in to, a set of technical details about your browser and device, and the page you came from. If any of those match something the site saw before, it can link the visits.
An IP change removes only the first signal. Everything else carries on unchanged. A helpful way to picture it: the IP address is like the street you are standing on, while your sign-in, stored data and browser details are more like your face. Walking to a different street does not change who you are.
This is also why recognition is not automatically sinister. A shop that remembers your cart or a bank that remembers your device is using these signals for features you want. The privacy question is who else can read them and for what purpose.

What an IP address change actually changes
Your IP address is the public network address that websites see when your device connects. It is assigned by your network: your home provider, a mobile operator, a cafe's router or a VPN server. Three points help explain why it is a poor identifier by itself.
- It is shared. Many homes, phones and offices can sit behind one public address, so the address does not point at one person. This is how a single public address can stand for many people.
- It changes. Mobile networks, home providers and public Wi-Fi hand out different addresses over time, and some networks change them often.
- It says little about the device. It tells a site roughly which network you arrived from, not which browser, account or person.
Because of this, most sites treat the address as a supporting clue. It might feed a rough location guess or a risk score, and a sudden jump can prompt an extra check (see why a public IP can change during a session). But it is rarely the thing that says "this is the same visitor".
Signal one: your signed-in state
The strongest recognition signal is the simplest: you are signed in. When you log in, the site gives your browser or app a session token, usually stored as a cookie or in app storage. Each later request carries that token. The server looks it up and knows which account is asking.
This works no matter which IP address the request arrives from. Many services deliberately let a session survive a network change, because people move between Wi-Fi and mobile data all day and would be annoyed by constant sign-outs. Some services add extra checks when the address or location changes sharply, but a session that continues is a normal outcome.
Signed-in state also reaches further than people expect:
- Single sign-in buttons. If you are signed in to one large account in the same browser, other sites that offer "continue with" that account can recognise you with one click.
- Several tabs and apps. Companies with a website, a phone app and an email service often tie them to one account, so a visit in one place can appear in another.
- Remembered devices. After a security check, a service may mark your browser as trusted. That mark is stored on the device and survives address changes. Banks and email providers use this for security.
If a site greets you by name after an IP change, signed-in state is the first thing to check.
Signal two: first-party storage
Even when you are signed out, a site can store small amounts of data in your browser and read it back on the next visit. This is called first-party storage because the site you are visiting sets it for its own use. It is not limited to the classic cookie. Browsers offer several places:
| Storage type | What it is | Typical use | Survives an IP change? |
|---|---|---|---|
| Cookie | Small text value sent with each request | Sign-in, language, cart, consent choice | Yes |
| Local storage | Larger key-value data kept by the page | Saved preferences, drafts, a random visitor ID | Yes |
| Session storage | Data kept for one tab | Form progress within a visit | Yes, until the tab closes |
| IndexedDB / cache | Structured data and saved files | Offline features, app data | Yes |
| Service worker | Background script registered by the site | Notifications, offline mode | Yes |
All of these sit on your device. They are not part of the network path, so a VPN, a new Wi-Fi network or a new mobile connection leaves them exactly where they were. A site can write a random visitor number into local storage on day one and read it again on day thirty, from any address.
This is also why sites remember a language choice or a dismissed banner. It is useful. The difference between helpful and intrusive is mostly what the site does with the identifier afterwards: showing you your own basket is one thing, building a profile that is shared with other companies is another. Third-party tracking cookies are a separate case.
Signal three: fingerprint signals
If you are signed out and the browser keeps no stored data at all, a site may still recognise a familiar-looking browser. Every browser reveals technical details to the pages it loads, either automatically or when a script asks. Examples include:
- the browser name and version, and the operating system;
- screen size and colour settings;
- the time zone and language list;
- which fonts are installed;
- how the graphics hardware draws a hidden test image;
- the list of supported features.
Any one of these is shared by many people. Together they can be unusual enough to act as a rough label. That label is a probability, not a certainty, and it can change when you update the browser, install fonts, rotate the screen or change settings. Even so, it does not depend on the IP address, which is why a VPN does not remove it. The dedicated article on browser fingerprinting and VPNs goes deeper, and the EFF's Cover Your Tracks tool lets you see how distinctive your own browser looks.
One point is easy to miss: some signals reveal that you recently moved. A device whose time zone says one region while the IP address suggests another is a notable combination. It does not identify you, but it shows a site that something changed, and it is one reason a recognised browser may suddenly meet an extra check.
Signal four: referrers and link identifiers
A referrer is the page you came from, passed along when you click a link. Under the HTTP rules in RFC 9110, a request can include a header naming the previous page, and browsers decide how much of it to send. Modern browsers often trim it to the site name only, but a full address is still possible in some situations.
Referrers matter for recognition in two ways:
- They show the path. If you arrive from a search result, an email or an advert, the site can tell which one, and link that click to a campaign.
- Links can carry identifiers. Marketing emails and shared links often contain a long code in the address, for example a query string with a customer or campaign ID. When you click, the site learns which recipient clicked, even from a new address, and may tie that to your earlier visits or your account.
You will not see this unless you look at the address bar. After clicking a link from a newsletter, the address often contains many extra characters. Those are identifiers the sender placed there. Sharing such a link with a friend can also share the identifier, which is why some people trim the extra parameters before forwarding.
A VPN does not alter any of this. The click, the referrer and the link code are all part of your browser's request, not of the network route.
Why an IP change can still matter to a site
None of this means the IP address is irrelevant. Sites do use it, just rarely alone.
- Rough location. Content, currency and language may be set from the address. After a VPN connects, a site may show you another region's version.
- Risk scoring. A sign-in from an address that looks very different from your normal pattern can score as riskier and trigger a code or a confirmation email.
- Abuse limits. Busy shared addresses can hit rate limits or CAPTCHA checks because many people appear to come from one place.
- Matching with other signals. A new address plus an old cookie is a perfectly normal combination, but a new address plus a new browser plus a new country is unusual and may prompt a check.
So an IP change is better read as a nudge in the site's risk view than as a reset button. Combined with the signals above, it rarely causes the site to forget you.

A practical test: which signal recognised you?
You can find out, step by step, which signal a given site uses. Change one thing at a time and watch whether the site's behaviour changes. Use a site you are happy to experiment on, such as a shop you use or your own account.
- Note the baseline. Open the site in your normal browser while signed in. Note what it shows: your name, your basket, your language, any personalised suggestions.
- Change only the address. Switch from Wi-Fi to mobile data, or connect or disconnect your VPN, then reload. If the site still shows the same things, the address was not the recognising signal.
- Sign out. Reload. If the personal details disappear but a basket or language persists, first-party storage is doing the work.
- Open a private window. In a fresh private or incognito window there is no stored data from your normal session. If the site now greets you as a stranger, stored data or signed-in state was responsible. Our article on VPNs and private browsing explains what a private window does and does not change.
- Try a separate browser profile or another browser. If the site recognises you even then, look at sign-in on the device level (an operating-system account the browser shares) or at fingerprint signals.
- Use the fingerprint checker. Open the EFF Cover Your Tracks test and see how unique your browser looks. A very distinctive result means fingerprint recognition is plausible.
- Look at the link. If you arrived from an email, check the address bar for long identifiers.
Write down which step changed the outcome. That is the signal that mattered for that site. Different sites will give different answers, which is expected.
A plain example
Mei visits an online shoe shop from her home Wi-Fi and signs in. She adds a pair to her basket, then leaves. The next morning she opens her laptop at a cafe, connects the cafe's Wi-Fi, and turns on her VPN as well. When she opens the shop, the basket still holds the shoes and her name appears in the corner.
What happened? Her browser still holds the shop's session cookie, so the site knew the account. Local storage kept her chosen size filter. Her address was now a VPN server's address, which the shop only used to guess a delivery country. Nothing about the address was needed to recognise her.
Later Mei opens the shop in a private window with the VPN still on. Now the site shows a generic page: no name, no basket, and a cookie banner. Her address is the same as before, but the stored data and the sign-in are gone. The comparison shows the recognition came from the browser, not the network.
Limits and what to watch for
It helps to be clear about what each tool can do.
- A VPN is not a cookie or account tool. It does not sign you out, delete stored data or change your browser's details. Its job is to carry traffic through an encrypted tunnel and show sites the VPN server's address instead of your connection's.
- No tool makes you anonymous. Signed-in services know who you are by design, and a VPN does not change that. Nothing here should be read as a promise of anonymity or complete privacy.
- Private windows are limited. They reduce what is saved on the device after you close the window, but sites still see your address and your browser details during the session.
- Clearing data has trade-offs. Deleting cookies and storage makes you look new but also signs you out of everything and may trigger extra security checks the next time you log in.
- Do not use this to evade a site's rules. Understanding recognition is about knowing what your browser reveals, not about getting around account limits, bans or terms of service. Those rules apply regardless of the signals.
- Some recognition is protective. Banks and email providers remember devices to spot account takeovers. Removing that memory can make your own sign-ins harder.
If you want to reduce what ordinary sites can link, the realistic steps are browser-side: block third-party cookies, use separate browser profiles for separate purposes, sign out of accounts you do not need, review which sites can store data, and use the tracker protection your browser offers. The EFF Surveillance Self-Defense guides give a good, neutral overview.
Summary
Websites recognise a returning visitor through your signed-in state, data stored in your browser, how your browser and device look, and the links or referrers that brought you there. An IP address change touches none of the first three and does not alter the fourth, so it rarely makes a site forget you. A VPN changes the address, which can matter for location and risk checks, but it does not clear your browser or sign you out. If you want to know which signal a particular site uses, change one thing at a time and see what moves. When you are ready to use a VPN for the network part of your privacy, you can see the pass options.
Frequently asked questions
Why does a website still know me after my IP address changed?
The IP address is only one signal. If you are still signed in, if the site stored data in your browser, or if your browser looks the same as before, the site can link the new visit to the old one without caring about the address.
Does connecting a VPN make a website forget me?
No. A VPN changes the network address a site sees. It does not sign you out, empty your browser storage or change how your browser and device present themselves.
Is a returning-visitor greeting a sign that something is wrong?
Usually not. It normally means the site found its own stored data or your signed-in session. It is how ordinary features such as saved carts, language choices and remembered devices work.
What is a referrer and can it identify me?
A referrer is information about the page you came from, sent with a request. By itself it does not name you, but combined with a link that carries an identifier it can connect a click to an earlier visit.
How can I tell which signal a site is using?
Test one thing at a time. Open the site in a fresh private window, sign out, use a separate browser profile and compare. The step that changes what the site shows tells you which signal mattered.
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
Privacy Guides
Can a VPN Stop Tracking Cookies?
A VPN changes what websites see of your network, not what your browser stores. Here is how cookies keep tracking you and what actually cuts it down.
9 min read

Privacy Guides
Does a VPN Prevent Browser Fingerprinting?
Browser fingerprinting identifies you from the shape of your browser, not from your address. See what a VPN changes, what it does not, and what helps.
9 min read

VPN Basics
Can a VPN Session Continue After Your Public IP Address Changes?
Your public IP address can change while a VPN is connected. Sometimes the session carries on, sometimes it stalls and must be rebuilt. Here is how to tell which, and why.
11 min read