Darknet Onion Sites: What They Are and How They Work

Onion sites use introduction points and rendezvous circuits to hide server locations. You'll learn the technical protocol behind anonymous TCP services in Tor.

Published: | Updated: November 23, 2026 | By: Derek Whitman | 9 min read

What Are Onion Sites

Onion sites are location-hidden services within the Tor network that allow operators to offer TCP services such as webservers without revealing their IP address[1]. This architecture provides responder anonymity, meaning the server's physical location and network identity remain concealed from both clients and network observers. Unlike regular websites that expose their IP address in DNS records and connection headers, onion sites operate through a system of encrypted relay circuits that prevent anyone from tracing the service back to its host.

The fundamental difference between an onion site and a clearnet website lies in addressing and routing. A regular website uses a domain name that resolves to a public IP address, making the server's network location visible to anyone who queries DNS or examines packet headers. An onion site, by contrast, uses a cryptographic address ending in .onion that does not resolve through DNS and cannot be reached without the Tor network. When you visit an ordinary site, your browser connects directly to the server's IP; when you access an onion site, your connection passes through multiple encrypted relay nodes, and the final connection point is a rendezvous node rather than the server itself.

This design serves operators who need to publish content or services without exposing their infrastructure to targeting, censorship, or legal pressure based on physical location. It also benefits users in jurisdictions where accessing certain information could lead to consequences, since the service cannot log real IP addresses of visitors. The trade-off is that onion sites require the Tor Browser or compatible software to access, and connection speeds are typically slower than clearnet due to the multi-hop routing.

For a broader overview of how darknet services differ from surface web infrastructure, see Dark Net Web Sites: What They Are and How They Work.

How Hidden Services Prepare to Be Accessible

Before a hidden service can accept connections, the host must establish a stable presence in the Tor network by selecting relay nodes to act as introduction points and publishing instructions that tell clients how to reach the service. This preparation phase happens entirely within the Tor network, ensuring the host's IP address never appears in any public record or connection metadata.

The host begins by choosing several Tor nodes to serve as introduction points and builds circuits to those nodes to forward introduction requests[2]. The number of introduction points varies depending on the operator's configuration, but using multiple points provides redundancy: if one introduction point goes offline or becomes unreachable, clients can still initiate contact through the others. Each introduction point is a standard Tor relay that agrees to forward encrypted introduction messages from clients to the hidden service without learning the service's real location or the client's identity. The host maintains persistent circuits to these introduction points, keeping the communication channels open so that incoming requests arrive promptly.

Once the circuits are established, the host creates documents called hidden service descriptors that list the service's current introduction points and describe how to make contact with the hidden service, then uploads them to HSDir nodes[2]. A hidden service descriptor contains the cryptographic public key associated with the onion address, the list of active introduction points, and protocol parameters needed to initiate a connection. These descriptors are uploaded to a distributed hash table maintained by a subset of Tor relays known as HSDir (hidden service directory) nodes. The descriptor is stored at multiple HSDir nodes determined by a hash of the onion address, ensuring clients can retrieve it even if some directory nodes are unavailable.

This two-step process—building circuits to introduction points and publishing descriptors—allows the hidden service to remain reachable without ever exposing its IP address. Clients retrieve the descriptor, learn which introduction points are active, and use that information to initiate contact through the rendezvous protocol.

How Clients Connect to Onion Sites

When a client wants to connect to a hidden service, the process begins by selecting a neutral meeting point in the Tor network and building the encrypted circuits needed to reach both the introduction system and the final rendezvous location. This multi-stage approach ensures neither the client nor the hidden service learns the other's IP address, and network observers cannot link the two parties or determine what service is being accessed.

The client first chooses a Tor node at random to be its rendezvous point and builds a circuit to that rendezvous point[2]. This node acts as a relay that will later join two separate circuits without knowing the identity of either endpoint. The client selects the rendezvous point before contacting the hidden service, ensuring the service operator cannot influence which relay is used or attempt to monitor it. The circuit to the rendezvous point consists of at least three hops—guard, middle, and the rendezvous node itself—providing the client with sender anonymity throughout the connection process.

After establishing the rendezvous circuit, the client retrieves the hidden service descriptor from HSDir nodes to learn which introduction points are currently active. The client then builds an anonymous circuit to one of the hidden service's introduction points and gives it an introduction request that includes the target rendezvous point and the first part of a cryptographic handshake[2]. This introduction request is encrypted so that only the hidden service can read it; the introduction point itself cannot see the rendezvous location or the handshake data. The introduction point forwards the encrypted request through its existing circuit to the hidden service host, which decrypts the message and learns where the client is waiting.

The hidden service then builds its own circuit to the rendezvous point specified in the introduction request. Once both circuits arrive at the rendezvous node, the rendezvous point connects the two circuits and the cryptographic handshake gives the two parties a shared key and proves to the client that it is indeed talking to the hidden service[2]. The handshake uses the public key from the onion address, ensuring the client can verify the service's identity without relying on a certificate authority or external trust anchor. After the handshake completes, both parties hold a shared secret that encrypts all subsequent traffic, and the rendezvous point simply relays data between the two circuits without being able to decrypt it.

This architecture means the client never learns the hidden service's IP address, the hidden service never learns the client's IP address, and the rendezvous point knows neither identity. The introduction point sees encrypted requests but cannot read them or determine where the rendezvous will occur. Network observers watching any single relay see only encrypted Tor traffic with no indication of which hidden service is being accessed or which client is connecting.

Tor Circuit Requirements for Anonymous Connections

Tor circuits require 3 or more nodes for anonymous connections, and some end nodes accept streams while others serve as introduction or rendezvous points[3]. This minimum of three hops—typically a guard node, a middle relay, and an exit or specialised endpoint—ensures that no single relay can link the user's IP address to the destination. The guard node sees the client's real IP but not the final destination; the middle relay sees neither; the final node sees the destination but not the client's origin. When connecting to a hidden service, the final node in the client's circuit is the rendezvous point, which joins two circuits without learning the identity of either party.

Not all end nodes perform the same function. In ordinary Tor browsing, the final node is an exit relay that forwards traffic to clearnet destinations and accepts streams from the circuit. When accessing an onion site, the circuit terminates at a rendezvous point that does not exit to the internet but instead relays encrypted data between the client's circuit and the hidden service's circuit. Introduction points, chosen by the hidden service host, also serve as circuit endpoints that forward introduction requests without decrypting them or accepting general streams. This specialisation means the Tor network assigns different roles to relays depending on the type of connection, and clients must build circuits that match the protocol requirements for the service they are accessing.

The protocol governing these requirements is defined in the Tor Rendezvous Specification Version 3, designed for hidden services in Tor version 0.2.5.x or later and serving as a replacement for the previous rend-spec.txt[4]. Version 3 onion addresses use stronger cryptography and longer address hashes than the deprecated version 2 format, and the circuit construction rules ensure compatibility with modern Tor relays. Clients and hidden services running Tor 0.2.5.x or later follow this specification when building introduction, rendezvous, and service-side circuits, maintaining the three-hop minimum and assigning the correct roles to each relay in the path.

This structure matters because reducing the circuit length below three hops would allow a single relay to correlate the client and destination, breaking anonymity. Operators cannot configure Tor to use fewer hops for hidden service connections, and attempting to do so will cause the connection to fail. Understanding these requirements helps explain why onion site connections are slower than direct clearnet browsing: every request and response must traverse at least six relays in total—three in the client's circuit and three in the service's circuit—before reaching the rendezvous point that joins them.

Tor Hidden Service Connection: Technical Specifications by Stage

Connection Stage
Client to rendezvous point
Node Type
Guard, middle, rendezvous relay
Circuit Length (Hops)
3 minimum
Encryption Layers
3 layers (one per hop)
What This Node Knows
Rendezvous node: two circuits meet here
What This Node Cannot See
Client IP, service IP, content
Connection Stage
Client to introduction point
Node Type
Guard, middle, introduction relay
Circuit Length (Hops)
3 minimum
Encryption Layers
3 layers plus service encryption
What This Node Knows
Introduction point: encrypted request forwarded
What This Node Cannot See
Rendezvous location, handshake data, client IP
Connection Stage
Service to rendezvous point
Node Type
Guard, middle, rendezvous relay
Circuit Length (Hops)
3 minimum
Encryption Layers
3 layers (one per hop)
What This Node Knows
Rendezvous node: joins client and service circuits
What This Node Cannot See
Service IP, client IP, decrypted content
Connection Stage
Service preparation
Node Type
Introduction points (multiple)
Circuit Length (Hops)
Persistent circuits from service
Encryption Layers
Circuit encryption to each point
What This Node Knows
Introduction point: forwards requests to service
What This Node Cannot See
Service IP, client identity, request content
Connection Stage
Descriptor publication
Node Type
HSDir nodes (distributed hash table)
Circuit Length (Hops)
Not applicable (storage)
Encryption Layers
Descriptor signed by service key
What This Node Knows
HSDir: onion address hash, introduction points list
What This Node Cannot See
Service IP, who retrieves descriptor
Connection Stage
Total connection path
Node Type
Client + service circuits via rendezvous
Circuit Length (Hops)
6 minimum (3+3)
Encryption Layers
End-to-end encryption after handshake
What This Node Knows
No single node sees both endpoints
What This Node Cannot See
Complete path, both identities, full content

Key Takeaways

  • Onion sites use introduction points, rendezvous nodes, and hidden service descriptors to keep both client and service IP addresses hidden throughout the connection[2].
  • Every connection requires at least six relay hops in total—three in the client's circuit and three in the service's circuit—which explains why onion sites load more slowly than clearnet pages[3].
  • The cryptographic handshake at the rendezvous point proves the service's identity using the public key embedded in the onion address, eliminating reliance on certificate authorities[2].
  • No single Tor relay can see both the client's IP and the service's IP; introduction points forward encrypted requests they cannot read, and rendezvous points join circuits without decrypting content[2].
  • Version 3 onion addresses follow the Tor Rendezvous Specification for Tor 0.2.5.x or later, using stronger cryptography than the deprecated version 2 format[4].

If you want to explore which onion services are currently reachable and how their availability changes over time, review Active Dark Web Sites: Current Statistics and Availability for documented uptime patterns and directory coverage.

Footnotes

  1. Tor: The Second-Generation Onion Router
  2. Protocol overview - Tor Specifications
  3. Creating circuits - Tor Specifications
  4. Tor Rendezvous Specification - Version 3 - Tor Specifications
OnionLens

Explore More Onion Network Guides

Browse our collection of technical guides on Tor configuration, security practices, and darknet navigation.

View All Guides