Ask where your bitcoin is and the honest answer involves no address at all. The chain stores outputs, each with an amount and a script. An address is a convenience layer: a way to write one particular kind of script as a string a person can copy, check and read aloud. Understanding that it is an encoding rather than an entity clears up most of the confusion around it.
What does an address encode?
A spending condition, in a compact form, plus a checksum.
The oldest format wraps a 20-byte hash of a public key. A payer’s software recognises the format, reconstructs the script — duplicate the key, hash it, compare it to this value, check the signature — and puts that script in the output. The address itself never appears on the chain.
Later formats encode progressively less interpretation. A native SegWit address carries a version number and a program, and the rules for what that means live in consensus rather than in the script. A Taproot address carries a version and a 32-byte public key.
So an address answers “what condition should the output carry”, and the chain records the condition. Everything an explorer shows you as an address has been decoded back out of a script it found there.
What are the different formats?
Four in common use, distinguishable at a glance.
Addresses beginning with 1 are the original pay-to-public-key-hash form, encoded in base58check. Those beginning with 3 are pay-to-script-hash, the same encoding with a different version byte, used both for multisignature arrangements and for the wrapped form of SegWit that eased the transition.
Addresses beginning with bc1q are native SegWit, encoded in bech32. Those beginning with bc1p are Taproot, encoded in bech32m.
The prefix is not decoration. It tells the sender’s software which script to build, which is why sending to an address a wallet does not recognise fails rather than guessing.
What does base58check actually do?
It makes an arbitrary binary string transcribable by a human without silent errors.
The alphabet deliberately omits the characters that confuse people and fonts: zero, capital O, capital I and lowercase l are all absent. A version byte identifies the address type, the payload carries the hash, and four bytes of checksum — taken from a double SHA-256 of everything before it — are appended.
The checksum is what makes mistyping safe. Change one character and the checksum almost certainly fails, so the software refuses the address instead of constructing an output nobody can spend. This is why “I mistyped an address and lost my coins” is, with vanishing exceptions, not a thing that happens.
What base58check does not provide is any indication of where the error is, or any resistance to a particular class of insertion and deletion mistakes. It detects; it does not help.
Why was bech32 introduced?
Because base58check is awkward in every way that matters for a string people have to handle.
Bech32 uses a lowercase-only alphabet, which makes addresses case-insensitive in practice and roughly a third more compact in a QR code, since QR encodes alphanumeric uppercase more efficiently and a single-case string avoids mixed-mode encoding. It is also easier to read aloud.
The substantive improvement is the checksum. Bech32’s is a BCH code that detects any four character errors with certainty, detects more with very high probability, and can identify which characters are likely wrong. Wallets use this to tell a user where they went wrong rather than only that they did.
The one rule that catches people is that mixed case is invalid. An address is either all lowercase or all uppercase, and a string that has been “helpfully” capitalised by an email client will be rejected.
Then why is there a bech32m?
Because the original had a flaw that only mattered once Taproot arrived.
Bech32’s checksum had a weakness affecting strings of certain lengths: in specific cases, inserting or deleting a character at the end could go undetected. For the witness version 0 programs bech32 was designed for, the lengths involved meant the problem did not arise.
Taproot introduced a new witness version with a different length, which brought the affected case into range. Rather than accept a format whose error detection was weaker than advertised for the newest address type, the checksum constant was changed, producing bech32m.
The result is that version 0 addresses use bech32 and version 1 and above
use bech32m, which is why a wallet can support bc1q and reject bc1p:
they are different encodings that happen to share a prefix and a charset.
This is the single most common cause of “my exchange will not let me
withdraw to this address”.
Where do all the addresses come from?
From one seed, through a derivation path, in a sequence that never has to be stored.
A wallet does not keep a list of addresses. It keeps a single root key and derives children along a path, deterministically, so the hundredth address can be regenerated at any time from the same starting point. That is why a recovery phrase restores a wallet’s entire history rather than only its current balance.
Each path also has two branches: one for addresses you hand out, and one for change returning to you. Both are yours and only one is ever shown, which is the source of a persistent confusion — a wallet appears to send money to an unknown address on every spend, and that address is its own.
The practical consequence is that a wallet showing you a fresh address each time is not generating randomness. It is advancing an index. Nothing is lost if you skip addresses, nothing is used up, and there is no reason to reuse one to be tidy.
The number available is effectively unlimited, and that is the design’s answer to the privacy problem addresses would otherwise create.
What error can no format catch?
A valid address that belongs to somebody else.
Every protection described above guards against transcription. None of them can distinguish your intended recipient’s address from an attacker’s, because both are perfectly well-formed. Clipboard-replacing malware works precisely in this gap: it substitutes a valid address, the checksum passes, and the payment is irreversible.
The defence is not cryptographic. It is verifying the destination on a device the host computer cannot control, or confirming it out of band with the recipient. Checking the first and last few characters is weak, because vanity-address generation makes matching a short prefix cheap.
This is the one place where the whole elaborate encoding apparatus gives no help at all, and it is where the losses actually occur.
Can an address be unspendable?
Yes, and deliberately so in some cases.
Nothing requires a hash in an address to correspond to any key anyone knows. A string can be constructed to be a valid address — correct checksum, correct format — while encoding a hash with no known preimage. Coins sent there are gone, in the strongest available sense: the output exists, is counted in the supply, and can never be spent unless someone finds a key, which they will not.
These “burn addresses” are occasionally used intentionally. They are also the shape of a particular scam, where a plausible-looking address is presented as belonging to a project.
The deliberate way to destroy coins is different: an output whose script
begins with OP_RETURN is provably unspendable, and nodes recognise this
and drop it from the unspent set rather than carrying it forever. The
distinction matters to the supply figures, because a burn address output
is still counted and an OP_RETURN output is not.
Check it yourself
Decoding an address is one command, and seeing the script come out of it is the fastest way to stop thinking of addresses as places.
# What script does this address actually encode?
bitcoin-cli validateaddress bc1q...
# And the reverse: derive addresses from a descriptor.
bitcoin-cli deriveaddresses "wpkh([abcd1234/84h/0h/0h]xpub6.../0/*)" "[0,3]"
validateaddress returns the scriptPubKey, the witness version and the
program. Compare that against the output of a transaction paying the
address, and the two are identical — because the output is the script, and
the address was only ever a way of writing it down.
What remains uncertain
How long older formats will be supported. Base58 addresses cost more to spend and offer worse error detection, and support persists because exchanges move slowly. There is no deprecation process and no decision point, only gradual disuse.
Whether Taproot’s exposed key will matter. A bc1p address publishes a
public key rather than a hash, which is better in several respects and
widens quantum exposure. Whether that trade proves correct depends on a
timeline nobody can give.
What replaces the address entirely. Silent payments and payment offers both aim to remove the practice of handing out a one-time string, which is the root of address reuse. Adoption is early and the outcome is not decided. Both would also change what a reader of this article needs to know, since neither produces anything that appears on the chain in the way an address does today.