Host a Matrix/Element Chat Server on Tor
Matrix is the leading open standard for decentralized, end-to-end encrypted communication. Hosting your own Matrix homeserver as a Tor hidden service takes privacy to the next level — combining Matrix's encryption with Tor's anonymity network. AnubizHost provides optimized Tor hosting for Matrix/Element deployments that keep both your server and your users invisible.
Need this done for your project?
We implement, you ship. Async, documented, done in days.
Why Matrix on Tor?
Matrix already provides end-to-end encryption for messages, but hosting a homeserver on the clearnet still exposes significant metadata. Server IP addresses, federation traffic patterns, and user connection times can all be observed. Hosting on Tor eliminates this metadata leakage:
- Server anonymity — Your Matrix homeserver's physical location is hidden behind a .onion address
- User anonymity — Members connect through Tor, hiding their IP addresses from the homeserver operator and network observers
- Federation privacy — Federate with other Tor-hosted Matrix servers without exposing either server's IP address
- Censorship resistance — Governments cannot block access to a .onion Matrix server using traditional internet filtering
For organizations handling sensitive communications — legal teams, journalists, activists, healthcare providers — a Tor-hosted Matrix server provides the strongest combination of encryption and anonymity available.
Synapse and Dendrite Deployment
AnubizHost supports both major Matrix homeserver implementations:
- Synapse — The reference Matrix homeserver written in Python. Full-featured with support for all Matrix specification features including spaces, threads, voice/video calls, and bridges to other platforms. Recommended for most deployments.
- Dendrite — A next-generation Matrix homeserver written in Go. More resource-efficient than Synapse, ideal for smaller communities or resource-constrained environments.
Both are configured for .onion access with:
nginxreverse proxy optimized for Matrix federation and client traffic over Tor- PostgreSQL database with encrypted storage
- Element Web client deployed as a .onion web application
- Media repository with configurable size limits and automatic cleanup
Federation and Bridges on Tor
Matrix's power comes from federation — the ability to communicate across different homeservers. On Tor, federation works through .onion-to-.onion connections:
- Tor-to-Tor federation — Configure Synapse to federate with other .onion homeservers directly through Tor, keeping all traffic within the anonymity network
- Bridges — Connect your Matrix server to other messaging platforms using bridges. Popular bridges include:
mautrix-telegram— Bridge Telegram groups and chats to Matrix roomsmautrix-signal— Bridge Signal conversations to Matrixmautrix-whatsapp— Bridge WhatsApp messages to Matrixmatrix-appservice-irc— Bridge IRC channels to Matrix rooms
Bridges can be configured to route their outbound connections through Tor, maintaining anonymity even when connecting to clearnet services. Note that bridged services may have their own metadata collection — Tor protects the server, not the bridge destination.
Deploy Matrix on AnubizHost
Launch your private Matrix homeserver on Tor with AnubizHost. Our offshore servers in Iceland, Romania, and Finland provide the performance and privacy needed for real-time encrypted communication.
- No KYC — Create your Matrix homeserver without identity disclosure
- Crypto payments — Bitcoin, Monero, Ethereum, and Litecoin accepted
- Sufficient resources — Plans with enough RAM and CPU for Synapse + PostgreSQL + Element Web
- Pre-configured Tor — .onion address provisioned automatically for immediate access
- Zero logging — No infrastructure-level monitoring of your communication traffic
Give your community truly private, decentralized communication. Choose a Tor Hosting plan and deploy your Matrix server today.
Related Services
Why Anubiz Labs
Ready to get started?
Skip the research. Tell us what you need, and we'll scope it, implement it, and hand it back — fully documented and production-ready.