This blog post from a few years ago suggests that using BitTorrent services over Tor is a bad idea for multiple reasons. However, it also suggests some fixes to get over these problems.

Is using a BitTorrent client over Tor safe? How do I set it up?

  • 4
    While I'm at it, you might want to read torproject.org/docs/faq#WhyCalledTor for why it's "Tor" rather than "TOR". :) Commented Sep 26, 2013 at 1:18
  • @RogerDingledine I had read that FAQ a while back, guess it slipped my mind. Thanks :)
    – asheeshr
    Commented Sep 26, 2013 at 2:03
  • TOR will always be The Onion Router and Pluto will always be a planet.
    – Chloe
    Commented Jul 29, 2016 at 3:46

7 Answers 7


As others have said, this is something you shouldn't do. However, for the purpose of actually answering the second part of your question, you can do it fairly easily. In your Torrent client's configuration screen, look for a section called "proxy" or "network connection" etc. and set it up like the following example (using Deluge here):

Deluge configured for Tor use

The important part is just to use as the proxy. Also note that 9050 is the default port, but it may not be the same on your installation (or if you're using the browser bundle). You'll have to look up the orport value in your torrc file.

If you don't have separate options for different types of Torrent traffic, please don't do it. This will send all traffic (including peer-to-peer traffic) through Tor.

  • 1
    It took me a few reads, spanning over multiple months, to realize that you weren't sending actual downloading of pirated movies through Tor. It might be helpful to supply which Torrent clients allow this. Obviously, Deluge does.
    – cubecubed
    Commented Jun 8, 2014 at 6:25
  • You have included the DHT in the list of proxies - DHT in Deluge works over UDP, so this traffic would just get dropped, making it not function, and only good to prevent leaks, yes ?
    – bobjandal
    Commented Nov 19, 2014 at 18:45
  • @bobjandal Yah, you could set that to localhost or something if you didn't want to use the DHT. I'm not sure if it's always over UDP or not... might as well just set it to Tor and then if it works over TCP at all great, if not you prevent it leaking information (I'm pretty sure you're correct, however).
    – user5
    Commented Nov 19, 2014 at 19:45
  • 1
    and here is the catch : check twice with tcpdump if when a client checks it's IP address or uses DHT - in some cases many BT clients can ignore proxy settings
    – Alexey Vesnin
    Commented Apr 3, 2016 at 14:48

The blog post is still accurate. Please don't do it.

Sending your BitTorrent traffic through the Tor network would overload it even more. It isn't designed to handle such things -- the Tor network has much less capacity than it has users wanting to use it. And since it's zero-sum, every person trying to BitTorrent over Tor means many more people in Syria who can't get to their Facebook pages.

We've even been exploring mechanisms for throttling "loud" users, to make it even less worthwhile to try to BitTorrent over Tor:

That said, it should be fine to just fetch the torrent files themselves over Tor. That's even what the Pirate Browser folks are trying to do. And it could even be OK to send the tracker traffic over Tor. The trouble there is that it's a slippery slope, and so far everybody who has made a check-box in their torrent software for just tracker traffic also makes a check-box right next to it for the bulk traffic. Since we don't want to get into the business of writing more usable (and more Tor-friendly) BitTorrent software, it's simplest just to tell people not to do it.

If you need alternatives, consider i2p, or gnunet, or just getting a VPN somewhere.

  • See <torrentfreak.com/…>.
    – mirimir
    Commented Sep 29, 2013 at 6:09
  • the working link from mirmir: torrentfreak.com/… Commented May 9, 2015 at 18:42
  • 2015 edition: torrentfreak.com/… Commented May 24, 2015 at 7:28
  • I am surprised that "the Tor network has much less capacity than it has users wanting to use it". I run 3 guard nodes and none of them hit the network capacity. Do you have a source for the claim?
    – Ole Tange
    Commented Sep 23, 2015 at 9:50
  • @OleTange: Please have a look at the related FAQ, or if you are talking about a nearly 100Mbit-connection look at this FAQ. Commented Nov 28, 2015 at 15:53

As Roger Dingledine wrote, please do not do it. He also described good alternatives.

Basically some torrent clients allow to communicate over a socks proxy so they can be redirected to a Tor client acting as a socks proxy. In fact in many cases there could be a lot of information leakage as described in this paper: Compromising Tor Anonymity Exploiting P2P Information Leakage so the effort and discomfort caused to other users could be useless.


As Roger and pabouk have said, just don't do it. It would hog too much of Tor's bandwidth, and probably for something that doesn't require that much anonymity. Just use a VPN, or (if it really matters) two or three chained/nested VPNs. It's easy to chain two VPNs with just one Linux VM (one in the host, and another in the VM). With good ISP speeds and good VPN services, you can get 10-20 Mbps each way!

Also, even if you totally block leaks (for example, by routing a TCP-based VPN tunnel through Tor) your traffic signal will stand out very clearly. It's like a snake eating a pig ;) Finally, it will be far too slow to be workable, even without specific throttling (which Tor really needs, by the way).


If you want to do this you should really try I2P. It comes with Bittorrent built in and I2P has many similarities with Tor.



Sending Torrent traffic over Tor is a bad idea for three main reasons:

  1. It doesn't make you anonymous. Torrent protocol wasn't designed with anonymity in mind and there are a million ways you're going to leak your actual IP address.
  2. Tor is a TCP only network.
  3. While this doesn't give you the anonymity you wanted, it will hurt the network for other users. (See @RogerDingledine's answer.)

Also make sure you read this official blog post: Bittorrent over Tor isn't a good idea


In theory, it doesn't compromise it any more than torrenting already does.

What you should be wary of is cross-contamination, fetching a torrent over Tor then loading into your torrent client. The torrent file or magnet link itself could be "tainted" to link the identity that downloaded the torrent file to the one that connects to the trackers/DHT.

Ensure you're using a fresh Tor Browser session by using New Identity before you ever do this, and use New Identity again once you're done to avoid cross-contaminating any anonymous or pseudonymous identities you might have with the identity participating in the peer-swarm.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .