Monero offers three separate networks and blockchains: mainnet, stagenet and testnet. Every blockchain has its own genesis block and is entirely seperate from others. Also, corresponding p2p networks are separate.


Mainnet is the “production” network and blockchain.

Mainnet is the only blockchain where XMR units have value.

Mainnet is what people mean by default.

Default TCP ports (listening):

  • 18080 - p2p network
  • 18081 - JSON-RPC server
  • 18082 - ZMQ server


Stagenet is what you need to learn Monero safely.

Stagenet is technically equivalent to mainnet, both in terms of features and consensus rules. Similar to mainnet, use the latest official Monero release to be compatible with stagenet.

To get started:

Default TCP ports (listening):

  • 38080 - p2p network
  • 38081 - JSON-RPC server
  • 38082 - ZMQ server

Stagenet was introduced in March 2018 as part of Monero


As a normal user, use stagenet instead. Testnet is for developers.

Testnet is the “experimental” network and blockchain where things get released long before mainnet.

Testnet forks early and often. Most of the time you need to compile Monero from source to be compatible with testnet. Otherwise you will get stuck on the old not-forked version.

To get started:

Default TCP ports (listening):

  • 28080 - p2p network
  • 28081 - JSON-RPC server
  • 28082 - ZMQ server

Private Testnet

You can also create your private version of the testnet.

Private testnet gives more flexibility to arange for specific situations for developers.

Check the private testnet guide.

Why stagenet and testnet coins have no value?

If mainnet and stagenet are technically equivalent then why only mainnet coins have value?

This is simply the convention community embraced. Value only comes from a shared believe that mainnet coins will be accepted by other people in the future.