What Is the Tor Network? How It Works and Its Limitations

Layered encryption that hides who's connecting to what β€” here's how the Tor network actually works.

What the Tor network is

Tor (The Onion Router) is a free, open-source network that routes your internet traffic through a randomly selected series of volunteer-run relay servers instead of sending it directly to its destination, making it much harder to trace who connected to which site.

How onion routing works

Before sending data, the Tor client wraps it in multiple layers of encryption, one for each relay it will pass through. Each relay peels off only its own outer layer, learns just the address of the next hop, and passes the message on β€” no single relay knows both the full path and the original content. This layered structure is where the 'onion' name comes from.

The three-hop relay structure: guard, middle, exit

Tor traffic typically passes through three relays: a guard node that serves as the entry point, a middle node that relays it once more, and an exit node that finally sends it out onto the regular internet. Each relay only knows the node immediately before and after it, not the full path, so compromising a single relay generally isn't enough to link a user to their destination.

'.onion' addresses and hidden services

Addresses ending in .onion are reachable only within the Tor network and let a service keep not just its visitors anonymous, but its server's real location hidden too. These are called hidden services (or onion services) β€” used for legitimate purposes like secure tip lines for journalists, but also, unfortunately, abused by illicit sites trying to avoid detection, which is worth knowing about.

Why people use Tor

Tor is used to circumvent internet censorship in places where access is monitored or restricted, by journalists communicating safely with anonymous sources, and by individuals who simply want to keep their browsing activity harder to track by their internet provider or by ad networks. It's worth understanding that this same anonymity is sometimes misused for illegal purposes as well.

Speed trade-offs and security limits

Routing through several relays makes Tor noticeably slower than a normal internet connection. Exit nodes also handle your traffic after it leaves Tor's encrypted portion, so if the site you're visiting doesn't use HTTPS, the exit node operator could potentially see the contents of that traffic. Tor significantly boosts anonymity, but it isn't an absolute guarantee against a well-resourced attacker doing traffic analysis.

How to access it, and how it differs from a VPN

The usual way to use Tor is the official Tor Browser, which builds its relay path automatically with no complex setup required. Where a VPN routes all your traffic through a single provider's server, Tor spreads it across multiple independent, volunteer-run relays β€” meaning trust is distributed across many operators rather than concentrated in one VPN company.

How Tor differs from a VPN, in practice

A VPN encrypts your traffic to a single server run by one company, meaning that company (in principle) could see your traffic and knows both who you are and what you're doing, even if they promise not to look. Tor spreads that trust across three independent, volunteer-operated relays instead β€” no single relay operator can see both who you are and what site you're visiting, which is the core of its anonymity model. The trade-off is speed: Tor is almost always slower than a VPN because of the extra hops.

Who actually keeps the network running

Tor relays are run by thousands of volunteers, organizations, and universities around the world, coordinated by the Tor Project, a nonprofit. Anyone with a spare server and enough bandwidth can run a relay, which is precisely what gives Tor its distributed trust model β€” there's no single company or government that operates or controls the whole network.

Frequently Asked Questions

Does using Tor make me completely anonymous?

It significantly increases anonymity, but not absolutely. If you log into an account with identifying details while using Tor, or if a well-resourced adversary is able to analyze traffic patterns at scale, your identity can still potentially be exposed.

Is it illegal to use Tor?

No. Tor itself is an open-source tool built for legitimate purposes like press freedom and privacy protection, and using it is legal in most countries. Actually committing illegal acts using Tor, however, remains illegal, just as it would through any other tool.