Segregated Witness is arguably the most consequential protocol upgrade in Bitcoin history. Activated on August 24, 2017, SegWit restructured how transaction data is stored in blocks, fixed a critical vulnerability called transaction malleability, introduced the concept of block weight, and directly enabled the Lightning Network. Nearly nine years later, SegWit transactions account for over 85% of all Bitcoin transactions, and the upgrade serves as the foundation upon which Taproot and every future Bitcoin scaling innovation is built.
If you run a miner, you benefit from SegWit every single day. Higher transaction throughput means more fees per block, more efficient block propagation means fewer orphaned blocks, and the Lightning Network enabled by SegWit opens entirely new economic models for small-scale miners. Understanding SegWit is not optional for anyone serious about Bitcoin — it is foundational knowledge.
This guide breaks down exactly how SegWit works at a technical level, why it was so controversial, what it enabled, and where Bitcoin scaling stands in 2026.
The Scalability Problem That Demanded a Solution
Bitcoin was designed with a 1 MB block size limit. In 2009, this was more than sufficient — blocks were mostly empty, transactions cost fractions of a cent, and the network had minimal congestion. But Bitcoin was built to grow, and grow it did.
By 2015-2016, blocks were routinely hitting the 1 MB ceiling. The consequences were immediate and painful:
- Transaction backlogs — the mempool swelled to hundreds of thousands of unconfirmed transactions during peak periods
- Fee spikes — users bid against each other for limited block space, pushing average transaction fees to $20-50 during congestion events
- Slow confirmations — low-fee transactions could wait hours or even days for confirmation
- Usability crisis — Bitcoin was becoming impractical for everyday payments, undermining its core value proposition
The community needed a solution. But in a decentralized protocol with no CEO and no board of directors, agreeing on that solution would prove nearly as difficult as building it.
What Is SegWit? The Technical Breakdown
Segregated Witness — the name itself reveals the mechanism. “Witness” refers to the digital signature data that proves a transaction is authorized by the rightful owner of the coins. “Segregated” means this witness data is separated from the main transaction structure and stored in a new data field.
How a Bitcoin Transaction Works (Pre-SegWit)
Every Bitcoin transaction contains several components:
- Inputs — references to previous transaction outputs being spent
- Outputs — the destination addresses and amounts
- ScriptSig (signature data) — the cryptographic proof that the sender is authorized to spend those inputs
In the original transaction format, the signature data (ScriptSig) was embedded directly in the transaction. This signature data typically accounted for 60-65% of a transaction’s total size. So the majority of every block was occupied not by the economically meaningful data (who is sending how much to whom), but by the cryptographic proofs.
How SegWit Restructures Transactions
SegWit moves the witness (signature) data out of the main transaction body and into a separate “witness” structure that sits alongside the block. The transaction itself now contains a “witness commitment” — a compact reference to the witness data — rather than the full signature.
This restructuring has two immediate effects:
- Smaller effective transaction size — with signature data separated and discounted, each transaction takes up less “weight” in a block
- More transactions per block — the reduced per-transaction weight allows blocks to fit significantly more transactions
Block Weight: The New Metric
SegWit introduced a new measurement system called block weight, replacing the simple 1 MB block size limit with a more nuanced 4 million weight unit (4 MWU) limit.
The weight calculation works as follows:
- Non-witness data (inputs, outputs, transaction structure): counted at 4 weight units per byte
- Witness data (signatures): counted at 1 weight unit per byte
This discount for witness data means that a block full of SegWit transactions can effectively hold 1.7-2.1 MB of raw data while staying within the 4 MWU limit. The theoretical maximum is 4 MB if a block contained only witness data (impossible in practice), but real-world blocks with typical SegWit transactions average around 1.5-2 MB.
This approach was deliberately engineered. By weighting witness data at a discount rather than simply increasing the block size limit, the upgrade maintained backward compatibility and incentivized efficient transaction formats — all without forcing a hard fork.
SegWit as a Soft Fork
This is a critical point that often gets overlooked: SegWit was implemented as a soft fork, not a hard fork. A soft fork tightens the consensus rules — old nodes still accept the new blocks as valid, they just cannot fully validate the SegWit-specific portions.
For miners, this meant the transition was voluntary and gradual. Nodes running older Bitcoin software continued to function on the network without interruption. They saw SegWit transactions as “anyone can spend” outputs (a clever encoding trick), while upgraded nodes validated the full witness data.
This backward compatibility was essential for preserving network cohesion during one of the most politically charged periods in Bitcoin history.
Fixing Transaction Malleability
Beyond scalability, SegWit solved a subtle but dangerous bug called transaction malleability. This issue had plagued Bitcoin since its early days and was a direct blocker for building reliable second-layer protocols.
The Malleability Problem
In pre-SegWit Bitcoin, the transaction ID (txid) was calculated by hashing the entire transaction, including the signature data. The problem was that signature data could be mathematically modified in ways that produced a different but still valid signature. This meant a third party (or even the sender) could alter a transaction’s ID after broadcast without changing its economic meaning.
Why does this matter? Because any system that relies on referencing a transaction by its ID — like a payment channel, a multisig escrow, or a layer-2 protocol — could break if that ID changed before confirmation.
How SegWit Fixes It
By moving signature data outside the transaction structure used to calculate the txid, SegWit makes the transaction ID immutable. The witness data gets its own identifier (wtxid), but the primary txid used for referencing transactions is computed only from the non-malleable parts of the transaction.
This fix was not just a nice-to-have. It was the prerequisite for the Lightning Network and every other payment channel construction that followed. Without SegWit, the Lightning Network would not exist in its current form.
The Blocksize War: How SegWit Almost Did Not Happen
The history of SegWit’s activation is inseparable from one of Bitcoin’s most intense political battles — the Blocksize War. Understanding this history matters because it demonstrates how Bitcoin governance actually works: through rough consensus, not corporate decree.
The Competing Proposals (2015-2017)
Two main camps emerged:
- Big blockers — advocated for simply increasing the 1 MB block size limit to 2 MB, 8 MB, or larger. This approach was straightforward but required a hard fork, meaning all nodes would need to upgrade or be left behind on an incompatible chain.
- SegWit supporters — argued for the witness discount approach, which increased effective capacity without a hard fork, fixed transaction malleability, and preserved backward compatibility. Critics called it overly complex.
Key Events in the Activation Timeline
- December 2015 — Pieter Wuille formally presents SegWit at the Scaling Bitcoin conference in Hong Kong
- 2016 — BIP 141 (SegWit specification) is published. Debate intensifies across forums, conferences, and social media
- February 2016 — The Hong Kong Agreement: some miners and developers agree to SegWit activation followed by a hard fork block size increase
- Early 2017 — BIP 9 signaling begins. SegWit requires 95% miner signaling in a single difficulty period to activate. Adoption stalls around 30%
- May 2017 — The New York Agreement (SegWit2x): a group of businesses and miners agree to activate SegWit and then double the block size to 2 MB. This agreement was controversial because it was brokered behind closed doors without broad developer participation
- BIP 148 UASF — Frustrated by stalled miner signaling, a grassroots movement proposes a User Activated Soft Fork (UASF) set for August 1, 2017. This would have nodes reject non-SegWit blocks, effectively forcing miners to comply or risk mining an invalid chain
- August 1, 2017 — Bitcoin Cash hard forks off the main chain, implementing an 8 MB block size limit instead of SegWit
- August 24, 2017 — SegWit activates on Bitcoin at block 481,824
- November 2017 — The SegWit2x hard fork (doubling to 2 MB) is called off due to lack of consensus, vindicating the position that SegWit alone was sufficient
Why This History Matters for Miners
The Blocksize War proved something fundamental: Bitcoin is governed by its users, not by miners, not by corporations, and not by developers. The UASF movement demonstrated that economically significant node operators can enforce consensus rules that miners must follow.
For home miners and solo miners, this is deeply significant. It means the protocol you mine on is protected by a decentralized governance process that no single entity controls. The network you contribute hashrate to is secured not just by proof-of-work but by social consensus.
SegWit Address Formats: Legacy, Nested, and Native
SegWit introduced new address formats that directly impact transaction fees and compatibility. Understanding these is practical knowledge — which address format you use determines how much you pay in fees.
Legacy Addresses (P2PKH)
Format: starts with 1 (e.g., 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa)
These are the original Bitcoin address format. They do not use SegWit and incur the highest transaction fees because their full signature data counts at the non-discounted weight rate. Still supported by every wallet and exchange but increasingly rare.
Nested SegWit Addresses (P2SH-P2WPKH)
Format: starts with 3 (e.g., 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy)
These wrap a SegWit script inside a P2SH (Pay-to-Script-Hash) format. They were designed as a transitional format — providing SegWit’s fee discount while maintaining compatibility with older wallets that could not send to native SegWit addresses. Fees are lower than legacy but higher than native SegWit.
Native SegWit Addresses (Bech32 / P2WPKH)
Format: starts with bc1q (e.g., bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4)
Bech32 addresses are the recommended format for most Bitcoin users in 2026. They provide the full SegWit fee discount, use a more efficient encoding scheme with built-in error detection, and are case-insensitive (all lowercase), reducing transcription errors.
Taproot Addresses (Bech32m / P2TR)
Format: starts with bc1p (e.g., bc1p5cyxnuxmeuwuvkwfem96lqzszee2457nkc...)
Introduced with the Taproot upgrade in November 2021, Bech32m addresses use the P2TR (Pay-to-Taproot) output type. They offer the same fee efficiency as native SegWit while adding Schnorr signature support and improved script privacy. Taproot addresses are a direct evolution of the SegWit architecture — they would not exist without SegWit’s foundational changes.
What SegWit Enabled: The Ripple Effects
SegWit was not just a one-time capacity upgrade. It was infrastructure — a foundation that enabled an entire ecosystem of innovations.
The Lightning Network
The Lightning Network is a layer-2 payment channel network that enables instant, near-zero-fee Bitcoin transactions. It relies fundamentally on SegWit’s fix for transaction malleability. Without immutable transaction IDs, the multi-step commitment transactions that Lightning channels use would be unreliable.
By 2026, the Lightning Network has become a critical part of Bitcoin’s payment infrastructure, with thousands of nodes, tens of thousands of payment channels, and growing adoption among merchants and payment processors. For miners, Lightning represents additional demand for on-chain transactions (channel opens and closes), which translates to transaction fee revenue.
The Taproot Upgrade (November 2021)
Taproot (BIPs 340, 341, 342) was the next major consensus upgrade after SegWit, activated at block 709,632 on November 14, 2021. It built directly on SegWit’s architecture:
- Schnorr signatures (BIP 340) — replace ECDSA signatures with a more efficient and mathematically elegant scheme. Schnorr signatures enable key aggregation, where multiple signers can produce a single combined signature indistinguishable from a single-signer transaction. This improves both efficiency and privacy
- Tapscript (BIP 342) — an updated scripting language for SegWit v1 outputs that supports Schnorr signatures and enables more complex spending conditions
- MAST (Merkelized Abstract Syntax Trees) — allows complex scripts to be committed in a Merkle tree, revealing only the branch used for spending. This means a multisig or timelock transaction looks identical to a simple payment on-chain, dramatically improving privacy
Taproot is SegWit version 1 (SegWit as activated in 2017 is version 0). The entire Taproot specification uses the SegWit witness structure — the same segregated witness field that was created in 2017 now carries Schnorr signatures and Tapscript programs.
Partially Signed Bitcoin Transactions (PSBTs)
PSBTs (BIP 174) standardize the process of creating, signing, and finalizing transactions across multiple devices or signers. While PSBTs are not exclusive to SegWit, they work far more reliably with SegWit transactions because the witness data format is cleaner and the transaction ID is immutable. This matters for hardware wallet users, multisig setups, and cold storage operations.
Compact Block Relay and Block Propagation
SegWit’s cleaner transaction structure improved compact block relay (BIP 152), which allows nodes to reconstruct blocks using transactions they have already seen in the mempool. Faster block propagation reduces orphan rates, which directly benefits miners — especially smaller operations where every block counts.
SegWit Adoption in 2026: The Numbers
SegWit adoption has been a gradual but relentless climb. Here is where things stand nearly nine years after activation:
- Transaction share — over 85% of all Bitcoin transactions use SegWit outputs (up from less than 1% at launch)
- Wallet support — virtually every major wallet supports native SegWit (Bech32) as the default address format
- Exchange adoption — all major exchanges support SegWit deposits and withdrawals
- Average block weight — blocks routinely approach the 4 MWU limit, especially during high-fee periods when Ordinals inscriptions and BRC-20 activity spike
- Taproot (SegWit v1) adoption — growing steadily, with Taproot outputs representing an increasing share of new UTXOs
The remaining ~15% of non-SegWit transactions are largely from older systems, change outputs from legacy wallets, and some specialized use cases. The trend is clear: SegWit is Bitcoin’s standard transaction format.
SegWit’s Impact on Mining
If you mine Bitcoin — whether with an open-source solo miner like the Bitaxe or a full-scale ASIC operation — SegWit directly affects your economics.
More Transactions Per Block = More Fee Revenue
SegWit increased the effective block capacity by 40-100% depending on transaction composition. This means miners can collect fees from significantly more transactions per block. During fee spikes (like the 2023 Ordinals surge or periodic mempool congestion), this additional capacity translates directly into higher per-block revenue.
Reduced Orphan Risk
Smaller effective block sizes and improved compact block relay mean blocks propagate through the network faster. This reduces the probability of two miners finding a block at nearly the same time, resulting in an orphan. For solo miners operating at low hashrate, every found block is precious — reduced orphan risk means a higher probability that your block actually gets included in the longest chain.
Block Weight and Mining Software
Modern mining pool software and Bitcoin Core’s block template construction already optimize for block weight. When constructing a block template, the software selects transactions to maximize fee revenue within the 4 MWU weight limit, naturally preferring SegWit transactions because they offer a better fee-per-weight-unit ratio.
Criticisms and Limitations
No protocol upgrade is perfect, and SegWit has faced legitimate criticisms alongside politically motivated ones.
Honest Technical Critiques
- Incremental capacity increase — SegWit roughly doubled effective block capacity, but some argue this is insufficient for global-scale adoption on the base layer alone. The counterargument: base-layer scaling has diminishing returns and increasing centralization costs; layer-2 solutions like Lightning handle payment volume while the base layer handles settlement
- Witness discount debate — the 75% discount on witness data creates an economic incentive to use witness space, which critics argue contributed to the Ordinals and Inscriptions phenomenon. Supporters counter that the discount correctly reflects the lower validation cost of witness data
- Implementation complexity — SegWit added complexity to the Bitcoin protocol, wallet implementations, and transaction parsing. However, nearly nine years of production use have validated its robustness
The Bitcoin Cash Split in Retrospect
The Bitcoin Cash hard fork of August 1, 2017 represented the most dramatic consequence of the scaling debate. BCH proponents argued that simply increasing the block size was simpler and more effective than SegWit. In the years since, Bitcoin Cash has fallen to a fraction of Bitcoin’s hashrate, network effect, and market adoption, while SegWit plus the Lightning Network have addressed Bitcoin’s scaling needs through the layered approach its proponents advocated.
The lesson: in decentralized systems, the protocol that preserves backward compatibility, avoids contentious hard forks, and maintains the broadest consensus tends to win.
What Comes After SegWit: The Scaling Roadmap
SegWit was the beginning, not the end. Bitcoin scaling is an ongoing engineering challenge, and the roadmap beyond SegWit continues to evolve.
Currently Active: Taproot and Schnorr
Taproot adoption continues to grow as wallets, exchanges, and protocols integrate support. The efficiency gains from Schnorr signature aggregation and the privacy improvements from MAST are still being fully realized. Every new wallet that defaults to Taproot (bc1p) addresses contributes to this rollout.
In Development and Discussion
- OP_CTV (BIP 119) — CheckTemplateVerify would enable covenant-style transactions, allowing outputs to specify conditions on how they can be spent. This could enable vault designs, congestion control (batch transaction trees), and more efficient payment pools
- Channel factories and payment pools — extensions to the Lightning Network that allow multiple users to share a single on-chain UTXO, dramatically reducing the on-chain footprint of layer-2 participation
- Cross-input signature aggregation — a future optimization where all Schnorr signatures in a transaction could be combined into a single aggregate signature, further reducing transaction weight
- BitVM and advanced scripting — research into more expressive computation on Bitcoin, enabled by the scripting improvements that SegWit and Taproot introduced
The Layered Scaling Philosophy
SegWit established a philosophy that now guides Bitcoin development: the base layer handles security and settlement; upper layers handle speed and volume. This layered approach mirrors how the traditional financial system works (central bank settlement vs. card networks vs. cash) but without the centralized intermediaries.
For miners, this architecture is favorable. It means the base layer remains valuable — every hash you contribute secures the settlement layer that the entire Lightning Network and future layer-2 systems depend on. Block space remains scarce and therefore valuable.
FAQ
What is SegWit in simple terms?
SegWit (Segregated Witness) is a Bitcoin protocol upgrade that separates digital signature data from transaction data. This makes transactions smaller and allows more of them to fit in each block, reducing fees and enabling technologies like the Lightning Network. It activated on August 24, 2017.
What is the difference between SegWit and native SegWit?
“SegWit” is the protocol upgrade itself. “Native SegWit” refers specifically to the Bech32 address format (starting with bc1q) that uses SegWit directly, without wrapping it in a legacy-compatible format. Native SegWit addresses offer the lowest transaction fees. “Nested SegWit” (addresses starting with 3) wraps SegWit in a P2SH format for backward compatibility but with slightly higher fees.
What is a SegWit wallet?
A SegWit wallet is any Bitcoin wallet that generates SegWit addresses and creates SegWit transactions. In 2026, virtually all modern wallets — including Bitcoin Core, Sparrow, BlueWallet, Trezor Suite, and Ledger Live — default to native SegWit (Bech32) or Taproot (Bech32m) addresses. If your wallet generates addresses starting with bc1q or bc1p, you are using SegWit.
Should I use SegWit or Taproot addresses?
Both are SegWit-based. Taproot (bc1p) addresses offer slightly better privacy for complex transactions and support Schnorr signatures, while native SegWit (bc1q) addresses have broader compatibility. For most users, either is excellent. Use whatever your wallet defaults to — both provide the full witness discount and low fees.
How does SegWit affect Bitcoin miners?
SegWit increases the number of transactions per block, which means more fee revenue per block for miners. It also improves block propagation speed, reducing orphan rates. Mining software automatically constructs blocks using the 4 million weight unit limit to maximize fee collection. Solo miners benefit particularly from reduced orphan risk.
What is block weight vs block size?
Block size measures raw bytes. Block weight is a SegWit metric that counts non-witness data at 4 units per byte and witness data at 1 unit per byte, with a limit of 4 million weight units (4 MWU). This means a SegWit block can hold 1.7-2.1 MB of actual data despite the original 1 MB “size” not being formally changed. Block weight replaced block size as the governing constraint.
What is transaction malleability and why did SegWit need to fix it?
Transaction malleability was a bug where the digital signature of a transaction could be modified without invalidating it, changing the transaction ID. This made it impossible to reliably chain dependent transactions — a requirement for payment channels like the Lightning Network. SegWit fixed it by moving signatures outside the data used to calculate transaction IDs.
Is SegWit adoption complete?
Over 85% of Bitcoin transactions use SegWit as of 2026. Virtually all major wallets and exchanges support it. While not 100%, adoption has reached the point where SegWit is the de facto standard. The remaining non-SegWit transactions come primarily from legacy systems and specialized use cases.
What is the relationship between SegWit and the Lightning Network?
SegWit is a prerequisite for the Lightning Network. Lightning relies on chaining unconfirmed transactions (commitment transactions in payment channels), which requires immutable transaction IDs. SegWit’s fix for transaction malleability made this possible. Without SegWit, the Lightning Network could not function reliably.
What was the SegWit2x controversy?
SegWit2x was a 2017 proposal to activate SegWit and then double the block size to 2 MB via a hard fork. It was backed by major businesses and miners (the New York Agreement) but opposed by many developers and users who saw the hard fork as unnecessary and the process as centralized. The 2x portion was eventually cancelled in November 2017 due to lack of consensus, while SegWit itself activated successfully.
{
“@context”: “https://schema.org”,
“@type”: “FAQPage”,
“mainEntity”: [{
“@type”: “Question”,
“name”: “What is SegWit in simple terms?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “SegWit (Segregated Witness) is a Bitcoin protocol upgrade that separates digital signature data from transaction data. This makes transactions smaller and allows more of them to fit in each block, reducing fees and enabling technologies like the Lightning Network. It activated on August 24, 2017.”
}
}, {
“@type”: “Question”,
“name”: “What is the difference between SegWit and native SegWit?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “SegWit is the protocol upgrade itself. Native SegWit refers specifically to the Bech32 address format (starting with bc1q) that uses SegWit directly, without wrapping it in a legacy-compatible format. Native SegWit addresses offer the lowest transaction fees. Nested SegWit (addresses starting with 3) wraps SegWit in a P2SH format for backward compatibility but with slightly higher fees.”
}
}, {
“@type”: “Question”,
“name”: “What is a SegWit wallet?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “A SegWit wallet is any Bitcoin wallet that generates SegWit addresses and creates SegWit transactions. In 2026, virtually all modern wallets default to native SegWit (Bech32) or Taproot (Bech32m) addresses. If your wallet generates addresses starting with bc1q or bc1p, you are using SegWit.”
}
}, {
“@type”: “Question”,
“name”: “Should I use SegWit or Taproot addresses?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Both are SegWit-based. Taproot (bc1p) addresses offer slightly better privacy for complex transactions and support Schnorr signatures, while native SegWit (bc1q) addresses have broader compatibility. For most users, either is excellent. Use whatever your wallet defaults to.”
}
}, {
“@type”: “Question”,
“name”: “How does SegWit affect Bitcoin miners?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “SegWit increases the number of transactions per block, which means more fee revenue per block for miners. It also improves block propagation speed, reducing orphan rates. Mining software automatically constructs blocks using the 4 million weight unit limit to maximize fee collection.”
}
}, {
“@type”: “Question”,
“name”: “What is block weight vs block size?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Block size measures raw bytes. Block weight is a SegWit metric that counts non-witness data at 4 units per byte and witness data at 1 unit per byte, with a limit of 4 million weight units (4 MWU). This means a SegWit block can hold 1.7-2.1 MB of actual data despite the original 1 MB size not being formally changed.”
}
}, {
“@type”: “Question”,
“name”: “What is transaction malleability and why did SegWit need to fix it?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Transaction malleability was a bug where the digital signature of a transaction could be modified without invalidating it, changing the transaction ID. This made it impossible to reliably chain dependent transactions, a requirement for payment channels like the Lightning Network. SegWit fixed it by moving signatures outside the data used to calculate transaction IDs.”
}
}, {
“@type”: “Question”,
“name”: “Is SegWit adoption complete?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “Over 85% of Bitcoin transactions use SegWit as of 2026. Virtually all major wallets and exchanges support it. While not 100%, adoption has reached the point where SegWit is the de facto standard.”
}
}, {
“@type”: “Question”,
“name”: “What is the relationship between SegWit and the Lightning Network?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “SegWit is a prerequisite for the Lightning Network. Lightning relies on chaining unconfirmed transactions in payment channels, which requires immutable transaction IDs. SegWit’s fix for transaction malleability made this possible. Without SegWit, the Lightning Network could not function reliably.”
}
}, {
“@type”: “Question”,
“name”: “What was the SegWit2x controversy?”,
“acceptedAnswer”: {
“@type”: “Answer”,
“text”: “SegWit2x was a 2017 proposal to activate SegWit and then double the block size to 2 MB via a hard fork. It was backed by major businesses and miners but opposed by many developers and users. The 2x portion was eventually cancelled in November 2017 due to lack of consensus, while SegWit itself activated successfully.”
}
}]
}




