Skip to content

Can Android's Nearby Share Work While a VPN Is Connected?

Sending a photo to a phone next to you should not depend on a VPN. Here is how Nearby Share and Quick Share work, where a VPN can still get in the way, and how to test.

10 min readUpdated Nov 8, 2026By XPASS Editorial Team

Can Android's Nearby Share Work While a VPN Is Connected?

You tap Share on a photo, choose the nearby sharing option and wait for the other phone to appear in the list. Nothing shows up. The only thing you changed recently is that a VPN is now connected, so it is natural to suspect it. Sometimes the suspicion is right, but more often the VPN is not involved at all, because sending a file to a phone that is a metre away does not need to travel across the internet.

This article explains in plain terms how Android's Nearby Share, which Google and Samsung have been merging into Quick Share, finds phones and moves files. It then shows where a VPN can and cannot change the result, gives a short test you can run in a few minutes, and lists the settings that cause most failures. Names and menus differ between phone makers and Android versions, so treat the steps as a guide rather than an exact script.

What Nearby Share actually does

Nearby Share is Android's built-in way to send photos, files, links and other items to people close to you. On many current phones the feature is branded as Quick Share, and on Samsung phones you may see both names. The idea is the same in each case. You choose a file, the phone looks for other phones that are close and willing to receive, you pick one, and the other person accepts.

Behind that simple flow, several jobs happen in sequence:

  • Discovery. Your phone announces itself, or listens for others, using short-range wireless signals such as Bluetooth. This is why the feature usually asks for Bluetooth and sometimes for location to be switched on.
  • Handshake. The two phones agree who is sending, what is being sent and whether the receiver has accepted.
  • Transfer. Small items can move over Bluetooth. Larger items usually switch to a faster direct link, often using Wi-Fi in a way that does not need an internet connection. On some setups both phones join the same Wi-Fi network for this step, and in other cases a temporary direct connection is created.

Google's own documentation describes exactly which transports are used on which devices, and it changes over time, so this article stays general. What matters for a VPN is the shape of the process: most of the work happens between two phones in the same room, not between your phone and a server far away.

Why a VPN usually does not matter

A VPN's job is to take your internet traffic, wrap it in an encrypted tunnel and send it to a server run by the VPN service. You can read the general idea in Cloudflare's explanation of a VPN or in the Android help page on VPNs. The key point is that the tunnel is for traffic that is headed toward the internet, or toward the network on the other side of the VPN.

Bluetooth does not use the internet protocol at all in the way a website does, so the VPN has no route to change. A direct Wi-Fi link between two phones is a small network of its own, and traffic on it is aimed at an address that belongs to the other phone, not to a website. The Android system is built so that this kind of local traffic is normally kept off the tunnel. So for the usual case, two phones next to each other, a VPN being on or off makes no difference to whether the file moves.

That is also why this topic looks very similar on other platforms. If you want to compare, the article on AirDrop visibility between nearby iPhones walks through the same logic on iPhone.

Where a VPN can still get in the way

"Usually" is not "always". There are a few honest ways a VPN can change what you see.

1. The transfer falls back to the internet

Some sharing modes can use an internet connection, for example to check who is allowed to see your device when you limit visibility to contacts, or to hand a large file to a recipient who is not close enough for a direct link. If your phone is using the VPN for that traffic and the VPN is slow, paused or reconnecting, that step can stall. The nearby part works, but the part that depends on the internet waits.

2. The phone is on a Wi-Fi network and the VPN catches local traffic

When both phones are on the same Wi-Fi network, the faster part of a transfer may travel across that network. Local addresses in ranges such as 192.168.x.x or 10.x.x.x are private addresses, described in RFC 1918. A VPN app that is set to send absolutely everything into the tunnel, including traffic for those private ranges, can send the local conversation toward a VPN server that has no idea where the other phone is. Many apps leave local network traffic outside the tunnel by default, and some let you decide. The effect is the same one described in the article on printers that disappear when a VPN connects.

3. A strict firewall or "block connections without VPN" setting

Android has an option that blocks all connections unless a VPN is active. It is useful for privacy, but if the VPN is not connected, or the local link is treated as a connection that needs the VPN, a nearby transfer can be refused. Settings differ by phone, so check the VPN section of your system settings.

4. The VPN app triggers power saving

Some phones aggressively limit background apps. If the VPN app and the sharing service both compete for resources, one may be suspended, and the symptom is a nearby phone that appears late or not at all. This has nothing to do with encryption and a lot to do with battery settings.

5. Network isolation on the Wi-Fi

Public and guest networks sometimes stop devices from talking to each other, often called client isolation. If a transfer relies on both phones using that network, isolation can block it with or without a VPN. If you notice that the VPN is connected on that network, it is easy to blame the wrong thing.

A quick test that separates the causes

You do not need technical tools. You need two phones, one file and about five minutes. A small photo is ideal because it finishes fast.

  1. Set a baseline. Turn the VPN off on the sending phone. Make sure both phones are unlocked, have Bluetooth and location switched on, and are within about a metre of each other.
  2. Check visibility. On the receiving phone, open the quick sharing settings and set visibility to a mode that lets nearby devices see it, for example "everyone for 10 minutes" if your phone offers it. Contacts-only modes need accounts to be signed in on both phones.
  3. Send once without the VPN. If the receiving phone appears and the photo arrives, the phones and settings are fine.
  4. Connect the VPN and try again. Use the same photo and the same positions. If it works, the VPN is not the problem, and your original failure came from something else, such as visibility timing out.
  5. If it fails only now, the VPN is involved. Note which of the five situations above matches best. For example, are both phones on the same Wi-Fi, and is the app set to capture every kind of traffic?
  6. Try the split tunneling setting if your VPN app offers one. The article on Android split tunneling explains how to exclude an app or a kind of traffic from the tunnel. Do this only if the setting exists in your app.
  7. If you need to keep it simple, pause the VPN for the short time the file takes to send, then reconnect it. The guide on turning off a VPN on any device shows the usual steps.

A plain example

Mai and her friend Nok are at a café. Mai has a VPN connected because the café Wi-Fi is public. She tries to send a short video to Nok with Nearby Share, but Nok's phone does not show up.

First she checks the basics. Nok's phone is locked, and its visibility is set to contacts only while Mai is not in Nok's contacts. That alone explains the problem, so Nok unlocks the phone and sets visibility to everyone for ten minutes. Now Nok's phone appears, but the video stalls at "connecting".

Mai turns the VPN off for a minute and tries again. The video sends. She turns the VPN back on and tries a small photo, which also works, while the longer video stalls again. Her conclusion is a careful one: the phones can find each other with the VPN on, but the faster part of the transfer seems to depend on the café Wi-Fi, and the café network may be isolating devices. She sends the video with the VPN paused, and then reconnects it. She did not need to know exactly which transport was used to reach a useful answer.

Settings that fix most failures

Most "Nearby Share is broken" reports turn out to be one of these, whether or not a VPN is installed:

Setting or situation What to check
Bluetooth On for both phones
Location On, since nearby discovery often needs it
Visibility Contacts-only needs matching accounts; try a short "everyone" window
Screen state The receiving phone usually needs to be awake and unlocked
Battery saver May stop background discovery; turn it off for the test
Wi-Fi Both phones on the same network, not a guest network that isolates devices
Airplane mode Bluetooth and Wi-Fi can be re-enabled separately, check both
Distance Under a metre or two for the first test
Software Both phones on current system and Google Play services updates
Samsung phones Check whether Quick Share is set to share with contacts only

If the file fails with the VPN off as well, the VPN is not the cause, and the table is a better place to start than the VPN settings.

Limits and things to watch for

A few honest limits apply to everything above.

First, this is a general explanation. Phone makers build the sharing feature differently, Google updates it, and the details of which wireless link is used may change. If the behaviour on your model differs from this description, the settings screens and manufacturer help pages are more reliable than any article.

Second, a VPN does not make a file transfer more private or less private in itself. A direct phone to phone transfer does not pass through a VPN server. A VPN protects traffic that travels over the internet through the tunnel, and it does not guarantee security or anonymity. Be careful about who is in the sharing list, only accept files from people you expect, and keep the visibility window short in busy places.

Third, if your phone is managed by a school or workplace, a work profile or device policy may control VPN and sharing features. If that applies, the administrator's rules decide what is allowed, and you should not try to work around them.

Fourth, if the transfer works only when the VPN is off, pausing the VPN has a cost: other apps on the phone will also use the normal network during that time. Turn the VPN back on straight afterwards, and avoid doing this on an unfamiliar network while you are signed in to sensitive accounts.

Finally, if the VPN connection itself seems unstable, reconnecting or dropping repeatedly, fix that first. The Android troubleshooting guide covers permissions, battery settings and reconnection steps.

A short checklist to keep

  • Test without the VPN first, so you know what normal looks like.
  • Keep both phones close, awake and unlocked for the first attempt.
  • Use a short "everyone" visibility window rather than leaving it open.
  • Add the VPN and repeat with the same file.
  • If only the VPN case fails, check split tunneling, local network access and the block-without-VPN option.
  • Remember that some failures are Wi-Fi isolation, not the VPN.
  • Turn the VPN back on after any pause.

Summary

Nearby Share and Quick Share are built to move files between phones that are physically close, mostly over Bluetooth and direct Wi-Fi links, so a connected VPN is rarely the reason a nearby phone does not appear. A VPN can matter when part of the process uses the internet, when local traffic is forced into the tunnel, when a block-without-VPN setting is active, or when power saving interrupts background services. A two-step test with and without the VPN, using the same file and the same positions, separates these causes quickly. If you would like a pass you can switch on only when you need it, you can look at the options on the XPASS pricing page.

Frequently asked questions

Does a VPN stop Nearby Share from working on Android?

Usually not. Nearby Share, now often called Quick Share, is designed to find phones that are physically close and to move the file over a direct short-range link. A VPN mainly changes the route of internet traffic, so it is rarely the cause when a nearby phone does not appear. Some phones and some transfer modes do use Wi-Fi or the internet, so it is still worth testing.

How can I tell if the VPN is the problem?

Run the same transfer twice between the same two phones, once with the VPN connected and once with it turned off. If the transfer works only without the VPN, the VPN is involved. If it fails both times, look at Bluetooth, location, visibility settings and the other phone instead.

Is it safe to turn the VPN off just to send a file?

For a short file transfer between two phones that you control, many people pause the VPN for a moment and turn it back on afterwards. The transfer itself does not travel over the VPN tunnel in that case. Avoid doing this on an untrusted network if the phone is also loading other apps in the background.

Why does Quick Share work in one place and not another?

Visibility settings, the Wi-Fi network you are on, battery saver, Bluetooth and location settings and the other phone's screen state can all differ from place to place. A network that isolates devices from each other can also stop the faster Wi-Fi part of a transfer.

Does Nearby Share send my files through the VPN server?

When two phones connect directly, the file does not go through a VPN server. If a transfer or a link ends up using the internet, that part can pass through the tunnel like other traffic. The settings screens on your phone and the Android help pages describe what applies to your model.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

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 passes

Keep reading

Device Guides

Can a VPN Affect AirDrop Visibility Between Nearby iPhones?

AirDrop finds nearby devices over short-range wireless, so a VPN is rarely the cause when a phone does not appear. Here is what to check and in what order.

10 min read

Device Guides

Split Tunneling on Android: Setup Guide

A practical Android guide to per-app VPN rules: choose between include and exclude lists, build the list, test it and fix the usual problems.

9 min read

Troubleshooting

Can a VPN Break Multicast DNS Discovery on a Home Network?

Your printer or smart speaker disappears the moment the VPN connects. Here is how multicast DNS works, why a VPN can interfere, and how to test it step by step.

10 min read