Login
Learn Bitcoin is live in Beta - spot an issue or have a suggestion? We'd love to hear it!
Home Glossary B BIP 16 (P2SH)

BIP 16 (P2SH)

Pay-to-Script-Hash (P2SH) lets users send Bitcoin to a script’s hash, revealing the script only during spending.
Share

BIP 16, introduced in BIP-16, replaced the older Pay-to-PubKeyHash approach in many cases by allowing funds to be sent to the hash of a script rather than directly to a public key. This means the transaction creator doesn’t need to know the script’s details; the spender later reveals the full script to claim those coins.

P2SH not only simplifies complex scripts (like multisig) for senders but also preserves privacy until funds are spent. This design cut down on transaction complexity for standard users and paved the way for more advanced scripting scenarios without cluttering up the blockchain with large scripts at the time of sending.

Key takeaways
Improves privacy by hiding full script until spend time
Enables easier use of complex scripts (e.g., multisig)
Reduced data overhead for senders
Learn Bitcoin visual
Learn how to

Be Your Own Bank

Be Your Own Bank teaches you how to securely store and manage your Bitcoin, giving you full control over your finances. Unlock the power of self-custody and financial sovereignty, so you can confidently operate without intermediaries.

Take the Survey
30 sec
Free
Suggest a Term

Have a term to suggest? Enter it below and help us expand our vocabulary!