How Many Nodes Are in a Tor Circuit?

A standard Tor circuit typically consists of three nodes designed to protect user privacy through multi-layered encryption. This article provides a straightforward breakdown of how a standard Tor circuit operates, the distinct functions of the Guard, Middle, and Exit nodes, and why this three-hop configuration is the default architecture for anonymous internet browsing.

The Three-Node Architecture

When you connect to the internet using the Tor Browser, your traffic is routed through three randomized relays before reaching its final destination:

  1. The Entry (Guard) Node: This is the first stop for your encrypted traffic. The entry node knows your real IP address because it receives the connection directly from your device. However, it cannot see what website you are visiting or read the contents of your traffic.
  2. The Middle Node: The middle relay sits between the entry and exit nodes. It receives traffic from the entry node and forwards it to the exit node. It knows neither your real IP address nor the final destination server, serving as an essential isolation barrier between the two ends of the circuit.
  3. The Exit Node: The exit node removes the final layer of Tor’s encryption and sends the request to the intended destination (e.g., a website). The website sees the IP address of the exit node rather than your personal IP address. The exit node knows the destination server, but it has no knowledge of your identity or IP address.

Why Three Nodes Are Used

The three-node model provides a balance between strong anonymity and connection speed:

Exceptions to the Three-Node Rule

While three nodes are standard for browsing the clear web via Tor, certain scenarios use different circuit lengths: