Can a VPN Stop Targeted Ads?
Targeted ads follow you through accounts, cookies and device identifiers, not just your IP. See what a VPN changes, what it leaves alone, and what actually reduces ad tracking.
9 min readUpdated Oct 15, 2026By XPASS Editorial Team
You search for a pair of walking shoes once and for the next week every site you open shows shoes. Many people respond by installing a VPN, reasoning that if the internet cannot see who they are, the adverts will leave them alone. A few days later the shoes are still there. That is not because the VPN is broken. It is because targeted advertising rarely depends on your IP address in the way people assume.
This article answers the exact question in the title. It explains how ads are targeted, what a VPN changes in that process, what it leaves untouched, and which settings actually reduce tracking. For the broader question of what can still identify you on a VPN, see can you be tracked with a VPN.
How targeted ads are put together
Behind a single advert there is a small chain of decisions. A page loads, a call goes out to an advertising network, and within a fraction of a second a system decides which advert to show you. To decide, it looks for a stable way to recognise you, and then for what it already knows about that recognised person. The recognition clues come in layers.
| Clue | Where it lives | Survives a change of IP? |
|---|---|---|
| Signed-in account | Your login with a platform | Yes |
| First-party cookies | Your browser, set by the site you visit | Yes, until deleted |
| Third-party cookies and similar storage | Your browser, set by advertising or analytics partners embedded in sites | Yes, if not blocked |
| Advertising ID | A resettable identifier on your phone | Yes |
| Browser fingerprint | The combination of your browser, fonts, screen and settings | Yes |
| Email or phone hash | Your address converted to a code, shared by sites with partners | Yes |
| IP address | Your connection | No |
| Approximate location | Derived from IP, Wi-Fi or GPS | Partly |
Read the table from the bottom. Only the IP address and the part of location that comes from it change when you connect to a VPN. Everything above them is attached to you, your browser or your phone, and travels with you through the tunnel.
What a VPN does change for ad tracking
It would be wrong to say a VPN does nothing here. It removes one clue, and clues add up.
- Your IP address. Sites and advertising partners see the VPN server's address, not your home or office connection. That prevents your IP from being used as a long-lived label across sites and sessions.
- Rough location from IP. Ads that target by city or neighbourhood, using IP lookup, will see the VPN's apparent location instead. Be aware that your phone's GPS and Wi-Fi location can still be used by apps that have permission.
- Network-level profiling. Your internet provider and the cafe or hotel network cannot see which sites you visit, so they cannot build or sell a browsing profile from that traffic. This is a different kind of tracking from adverts, but it feeds the same worry.
- Cross-network linking by address. If you move between home, work and mobile data, a trackers' simple matching on your home IP no longer works across these networks.
These are real benefits, and they are the reason a VPN belongs in a privacy toolbox. The point is just that they cover one part of a many-part system.
What a VPN does not touch
- Being signed in. If you are logged in to a platform, it knows exactly who you are, on any IP. Its ad system uses what you do there. The VPN does not influence that.
- Cookies. A cookie placed by an advertising partner stays in your browser and is sent back on your next visit. Same cookie, new IP, same profile. Our explainer on VPNs and tracking cookies covers this in more depth.
- Advertising IDs on your phone. Phones carry an identifier that apps can read for advertising. A VPN has no connection to it.
- Browser fingerprints. Even without cookies, a combination of browser version, screen size, installed fonts, language and many other details can be nearly unique. The EFF's Cover Your Tracks tool lets you test this yourself. See also VPN and browser fingerprinting.
- In-app tracking. Apps can record what you tap and read, and share it with partners through software libraries. This happens inside the app, before traffic reaches the VPN.
- Data you volunteer. Email addresses, phone numbers and loyalty cards connect your activity across stores and sites.
- Ads themselves. A VPN carries advert content unchanged. If a site shows an advert, the VPN delivers it.
That list explains most of why the shoes follow you. The retailer set a cookie, or you were signed in, or your phone's advertising ID was shared by an app. None of these cares what your IP address is.
Does incognito mode help?
Partly, and for a different reason. A private window starts with no stored cookies and discards new ones when you close it, so it cuts off the thread that links your private session to your normal one. It does not hide your IP, and it does not stop a site from tracking you during that window. Mozilla's help page on private browsing describes what it does and does not do. The comparison in VPN vs incognito mode lines up the two. A VPN with incognito mode covers the IP and the stored-cookie routes together, but neither touches fingerprints or logins.
The settings that really cut targeted ads
If the goal is fewer personalised adverts, these changes do more than any single tool.
In your accounts
- Open the ad or privacy settings of the platforms you use and switch off personalised advertising. Names differ, but look for "ad personalisation", "ads based on your activity" or "interest-based advertising".
- Review what activity history the account saves, and pause or auto-delete it if you do not need it.
- Remove linked third-party apps and sign-ins you no longer use.
On your phone
- On iPhone, in Settings under Privacy and Security, look at Tracking and turn off permission for apps to ask to track you. Apple's page on app privacy details explains the labels you see in the store, which are helpful for judging an app before you install it.
- On Android, find the advertising or ads section in Settings, then reset the advertising ID or opt out of personalisation. Exact menu names vary by version and manufacturer.
- Go through app permissions for location, contacts and photos and remove those not needed.
In your browser
- Turn on built-in tracking protection or choose a browser that blocks third-party cookies and known trackers by default.
- Clear cookies and site data regularly, or set the browser to clear them on exit.
- Use separate browser profiles for shopping, work and personal life, so profiles do not blend.
- Add a reputable tracker or content blocker only from the official extension store, and keep the number of extensions small, since each has broad access.
In your habits
- Be careful about giving your email and phone number to marketing forms.
- Decline optional cookie categories on banners; "reject all" is often available.
- Do not sign in just to read.
A comparison of the tools
| Tool | Cuts IP-based tracking | Cuts cookie-based tracking | Cuts fingerprinting | Cuts account-based ads |
|---|---|---|---|---|
| VPN | Yes | No | No | No |
| Private window | No | Within that window only | No | Only if you stay signed out |
| Browser tracking protection | No | Yes, for known trackers | Partly | No |
| Ad or tracker blocker | No | Yes, for blocked domains | Partly | No |
| Platform ad settings | No | No | No | Yes, for that platform |
| Phone advertising ID reset | No | No | No | Partly, for app ads |
No row covers everything. The sensible plan stacks a few, depending on how worried you are.
Three realistic cases
The shopper. Mei wants fewer shoe adverts. She resets the advertising ID on her phone, switches off personalised ads in the two shopping accounts she uses, and turns on tracking protection in her browser. She also logs out of shopping sites when she leaves them. The VPN is optional for this goal. Adverts reduce within days because the identifiers they used are gone.
The traveller. Kofi is abroad and notices that adverts are in a new language and show local shops. That comes from location signals, partly IP and partly the phone. With a VPN on, IP-based location changes to the server's, but the phone's GPS and the account's home country still influence what he sees. If he wants to limit location-based ads, he turns off location access for the apps that do not need it.
The privacy-minded student. Ploy uses public Wi-Fi at the library and does not want the network to see what she browses. She uses a VPN for that, and separate browser profiles for study and social media. She understands that this does not stop the social platform from knowing what she does while signed in.
A quick test you can run yourself
Rather than trusting claims, test what follows you. Set aside ten minutes.
- Visit the EFF Cover Your Tracks page without a VPN and note whether your browser is reported as having strong protection against trackers and how unique your fingerprint looks.
- Connect your VPN and run the same test. The IP-related result should change; the fingerprint result will probably look the same, because your browser has not changed.
- Open a private window and test again. Cookies are cleared, but the fingerprint score still barely moves.
- Turn on your browser's tracking protection, restart, and test once more. This is usually the step that changes the trackers result most.
- Search for an unusual product in a signed-in browser, wait a day, and see whether adverts for it appear in the same browser. Then repeat in a clean profile where you are signed out.
You will likely see that the VPN moved one number while the profile, cookie and tracker settings moved the others. That pattern is the best summary of the whole topic.
Limits and honest expectations
A VPN will not make adverts disappear, and it will not make your browsing invisible to the sites you sign in to. It makes your IP address a worse tracking label and shields your traffic from the network. Treat any product that promises to "stop all tracking" with scepticism. A realistic target is fewer, less personal adverts and less data leaving your devices, not zero.
Also keep in mind that some personalisation is useful and some is not harmful. The goal is to decide what you share, not to switch everything off.
Summary
A VPN swaps your IP address and hides your traffic from the local network, which removes one of many clues advertisers use. Cookies, logins, advertising IDs, fingerprints and in-app tracking continue to work through the tunnel, which is why targeted ads usually carry on. To reduce them, change the settings on your accounts, phone and browser, and use a VPN as an added layer.
If you want that extra layer on shared networks, a short prepaid pass is available on the pricing page.
Frequently asked questions
Will a VPN stop ads from following me around?
Not by itself. Ad targeting mostly relies on logins, cookies, advertising IDs, browser fingerprints and your activity inside apps. A VPN changes the IP address that sites see, which removes one clue, but the others stay.
Does a VPN block ads?
A VPN is not an ad blocker. It carries ads like any other web content. Some products add an optional blocking feature, but that is a separate function, and it is worth checking what exactly it blocks.
Why do I still see ads about things I searched for while using a VPN?
Because the advertising system recognises you by something other than your IP address, most often a signed-in account, a cookie stored in your browser, or an advertising ID on your phone. Changing the IP does not change these.
What actually reduces targeted advertising?
Turning off personalised ads in your account settings, resetting or limiting the advertising ID on your phone, clearing or blocking third-party cookies, using a browser with tracking protection, and limiting what apps may track.
Is it worth using a VPN for ad privacy at all?
It helps with one part: it stops sites and networks from tying your activity to your home IP address and approximate location. It is a useful layer next to browser and account settings, not a replacement for them.
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 You Be Tracked With a VPN?
Yes, you can still be tracked with a VPN. Cookies, fingerprints, location services, ad IDs and your own accounts keep working. Here is what a VPN changes and what it does not.
10 min read

VPN Basics
VPN vs Incognito Mode: What Each One Hides
Incognito or private browsing keeps history off your own device, but it does not hide your activity from networks or websites. A VPN does different work. Here is how they compare.
9 min read
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

Device Guides
Browser Privacy Settings vs VPN Protection
Browser privacy settings and a VPN guard against different things. This guide maps each threat to the tool that actually addresses it, so you can use both sensibly.
10 min read