mainnet
The mainnet is the live Bitcoin network where transactions carry real economic value. It is distinct from test networks used by developers to experiment without risking actual funds. Every bitcoin you can buy, send, or store exists on the mainnet.
The mainnet is the primary, production instance of the Bitcoin network. It is the chain where every confirmed transaction is final, every block reward represents newly issued bitcoin with real purchasing power, and every address holds funds that can be spent. The word mainnet is used mainly to distinguish the live network from alternative environments used for development and testing. For the vast majority of users, mainnet is simply Bitcoin as they know it. The distinction only becomes relevant when someone is building software on Bitcoin or wants to experiment with transaction mechanics without using real funds.
Developers who build wallets, exchanges, payment systems, or other Bitcoin-related software typically test their work on a separate network called testnet. Testnet operates with the same rules as mainnet in most respects, but the coins used on it have no market value and can be obtained freely. This allows developers to simulate transactions, test edge cases, and find bugs without spending real bitcoin or risking funds belonging to users. Additional environments called regtest and signet exist for even more controlled testing scenarios. None of these test environments share their transaction history or coin supply with the mainnet.
The separation between mainnet and test networks matters for security as well as development. A transaction broadcast to testnet is completely isolated from mainnet and will never appear in the real blockchain. Wallets and nodes must be explicitly configured to connect to the correct network. Sending funds to an address generated on testnet from a mainnet wallet, or vice versa, would result in an error rather than a loss, because the address formats include network identifiers. Understanding this distinction is particularly important for anyone integrating Bitcoin payments into software, where a configuration mistake could direct real user funds to a test environment.