dark web
Is the Dark Web Illegal? What the Law Actually Says
Most places: using Tor is legal; what you do afterward may not be. Country rules, activity, and how police treat encryption — separated clearly.
In most jurisdictions, running Tor Browser and visiting .onion sites is not a crime. What you do after you connect is a separate question — and so is how your government treats encrypted traffic. This guide separates browsing from conduct.
Please review our legal disclaimer before making any decisions based on this information. We're not lawyers, and jurisdictions differ in ways that matter.
Browsing vs Doing — Only One of Those Is Criminalized
Accessing the Tor network is a technical act, not a legal one. In democratic countries with strong rule-of-law traditions, accessing a network that provides anonymity is not illegal. You're not committing a crime by using HTTPS, a VPN, or Tor — all three encrypt your traffic.
What is potentially criminal:
- Purchasing illegal goods (drugs, weapons, stolen data)
- Distributing child sexual abuse material — this is criminal everywhere, without exception
- Participating in financial fraud, money laundering, or ransomware operations
- In some jurisdictions: accessing sites that local law defines as illegal (gambling, certain political content)
The technology is neutral. What you do with it determines your legal exposure. A journalist accessing a SecureDrop instance via Tor is doing nothing illegal. A buyer on a darknet drug market is doing something illegal in most countries, regardless of the network they're using.
For context on who uses the dark web and why, see who uses the dark web.
Country-by-Country Quick View
Laws vary significantly. Here's a simplified overview — not legal advice.
| Country | Tor/dark web access | Notes |
|---|---|---|
| United States | Legal | Tor use alone is not criminal. Federal law targets illegal activities, not the tool. |
| United Kingdom | Legal | Computer Misuse Act targets unauthorized access; Tor browsing alone doesn't trigger it. |
| EU member states | Legal (generally) | No EU-wide prohibition on Tor. Some countries restrict certain content types. |
| Germany | Legal | Germany hosts major Tor relay infrastructure. Tor use is unambiguously legal. |
| Russia | Restricted | Russia ordered VPN providers and Tor to register with Roskomnadzor in 2021. Tor is officially restricted but widely used. |
| China | Illegal (de facto) | Great Firewall blocks Tor by default. Using bridges to access Tor violates censorship law. The Tor Project maintains bridges specifically for Chinese users. |
| Iran | Restricted | Tor use is technically illegal under internet censorship laws, but millions bypass restrictions via bridges. |
| Belarus | Restricted | Government banned Tor and VPN services in 2023 as part of broad censorship legislation. |
The Electronic Frontier Foundation tracks digital rights and surveillance laws globally and is worth bookmarking if you operate across jurisdictions.
When Using Tor Itself Becomes a Flag
Legal and suspicious are different things. In some countries, using Tor — even for entirely legal purposes — marks you for closer scrutiny.
NSA surveillance: Documents released by Edward Snowden in 2013 confirmed that the NSA's XKeyscore program specifically flagged users who visited the Tor Project website or connected to the Tor network. That was true regardless of what those users were doing.
ISP-level logging: In the UK, the Investigatory Powers Act 2016 requires ISPs to retain metadata — including connection records — for 12 months. Your ISP can see that you connected to Tor, even if they can't see what you did inside it.
Corporate networks: Using Tor on a corporate network almost certainly violates acceptable use policy and may trigger security alerts. Don't.
The implication for your threat model: legal isn't the same as invisible. In high-surveillance environments, using Tor may attract attention even when you've done nothing wrong. This is why how to access the dark web safely covers ISP obfuscation and entry node bridges.
Threat Model — Legal Exposure
Think about legal exposure in layers:
Layer 1 — Connection: Can your ISP see that you're using Tor? Yes, unless you use bridges or Tor over a VPN. In most countries this is legal, but it's logged.
Layer 2 — Activity: Can someone observe what you're doing inside Tor? With standard usage, no — that's the point of the network. The risk rises if you make operational mistakes: JavaScript fingerprinting, logging into real accounts, reusing usernames.
Layer 3 — Platform: Are the sites you visit operating legally in your jurisdiction? A market selling legal items might still violate money-transmission or import laws depending on jurisdiction and goods.
Layer 4 — Outcomes: If a transaction goes wrong, legal recourse is impossible without revealing your identity. The legal risk of dark web markets isn't only getting caught by law enforcement — it's also complete loss of consumer protections.
We recommend our threat modeling guide as a structured framework for thinking through all four layers before acting.
The Researcher and Journalist Exception
Many jurisdictions recognize academic research and journalism as mitigating factors. If you're a security researcher who visits a darknet market to document its structure, that's meaningfully different from being a buyer. But "I was doing research" is not a blanket defense — intent and documentation matter.
If you're operating as a journalist or researcher, the EFF's legal guide for bloggers and journalists and similar resources are worth reading. Professional organizations like the Reporters Committee for Freedom of the Press have resources on source protection and legal exposure.
Frequently Asked Questions
Is downloading Tor Browser illegal?
No, in essentially all Western democracies and most of the world. The Tor Browser is open-source software distributed by the Tor Project, a U.S.-based nonprofit. Downloading it is as legal as downloading Firefox. China, Russia, Iran, and Belarus are the major exceptions where government policy restricts or prohibits its use.
Can you get arrested for going on the dark web?
In most countries, no — accessing the dark web is not itself an arrestable offense. Arrests related to the dark web are almost always tied to specific illegal activities: drug purchases, fraud, content distribution. Law enforcement resources target those activities, not Tor usage in isolation.
Does using a VPN with Tor make it more legal?
No. Legality isn't affected by whether you use a VPN. A VPN adds a layer of privacy but doesn't change the legal status of your activities. If anything, using multiple privacy tools might draw more attention in high-surveillance environments, though both tools are individually legal in most countries.
What about dark web markets? Are they all illegal?
Not by definition — legality depends on what's sold and your jurisdiction. Some markets have operated selling only legal goods (rare but documented). Most well-known markets trade in controlled substances, which are illegal almost universally. Visiting a market's homepage is not the same as making a purchase, though even that distinction has limits.