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: Nostr:
ββββββββββββββββββββ ββββββββββββββββββββ
β One Big Server β β Many Post Officesβ
β (Twitter/X) β β (Relays) β
β β β β
β Everyone in β β You pick which β
β one place β β ones to use β
ββββββββββββββββββββ ββββββββββββββββββββ
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 Network
5 of 5 relays online
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
Your Connection Friend's Connection
β β
βΌ βΌ
ββββββββββββ ββββββββββββ
β Relay A β β β Relay B β
β (wss://...)β No link β(wss://...)β
ββββββββββββ ββββββββββββ
β β
Your posts Friend's posts
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
Your Connection
β
ββββββ΄βββββ
β Relay A β
β Relay B β β Connect to both!
β Relay C β
ββββββ¬βββββ
β
Your posts β Reach more people
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
How Posts Flow
See how your posts travel through the Nostr network
You write a post 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.
New to Nostr?
Start with our recommended starter pack of 5 reliable relays
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:
Relays Quiz
Relay Basics
Question 1 of 5
Still Have Questions?
Join the Nostr community:
- Nostr Reddit
- Nostr Telegram
- Stacker News (Bitcoin/Nostr forum)