> ## Content Index
> Fetch the complete content index at: https://cnainbridge.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# Bitcoin test networks: choose testnet4, signet or regtest
- URL: https://cnainbridge.org/bitcoin-test-networks/
- Published: 2026-11-26T10:31:17.000Z
- Updated: 2026-11-26T14:30:51.000Z
- Description: Choose the network by the control your test needs. Match the node and client flags, verify the actual chain, and keep test balances and mainnet wallets separate.
- Author: Colin Hensley
- Tags: Bitcoin nodes, #start-here

Use regtest when you need to create blocks yourself, signet when several people need a shared test chain, and testnet4 when the experiment needs public proof-of-work mining. I'd start with regtest for a local learning session because you control when the chain advances. In Bitcoin Core 32.1, select the network explicitly and verify it before creating a test wallet: the old `-testnet` option still selects testnet3, not testnet4.

## Choose who needs to control the blocks

The useful distinction is control over the environment. A script that needs a confirmation on demand has a different requirement from a wallet integration that must exchange transactions with somebody else's node.

| Network        | Choose it for                                                                         | Control and limitation                                                                                                                                        |
| -------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Regtest        | A private learning lab, automated tests or a deliberate fork/reorganization scenario. | You arrange the nodes and create blocks when needed. Multiple nodes can be connected manually; there isn't one shared public regtest chain.                   |
| Default signet | Testing across independently operated wallets or services on a shared chain.          | Blocks must satisfy the network's signing challenge as well as proof of work. You depend on its block producers rather than choosing the next block yourself. |
| Testnet4       | An integration that specifically needs a public chain with permissionless PoW miners. | Anyone can mine subject to its rules. Irregular blocks and reorganizations are part of the environment; a block-time target isn't a deadline.                 |
| Custom signet  | A team that needs its own shared chain and control over block signing.                | Participants must agree on the challenge and peers. Your team also takes responsibility for producing blocks.                                                 |

[BIP 325 defines signet as signatures in addition to proof of work](https://github.com/bitcoin/bips/blob/master/bip-0325.mediawiki?ref=cnainbridge.org). Calling it a replacement for PoW misses a validation requirement. It also explains why an uncontrolled public regtest is a poor substitute: its cheap block production lets a participant take control of the test chain.

For a demonstration involving another organization, my default is signet if that organization's software supports the same signet. For a test that must stop, create a fork and resume at an exact point, I'd keep control in regtest. Confirm the wallet, explorer and backend support the chosen chain before committing to it; a product's generic “testnet” label doesn't settle that question.

## Use the current network name, not an old tutorial's shortcut

Core 32.1's [network options and base parameters](https://github.com/bitcoin/bitcoin/blob/v32.1/src/chainparamsbase.cpp?ref=cnainbridge.org) distinguish testnet3 from testnet4\. The table shows defaults for a local Core node. RPC ports are for commands to the node; they are different from the P2P ports used between nodes.

| Select one option               | chain value | Network data subfolder | Default RPC port |
| ------------------------------- | ----------- | ---------------------- | ---------------- |
| \-regtest                       | regtest     | regtest                | 18443            |
| \-signet                        | signet      | signet                 | 38332            |
| \-testnet4                      | testnet4    | testnet4               | 48332            |
| \-testnet (deprecated testnet3) | test        | testnet3               | 18332            |
| \-chain=main                    | main        | No network subfolder   | 8332             |

With no network selection, Core defaults to mainnet. For new public PoW work I'd choose testnet4 rather than start a new dependency on deprecated testnet3\. If a service still requires testnet3, treat that as an explicit compatibility constraint.

[BIP 94 changes testnet4's difficulty rules](https://github.com/bitcoin/bips/blob/master/bip-0094.mediawiki?ref=cnainbridge.org) to address testnet3's block-storm problem. It retains a minimum-difficulty exception after a timestamp gap greater than 20 minutes, except at the first block of a difficulty period. That is a rule for an eligible block, not a promise that a block arrives within 20 minutes. The specification identifies a possible stall at a period boundary when the remaining hash rate can't quickly meet the actual difficulty.

## Give the experiment its own data folder

I prefer a dedicated base data folder for a test lab. It makes the boundary visible and keeps experiments away from the mainnet configuration. Create a new, empty folder first; don't point the example at a mainnet data directory, a wallet backup or a folder containing your production keys.

The following are alternative startup examples for Core 32.1\. Choose one line and replace the quoted path with the absolute path of your new folder. The path syntax shown suits Linux or macOS; on Windows use an absolute Windows path and the matching executable name. These examples describe the documented options, with no sample run output.

```
bitcoind -regtest -datadir="/absolute/path/to/bitcoin-test-lab"
bitcoind -signet -datadir="/absolute/path/to/bitcoin-test-lab"
bitcoind -testnet4 -datadir="/absolute/path/to/bitcoin-test-lab"
```

Keep that process running and use a second terminal for the client commands below. For the graphical app, use the same selected network and data-folder options with `bitcoin-qt` instead of `bitcoind`. Start one instance for this lab. If you're still arranging the binaries and basic node operation, the [Core node setup walkthrough](https://cnainbridge.org/run-bitcoin-node/) covers those prerequisites.

Core's [data-directory logic appends the network subfolder](https://github.com/bitcoin/bitcoin/blob/v32.1/src/common/args.cpp?ref=cnainbridge.org) to the base folder and requires an explicitly supplied base folder to exist. In this example regtest's network data belongs under `bitcoin-test-lab/regtest`. Selecting signet doesn't convert that regtest history into signet history.

Check the configuration file used by this lab as well. In [Core's configuration format](https://github.com/bitcoin/bitcoin/blob/v32.1/doc/bitcoin-conf.md?ref=cnainbridge.org), write `regtest=1` without a leading hyphen if you choose configuration-based selection instead of the startup flag. A `[regtest]` section groups settings for that network; it doesn't by itself select it. Configuration changes require a restart.

Use only one network selector. Core [rejects combinations of active chain-selection options](https://github.com/bitcoin/bitcoin/blob/v32.1/src/common/args.cpp?ref=cnainbridge.org), including a `-chain` option combined with `-regtest`, `-signet`, `-testnet` or `-testnet4`. Don't add a new flag on top of an existing, conflicting selection in the lab's configuration. Read the startup error and correct that selection first.

## Ask the running node which chain it serves

Match the client to the node. For the regtest startup example, the read-only check is:

```
bitcoin-cli -regtest -datadir="/absolute/path/to/bitcoin-test-lab" getblockchaininfo
```

For signet or testnet4, replace `-regtest` in that command with the option you used to start the node. Core's [getblockchaininfo response identifies the current chain](https://github.com/bitcoin/bitcoin/blob/v32.1/src/rpc/blockchain.cpp?ref=cnainbridge.org) and reports its validated block height, header count and best block hash. Compare the `chain` field with the table above. If you expected `testnet4` and receive `test`, you're querying testnet3.

A fresh regtest chain can correctly report `blocks: 0`: the genesis block has height zero. Its height won't advance until you or another connected lab node creates blocks. Waiting for public miners or a faucet won't make that private chain progress.

A connection error isn't evidence that the chain is empty. First check that the intended node is running, the data path and network option match, and an explicit RPC connection or port setting hasn't directed the client elsewhere. Don't delete blockchain data to fix a mismatched client command.

In the graphical app, open **Node window** and select **Console**. Enter just `getblockchaininfo`, without the `bitcoin-cli` prefix or startup flags. Read the console's warning before pasting commands from anyone else.

![Bitcoin Core and Node window title bars both end with [regtest], above the Console tab](https://storage.ghost.io/c/a1/4d/a14da2a0-3ee7-4807-afb1-3b1f503a3916/content/images/2026/11/chain-bridge-bitcoin-test-networks-inline.webp)

Read the network name in the title bar before using the console. Select Enlarge image to read the details. For an app or service, also check the chain reported by its actual backend.

The [Node window's non-mainnet title includes the chain name](https://github.com/bitcoin/bitcoin/blob/v32.1/src/qt/rpcconsole.cpp?ref=cnainbridge.org). Use that text rather than icon color alone. A desktop window labeled regtest doesn't prove that a separate application's RPC connection uses regtest.

Custom signets need one further check. All signets share a genesis block, while the challenge defines the particular signet. The RPC response includes `signet_challenge` on signet; compare it with the challenge agreed by your team. A `chain` value of `signet`, or a matching genesis hash alone, can't distinguish your custom network from the default one. Use separate base folders for different custom signets so their shared `signet` subfolder name can't mix the experiments.

## Keep test coins, addresses and explorers on the same chain

A testnet-looking address isn't enough to identify the chain. Core's [network parameters use the same address encodings for testnet3, testnet4 and signet](https://github.com/bitcoin/bitcoin/blob/v32.1/src/kernel/chainparams.cpp?ref=cnainbridge.org), including the `tb1` prefix for native SegWit addresses. Regtest uses `bcrt1` for that address type. Balances still belong to their separate chains: a valid-looking signet address doesn't bring its signet coins onto testnet4.

Create separate test wallets and keep mainnet seeds, private keys and backups out of the lab. For a faucet, supply only a receiving address for the exact network it serves. It has no reason to request a wallet seed or private key. Check the transaction with an explorer for that same chain and confirm your application's backend agrees.

Test coins are intended for experimentation without real-money risk. I wouldn't pay for them as an investment or accept them as mainnet BTC. BIP 94 specifically identifies secondary trading of testnet3 coins as a problem; that history doesn't turn test balances into mainnet funds.

Regtest lets you create blocks locally instead of depending on a public faucet. Public signet users normally obtain coins from a compatible faucet or another participant; the [Core signet tools document faucet access and custom block production](https://github.com/bitcoin/bitcoin/blob/v32.1/contrib/signet/README.md?ref=cnainbridge.org). Choose the wallet and funding workflow only after the node, client and application all identify the intended network. The [node guides](https://cnainbridge.org/tag/nodes/) cover the surrounding setup choices.