How Posts Travel: Relays Explained
Understand how Nostr relays work with simple analogies and interactive tools
Relays are the post offices of Nostr. They’re where your messages live and how they travel to reach other users.
The Post Office Analogy 🏤
Imagine Nostr as a network of post offices around the world.
- You have a mailbox (your keys)
- Relays are post offices
- Posts are letters you send
Here’s the key difference from traditional social media: You choose where to send your mail.
Traditional social media
Twitter/X
- One big server
- Everyone in one place
- The company decides the rules
Nostr
Relays
- Many post offices
- You pick which ones to use
- No single place to shut down
The Power of Choice
In Nostr, you’re not locked into one service provider. You can:
- Send posts to any relay
- Connect to multiple relays
- Switch relays anytime
- Run your own relay
Relay World Map
5 relay(s) selected Total Relays
Why Posts Don’t Sync 🔄
Here’s the most common confusion new users face:
“I posted something but my friend can’t see it!”
The Visual Explanation
You
Relay A only
Your friend
Relay B only
Relay A
wss://relay-a.example
Relay B
wss://relay-b.example
Your posts stay here
Their posts stay there
If you post to Relay A and your friend only uses Relay B, they won’t see your post.
The Solution: Connect to Multiple Relays
You
Connected to all three
Relay A
Relay B
Relay C
Your posts reach everyone reading any of them
Most Nostr clients connect you to several default relays. But understanding this helps when you:
- Can’t see someone’s content
- Want to join a specific community
- Need to troubleshoot missing posts
Post Flow Simulator
One post, sent to every relay you use at the same time. Relays never pass it to each other.
Relays don't sync with each other
You write a post on your device and sign it with your private key.
Choosing Relays 🔌
Default Recommendations
If you’re just starting, stick with these popular, reliable relays:
| Relay | Description | Reliability |
|---|---|---|
wss://relay.damus.io | Damus main relay | ⭐⭐⭐⭐⭐ |
wss://nostr.wine | General relay | ⭐⭐⭐⭐ |
wss://relay.snort.social | Snort social | ⭐⭐⭐⭐ |
Interest-Based Discovery
Communities often run their own relays for focused discussions:
- Bitcoin:
wss://nostr.bitcoiner.social - Development:
wss://relay.nostrdevs.com - Art:
wss://relay.nostrich.art
Relay Explorer
Browse and connect to Nostr relays. Relays store and distribute your posts. Connect to multiple relays for better reliability.
Damus
The most popular Nostr relay, maintained by Damus team
nos.lol
Fast general-purpose relay with good uptime
Purple Pages
Metadata relay for profiles and contacts
Snort
Snort client relay with spam protection
Nostr.bg
Bulgarian relay serving European users
Current
Paid relay with high performance and support
Primal
Primal client relay optimized for performance
Bitcoiner.social
Community-focused relay for Bitcoiners
Yabu
Japanese relay serving Asian Nostr users
Eden
High-performance paid relay
Knots
Experimental relay testing new features
Welshman
Community relay with good moderation
Plebs Network
Community relay network
Hivetech
General purpose relay
F7Z
fiatjaf's personal relay
Stacker News
Relay for Stacker News community
Nostr Wine
Paid relay with excellent performance
NostrDice
Gaming and dice-focused relay
Vera
Live streaming focused relay
19
Popular Relays
0
Online Now
16
Free Relays
0
Selected
Free vs Paid Relays
Free Relays
- Open to everyone
- May have rate limits
- Can fill up with spam
- Great for beginners
Paid Relays
- Usually require small fee (often 1000-5000 sats/month)
- Better performance
- Less spam
- Support relay operators
💡 Tip: Start with free relays. You can always add paid ones later.
Advanced: Outbox Model (NIP-65) [ADVANCED]
This section is optional. You can use Nostr perfectly well without understanding NIP-65.
What is NIP-65?
NIP-65 introduces a smarter way to handle relays called the “outbox model.”
Instead of: You manually connecting to 10+ relays You do: Publish your preferred relay list once, let clients figure it out
How It Works
1. You publish a relay list:
{
"read": ["wss://relay-a.com"],
"write": ["wss://relay-b.com"]
}
2. Other clients read this and know:
- Where to find your posts (read relays)
- Where to send you messages (write relays)
Setting Up Personal Relays
For advanced users, running your own relay gives you:
- Complete control over your data
- Perfect reliability (no dependency on others)
- Privacy (only your data on the relay)
Popular personal relay software:
- strfry - Fast C++ implementation
- nostr-rs-relay - Rust implementation
📚 See our Relay Guide for detailed setup instructions.
Quick Reference
Common Relay Commands
In most clients, you can:
- Add relay: Settings → Relays → Add
- Remove relay: Long press/click relay → Remove
- Check status: Relay list shows connection status
Best Practices
- Connect to 4-8 relays for good coverage
- Include one “write” relay where you always post
- Check relay uptime before relying on it
- Keep your relay list updated as the network grows
Troubleshooting
”I can’t see any posts”
- Check if you’re connected to any relays (Settings → Relays)
- Try adding popular relays from the list above
- Wait a moment for content to load
”My posts disappear”
- Some relays delete old content to save space
- Connect to more relays for redundancy
- Consider a paid relay for permanent storage
”Relay won’t connect”
- Check your internet connection
- Try the relay URL in a browser (should show error/ws page)
- The relay might be down - try another one
Troubleshooting Wizard
Let's diagnose and fix your Nostr issue step by step
What's your problem?
Still need help?
Test Your Understanding
Think you’ve got relays figured out? Test your knowledge:
What is a Relay?
0/6 answered
Still Have Questions?
Join the Nostr community:
- Nostr Reddit
- Nostr Telegram
- Stacker News (Bitcoin/Nostr forum)
Spotted a typo or something unclear? Edit this guide on GitHub.