Wiki/BIP-49: SegWit Addresses via P2SH (Compatible)
BIP-49: SegWit Addresses via P2SH (Compatible) - Biturai Wiki Knowledge
INTERMEDIATE | BITURAI KNOWLEDGE

BIP-49: SegWit Addresses via P2SH (Compatible)

BIP-49 defines a specific Bitcoin address type, P2SH-wrapped SegWit, which bridges older legacy wallets with Segregated Witness technology. This allows users to benefit from reduced transaction fees and improved throughput while

Biturai Knowledge
Biturai Knowledge
Research library
Updated: 6/26/2026
Technically checked

Structure, readability, internal linking, and SEO metadata were automatically checked. This article is continuously updated and is educational content, not financial advice.

Definition

BIP-49, or Bitcoin Improvement Proposal 49, defines a specific type of Bitcoin address known as a P2SH-wrapped SegWit address. This address format serves as a crucial bridge between older Bitcoin wallets and exchanges that only support traditional "legacy" addresses, and newer systems that have adopted Segregated Witness (SegWit) technology. Essentially, BIP-49 allows users to benefit from some of SegWit's advantages, such as reduced transaction fees and increased transaction throughput, while maintaining compatibility with the broader Bitcoin ecosystem that might not yet fully support native SegWit addresses. It achieves this by "wrapping" a SegWit script within a Pay-to-Script-Hash (P2SH) address, making it appear as a standard P2SH address to older software.

Key Takeaway

The primary function of BIP-49 is to facilitate the adoption of SegWit benefits across the Bitcoin network by providing a compatible address format. It enables users to send and receive Bitcoin between SegWit-enabled wallets and those still relying on legacy address formats, ensuring a smoother transition and broader interoperability without requiring all participants to immediately upgrade to native SegWit support.

Mechanics

The core of BIP-49 lies in its clever integration of Segregated Witness (SegWit) functionality within a Pay-to-Script-Hash (P2SH) framework. To understand this, one must first grasp the individual components. A P2SH address, identifiable by starting with the digit '3', is an address where funds are locked to the hash of a script. Instead of sending Bitcoin directly to a public key, users send it to a script hash, and to spend those funds, the recipient must provide a script that hashes to the correct value, along with the necessary signatures.

SegWit, introduced by BIP 141, separates the "witness" data (signatures and public keys) from the transaction data, effectively increasing the block capacity and reducing transaction fees. A native SegWit address, starting with "bc1", directly utilizes this structure. However, many older wallets and services were not immediately updated to recognize these new "bc1" addresses. This is where BIP-49 steps in. It defines a method to embed a SegWit script, specifically a Pay-to-Witness-Public-Key-Hash (P2WPKH) script, inside a P2SH script. When a transaction is sent to a BIP-49 address, it's technically sent to a P2SH address. However, the redeem script within that P2SH address is actually a P2WPKH script. This means that when the funds are spent, the transaction structure will follow SegWit rules, moving the witness data to a separate part of the transaction.

For Hierarchical Deterministic (HD) wallets, BIP-49 also specifies a standard derivation path: m/49'/0'/0'/0/0 for the first external address. This standardized path ensures that different wallets can generate and recover the same set of wrapped SegWit addresses from a single master seed, which is crucial for interoperability and fund recovery. This nesting mechanism allows older software that only understands P2SH addresses to interact with SegWit transactions, as they simply see a P2SH address and process it accordingly, while the underlying SegWit benefits are still realized when the transaction is ultimately spent on the network. The result is an address that looks like a P2SH address but behaves like a SegWit address in terms of transaction processing efficiency.

Trading Relevance

For active traders and participants in the cryptocurrency market, understanding BIP-49 addresses holds significant relevance, primarily concerning transaction costs, confirmation times, and interoperability across various platforms. Transactions involving BIP-49 addresses typically incur lower fees compared to traditional legacy (P2PKH) addresses (which start with '1'). This is because the SegWit component of BIP-49 addresses reduces the "weight" of the transaction in a block, leading to more efficient use of block space and consequently, lower fees. For traders who execute numerous transactions, these cumulative savings can be substantial, directly impacting profitability.

Furthermore, the reduced transaction weight also contributes to potentially faster confirmation times during periods of network congestion. While not as efficient as native SegWit (bc1) addresses, BIP-49 addresses still offer an improvement over legacy addresses, which can be critical for traders needing to move funds quickly between exchanges or wallets to capitalize on arbitrage opportunities or respond to market volatility. The broad compatibility of BIP-49 addresses with a wider range of wallets and exchanges, including those that have not yet fully implemented native SegWit support, means traders face fewer restrictions when transferring assets. This enhanced interoperability reduces friction and potential delays, allowing for more fluid asset management across different trading venues. It minimizes the risk of funds being stuck or inaccessible due to address format incompatibilities, a common frustration in the evolving crypto landscape.

Risks

While BIP-49 addresses offer significant advantages in terms of compatibility and efficiency, they are not without their own set of considerations and potential risks. One primary point to note is that while they offer lower fees than legacy addresses, they are still marginally less efficient and thus incur slightly higher fees than native SegWit (bech32 or bc1) addresses. This minor difference might be negligible for individual users but can accumulate for high-frequency traders or large-volume transactions, representing a subtle, ongoing cost. Users should be aware that while BIP-49 provides a bridge, it is not the ultimate solution for full SegWit optimization.

Another potential risk lies in user confusion. With three primary Bitcoin address formats (legacy, P2SH-wrapped SegWit, and native SegWit), new users or those less familiar with the technical nuances might struggle to differentiate between them. Sending Bitcoin to the wrong address type, though often prevented by wallet software, can lead to confusion or, in rare cases, lost funds if a wallet does not correctly interpret the address. It is crucial for users to verify the address format supported by their receiving wallet or exchange before initiating a transaction. Furthermore, the security of funds held in BIP-49 addresses, like any Bitcoin address, ultimately depends on the robust management of the associated private keys. While BIP-49 defines a standard derivation path for HD wallets, any compromise of the master seed or individual private keys would render the funds vulnerable, irrespective of the address type. Users must employ strong security practices, including hardware wallets and secure backup procedures, to protect their assets.

History and Examples

The genesis of BIP-49 is intrinsically linked to the broader adoption of Segregated Witness (SegWit), which was activated on the Bitcoin network in August 2017. SegWit, introduced by BIP 141, aimed to solve several pressing issues, including transaction malleability and scalability limitations, by separating witness data from transaction data. However, the introduction of a new address format for native SegWit (bech32, starting with "bc1") posed a challenge: immediate backward compatibility. Many existing wallets, exchanges, and services were not prepared to instantly support these new address types.

To bridge this compatibility gap, the concept of "wrapped SegWit" was developed, formalized by BIP-49. This proposal provided a way for SegWit transactions to be sent to and from addresses that still looked like traditional P2SH (Pay-to-Script-Hash) addresses (starting with '3'). This allowed for a gradual transition, enabling users to benefit from SegWit's efficiency gains without requiring a hard fork or forcing all network participants to upgrade simultaneously. An example of a BIP-49 address would be 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy. When funds are sent to such an address, the transaction appears as a standard P2SH transaction to older software. However, when these funds are spent, the underlying script reveals a P2WPKH (Pay-to-Witness-Public-Key-Hash) script, allowing the transaction to leverage SegWit's benefits. Many popular wallets, including Electrum and Ledger, adopted BIP-49 early on, providing users with a compatible SegWit option before native bech32 support became widespread. This historical context highlights BIP-49's role as a pragmatic solution during a critical phase of Bitcoin's technological evolution.

Common Misunderstandings

Several misconceptions often surround BIP-49 and P2SH-wrapped SegWit addresses. A primary misunderstanding is that BIP-49 addresses are native SegWit addresses. While they utilize SegWit technology, they are distinct from native SegWit (bech32) addresses, which start with "bc1". BIP-49 addresses are P2SH addresses that contain a SegWit script, hence the "wrapped" designation. They are a compatibility layer, not the purest form of SegWit. Consequently, transactions involving BIP-49 addresses are slightly less efficient than native SegWit transactions, though still more efficient than legacy transactions.

Another common error is believing that BIP-49 introduces a new type of Bitcoin or a separate blockchain. This is incorrect; BIP-49 simply defines a new standard for address generation and transaction signing on the existing Bitcoin blockchain. It is an improvement proposal for how wallets handle addresses, not a fundamental change to Bitcoin's monetary policy or underlying protocol in terms of coin issuance. Furthermore, some users might assume that BIP-49 addresses are universally compatible with all legacy systems without exception. While they offer broad compatibility, there might still be very old or poorly maintained software that struggles with P2SH addresses containing complex redeem scripts. It's always prudent to confirm compatibility with the specific service or wallet being used. Finally, there's a misconception that BIP-49 primarily enhances security. While SegWit itself fixed transaction malleability, BIP-49's main contribution is compatibility and efficiency. The security of funds remains tied to the strength of cryptographic keys and the user's operational security practices, not inherently to the address format itself.

Summary

BIP-49 defines the standard for P2SH-wrapped SegWit addresses, a crucial innovation that bridges the gap between older Bitcoin infrastructure and the benefits of Segregated Witness (SegWit). By embedding a SegWit script within a Pay-to-Script-Hash (P2SH) address, BIP-49 enables users to leverage advantages like lower transaction fees and improved transaction throughput, all while maintaining broad compatibility with wallets and exchanges that may not yet support native SegWit addresses. This standard, identifiable by addresses starting with '3' and using a specific HD derivation path (m/49'/), has been instrumental in the gradual and smooth adoption of SegWit across the Bitcoin ecosystem. While not as efficient as native SegWit (bech32) addresses, BIP-49 offers a pragmatic solution for interoperability, reducing friction for traders and users navigating the diverse landscape of Bitcoin address formats. Its historical role in facilitating SegWit adoption underscores its importance in Bitcoin's ongoing evolution towards greater scalability and efficiency.

OKX · Official Biturai Partner

OKX

Explore the current OKX offering through the official Biturai partner link. Products and availability may vary by country.

Explore OKX

Partner link · Biturai may receive compensation when it is used · not investment advice

OKX

Disclaimer

This article is for informational purposes only. The content does not constitute financial advice, investment recommendation, or solicitation to buy or sell securities or cryptocurrencies. Biturai assumes no liability for the accuracy, completeness, or timeliness of the information. Investment decisions should always be made based on your own research and considering your personal financial situation.

Transparency

Biturai may use AI-assisted tools to research, structure, or update Wiki articles. Editorially reviewed articles are marked separately; all content remains educational and does not replace your own review.