Privacy

Is Tor Illegal? What US Law Actually Says in 2026

Using Tor is legal in the US, but what you do with it is not exempt from the law. Here is the legal picture, the limits, and the practical risks.

Cysoro Security TeamPublished · 6 min read
PRIVACY Is Tor illegal? Legal in the US. The law judges what you do. ?
Quick answer

No, Tor is not illegal in the United States. There is no federal or state law that bans downloading, installing or using Tor Browser, and the Electronic Frontier Foundation states that running a Tor relay, including an exit relay, is legal under US law. What you do over Tor is still covered by the same laws as anything else you do online.

Key takeaways

  • Using Tor is legal in the US; no federal or state law bans Tor Browser.
  • Illegal acts stay illegal over Tor, and police can investigate Tor users with a warrant.
  • Running a relay is believed legal in the US, but exit relays carry practical risks.

Tor has a reputation problem. Because criminals use it, many people assume the software itself must be illegal. In the United States, that assumption is wrong — but the full answer has limits worth knowing.

Is Tor illegal?

No, Tor is not illegal in the United States. No federal law and no state law bans downloading, installing or using Tor Browser, and the Tor Project operates openly as a US nonprofit.

The technology itself has government roots. Onion routing was developed at the US Naval Research Laboratory in the 1990s, the Tor network launched in 2002 with its code released as free software, and US government agencies have funded the Tor Project at various points since.

The Electronic Frontier Foundation, which publishes the main legal FAQ for Tor relay operators, states that it believes running a Tor relay — including an exit relay that lets people send and receive traffic anonymously — is legal under US law. That FAQ is the best starting point for the legal detail, and it carries an important warning: it is general information, not legal advice.

What is Tor, and why do people use it?

Tor is free software that routes your internet traffic through a series of volunteer-run relays, each of which only knows the previous and next hop. That layered routing is why it is called onion routing, and it is maintained by the Tor Project.

The point is to separate who you are from where you go online. Your internet provider can see that you are using Tor, but not which sites you visit. The site you visit sees the exit relay, not your real IP address.

Legitimate users include journalists protecting sources, researchers studying censorship, people in countries with restricted internet access, and ordinary users who do not want their browsing tracked and sold. You can check what your own connection currently reveals with our free what is my IP tool.

What stays illegal when you use Tor?

Tor changes how your traffic travels, not what the law allows. Buying illegal drugs, viewing illegal material, fraud, hacking and harassment are crimes whether you do them over Tor or over a normal connection.

The EFF FAQ puts it directly: Tor was developed as a tool for free expression, privacy and human rights, and it is not designed or intended to be used to break the law, by its users or by relay operators.

Anonymity is also not a shield in practice. Tor does not make you untraceable, and it does not protect you if you log into an account in your real name, download a file that phones home, or reuse a username that links to your identity.

Legal vs illegal: it is about what you doLegal in the USDownloading Tor BrowserBrowsing with TorVisiting onion sitesRunning a relayThe tool itself is legalStill illegalBuying illegal goodsFraud and hackingIllegal images and materialHarassment and threatsThe act is illegal, Tor or notTor is a tool. The law judges your actions, not the software.
Using Tor is legal in the US; using it to commit a crime is not. Illustration by Cysoro.

Can police track Tor users?

Yes, in some cases, and always through the courts. Law enforcement has identified Tor users in criminal investigations using court-authorized techniques, including network investigative techniques authorized by a judge.

That matters for two reasons. First, Tor is not a guarantee of anonymity: the Tor Project itself says perfect anonymity is generally impossible. Second, the investigation still needs legal authority — simply using Tor does not by itself give police a reason to target you.

The most common way people are identified is not a Tor weakness at all. They log into a personal account, reuse a distinctive username, or download and open a file that connects outside Tor. Operational mistakes beat the technology.

ActivityLegal in the US?Notes
Download Tor BrowserYesFree software from the Tor Project
Browse the web with TorYesYour provider can see you use Tor
Visit onion sitesYes, in itselfContent and actions on the site still matter
Run a middle relayBelieved legalLowest practical risk of the relay types
Run an exit relayBelieved legalHighest risk of mistaken investigation
Commit a crime over TorNoSame laws as offline and on the open web

Is it legal to run a Tor relay?

The EFF believes running a Tor relay is legal under US law, including an exit relay. It also says it is not aware of anyone being sued, prosecuted or convicted for running a relay, while warning that police have occasionally investigated relay operators by mistake.

Two federal laws are central to that view. Section 230 (47 U.S.C. section 230) gives online intermediaries immunity from many claims over other people's speech, and a safe harbor in the Digital Millennium Copyright Act, 17 U.S.C. section 512(a), protects services that simply transmit material without modifying it.

The practical advice is more cautious than the legal view. The EFF advises against running an exit relay from home, because police may wrongly attribute traffic that exits from your address to your household. A hosting facility, a separate IP address and a provider that accepts Tor are the usual recommendations.

Is Tor illegal in other countries?

Tor is legal in the United States and in several other democracies, but the picture changes elsewhere. Some governments restrict or block Tor, and a few treat using circumvention tools as an offense.

That makes travelling with Tor a real consideration. A tool that is perfectly legal at home can draw attention or break local law abroad, and a VPN or Tor connection that works in one country may be blocked in another.

Before travelling, check the law and the practical situation in your destination, and do not assume that what is legal at home travels with you. If you need privacy on a trip, read our guide on how to secure your Wi-Fi first — hotel and airport networks are where most travellers actually get exposed.

Can your employer, school or ISP block Tor?

Yes. Tor being legal does not mean any network must allow it. Employers and schools routinely block Tor on their networks, and using it against a workplace or school policy can lead to discipline even though no law was broken.

Internet providers in the US can also see that you are connecting to Tor, even though they cannot see what you do inside it. Some providers and services treat Tor traffic with suspicion: you may face extra CAPTCHAs, blocked logins or a site that refuses connections from known exit relays.

That friction is a practical cost of Tor, not a legal one. If a site blocks Tor exit nodes, the fix is usually to use a normal connection for that site, or to accept the extra verification step.

Using Tor safely: three habits that matter1Official download onlyGet Tor Browser fromthe Tor Project sitenever a mirror or ad2Keep it updatedTor Browser updatespatch real flaws fastdo not delay them3Stay anonymousDo not log into personalaccounts over Toror open risky filesMost Tor failures are user mistakes, not Tor failures.
Three habits that keep Tor use safe and legal. Illustration by Cysoro.

Tor vs VPN: which is right for you?

Tor and a VPN both hide your traffic from your provider, but they work differently. A VPN routes your traffic through one company's server; Tor routes it through three volunteer relays, so no single relay knows both who you are and where you are going.

Tor gives stronger anonymity against a single observer, but it is slower and many sites block it. A VPN is faster and works with almost every site, but you must trust the VPN provider with your traffic.

For everyday privacy — hiding browsing from a public Wi-Fi network or your provider — a reputable VPN is usually the practical choice. For high-stakes anonymity, such as journalism or activism, Tor is the stronger tool. Some people use both, running a VPN before Tor, but that adds complexity and a new party to trust.

Whichever you choose, test for leaks. Our free WebRTC leak test shows whether your browser is revealing your real IP address despite the VPN or Tor connection.

The bottom line

Tor is legal in the United States. Downloading and using it breaks no law, and the EFF believes running a relay is legal too — with the practical warning that exit relays can attract mistaken attention.

The law judges what you do, not the tool you use. Use Tor for legitimate privacy, keep it updated, do not mix it with your real identity, and check local law before using it abroad. For a broader privacy check, start with our small business cybersecurity checklist.

Frequently asked questions

Is Tor illegal in the US?

No. There is no federal or state law in the United States that makes it illegal to download, install or use Tor. The Tor Project is a US nonprofit, and the technology was originally developed at the US Naval Research Laboratory.

Is it illegal to visit onion sites?

Visiting an onion site is not illegal in itself in the US. What matters is what the site contains and what you do there. Visiting a site that hosts illegal material, or buying illegal goods or services, can be a crime even if you reached it through Tor.

Can police track you if you use Tor?

Tor makes tracking much harder, but it does not make you untraceable. Law enforcement has identified Tor users in criminal investigations using court-authorized techniques, and mistakes such as logging into a real account over Tor can also reveal who you are.

Is it legal to run a Tor relay?

The Electronic Frontier Foundation believes running a Tor relay, including an exit relay, is legal under US law. It also warns that it cannot guarantee you will never face legal trouble, and that police have occasionally investigated relay operators by mistake.

Can my employer or school ban Tor?

Yes. Tor being legal does not mean your employer, school or internet provider must allow it. Work and school networks can block Tor, and using it against a workplace policy can have consequences even though no law was broken.

Is Tor illegal in other countries?

It depends on the country. Tor is legal in the United States and several other democracies, but some governments restrict or block it. Check the law where you are before using it, especially when travelling.

Does using Tor mean I am doing something wrong?

No. Journalists, researchers, activists, whistleblowers and ordinary people use Tor for legitimate privacy reasons, such as reading news without being tracked or communicating safely. Using a privacy tool is not evidence of wrongdoing.

Sources

  1. Electronic Frontier Foundation — Legal FAQ for Tor Relay Operators
  2. Electronic Frontier Foundation — Tor University Challenge legal FAQ
  3. Tor Project — About Tor
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against the Electronic Frontier Foundation legal FAQ for Tor relay operators and the Tor Project.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free