The order matters. "Tor over VPN" means you connect to the VPN first, and then Tor runs inside it: you, then the VPN, then the three Tor relays, then the website. "VPN over Tor" is the reverse: your traffic goes through Tor first and comes out at a VPN server, which then talks to the website. People mix the names up constantly, and VPN providers' marketing doesn't help, so I'll stick to describing the path.

The Tor Project's own advice is that most people don't need either. That's still right. But there are real situations for both, so here's what each does.

You, then VPN, then Tor

This is the common one, and the easy one. Turn on your VPN, then open Tor Browser. Nothing else to configure.

What changes:

  • Your ISP no longer sees that you're connecting to Tor. It sees a VPN connection.
  • Your Tor guard relay sees the VPN server's IP address instead of yours.
  • The VPN provider now sees that you're connecting to Tor, from your real IP, at what times, and how much data you move.

What doesn't change: the websites you visit, and the exit relay, see exactly what they'd see without the VPN. Your anonymity against them comes entirely from Tor.

So the question is whether you'd rather your ISP or your VPN provider knows you use Tor. If you live somewhere that using Tor draws unwanted attention and VPNs are common and tolerated, putting a VPN in front makes sense. If you're in a country that blocks Tor outright, the VPN might get you connected. But Tor's own bridges do that job without adding a company that knows your identity, and they're free. I'd try bridges first.

The usual counterargument is "but the guard relay sees my IP." It does, and that's by design: the guard knows who you are but not what you're doing. It's one relay, chosen for stability, which you keep for months. Replacing that relay's knowledge with a paying customer record at a VPN company isn't obviously an improvement.

One real benefit: if the VPN client has a reliable kill switch, it can catch leaks from other applications on your machine that aren't going through Tor at all. That's not a Tor Browser feature and it's a nice side effect, though it's not why you'd choose this setup.

You, then Tor, then VPN

This one is rarer and harder. Your traffic goes through Tor, exits, and then enters a VPN, so the website sees the VPN server's IP, not a Tor exit.

Why would anyone do this? Mostly because some websites block Tor exit IPs entirely, and coming out of a VPN gets around that. Some people also want a stable outgoing IP for a particular service.

The costs are significant:

  • The VPN account is a persistent identifier. Every session you send through it is linkable to every other, whatever circuits Tor uses underneath. You've traded Tor's rotating exits for one fixed identity.
  • If you paid for the VPN with a card or logged in from your normal connection even once, the account ties straight back to you.
  • Tor only carries TCP. WireGuard, which most VPN apps now default to, uses UDP and won't work. OpenVPN in TCP mode does, through its socks-proxy option pointed at Tor's SOCKS port.
  • It breaks Tor Browser's stream isolation, since everything shares one VPN tunnel.
  • It's fiddly to set up without leaks, and VPN apps generally aren't designed with this in mind.

A minimal OpenVPN example, if you insist, assuming the Tor daemon is listening on its default port:

# in your .ovpn file
proto tcp-client
socks-proxy 127.0.0.1 9050

You'd also need to make sure the VPN server's own IP is reached through Tor and that DNS doesn't leak around it. Getting it fully right on a normal desktop OS is genuinely awkward. The Whonix project documents the various combinations in detail and is the best reference I know if you want to go down this path; their wiki at whonix.org covers it.

What VPN marketing gets wrong

Some VPN providers sell "Onion over VPN" or "Tor over VPN" buttons, where their server routes your traffic into Tor for you. That means the VPN server is running the Tor client on your behalf, so you get none of Tor Browser's anti-fingerprinting, and the VPN sees your traffic before it enters Tor. It can reach onion sites, which is about the only thing it has going for it. Compared to just running Tor Browser, it's a downgrade.

You'll also see claims that a VPN is "required" for Tor or that Tor is "dangerous without a VPN." Neither is true. Tor was designed to be used on its own.

A quick decision guide

SituationReasonable choice
Just want private browsingTor Browser, no VPN
Tor is blockedBridges first; VPN then Tor if bridges fail
Don't want your ISP to know you use TorBridges (obfs4, Snowflake, WebTunnel), or VPN then Tor
A site blocks Tor exitsUsually: find another site. VPN over Tor only if you understand the linkability
Already pay for a VPN and leave it onFine to keep it on while using Tor Browser

That last row is worth saying plainly: if your VPN is always on anyway, you don't need to turn it off to use Tor. It's not harmful. It just isn't doing much for your anonymity. For the broader comparison of the two tools, see Tor vs VPN.

#vpn #tor #tor-over-vpn #vpn-over-tor