Web3 Learning

What Is a Bitcoin Address? Types, Formats, and Examples

By Safeheron Team

A Bitcoin address is a string of characters used to receive bitcoin, similar to an on-chain account number for receiving payments. It is derived from a public key or script through hashing and encoding, and represents the conditions that must be met to spend the funds. There are four common types of Bitcoin address today: legacy addresses starting with 1, P2SH addresses starting with 3, native SegWit addresses starting with bc1q, and Taproot addresses starting with bc1p. All of them can receive payments on the Bitcoin network; they differ in fees, compatibility, and features.

How Is a Bitcoin Address Generated?

A wallet first generates a random private key, uses elliptic curve cryptography to compute the public key, then hashes the public key or script and encodes it, together with a version number and checksum, into an address. The checksum means a wallet will reject an address with one or two mistyped characters, but it cannot tell whether the address is the one you actually intended to pay.

What Are the Types of Bitcoin Addresses?

Legacy addresses (P2PKH) start with 1, use Base58Check encoding, and are usually 34 characters long, such as the genesis block reward address 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa. This is Bitcoin’s original address format, and it remains valid today.

P2SH addresses start with 3 and are also 34 characters long, such as 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy. Instead of a single public key, they correspond to the hash of a script. They are commonly used for multisig addresses, and also to wrap SegWit in a format that older wallets can recognize.

Native SegWit addresses (P2WPKH) start with bc1q and use Bech32 encoding, consisting entirely of lowercase letters and numbers. Single-signature addresses are 42 characters long, such as bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4, while P2WSH addresses for scripts are 62 characters. This format was introduced with the SegWit upgrade in 2017.

Taproot addresses (P2TR) start with bc1p, use Bech32m encoding, and are 62 characters long, such as bc1p0xlxvlhemja6c4dqv22uapctqupfhlxm9h8z3k2e72q4k9hcz7vqzk5jj0. They were introduced with the 2021 Taproot upgrade and support Schnorr signatures, so a transfer jointly signed by multiple parties can look the same on-chain as an ordinary single-signature transfer.

How Do Bitcoin Address Types Differ in Fees and Compatibility?

Bitcoin fees are based on transaction size. SegWit moves signature data into a separate “witness” section that is charged at a discount, so spending funds from bc1q and bc1p addresses is considerably cheaper than spending from legacy addresses, with P2SH-wrapped SegWit falling in between. The more UTXOs an address holds, the more noticeable this difference becomes.

All four address types can send to one another, as long as the sender’s wallet recognizes the destination format. Some older systems still cannot send to bc1q or bc1p addresses, and support for bc1p is notably less widespread than for bc1q. For businesses, deposit addresses can default to the lower-fee native SegWit format, while withdrawal systems should support sending to all four address types; otherwise, some customers will be unable to withdraw.

Can a Bitcoin Address Be Reused?

Technically yes: an address can receive payments any number of times, but reuse is not recommended. On-chain data is public, so if you keep using the same address, anyone can see its full incoming and outgoing history and balance, and it becomes easier to link it to your other addresses.

That is why most wallets today are HD wallets, which automatically derive a new address for each payment received and send the leftover balance from each payment to a new change address. When a business assigns each customer a dedicated deposit address, it protects privacy and can also tell which customer each deposit belongs to directly from the address.

How Can Businesses Avoid Sending Bitcoin to the Wrong Address?

Bitcoin transfers cannot be reversed once confirmed, and a checksum cannot stop an address that is correctly formatted but belongs to someone else, such as a lookalike address left behind by address poisoning. Businesses need several checkpoints before signing: the withdrawal system validates the address format and network, transfers go only to approved whitelist addresses, and new addresses are tested with a small amount first.

Conclusion

A Bitcoin address is a payment string encoded from a public key or script. The four common types start with 1, 3, bc1q, and bc1p; newer formats have lower fees, but compatibility needs attention. For businesses, address management comes down to avoiding reuse, supporting all formats for withdrawals, and using whitelists and approvals to prevent sending to the wrong address. Safeheron’s MPC Wallet-as-a-Service provides businesses with MPC key management and a policy engine.

Want every Bitcoin transfer to go only to vetted addresses?

Contact Safeheron’s Sales Team to Book a 1:1 Demo

Share

Looking for a secure way to manage digital assets?

Talk to our experts and find the right solution for your business.

Request a Demo