Bitcoin Address Formats and Prefixes: A Comprehensive Guide

ยท

A Bitcoin address is a 27-34 character alphanumeric identifier representing a potential destination for Bitcoin payments. These addresses always begin with either 1, 3, or bc1. Users can generate them freely, obtain them through exchanges or online wallets, or create them offline for secure storage.

Current Bitcoin Address Formats

Bitcoin mainnet supports three primary address formats:

  1. P2PKH (Pay-to-Public-Key-Hash) - Starts with 1
  2. P2SH (Pay-to-Script-Hash) - Starts with 3
  3. Bech32 - Starts with bc1

๐Ÿ‘‰ Want to explore secure Bitcoin storage options?

Complete Bitcoin Address Prefix Reference

Use CasePrefixExample
P2PKH Address117VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem
P2SH Address33EktnHQD7RiAE6uzMj2ZifT9YgRrkSgzQX
P2WPKH Address (Mainnet)bc1bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
P2WPKH Address (Testnet)tb1tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx
P2WSH Address (Mainnet)bc1bc1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3qccfmv3
P2WSH Address (Testnet)tb1tb1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3q0sl5k7
WIF Private Key (Uncompressed)55Hwgr3u458GLafKBgxtssHSPqJnYoGrSzgQsPwLFhLNYskDPyyA
WIF Private Key (Compressed)K/LL1aW4aubDFB7yfras2S1mN3bqg9nwySY8nkoLmJebSLD5BWv3ENZ
BIP32 Extended Public Keyxpubxpub661MyMwAqRbcEYS8w7XLSVeEsBXy79zSzH1J8vCdxAZningWLdN3zgtU6LBpB85b3D2yc8sfvZU521AAwdZafEz7mnzBBsz4wKY5e4cp9LB
BIP32 Extended Private Keyxprvxprv9s21ZrQH143K24Mfq5zL5MhWK9hUhhGbd45hLXo2Pq2oqzMMo63oStZzF93Y5wvzdUayhgkkFoicQZcP3y52uPPxFnfoLZB21Teqt1vEHx
Testnet P2PKH Addressm/nmipcBbFg9gMiCh81Kj8tqqdgoZub1ZJRfn
Testnet P2SH Address22MzQwSSnBHWHqSAqtTVQ6v47XtaisrJa1Vc
Testnet WIF Private Key (Uncompressed)992Pg46rUhgTT7romnV7iGW6W1gbGdeezqdbJCzShkCsYNzyyNcc
Testnet WIF Private Key (Compressed)ccNJFgo1driFnPcBdBX8BrJrpxchBWXwXCvNH5SoSkdcF6JXXwHMm
Testnet BIP32 Public KeytpubtpubD6NzVbkrYhZ4WLczPJWReQycCJdd6YVWXubbVUFnJ5KgU5MDQrD998ZJLNGbhd2pq7ZtDiPYTfJ7iBenLVQpYgSQqPjUsQeJXH8VQ8xA67D
Testnet BIP32 Private Keytprvtprv8ZgxMBicQKsPcsbCVeqqF1KVdH7gwDJbxbzpCxDUsoXHdb6SnTPYxdwSAKDC6KKJzv7khnNWRAJQsRA8BBQyiSfYnRt6zuu4vZQGKjeW4YF

Understanding Address Security

Each format offers different security features and compatibility levels. Modern wallets typically generate Bech32 (bc1) addresses by default, as they support SegWit and provide lower transaction fees. However, some older services may only accept legacy (1...) addresses.

๐Ÿ‘‰ Learn about advanced Bitcoin security practices

FAQ Section

Why do Bitcoin addresses have different formats?

Different formats evolved over time to introduce new features like SegWit (which reduces transaction sizes) and improve security. The Bech32 format (bc1) is the most modern and efficient.

How can I tell which address format I'm using?

Simply look at the first character(s):

Are older address formats still safe to use?

Yes, all formats remain secure, but newer formats offer better efficiency. Some exchanges are phasing out support for legacy addresses to encourage SegWit adoption.

Can I convert between address formats?

No, each address is cryptographically unique. You must generate a new address in your preferred format and send funds to it.

What happens if I send Bitcoin to the wrong address format?

Funds sent to a valid address (regardless of format) will be received correctly. However, sending to an invalid/nonexistent address will result in permanent loss of funds.

Why do testnet addresses look different?

Testnet uses distinct prefixes (like tb1 instead of bc1) to clearly separate test transactions from real Bitcoin transactions on mainnet.