Network privacy means controlling who learns your IP address while you use Bitcoin. Your own node keeps your addresses off strangers’ servers. Tor hides your IP address by passing each connection through a chain of volunteer relays, so no single one knows both who you are and where you are going. A VPN hides it from everyone except one company, which then sees both who you are and where you connect. Your IP address is the number that identifies your internet connection; it points to your internet provider and your approximate location.
Why it matters: chain analysis reads the blockchain, but a lot leaks before anything reaches it. Every balance check and every payment is a request some computer receives, along with your IP address. Pair one of your addresses with it and your coins have a home location. This lesson shows who sees what, what you trust a VPN with, and how to put Sparrow and a home node on Tor and prove that it worked.
What Leaks at the Network Layer
The network layer is what your devices send over the internet: who you contact, when, and from which IP address. Four kinds of computer sit on the other end; a Lightning wallet adds a fifth, covered at the end of this lesson.
Public Electrum servers. A wallet such as Sparrow or Electrum, when it isn’t connected to your own node, asks an Electrum server (a server that indexes the blockchain by address) about every address in your wallet. The requests arrive together from one IP address, so the server can link your addresses, add up your balance and read your history. Sparrow says it plainly: “Using a public server means it can see your transactions.”
Block explorers. A block explorer is a website, such as mempool.space, for looking up addresses and transactions. Pasting your own address into one tells the site which address interests you, and from where. mempool.space’s privacy policy says its server logs record your IP address with each request and are deleted after 10 days; other sites may keep more.
Bitcoin peers. A peer is another node your node is connected to. Your node is the first to announce the transactions you send, so an observer connected to many nodes can guess where one started; researchers demonstrated this in 2014. Since Bitcoin Core 27.0 (April 2024), connections between nodes that both support it are encrypted by default (BIP 324), which hides their contents from anyone listening on the line. The peer itself still sees your IP address.
Your internet provider. It sees every connection you make. Once you use Tor, the Tor Project says, all it can observe “is that you are communicating with Tor nodes.”
| On the other end | What it can learn | What closes the leak |
|---|---|---|
| A public Electrum server | All your addresses, linked; your balance, history and IP address | Your own node |
| A block explorer website | Each address or transaction you look up, with your IP address | Your own explorer, or Tor Browser |
| Bitcoin peers | Your IP address, and which transactions you announced first | Tor (or I2P, a second anonymity network) for your node; private broadcast (below) |
| Your internet provider | That you run a node or use Bitcoin services | Tor, after which it sees only “Tor” |
| A Lightning service provider | Your IP address, your node and your payments | Tor for the IP address; your own node for the payments |
Your own node removes the first row, because your wallet asks your own machine (Why Run a Bitcoin Node?). Tor handles the IP address in the rest.
Tor and VPNs: Where Your Trust Goes
Tor is a free network of thousands of volunteer-run computers called relays. Your connection usually passes through three of them, and each knows only the relay before it and the one after it. The first (the guard) sees your IP address but not your destination; the last (the exit) sees the destination but not your IP address.
Some services live inside Tor. These onion services have addresses ending in .onion, and a connection to one never leaves Tor: there is no exit relay, the traffic is encrypted all the way, and the service’s IP address stays hidden too. They need no open port on your router, which is how a home node can be reachable over Tor with no router changes. So a node that talks to .onion peers keeps the whole path inside Tor, while reaching an ordinary internet address (clearnet) through Tor relies on an exit relay run by a stranger.
A VPN (virtual private network) sends all your traffic through an encrypted tunnel to a company’s server, so peers and websites see the company’s IP address instead of yours. The trust you remove from your internet provider moves to that company. The Electronic Frontier Foundation’s guide (reviewed July 2026) says your browsing data is “all visible to the VPN provider”, that a no-logs claim “is not a guarantee of good behavior”, and that paying by credit card links the account to you. Its summary: “A VPN is not a tool for anonymity.”
| Tor | VPN | |
|---|---|---|
| Sees your real IP address | The first relay, which doesn’t know your destination | The VPN company |
| Sees where you connect | The exit relay, which doesn’t know your IP address; .onion needs no exit | The VPN company |
| One party that sees both | None, by design | The VPN company |
| Your internet provider sees | That you use Tor | That you use that VPN |
| Account and payment | None; Tor is free | Usually both, which can identify you |
Tor is slower; Sparrow’s guide calls Bitcoin Core over Tor “fairly slow”. Many Bitcoiners still prefer it for their node and wallet, because no single company holds the whole picture.
Neither tool changes what the blockchain records, so coin control matters as much as before, and neither hides your addresses from a server you choose to ask; only your own node does that. Tailscale, which Umbrel recommends for reaching your node from outside the house, is a different kind of tool: it links your own devices to each other, and your node still meets its peers from your home IP address (Setting Up Your Bitcoin Node explains what Tailscale’s company servers see).
Put Sparrow on Tor
Sparrow routes all its outside connections through Tor in two cases: when its server address ends in .onion, which starts its built-in Tor, and when you set a Tor proxy (a program that makes connections on your behalf) yourself.
With your own node
On a Raspberry Pi set up as in Setting Up Your Bitcoin Node, Sparrow already reaches Bitcoin Core through a .onion address. With an Electrum server such as Electrs or Fulcrum, switch the app’s connection details to Tor and enter its .onion address in Sparrow. At home, a local address such as 192.168.1.45 is fine: that traffic stays on your home network, and Sparrow skips the proxy for local addresses.
With a public server
- Download Tor Browser only from torproject.org and check its signature with the Tor Project’s instructions (How to Verify Bitcoin Software Before You Install It explains why it matters). Fake Tor Browser installers that swap copied bitcoin addresses have circulated (The Scams That Empty Self-Custody Wallets).
- Leave Tor Browser open: it runs a Tor proxy on port
9150. Instead, you can run the standalonetorservice (a package on most Linux systems), which listens on port9050and keeps running without a browser. - In Sparrow’s Settings, open the Server tab and choose Public Server. Turn on Use Proxy, enter
127.0.0.1and the port, and click Test Connection.
The server no longer sees your IP address, but it still sees your addresses and balance, so treat this as a step toward your own node.
With Tor on, Sparrow also changes how it sends payments. It hands each new transaction over Tor to public block explorers, such as mempool.space, at their .onion addresses, and uses your own server only if they all fail. Its FAQ gives the reason: someone watching the network can, with effort, work out which node a new transaction started from. This way no peer sees your home IP address when your transaction first appears.
Put Your Node on Tor
A node has two things to hide: that your home runs one, and where your transactions start. By default, as of November 2026, Umbrel’s Bitcoin Node app connects to peers over clearnet, Tor and I2P; StartOS uses every network it can reach and offers Tor as a separate service; plain Bitcoin Core uses clearnet, and adds Tor alongside it only if it finds a Tor service on the same computer that it is allowed to control. Any clearnet peer sees your home IP address.
On Umbrel
- Open the Bitcoin Node app → Settings → Peer Settings.
- Under Outgoing Peer Connections, untick Clearnet and keep Tor. Keeping I2P gives your node a second privacy network to find peers on.
- Save. Bitcoin Core restarts.
The alternative, Make All Outgoing Connections to Clearnet Peers Over Tor, keeps clearnet peers but reaches them through Tor exit relays; Umbrel describes it as preserving your anonymity “at the cost of slightly less security”.
On StartOS
- Install Tor from the StartOS marketplace and start it.
- In the Bitcoin Core service, run the Peer Settings action. Under Onlynet, select only
onion (Tor), plusi2pif you like. With nothing selected, Bitcoin Core uses every network. - Save.
Bitcoin Core on your own computer
With Tor running, add these lines to bitcoin.conf and restart. They assume the standalone tor service on port 9050; with Tor Browser, write 9150 and keep the browser open while the node runs.
proxy=127.0.0.1:9050
onlynet=onion
The first line sends all of your node’s connections through Tor; the second makes it choose only .onion peers, so nothing leaves through an exit relay. With a proxy set, Bitcoin Core also stops accepting incoming connections and stops asking your router to open a port, unless you switch those back on. Older guides write onlynet=tor; Bitcoin Core 31.0 (April 2026) removed that name and now refuses to start with it (“Unknown network specified in -onlynet”), so write onion. In the desktop app, the Network tab of Options (in the Settings menu; on a Mac, in the Bitcoin Core menu) has “Connect through SOCKS5 proxy (default proxy)”, which does the same as the first line. To let other nodes reach yours over Tor, see our full node setup guide.
Hide where your transactions start: private broadcast
Bitcoin Core 31.0 added a setting, privatebroadcast: each transaction goes out through Tor or I2P to a few randomly chosen peers, over new short-lived connections that carry only that transaction, so peers don’t see your IP address and two of your payments can’t be linked by sharing a connection. The transaction enters your node’s mempool (its list of unconfirmed transactions) only once an ordinary peer relays it back. Since October 2026 Bitcoin Core labels it experimental and promises “best-effort concealment” of where a transaction started.
It covers transactions that reach the node through its sendrawtransaction command, which is how Electrs, Fulcrum and Sparrow (connected straight to Bitcoin Core) pass on your payments. It matters most for wallets that hand payments to your node, such as Sparrow at home on a local address; Sparrow on Tor already sends through block explorers. Bitcoin Core’s own built-in wallet is not covered.
Use it on Bitcoin Core 32.1 or later only. Version 32.1 (October 2026) fixed a case where, on a node that connects to clearnet peers directly, a private-broadcast connection could skip Tor and reveal your IP address. The 31.x series, including 31.2, released at the same time, lacks that fix.
- Umbrel: turn on Privately Broadcast Transactions in Peer Settings (offered only with Bitcoin Core 32.1, as of November 2026).
- StartOS: Peer Settings has a Private Broadcast option, but as of November 2026 its Bitcoin Core package is on 31.2, which lacks the fix. Wait for a 32.1 package.
- Bitcoin Core: on 32.1 or later, add
privatebroadcast=1. Bitcoin Core refuses to start with it if it can reach neither Tor nor I2P.
Check That It Really Is on Tor
Trust what the software reports, not how a switch looks:
| Setup | Where to look | What you should see |
|---|---|---|
| Sparrow | Status bar, bottom right | A Tor icon reading “Internal Tor proxy enabled” or “External Tor proxy enabled” when you hover over it. No icon means no Tor; a red one means Sparrow can’t reach your Tor proxy, usually because Tor Browser or the tor service isn’t running. |
| Your Tor proxy | curl --socks5-hostname 127.0.0.1:9050 https://check.torproject.org/api/ip (9150 for Tor Browser) | "IsTor":true |
| Umbrel | Bitcoin Node app: peers chart on Home; Peers table under Insights | Only Tor and I2P peers |
| StartOS | Bitcoin Core’s health checks | The Clearnet check reads “Excluded by onlynet”; the Tor check passes (it may add “Outbound only”) |
| Bitcoin Core | bitcoin-cli -netinfo, or Window → Peers in the desktop app | Peers only under onion (and i2p); “Onion” in the Network column |
| Bitcoin Core, in detail | bitcoin-cli getnetworkinfo | ipv4 and ipv6 show "reachable": false; onion shows your proxy |
Check again after updates and restores: a new default can quietly bring clearnet back.
Lightning Privacy Basics
Lightning’s own onion routing keeps the nodes in the middle of a payment’s route from learning who pays whom: each one sees only the node before it and the node after it (Lightning Channels and Routing). It is separate from Tor and doesn’t hide your IP address from the nodes you connect to directly. Three more things decide what you give away.
What your Lightning service provider sees
A Lightning Service Provider (LSP) is a company that opens and manages channels for your wallet. A phone wallet usually has one channel, to its LSP, so every payment you send or receive passes through that company. It knows your node and the on-chain transaction that funded your channel, sees the amount and time of each payment, and, without Tor, your IP address.
Phoenix’s LSP is ACINQ, its maker, and it sees more, because Phoenix hands each payment to ACINQ’s node to find the route. Phoenix’s FAQ: “We (ACINQ) know the final destination and amount of payments.” ACINQ can’t spend or freeze your funds. Phoenix can use Tor to hide your IP address from ACINQ’s node and from the Electrum server it uses to watch the blockchain. On both Android and iOS this needs a separate Tor app such as Orbot, and the Android app warns that Tor “may cause performance issues and missed payments”. Tor hides where you are, not the payments ACINQ routes; for those, payments must leave from your own node (Lightning Wallets Compared).
What an invoice reveals
A standard Lightning invoice (BOLT 11, the string starting lnbc) names the receiving node by its node ID, the node’s public key, which stays the same for as long as the node exists. Anyone who sees the invoice learns it, with the amount and description. So:
- All invoices from your node carry the same ID and link together.
- A node with public channels announces them, with the addresses where it accepts connections: an IP address or a
.onionaddress. Look your node ID up on a Lightning explorer to see what a payer sees. - Receiving through a private channel adds a routing hint naming that channel and the node at its other end. The channel’s real short channel ID is built from the block height and position of the funding transaction, so it points at your coins on the blockchain. The specification lets software use a random alias instead (
option_scid_alias).
BOLT 12 offers can hide the receiving node behind a blinded path, a last stretch of route the recipient encrypts, so the payer learns only where it begins. Phoenix added offers in 2024; our BOLT 11 and BOLT 12 guide compares the formats.
Your own Lightning node
Your own node takes the LSP out of your payments (Running a Lightning Node); its network setting decides who sees your IP address. LND’s documentation warns that connecting to clearnet peers directly “will reveal the source IP address of the node”, and on Umbrel new Lightning Node installs do exactly that, in Hybrid Mode, as of November 2026. To go Tor-only, open the app’s three-dot menu → Advanced Settings → Tor & Clearnet and turn off Hybrid Mode; Umbrel notes this may decrease reliability. Then open Node ID in the same menu: if it lists only a Tor address and no Clearnet one, your node announces no IP address.
Key Takeaways
- Your IP address reaches whoever your wallet or node talks to: Electrum servers, block explorers, peers, your internet provider and Lightning service providers.
- Your own node keeps your addresses off strangers’ servers; Tor keeps your IP address from the servers and peers you connect to.
- Tor splits trust across relays, and
.onionconnections never leave Tor. A VPN gives one company both your IP address and your destinations. - Home node platforms can leave clearnet on: set outgoing peers to Tor (and I2P), use private broadcast on Bitcoin Core 32.1 or later, and check the peer list.
- On Lightning, your LSP sees your payments, and every BOLT 11 invoice reveals your node ID.
Check Your Understanding
1. Your Umbrel’s Bitcoin Node app shows Clearnet, Tor and I2P peers, and Sparrow reaches it through a .onion address. Is your home IP address hidden from the Bitcoin network?
Answer
No. The .onion address protects only the link between Sparrow and your node. Your node’s clearnet peers still see your home IP address, so they know a node runs there, and any transaction your node sends out itself (from another wallet, or from Sparrow if the block explorers fail) can leave over clearnet. Untick Clearnet under Outgoing Peer Connections (or route clearnet peers through Tor), consider private broadcast on Bitcoin Core 32.1, and confirm the peer list shows only Tor and I2P.
2. You use Sparrow with a public Electrum server, through a VPN. What does the server learn, and what does the VPN company learn?
Answer
The server still learns every address in your wallet, linked, with your balance and history, just from the VPN’s IP address instead of yours. The VPN company sees your real IP address and when you connect to that server. If it keeps logs and the account is in your name, the two records can be joined. Your own node removes the server; Tor removes the single company that sees both ends.
3. You send a friend a BOLT 11 invoice from your home Lightning node, which announces a clearnet IP address. What could a curious payer learn?
Answer
Your node ID, from the invoice. On a Lightning explorer it shows your public channels and announced addresses, here your home IP address and so your approximate location. Every invoice from that node carries the same ID, so your payments link together, and a private channel’s routing hint, unless it uses an alias, points at its funding transaction. A Tor-only node announces only a .onion address; a BOLT 12 offer with a blinded path can hide the node itself.
